arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.93k stars 4.76k forks source link

Report White when using RGBW (H801 Device) #7142

Closed florian-asche closed 4 years ago

florian-asche commented 4 years ago

Have you looked for this feature in other issues and in the wiki?
yes Is your feature request related to a problem? Please describe.
When using RGBW with H801 Device the White Status is not reported back in MQTT.

Describe the solution you'd like
Publish the "White" Status.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
If you use RGBW and FHEM the Color cannot be used due to its added lengh by white stripe leds. I want to use HSB and White seperated like its currently working in Tasmota. But HSB is just RGB without the White color.

(Please, remember to close the issue when the problem has been addressed)

s-hadinger commented 4 years ago

I'm not sure to understand what you want. Can you please post the MQTT message you are receiving and what field you want to be added.

Also, if you need to control separately RGB and White, use SetOption37 128.

florian-asche commented 4 years ago

Hi, if you are using a RGB Stripe that has also Warm or Cold white LEDs, you have 4 or 5 channels. Lets try my example with 4 channels.

I can cantrol the RGB leds by sending RRGGBB to ColorX. Also i know i could send RRGGBBWW to ColorX. But that is not supported by fhem.

Because of that i am sending HSBColor to HSBColorX command. And if i want to control the warmwhite or coldwhite LEDs i send White 50 or White 100.

The problem here is, that someone implemented the "White 100" command without it sending back information by MQTT.

Setup: {"Time":"2019-12-08T14:37:33","Uptime":"7T01:27:37","UptimeSec":610057,"Heap":27,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"OFF","Dimmer":34,"Color":"0,0,0,87","HSBColor":"0,0,0","Channel":[0,0,0,34],"Scheme":0,"Fade":"ON","Speed":4,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"ATLANTIS_IOT","BSSId":"64:66:B3:79:DE:58","Channel":9,"RSSI":54,"LinkCount":1,"Downtime":"0T00:00:06"}}

s-hadinger commented 4 years ago

Still on my todo list...

florian-asche commented 4 years ago

Hi,

just as feedback, many thanks. Its working perfectly.

Regards, Florian

florian-asche commented 4 years ago

But i found one more, if the RGB Stripe is state OFF and someone sets Color to green the state is not reported back as ON.