Both on the same network/subnset. I didn’t install the CLI yet, so can’t easily pull logs from the app … I do have Unify and brbeaird’s MyQ LAN bridge server on the network, which use SSDP for device discovery.
Any idea if the Nanoleaf Edge relies on SSDP? I recall when brbeaird first set up his LAN bridge the app couldn’t find the devices because Unifi also uses SSDP. But I turned both of those off and I still can’t find the Nanoleaf devices… blah !
PS. Yes, I can control the lights with the Nanoleaf app
Will this work for Lines too?
Am I supposed to have them paired in the nanoleaf app and then do the pairing procedure with the smartthings hub or should i unpair them?
As far as I can see yes Lines do support Nanoleaf Open API. But I don’t have the device to test, so colors or animation can be off.
I had both of my Nanoleafs paired with the app. Without application you wouldn’t be able to
set the shape and rotation , download or remove scenes and do other fine-tuning.
I guess i just effed up completely. I unpaired my Lines that were connected into Smartthings by linking the service when adding devices and now I can’t get them back. FML
However, when they have the literal “Works with SmartThings” seal of approval on the product we shouldn’t have to rely on the generosity of skilled developers who are not affiliated with them to get things working. Nanoleaf should compensate you for your work, I highly appreciate you taking the time to make this effort.
I just bought the Nanoleaf Canvas for the kids for Xmas.
I was able to go into ST’s menu (new app) (Add device > Select from list of devices (by brand) > Nanolead), however, after authenticating my Nanoleaf user account with Nanoleaf to authenticate. I am presented with a message “Connected to Nanoleaf Smarter Series” which in turn is saying devices connected to this account can be controller by Smartthings. Except. When I go back to the “Devices” menu in ST to list the devices. I do not see a separate icon for Nanoleaf Canvas.
Can someone help me with the appropriate steps to get the icon to show?
@veonua I know this is an old thread so not sure if you can still help …
I have Nanoleaf Lines. I had them connected via the C2C connection but at some point SmartThings started reporting them as offline. No amount of relinking is helping. So, I am trying your driver (and I had intended to at some point anyway as the stock support is pitiful).
When scanning for new device I am getting the following in the CLI logs. Wondering if you can help?
2024-03-12T20:25:07.380206995Z TRACE LAN Nanoleaf Setup driver Nanoleaf with lifecycle handlers:
DeviceLifecycleDispatcher: Nanoleaf
default_handlers:
init:
driverSwitched:
added:
removed:
child_dispatchers:
2024-03-12T20:25:07.432397787Z TRACE LAN Nanoleaf Setup driver Nanoleaf with Capability handlers:
CapabilityCommandDispatcher: Nanoleaf
default_handlers:
legendabsolute60149.levelSteps:
setLevelSteps
legendabsolute60149.colorTemperatureSteps:
setColorTempSteps
colorControl:
setColor
switchLevel:
setLevel
mediaPresets:
playPreset
switch:
off
on
refresh:
refresh
colorTemperature:
setColorTemperature
child_dispatchers:
2024-03-12T20:25:07.634944828Z INFO LAN Nanoleaf Created dispatcher [SecretDataDispatcher]Nanoleaf that had no handlers
2024-03-12T20:25:07.654415037Z TRACE LAN Nanoleaf Setup driver Nanoleaf with Secret Data handlers:
SecretDataDispatcher: Nanoleaf
default_handlers:
child_dispatchers:
2024-03-12T20:25:07.715287287Z TRACE LAN Nanoleaf Received event with handler discovery
2024-03-12T20:25:07.745709662Z TRACE LAN Nanoleaf Received event with handler environment_info
2024-03-12T20:25:07.782356870Z DEBUG LAN Nanoleaf Z-Wave hub node ID environment changed.
2024-03-12T20:25:07.830732328Z TRACE LAN Nanoleaf Received event with handler environment_info
2024-03-12T20:25:24.026161955Z DEBUG LAN Nanoleaf Parsing SSDP response
2024-03-12T20:25:24.134357705Z DEBUG LAN Nanoleaf POST http://192.168.254.254:1990/<redacted>/WFADevice.xml/api/v1/new: 200
2024-03-12T20:25:24.141209205Z ERROR LAN Nanoleaf discovery thread encountered error: [string "discovery.lua"]:51: attempt to index a nil value
2024-03-12T20:25:39.840524874Z TRACE LAN Nanoleaf Received event with handler discovery
2024-03-12T20:25:39.924677666Z TRACE LAN Nanoleaf Received event with handler driver_lifecycle
EDIT: I see the problem I think. I just noticed the IP address it has used is that of my router. Where/how do I set that to the IP of the Nanoleaf Lines?
Note, I did manage to get a token using Postman but again, I don’t know what to do with it in ST.
The device should answer to the mdns(?) request when the button is pressed. The driver sends futher requests to the device.
Most likely you need to press the same buttons as for the token , while the hub is scanning.
Sorry I don’t remember details as it was made twice more than a year ago.
In order to make use of the token from your Nanoleaf device you need to send HTTP requests.
There is a driver that will creare a virtual device that lets you configure pre-defined requests which can then be used either manually or as part of a routine. This will give you full control of the device, including the ability to change scene which is unfortunately not avaliable through the “linked services” option.
Yes thanks. I use that driver a lot for other things. For now I have gone HomeKit for the basic automations of the Lines I wanted. I’ll likely end up going the Web Req route at some point. That will open-up more options using SmartThings and SharpTools.
If you have experience with protocols and tokens, you could bypass the scanning function by forking the code, which may take less time than setting everything up on a phone.