cgorski / glow-control

Aa Rust-based command-line interface (CLI) and library for controlling Twinkly programmable LED controllers.
Apache License 2.0
9 stars 1 forks source link

Do twinkly squares work at all #30

Closed xnopasaranx closed 3 months ago

xnopasaranx commented 3 months ago

I cannot get the CLI tool to find my twinkly square controller. I have no VLAN and all my devices are on the same subnet, I should think it would be discoverable. Even with a timeout increased to 10000ms, no dice. I cannot find anything reliable about what devices are supported, had the same issue with xled/xled_plus. Maybe the latest firmware is the culprit, as they apparently updated their API to v4 recently.

xnopasaranx commented 3 months ago

for completeness: the squares have been set up with the official app. They are displaying GIFs and effects just fine through twinklys closed source app.

xnopasaranx commented 3 months ago

After some more testing, I conclude that squares are not supported. I can get the mode with the IP and mac address, but the test example only shows a static red color on all tiles with no animation. So it's doing something, but not what I am intending to do.

JanDiederich commented 3 months ago

It's working nicely with my Twinkly Squares (2nd generation). I found the documentation enough and most methods self-explaining. I'm working right now on an open library (based on this library), to send complete images to the Squares.

The library version I use is based on 0.4.0. I made enhancements to it, the basic version was already working for me.

cgorski commented 3 months ago

@xnopasaranx, thanks for your feedback. @JanDiederich I added issue #32 for verification and example submission for twinkly square operation. Any contributions would be much appreciated.