I’m using ZeRGBa widget in set up on V0 virtual pin (merged output). On hardware (ESP8266) I’m trying to set some value to the ZeRGBa widget, like this:
No worries, thanks for letting me know.
Will there be support for multiple widgets controlling the same pin? For example, controlling RGB values using zeRGBa and sliders? Syncing from hardware works (for sliders, not zeRGBa), but doing it in the mobile app would much be better.
@kristijan@Pavel meant that it doesn’t work on iOS. However it works on Android.
I think this is possible. Did you tried that? I can say for sure this 100% possible for SPLIT mode. However I never tried it by myself for MERGE mode. It should work. If no - this is a bug. @kristijan please let us know if that doesn’t work for you.
@Dmitriy I’ve tried the code I’ve put in my first post, but unfortunately it doesn’t work. The selector circle in zeRGBa widget moves a little (maybe a few pixels) on the first update, and then doesn’t move at all after that. I’m using android and ESP8266 if it matters.
I’ve done the same thing in reverse (syncing value set by zeRGBa to sliders) and that works as expected.
Haven’t tried SPLIT mode. Is it possible for two widgets to use the same virtual pin?
@Dmitriy Sorry for the late response. Works fine with default ranges (0-255), but when scaled to 0-1023 values over 255 start from 0 (like it’s doing x % 255).