domoticz / Reacticz

Reacticz dashboard
Apache License 2.0
34 stars 15 forks source link

widget rain bug #21

Open calouis opened 6 years ago

calouis commented 6 years ago

201712358_0912-00 { "ActTime" : 1514105861, "ServerTime" : "2017-12-24 09:57:41", "Sunrise" : "08:54", "Sunset" : "16:52", "result" : [ { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 100, "CustomImage" : 0, "Data" : "0;963.5", "Description" : "", "Favorite" : 1, "HardwareID" : 1, "HardwareName" : "RFX433", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveTimeout" : false, "ID" : "F400", "LastUpdate" : "2017-12-24 09:56:50", "Name" : "Pluie", "Notifications" : "false", "PlanID" : "8", "PlanIDs" : [ 8, 12 ], "Protected" : false, "Rain" : "1.1", "RainRate" : "0.0", "ShowNotifications" : true, "SignalLevel" : 7, "SubType" : "PCR800", "Timers" : "false", "Type" : "Rain", "TypeImg" : "rain", "Unit" : 0, "Used" : 1, "XOffset" : "0", "YOffset" : "0", "idx" : "712" } ], "status" : "OK", "title" : "Devices" } Merci ptitneo pour ce formidable projet

t0mg commented 6 years ago

@gerard33 maybe this makes sense to you ? Looks like the correct value is in Rain, but we are using Data here.

gerard33 commented 6 years ago

The MQTT message is showing the Data value and not the Rain value. That means that dependent on the rain gauge type it's showing either the total amount or the value for that day.

See https://github.com/t0mg/reacticz/pull/60#issuecomment-277484293. I guess the issues from https://github.com/t0mg/reacticz are not there anymore? Because I know we discussed it there as well.

t0mg commented 6 years ago

Thanks for finding the link @gerard33 - I only vaguely remembered this, and it seems that some discussions got lost when I migrated the project repo under domoticz.

So basically it's not technically a bug: the value shown is correct but it's not what domoticz shows in its dashboard. If the bug is that the MQTT message does not convey the same information - maybe we should file an issue on the domoticz repo then?