Sonoff B1 RGB Bulb, MQTT, Espurna, not working

Everything about esp8266 and more.

Moderator: leecollings

Post Reply
Slorf
Posts: 26
Joined: Friday 20 December 2013 11:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Voorburg
Contact:

Sonoff B1 RGB Bulb, MQTT, Espurna, not working

Post by Slorf »

Hi All,

I got myself some Sonoff B1 bulbs, flashed them with ESPurna.

- Domoticz is running on a PI with the latest beta version
- MQTT is running on my Synology

The issue i have is that i can switch the Sonoff B1 on and off from Domoticz, but as soon as i try and change the color from Domoticz the light switches off.

i came across https://github.com/domoticz/domoticz/issues/1808 with the same issue, but even after installing the latest Domoticz beta the have the same results.

Also see https://github.com/arendst/Sonoff-Tasmota/issues/981 same issue but then with Tasmota

Hope someone can help :-)

Alex
miroslavpetrov
Posts: 33
Joined: Wednesday 03 February 2016 13:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Sonoff B1 RGB Bulb, MQTT, Espurna, not working

Post by miroslavpetrov »

Since the last stable update 4.97 RGB lights can be controlled with mqtt. This is the mqtt message in domoticz/out topic when I change the color of a dummy rgb switch:

{
"Battery" : 255,
"Color" : {
"b" : 75,
"cw" : 0,
"g" : 28,
"m" : 3,
"r" : 255,
"t" : 0,
"ww" : 0
},
"Level" : 2,
"RSSI" : 12,
"description" : "",
"dtype" : "Color Switch",
"id" : "00082141",
"idx" : 141,
"name" : "test RGB",
"nvalue" : 10,
"stype" : "RGB",
"svalue1" : "2",
"switchType" : "Dimmer",
"unit" : 1
}

Now the developers of the tasmota,espeasy and espurna firmwares for the esp8266 have to update their firmwares so that the devices can read the mqtt payload and change colors.
Automation Hardware:
Domoticz on Raspberry Pi 3 with HomeBridge.
Zigbee2MQTT + Xiaomi sensors
Fibaro HomeCenter 2 + Fibaro Dimmer2 & Double Switch2 + Aeon Multisensor 6 + Remotec ZXT-120
Eastron SDM230
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest