Nanoleaf plugin for v.2022?

autolog
Posts: 4077
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK
Contact:

Re: Nanoleaf plugin for v.2022?

Post by autolog »

Just been looking at the plugin, and I think you can trigger on the device's connected state. It will be True if connected, otherwise False.

Let me know what you think? :)
User avatar
Different Computers
Posts: 2730
Joined: Sat Jan 02, 2016 10:07 am
Location: East Coast
Contact:

Re: Nanoleaf plugin for v.2022?

Post by Different Computers »

I'll give it a try!
Sonoma on a Mac Mini M1 running Airfoil Pro, Bond Home, Camect, Roku Network Remote, Hue Lights, DomoPad, Adapters, Home Assistant Agent, HomeKitLinkSiri, EPS Smart Dimmer, Fantastic Weather, Nanoleaf, LED Simple Effects, Grafana, Yamaha RX Receiver.
slackman1
Posts: 56
Joined: Mon Jun 20, 2011 3:52 am

Re: Nanoleaf plugin for v.2022? ➡︎ error on macOS 10.13.6

Post by slackman1 »

Hi,

Thanks for updating this plugin, however, on macOS 10.13.6, which currently my Indigo server runs on, I get the following error:

Code: Select all

   Loading plugin "Nanoleaf 2022.0.2" using API v3.0
   Starting plugin "Nanoleaf 2022.0.2" (pid 77006)
   Nanoleaf Error                  Error in plugin execution InitializeMain:

  File "plugin.py", line 20, in <module>
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/Plugins/nanoleaf.indigoPlugin/Contents/Server Plugin/nanoleafapi/nanoleaf.py", line 12, in <module>
type: No module named 'sseclient'

   Stopping plugin "Nanoleaf 2022.0.2" (pid 77006)
   Stopped plugin "Nanoleaf 2022.0.2"
...
   Reloading plugin "Nanoleaf 2022.0.2" using API v3.0
   Starting plugin "Nanoleaf 2022.0.2" (pid 77009)
   Nanoleaf Error                  Error in plugin execution InitializeMain:

  File "plugin.py", line 20, in <module>
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/Plugins/nanoleaf.indigoPlugin/Contents/Server Plugin/nanoleafapi/nanoleaf.py", line 12, in <module>
type: No module named 'sseclient'

   Stopping plugin "Nanoleaf 2022.0.2" (pid 77009)

Could have to do with the older macOS? Indigo version I am using here is 2022.2.

Thanks for any suggestions!
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Nanoleaf plugin for v.2022?

Post by FlyingDiver »

try doing:

Code: Select all

pip3 install sseclient
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Post Reply

Return to “nanoleaf Controller”