Sorry for my English
I have a problem using dzVents scrip.
I used a script that updates my virtual meters based on the value of some sensors.
Code: Select all
- Update the devices
domoticz.devices ('Autoconsumo').updateElectricity(autoconsumo_attuale, domoticz.devices('Autoconsumo').WhTotal)
domoticz.devices ('Consumed').updateElectricity(consumata_attuale, domoticz.devices ('Consumed').WhTotal)
domoticz.devices ('Exported').updateElectricity(esportata_attuale, domoticz.devices ('Exported').WhTotal)
The problems arise as I try to send updated sensors to the Influxdb database.
Domoticz does not detect the change of sensors and therefore does not send the data.
If I manually update sensors via CURL, it works regularly.
It seems that updating sensors, via scripts, does not activate the devicechanded event.