patience4711 / read-APSystems-YC600-QS1-DS3

Software for an esp8266 nodemcu to read data from APS inverters.
130 stars 24 forks source link

Strange value in Domoticz #110

Closed LordDarkneo closed 1 year ago

LordDarkneo commented 1 year ago

Hi there, As evrything's working quite fine now on my installation, I just realized that sometimes, I have "wrong" values in my Domoticz sensor. It happens many times that I have a "negative" consumption. Example yesterday:

image

Any idea on how to check why this value is stored / sent by the ESP?

Thanks for your help

joffito commented 1 year ago

This is domoticz behaviour, not the ESP. You need to create a sensor Electric (Current + Counter) and configure it to type: return and energy read: computed

LordDarkneo commented 1 year ago

Hi and thanks for your reply. I though it might be linked to a wrong data sent by the ESP... The only difference is the read value I set to "Computed". IMG_20230424_074822 I do not really understand what's the difference between the 2 options (even reading the documentation).... Let's see if the behavior is still then.

joffito commented 1 year ago

someone explained that behaviour in another issue. i think when you set to 'from device' then domotic sees a 0 value on ecu reset and then subtracts your current generation from 0 (as to calculate the difference between readings) leading to a negative value.