Hello,
I'm new to the forum and also Domoticz. I need a bit of help if possible, I've managed to setup a test dummy device and i've created the following event:
commandArray = {}
local varidx = 115
if devicechanged['PowerUsage_ZW'] then
varPowerMain = otherdevices_svalues['PowerMain']
varSolarPower = otherdevices_svalues['PowerUsage_ZW']
varPowerDiff = varSolarPower + varPowerMain
print('varPowerMain : '..varPowerMain)
print('varSolarPower : '..varSolarPower)
print('varPowerDiff : '..varPowerDiff)
commandArray['UpdateDevice'] = varidx .. "|0|" .. varPowerDiff
end
return commandArray
The event is working fine, but for some reason I cannot get it to fire off a HTTP request, which in turn then fires an event to Grafana. No events appear in Grafana or in the influxdb. The HTTP event appears not to be firing for a Virtual Custom Device?
Any suggestions.
Many thanks,
Grafana and Virtual Device Stats not working?
Moderators: leecollings, remb0
-
- Posts: 5
- Joined: Sunday 08 January 2017 1:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
-
- Posts: 5
- Joined: Sunday 08 January 2017 1:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Grafana and Virtual Device Stats not working?
I've still not managed to get to the bottom of this, any suggetions anyone please.
Many thanks!
Many thanks!
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Grafana and Virtual Device Stats not working?
do you have this option working?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Who is online
Users browsing this forum: No registered users and 1 guest