Convert 'Electricity' style device to 'Instant+Counter'

Moderator: leecollings

Post Reply
pjsgsy
Posts: 22
Joined: Thursday 28 December 2017 20:51
Target OS: Windows
Domoticz version: 3.8153
Contact:

Convert 'Electricity' style device to 'Instant+Counter'

Post by pjsgsy »

Hi,

I have an 'Electricity device which holds the current Eelctricty consumption for my home. It's been setup this way for a long time. I think, reading here, it is now better to use Instant+Counter as this has better reporting and works with the new Energy Dash. I do however have 7 years of data in this sensor that I don't want to loose.

Is there any script or way to 'convert' the old style Electricy device to an Instant+counter device? Anyone done this and can give me an idea of how to go about it?

Thanks.
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Convert 'Electricity' style device to 'Instant+Counter'

Post by waltervl »

Why do you want to keep this old data as it has no usage. You only can see the Min, Max and Average Power (in Watt) per day. So what do you want to do with this? What does it tell you?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Convert 'Electricity' style device to 'Instant+Counter'

Post by waltervl »

See also my comment in the Energy Dashboard topic, perhaps you can use other devices.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest