Configuring Sync+ with API

Started by Chuffnugget5

Chuffnugget5

Hey guys,

Is it possible to control the Sync+ source of a Nanoleaf 4D from within the API?

I have two Nanoleaf 4Ds; one connected to my TV via the camera, and another connected to the Windows Desktop program, both in 4D Mirror Mode. I use Sync+ to add my Nanoleaf Canvas to either of these screen mirrors depending on which device I'm using.

The end-game is to have a button in Home Assistant that toggles the source of the Sync+ for the Nanoleaf Canvas to either the PC or the TV. I have been able to "enable external control" in the API, which forces the Canvas into 4D Sync+ mode, but it only works for the device that was previously connected; I can't seem to change which Sync+ device it uses.

Any help would be appreciated.

Thanks,
Ryan

Aliakbar Eski

Hey Ryan,

Unfortunately there is no such API to control the sync+ source on Canvas.
I do like the idea though, and have taken it back to the team.

Regards
Aliakbar Eski

Chuffnugget5

Thanks @"Aliakbar Eski".

I've got the Canvas and 4Ds all connected to Home Assistant via the integration. I would love to setup scenes such as "when Ring doorbell detects someone is at the door, flash the Canvas a few times, then return to 4D Sync mode".

Aliakbar Eski

Hmm, I see what you are looking for. The API certainly is missing that functionality, so am gonna add to that the discussion I have with my team.

In the interim, you could explicitly put the Canvas into streaming mode once after the doorbell alert (flashing the Canvas a few times) is completed.

Regards
Aliakbar Eski

jes_leaf

Question for you @Chuffnugget5. Are you able to mirror your computer monitor 4D lights with the tv lights lightshow? I’m thinking of getting another 4D also, for ambience, not connected to a camera… but only if it’ll sync+ with my primary 4D lights.

Chuffnugget5

@jes_leaf, I'm afraid not. You can't have more than one Nanoleaf 4D in the same "room" in the Nanoleaf app, and any devices you want to Sync+ with must be in the same room. So although I have two Nanoleaf 4Ds in my office IRL, I had to assign a 4D and Canvas to my office, and the other 4D to another room in the app.

Even if you could have both 4Ds in the same room, I'm not sure if they implemented a direct mirror between 4D devices in Sync+, as it's more designed towards the Shapes, Lines, Canvas, etc.

It's also a pain to switch over the source of a Sync+ device over to another 4D in another room, since you have to go through the effort of reassigning the Sync+ device to the new room each time and tends to be a bit buggy for the initial connection sync up (but works fine after if you leave it).

I ended up leaving my Canvas Sync+'ed up to my TV permanently, and I may end up buying another Canvas to sync to my PC. I just hope they keep updating the software; if I could just give my Canvas the IP address of the device I want to sync it to, it would make everything much easier.

The only workaround I can think for you would be to add another camera to your TV. Have the 4Ds in different rooms in the app and it would work perfectly.

Aliakbar Eski

@Chuffnugget5 I am going to caution you against the IP address trick. There is a lot more that 4D does under the hood, other than routing the packets, so you will likely end up with a non functioning system. Not that, it's gonna break anything permanently, but just avoiding you a lot of frustration.

Let me talk to my product team and see if we can come up with a solution for cases such as yours.

Regards
Aliakbar Eski

jes_leaf

Thanks so much @Chuffnugget5 and @"Aliakbar Eski". I think im going to buy another 4D. I just wish they could be sync’d together. I love the amount of light output and the addressability of the 4D. I have a Strand too, but I don’t like that it’s all 1 color at a time. The Christmas lights are wonderful, but comparatively dim.