#Change the sensor with total increasing

1 messages · Page 1 of 1 (latest)

zenith vector
#

I have a sensor with entity sensor.my_sensor and the hardware died. I have to replace the hardware and keep the sensor.my_sensor

Before I change the entity of the new sensor, will this work properly?
What happens if the new sensor reports the sensor value that has lower new value, because of the total_increasing?

wicked cedar
#

You might get a one-time discontinuity or incorrect value at the changeover point, but that could be easily corrected in developer-tools.

zenith vector
#

how to solve the negative energy in the energy page? or is this managed automatically?

wicked cedar
#

that's what I refer to correcting in developer-tools

#

it might even just work, it's hard to be sure exactly. but if it doesn't work it is not a big job to fix.

zenith vector
#

ok, I will have to tackle this, anyway no other choice. thanks for now, will see how it works

zenith vector
#

this happened indeed, I removed the previous entity and added a new one

#

I have no clue how to remove this negative line now

#

Any help is highly appreciated

wicked cedar
#

developer-tools/statistics

#

adjust sum

zenith vector
#

a bit difficult to find as I have changed the name of the entity and also removed the previous entitiy from dashbard

#

I think I will simply ignore it

amber pulsar
#

Only the current entity id is relevant as all info is now stored under that entity id. And you can just look that entity id up in statistics and check the hour you made the change.

vagrant dock
#

There's even a button to find outliers

zenith vector
#

In fact today the negative spike disappeared.

#

looks like this now

#

but at no point the delta of the same entity was more than 20kWh in 1h of time.

#

so on the previous chart one was hard positive and another hard negative, now the negative is gone but hard positive remains

#

and the hard positive on the chart is not aligned with the actual sensor data

#

Outliers don't show up and there is no significant spike between 7 - 8 as indicated on the energy chart

amber pulsar
#

Once you start changing the statistics (via Dev tools => Statistics) the sensor history and the statistics history don't match anymore.