iobroker-community-adapters / ioBroker.shelly

Integrate your Shelly devices into ioBroker via MQTT or CoIoT
Other
163 stars 65 forks source link

Shelly RGBW2 - brightness (.gain) not working #270

Closed Mic-M closed 3 years ago

Mic-M commented 3 years ago

Describe the bug

Shelly RGBW2, shelly.0.SHRGBW2#xxxxxx#1.lights.gain (which is role 'level.brightness'), is not working at all. E.g. changing value from 30 to 80 has no effect.

Screenshots & Logfiles
I have never seen an adapter which provides a debug log of like 1000+ lines per minute, unbelievable :) Can you please provide an adapter option to at least deactivate such an aggressive debug log? I am not able to share an extract with this amount of lines per each second, sorry for that.

Versions:

Mic-M commented 3 years ago

By the way, I have a ioBroker development environment fully available since I am an adapter developer, and I will gladly help. So you can for example let me know potential functions/code portions, or breakpoint lines to verify variable values etc. I did not yet look into the code yet, though.

Thank you.

harrym67 commented 3 years ago

just disabel the debug log ... and u will be fine.

Mic-M commented 3 years ago

just disabel the debug log ... and u will be fine.

Well, but then I cannot report the debug log, and if it is turned on, then way to many lines come in per every second to extract the related log lines to this issue.

Mic-M commented 3 years ago

After several tests, the brightness (.gain) not working issue seems to be a Shelly firmware issue, and not an ioBroker adapter issue. Therefore, I close this issue and will open a ticket at https://ticket.shelly.support/

schmupu commented 3 years ago

You can use gain only in color mode and brightness in white mode. Maybe that helps.

Mic-M commented 3 years ago

Thank you. I also found this out, and so I did not open a ticket yesterday. This was confusing me, since I used MagicHome controllers (with Sonoff) and Philips before ;)