Hello,
I have been trying to configure an functioning Arduino with RGB Ledstrip (Has worked with OpenHAB) with the domoticz Dummy RGB switch. I have succesfully setup an:
MQTT broker (Mosquitto);
MQTT connection (MQTT Client Gateway with LAN interface);
Dummy RGB switch.
When operating the RGB switch it sends out the following message over MQTT:
{
"Battery" : 255,
"RSSI" : 12,
"description" : "",
"dtype" : "Lighting Limitless/Applamp",
"id" : "00082006",
"idx" : 6,
"name" : "LED_Wand",
"nvalue" : 15,
"stype" : "RGB",
"svalue1" : "72",
"switchType" : "Dimmer",
"unit" : 1
}
The two value's i need are nvalue and svalue1 i guess? This are only two value's and i was aspecting three value's or an HEX for the RGB.
Another problem i came across is that Domoticz sends 2 MQTT messages after changing the value once. That wouldn't be a big problem if those value's are the same, but they are different:
{
"Battery" : 255,
"RSSI" : 12,
"description" : "",
"dtype" : "Lighting Limitless/Applamp",
"id" : "00082006",
"idx" : 6,
"name" : "LED_Wand",
"nvalue" : 10,
"stype" : "RGB",
"svalue1" : "193",
"switchType" : "Dimmer",
"unit" : 1
}
{
"Battery" : 255,
"RSSI" : 12,
"description" : "",
"dtype" : "Lighting Limitless/Applamp",
"id" : "00082006",
"idx" : 6,
"name" : "LED_Wand",
"nvalue" : 15,
"stype" : "RGB",
"svalue1" : "72",
"switchType" : "Dimmer",
"unit" : 1
}
I'm really hoping you guy's can help me and push me in the right direction!
Thanks in advance!
Dummy RGB Switch
Moderators: leecollings, remb0
-
- Posts: 10
- Joined: Saturday 05 December 2015 22:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Berlin/Helsinki
- Contact:
Re: Dummy RGB Switch
Hi, did you get an answer to this issue?
I also want to do the same thing and link that into node-red, convert what ever values Domoticz is sending to RBG for http requests to an ESPeasy ledstrip.
Please keep us updated!
I also want to do the same thing and link that into node-red, convert what ever values Domoticz is sending to RBG for http requests to an ESPeasy ledstrip.
Please keep us updated!
Who is online
Users browsing this forum: No registered users and 1 guest