Page 1 of 1

H801 RGB

Posted: Sunday 10 March 2019 19:31
by credens
Hi!

I have a rgb h801 driver and when I add the switch in Dashticz v2.5.8 I do not see the selector color only the brightness control. Why? Setting config ['no_rgb'] = 0.

Re: H801 RGB

Posted: Sunday 10 March 2019 22:02
by Lokonli
credens wrote: Sunday 10 March 2019 19:31 Hi!

I have a rgb h801 driver and when I add the switch in Dashticz v2.5.8 I do not see the selector color only the brightness control. Why? Setting config ['no_rgb'] = 0.
Can you post the results of:

Code: Select all

http://<domoticz ip>:<port>/json.htm?type=devices&rid=123
Replace 123 with the domoticz device id of your rgb h801 device.

Re: H801 RGB

Posted: Monday 11 March 2019 5:50
by credens

Code: Select all

{
   "ActTime" : 1552279683,
   "AstrTwilightEnd" : "19:22",
   "AstrTwilightStart" : "03:60",
   "CivTwilightEnd" : "18:01",
   "CivTwilightStart" : "05:21",
   "DayLength" : "11:32",
   "NautTwilightEnd" : "18:41",
   "NautTwilightStart" : "04:41",
   "ServerTime" : "2019-03-11 05:48:03",
   "SunAtSouth" : "11:05",
   "Sunrise" : "05:55",
   "Sunset" : "17:27",
   "app_version" : "4.9700",
   "result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "Color" : "{\"b\":242,\"cw\":0,\"g\":255,\"m\":3,\"r\":224,\"t\":0,\"ww\":0}",
         "CustomImage" : 0,
         "Data" : "Off",
         "Description" : "",
         "DimmerType" : "abs",
         "Favorite" : 1,
         "HardwareID" : 4,
         "HardwareName" : "Diody kolorowe",
         "HardwareType" : "H801 LED WiFi Controller with Tasmota firmware",
         "HardwareTypeVal" : 94,
         "HaveDimmer" : true,
         "HaveGroupCmd" : false,
         "HaveTimeout" : false,
         "ID" : "00040001",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2019-03-10 18:43:15",
         "Level" : 100,
         "LevelInt" : 100,
         "MaxDimLevel" : 100,
         "Name" : "Diody kolorowe - RGB",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "RGB",
         "SwitchType" : "Dimmer",
         "SwitchTypeVal" : 7,
         "Timers" : "false",
         "Type" : "Color Switch",
         "TypeImg" : "dimmer",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "6"
      }
   ],
   "status" : "OK",
   "title" : "Devices"
} 

Re: H801 RGB

Posted: Monday 11 March 2019 12:27
by Lokonli
credens wrote: Monday 11 March 2019 5:50

Code: Select all

{
   "ActTime" : 1552279683,
   "AstrTwilightEnd" : "19:22",
   "AstrTwilightStart" : "03:60",
   "CivTwilightEnd" : "18:01",
   "CivTwilightStart" : "05:21",
   "DayLength" : "11:32",
   "NautTwilightEnd" : "18:41",
   "NautTwilightStart" : "04:41",
   "ServerTime" : "2019-03-11 05:48:03",
   "SunAtSouth" : "11:05",
   "Sunrise" : "05:55",
   "Sunset" : "17:27",
   "app_version" : "4.9700",
   "result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "Color" : "{\"b\":242,\"cw\":0,\"g\":255,\"m\":3,\"r\":224,\"t\":0,\"ww\":0}",
         "CustomImage" : 0,
         "Data" : "Off",
         "Description" : "",
         "DimmerType" : "abs",
         "Favorite" : 1,
         "HardwareID" : 4,
         "HardwareName" : "Diody kolorowe",
         "HardwareType" : "H801 LED WiFi Controller with Tasmota firmware",
         "HardwareTypeVal" : 94,
         "HaveDimmer" : true,
         "HaveGroupCmd" : false,
         "HaveTimeout" : false,
         "ID" : "00040001",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2019-03-10 18:43:15",
         "Level" : 100,
         "LevelInt" : 100,
         "MaxDimLevel" : 100,
         "Name" : "Diody kolorowe - RGB",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "RGB",
         "SwitchType" : "Dimmer",
         "SwitchTypeVal" : 7,
         "Timers" : "false",
         "Type" : "Color Switch",
         "TypeImg" : "dimmer",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "6"
      }
   ],
   "status" : "OK",
   "title" : "Devices"
} 
Your device has subtype RGB. Diving into the Dashticz code it seems Dashticz currently only recognizes RGBW and RGBWW devices.

I'll contact you via PM probably tonight for some additional testing.

Re: H801 RGB

Posted: Monday 11 March 2019 13:07
by credens
When I change the device sub-type to rgbw, the color selector does not appear either.

Then in

Code: Select all

http://<domoticz ip>:<port>/json.htm?type=devices&rid=123
"SubType" : "RGBWZ"



Also as I create a virtual RGB or RGBW switch unrelated to H801, there is also no color selector in dashticz.

Re: H801 RGB

Posted: Monday 11 March 2019 21:22
by Lokonli
Lokonli wrote: Monday 11 March 2019 12:27
credens wrote: Monday 11 March 2019 5:50

Code: Select all

{
   "ActTime" : 1552279683,
   "AstrTwilightEnd" : "19:22",
   "AstrTwilightStart" : "03:60",
   "CivTwilightEnd" : "18:01",
   "CivTwilightStart" : "05:21",
   "DayLength" : "11:32",
   "NautTwilightEnd" : "18:41",
   "NautTwilightStart" : "04:41",
   "ServerTime" : "2019-03-11 05:48:03",
   "SunAtSouth" : "11:05",
   "Sunrise" : "05:55",
   "Sunset" : "17:27",
   "app_version" : "4.9700",
   "result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "Color" : "{\"b\":242,\"cw\":0,\"g\":255,\"m\":3,\"r\":224,\"t\":0,\"ww\":0}",
         "CustomImage" : 0,
         "Data" : "Off",
         "Description" : "",
         "DimmerType" : "abs",
         "Favorite" : 1,
         "HardwareID" : 4,
         "HardwareName" : "Diody kolorowe",
         "HardwareType" : "H801 LED WiFi Controller with Tasmota firmware",
         "HardwareTypeVal" : 94,
         "HaveDimmer" : true,
         "HaveGroupCmd" : false,
         "HaveTimeout" : false,
         "ID" : "00040001",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2019-03-10 18:43:15",
         "Level" : 100,
         "LevelInt" : 100,
         "MaxDimLevel" : 100,
         "Name" : "Diody kolorowe - RGB",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "RGB",
         "SwitchType" : "Dimmer",
         "SwitchTypeVal" : 7,
         "Timers" : "false",
         "Type" : "Color Switch",
         "TypeImg" : "dimmer",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "6"
      }
   ],
   "status" : "OK",
   "title" : "Devices"
} 
Your device has subtype RGB. Diving into the Dashticz code it seems Dashticz currently only recognizes RGBW and RGBWW devices.

I'll contact you via PM probably tonight for some additional testing.
Fix will be merged in the next beta.

Re: H801 RGB

Posted: Monday 11 March 2019 22:34
by robgeerts
Lokonli wrote: Monday 11 March 2019 21:22
Lokonli wrote: Monday 11 March 2019 12:27
credens wrote: Monday 11 March 2019 5:50

Code: Select all

{
   "ActTime" : 1552279683,
   "AstrTwilightEnd" : "19:22",
   "AstrTwilightStart" : "03:60",
   "CivTwilightEnd" : "18:01",
   "CivTwilightStart" : "05:21",
   "DayLength" : "11:32",
   "NautTwilightEnd" : "18:41",
   "NautTwilightStart" : "04:41",
   "ServerTime" : "2019-03-11 05:48:03",
   "SunAtSouth" : "11:05",
   "Sunrise" : "05:55",
   "Sunset" : "17:27",
   "app_version" : "4.9700",
   "result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "Color" : "{\"b\":242,\"cw\":0,\"g\":255,\"m\":3,\"r\":224,\"t\":0,\"ww\":0}",
         "CustomImage" : 0,
         "Data" : "Off",
         "Description" : "",
         "DimmerType" : "abs",
         "Favorite" : 1,
         "HardwareID" : 4,
         "HardwareName" : "Diody kolorowe",
         "HardwareType" : "H801 LED WiFi Controller with Tasmota firmware",
         "HardwareTypeVal" : 94,
         "HaveDimmer" : true,
         "HaveGroupCmd" : false,
         "HaveTimeout" : false,
         "ID" : "00040001",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2019-03-10 18:43:15",
         "Level" : 100,
         "LevelInt" : 100,
         "MaxDimLevel" : 100,
         "Name" : "Diody kolorowe - RGB",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "RGB",
         "SwitchType" : "Dimmer",
         "SwitchTypeVal" : 7,
         "Timers" : "false",
         "Type" : "Color Switch",
         "TypeImg" : "dimmer",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "6"
      }
   ],
   "status" : "OK",
   "title" : "Devices"
} 
Your device has subtype RGB. Diving into the Dashticz code it seems Dashticz currently only recognizes RGBW and RGBWW devices.

I'll contact you via PM probably tonight for some additional testing.
Fix will be merged in the next beta.
Available in beta now :)