Sonoff B1 RGB Bulb, MQTT, Espurna, not working

Everything about esp8266 and more.
Post Reply
Slorf
Posts: 65
Joined: Friday 20 December 2013 12:55
Target OS: Raspberry Pi
Domoticz version:
Location: Voorburg
Contact:

Sonoff B1 RGB Bulb, MQTT, Espurna, not working

Post by Slorf » Friday 22 June 2018 10:11

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: 24
Joined: Wednesday 03 February 2016 14:35
Target OS: Raspberry Pi
Domoticz version:
Contact:

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

Post by miroslavpetrov » Sunday 24 June 2018 8:10

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.
Domoticz on Raspberry Pi 3 with HomeBridge.
RFXCOM, Xiaomi Smart Home, Broadlink RM3, Shelly Smart Bulbs, EasyESP custom sensors.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests