Aurora Nanoleaf
Moderators: leecollings, remb0
-
- Posts: 46
- Joined: Tuesday 14 March 2017 13:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.7243
- Contact:
Aurora Nanoleaf
Hello everybody
Aurora Nanoleaf device is possible to implement?
https://nanoleaf.me/en/consumer-led-lig ... arter-kit/
Api (.pdf)
https://community.home-assistant.io/t/n ... ort/5786/5
Aurora Nanoleaf device is possible to implement?
https://nanoleaf.me/en/consumer-led-lig ... arter-kit/
Api (.pdf)
https://community.home-assistant.io/t/n ... ort/5786/5
-
- Posts: 317
- Joined: Thursday 12 January 2017 15:30
- Target OS: Linux
- Domoticz version: Beta Ch
- Location: Finland
- Contact:
Re: Aurora Nanoleaf
No thats cool lightning, definitely interested if someone can implement it !
-----------------------------------------
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
-
- Posts: 46
- Joined: Tuesday 14 March 2017 13:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.7243
- Contact:
Re: Aurora Nanoleaf
They are a bit expensive. I was curious if domoticz system can contrlol.
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Aurora Nanoleaf
I gonna get mine today.... For now not supported. And to bad im not a programmer. But maybe people can help en give me some info maybe someone can build a plugin
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Aurora Nanoleaf
Until there is no plugin what you can do (if you use homekit as well) is add the created scenes in NanoLead app and make a automation within Homekit.
When you do lights on you can automatic turn on a scene on NanoLeaf Aurora.
I have created switched in Domoticz that triggers scenes within Domoticz for my lights. These switches are true homebridge into homekit. With MQTT as well the response is so quick that it seems that Aurora is controlled by Domoticz
When you do lights on you can automatic turn on a scene on NanoLeaf Aurora.
I have created switched in Domoticz that triggers scenes within Domoticz for my lights. These switches are true homebridge into homekit. With MQTT as well the response is so quick that it seems that Aurora is controlled by Domoticz
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 60
- Joined: Sunday 20 September 2015 17:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2.3072
- Location: Sweden
- Contact:
Re: Aurora Nanoleaf
Home assistant had success to include Nanoleaf Aurora, so it feels like if some programer could translate the script it would be possible.
Script
Script
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Aurora Nanoleaf
im not a programer but a high Thanks for the one who can do this !!
+1
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
Re: Aurora Nanoleaf
Nanoleafs can be controlled similary as the Ikea bulbs by calling scripts. See here:
viewtopic.php?t=13882&start=40#p143476
First generate a API key (google translate)
https://technikkram.net/2017/05/nanolea ... ic-steuern
Then create scripts and make a calls to them from a domoticz selector switch
Examples below, replace IP and Auth_token with your own
On= {"on":true}
Off= {"on":false}
Effect selector=
{"select" : "Forest"}
{"select" : "Nemo"}
and so on...
viewtopic.php?t=13882&start=40#p143476
First generate a API key (google translate)
https://technikkram.net/2017/05/nanolea ... ic-steuern
Then create scripts and make a calls to them from a domoticz selector switch
Examples below, replace IP and Auth_token with your own
On= {"on":true}
Off= {"on":false}
Code: Select all
#!/bin/bash
curl -v -X PUT -H "Content-Type: application/json" -d '{"on":true}' http://192.168.0.218:16021/api/v1/AUTH_TOKEN/state/
Effect selector=
{"select" : "Forest"}
{"select" : "Nemo"}
and so on...
Code: Select all
#!/bin/bash
curl -v -X PUT -H "Content-Type: application/json" -d '{"select" : "Forest"}' http://192.168.0.218:16021/api/v1/AUTH_TOKEN/effects/
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Aurora Nanoleaf
Wow that is good news! Better then nothing. I go try this
MatsL wrote: ↑Monday 12 February 2018 18:52 Nanoleafs can be controlled similary as the Ikea bulbs by calling scripts. See here:
viewtopic.php?t=13882&start=40#p143476
First generate a API key (google translate)
https://technikkram.net/2017/05/nanolea ... ic-steuern
Then create scripts and make a calls to them from a domoticz selector switch
Examples below, replace IP and Auth_token with your own
On= {"on":true}
Off= {"on":false}
Code: Select all
#!/bin/bash curl -v -X PUT -H "Content-Type: application/json" -d '{"on":true}' http://192.168.0.218:16021/api/v1/AUTH_TOKEN/state/
Effect selector=
{"select" : "Forest"}
{"select" : "Nemo"}
and so on...
nanoleafs.PNGCode: Select all
#!/bin/bash curl -v -X PUT -H "Content-Type: application/json" -d '{"select" : "Forest"}' http://192.168.0.218:16021/api/v1/AUTH_TOKEN/effects/
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Aurora Nanoleaf
Cant get any API key.. Everything i try i get a 404 error
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
Re: Aurora Nanoleaf
Guide in swedish:
https://snillevilla.se/guide_step/nanol ... i-nyckeln/
A short translation:
Download Postman and install it on your computer
Find you nanoleaf IP-adress, check in your wireless router or use Fing on your mobile phone
192.168.xxx.xxx
Go to your Nanoleaf and press power button for 5-7s until white led starts blinking
Now you got a 30s window to do the next step:
Use postman and do a POST (not GET) select it next to the adress bar
Replace with your own IP
http://192.168.xxx.xxx:16021/api/v1/new
In postman you will see the response containing the API key
https://snillevilla.se/guide_step/nanol ... i-nyckeln/
A short translation:
Download Postman and install it on your computer
Find you nanoleaf IP-adress, check in your wireless router or use Fing on your mobile phone
192.168.xxx.xxx
Go to your Nanoleaf and press power button for 5-7s until white led starts blinking
Now you got a 30s window to do the next step:
Use postman and do a POST (not GET) select it next to the adress bar
Replace with your own IP
http://192.168.xxx.xxx:16021/api/v1/new
In postman you will see the response containing the API key
Re: Aurora Nanoleaf
And to verify if the key works you can do a GET in Postman to this adress:
http://192.168.xxx.xxx:16021/api/v1/APIKEY/effects/
Replace with right IP and insert your own API KEY
The response should be a list of available effects
http://192.168.xxx.xxx:16021/api/v1/APIKEY/effects/
Replace with right IP and insert your own API KEY
The response should be a list of available effects
Code: Select all
{
"select": "Romantic",
"effectsList": [
"Bedtime",
"Color Burst",
"Deep Abyss",
"Dracarys",
"Flames",
"Forest",
"Matrix",
"Mint",
"Nemo",
"Netflix and Chill",
"Northern Lights",
"Rain",
"Reading Light",
"Romantic",
"Sleep Mode",
"Snowfall",
"Sweet candy",
"Test",
"Triluminox Energy Crystal",
"Twinkling Midnight Sky",
"Vibrant Sunrise",
"Vintage Modern",
"moonlight"
]
}
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Aurora Nanoleaf
I have created this script for On and Off
nl.sh true/false
and this one for effect. You can now add the effect and it will act. So you can add many Switch Selectors with a scene without make lots of script for 1 specific scene
nleffect.sh "flames"
nleffect.sh "Roces are Red"
nl.sh true/false
Code: Select all
#!/bin/bash
curl -v -X PUT \
--url http://192.168.100.2:16021/api/v1/API KEY HERE/state/\
--header 'content-type: application/json' \
--data '{"on":'$1'}';
nleffect.sh "flames"
nleffect.sh "Roces are Red"
Code: Select all
#!/bin/bash
curl -v -X PUT \
--url http://192.168.100.2:16021/api/v1/API KEY HERE/effects/\
--header 'content-type: application/json' \
--data '{"select":"'"$1"'"}';
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Aurora Nanoleaf
Hi All,
found this on GitHub:
https://github.com/dumbstart/nanoleaf-cli
You can do more then just effect and on off. Also Brightness level.
found this on GitHub:
https://github.com/dumbstart/nanoleaf-cli
You can do more then just effect and on off. Also Brightness level.
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 84
- Joined: Sunday 14 August 2016 13:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Netherlands
- Contact:
Re: Aurora Nanoleaf
Do you have an example of this script and how to add that to a selector?poudenes wrote: ↑Wednesday 04 April 2018 13:41 I have created this script for On and Off
nl.sh true/false
and this one for effect. You can now add the effect and it will act. So you can add many Switch Selectors with a scene without make lots of script for 1 specific sceneCode: Select all
#!/bin/bash curl -v -X PUT \ --url http://192.168.100.2:16021/api/v1/API KEY HERE/state/\ --header 'content-type: application/json' \ --data '{"on":'$1'}';
nleffect.sh "flames"
nleffect.sh "Roces are Red"
Code: Select all
#!/bin/bash curl -v -X PUT \ --url http://192.168.100.2:16021/api/v1/API KEY HERE/effects/\ --header 'content-type: application/json' \ --data '{"select":"'"$1"'"}';
Who is online
Users browsing this forum: No registered users and 1 guest