H801 RGB

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
credens
Posts: 4
Joined: Sunday 10 March 2019 19:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

H801 RGB

Post 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.
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: H801 RGB

Post 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.
credens
Posts: 4
Joined: Sunday 10 March 2019 19:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: H801 RGB

Post 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"
} 
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: H801 RGB

Post 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.
credens
Posts: 4
Joined: Sunday 10 March 2019 19:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: H801 RGB

Post 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.
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: H801 RGB

Post 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.
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: H801 RGB

Post 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 :)
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 0 guests