Bar charts of energy consumption
Moderators: leecollings, remb0
-
- Posts: 181
- Joined: Monday 14 November 2022 12:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.1
- Location: Poland
- Contact:
Re: Bar charts of energy consumption
I ran the sudo git pull command and then restarted Domoticz.
1. Stop domoticz
2. Go to plugin folder and pull new version
cd domoticz/plugins/Tasmoticz
git pull
3. Start domoticz
4 sudo reboot
I removed the sensor and after a while it was added again without any changes:
1. Stop domoticz
2. Go to plugin folder and pull new version
cd domoticz/plugins/Tasmoticz
git pull
3. Start domoticz
4 sudo reboot
I removed the sensor and after a while it was added again without any changes:
- Attachments
-
- sensor.jpg (8.63 KiB) Viewed 2645 times
- joba1
- Posts: 19
- Joined: Saturday 03 March 2018 16:39
- Target OS: Linux
- Domoticz version: V2024.7
- Location: DE
- Contact:
Re: Bar charts of energy consumption
I miss the step where you switch to the test branch:
3. git checkout energy-totals-as-counters
...
edit:
and just in case you are not familiar with this: to go back to the main version you would do
git checkout master
3. git checkout energy-totals-as-counters
...
edit:
and just in case you are not familiar with this: to go back to the main version you would do
git checkout master
-
- Posts: 181
- Joined: Monday 14 November 2022 12:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.1
- Location: Poland
- Contact:
Re: Bar charts of energy consumption
Can someone post instructions on how to update Tasmoticz to this test version?
- waltervl
- Posts: 5843
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Bar charts of energy consumption
0. Remove the incorrect sensor (from menu setup - devices)
1. Stop domoticz
2. Go to plugin folder and pull new version
cd domoticz/plugins/Tasmoticz
git pull
git checkout energy-totals-as-counters
3. Start domoticz
1. Stop domoticz
2. Go to plugin folder and pull new version
cd domoticz/plugins/Tasmoticz
git pull
git checkout energy-totals-as-counters
3. Start domoticz
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 181
- Joined: Monday 14 November 2022 12:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.1
- Location: Poland
- Contact:
Re: Bar charts of energy consumption
Thank you.
I followed the instructions for the effect in the attached photo.
Looks like it worked. Is this how it's supposed to look in Domoticz?+
Thank you all for your help and for taking me seriously even though I am not a specialist and do not know programming.
I will insert charts from domoticz and Dashticz.
P.S What does the number zero in the right corner mean in my case? Below is the indication of total consumption.
In Dashticz, two separate bars are displayed for one block from Domoticz. This can be confusing.
Is it possible to somehow change the description of these blocks into two different descriptions?
I followed the instructions for the effect in the attached photo.
Looks like it worked. Is this how it's supposed to look in Domoticz?+
Thank you all for your help and for taking me seriously even though I am not a specialist and do not know programming.
I will insert charts from domoticz and Dashticz.
P.S What does the number zero in the right corner mean in my case? Below is the indication of total consumption.
In Dashticz, two separate bars are displayed for one block from Domoticz. This can be confusing.
Is it possible to somehow change the description of these blocks into two different descriptions?
- Attachments
-
- Dashticz.jpg (7.2 KiB) Viewed 2570 times
-
- efekt.jpg (7.02 KiB) Viewed 2577 times
-
- Posts: 181
- Joined: Monday 14 November 2022 12:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.1
- Location: Poland
- Contact:
Re: Bar charts of energy consumption
On the desktop, dashticz is still a bar chart, why not a bar chart like in domoticz?
- joba1
- Posts: 19
- Joined: Saturday 03 March 2018 16:39
- Target OS: Linux
- Domoticz version: V2024.7
- Location: DE
- Contact:
Re: Bar charts of energy consumption
Ok, some values should have come in by now to actually see charts.
Since I have never used these kind of sensors/bar charts before, it is hard to tell if they are ok.
Can anyone who has already used them manually before confirm the values/diagrams are as expected?
Then I would take the feature into the main branch for general use.
Thanks!
P.S: I don't know Dashticz, so can't comment on that...
Since I have never used these kind of sensors/bar charts before, it is hard to tell if they are ok.
Can anyone who has already used them manually before confirm the values/diagrams are as expected?
Then I would take the feature into the main branch for general use.
Thanks!
P.S: I don't know Dashticz, so can't comment on that...
- psubiaco
- Posts: 222
- Joined: Monday 20 August 2018 9:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Italy
- Contact:
Re: Bar charts of energy consumption
Maybe you can try the new PZEM plugin that permits to connect up to 51 PZEM meters to the same bus, using a cheap RS485/USB adapter or RS485/net/wifi module: https://github.com/CreasolTech/domoticz-pzem-016
Actually it was tested with PZEM-004T, PZEM-014 and PZEM-016.
Device names can be translated in your preferred language: if you write here the translated device names and language code, I can add that language in the plugin.
Many thanks for any feedback / suggestion / translation !
Actually it was tested with PZEM-004T, PZEM-014 and PZEM-016.
Device names can be translated in your preferred language: if you write here the translated device names and language code, I can add that language in the plugin.
Many thanks for any feedback / suggestion / translation !
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
-
- Posts: 181
- Joined: Monday 14 November 2022 12:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.1
- Location: Poland
- Contact:
Re: Bar charts of energy consumption
Friend @joba1, can you split this block in domoticz into two separate ones? Because in dashticz two blocks are shown but their name and order cannot be changed, only both blocks are under the same name because in domoticz there is one block. This block shows the total energy and the energy of yesterday. In the previous version there were two separate blocks in domoticz energy yesterday and total energy.
Please update the plugin.
Please update the plugin.
- Attachments
-
- Energia całkowita11.jpg (7.86 KiB) Viewed 2336 times
- joba1
- Posts: 19
- Joined: Saturday 03 March 2018 16:39
- Target OS: Linux
- Domoticz version: V2024.7
- Location: DE
- Contact:
Re: Bar charts of energy consumption
Tasmoticz only creates domoticz devices. How it is displayed is up to domoticz. If you know a device type / subtype that works better, I can use that.
I have not yet merged the pull request with the changed energy meter type because I see strange reports. Not sure what to do about it:
I see positive and negative energy consumption bars in the 7 days hourly diagram (one big negative each day at 0:00, then all positive).
The daily total in the weekly/monthly/year overviews then sometimes is negative and sometimes positive. I do not produce power (and the used energy meter would report it positive anyways). So negative values are definitively wrong. Tasmota does not report them.
Any ideas where these come from - or how to get rid of them? The charts are nice, but only if correct...
I have not yet merged the pull request with the changed energy meter type because I see strange reports. Not sure what to do about it:
I see positive and negative energy consumption bars in the 7 days hourly diagram (one big negative each day at 0:00, then all positive).
The daily total in the weekly/monthly/year overviews then sometimes is negative and sometimes positive. I do not produce power (and the used energy meter would report it positive anyways). So negative values are definitively wrong. Tasmota does not report them.
Any ideas where these come from - or how to get rid of them? The charts are nice, but only if correct...

- joba1
- Posts: 19
- Joined: Saturday 03 March 2018 16:39
- Target OS: Linux
- Domoticz version: V2024.7
- Location: DE
- Contact:
Re: Bar charts of energy consumption
Nevermind. This is the daily total value from tasmota. This and the yesterday total don't work as energy counter, since domoticz expects an ever increasing value, not one that counts from zero every day.
- waltervl
- Posts: 5843
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Bar charts of energy consumption
Then tasmoticz should create an incremental counter device and send only the delta.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- joba1
- Posts: 19
- Joined: Saturday 03 March 2018 16:39
- Target OS: Linux
- Domoticz version: V2024.7
- Location: DE
- Contact:
Re: Bar charts of energy consumption
I just undid the change for energy today and yesterday, back to "normal" custom counters in the pr.
The energy total looks very good - all values as expected, including calculated daily values.
Maybe someone else wants to test the PR before I commit (probably in a few days...)?
See waltervl's post from oct 17th for a howto...
The energy total looks very good - all values as expected, including calculated daily values.
Maybe someone else wants to test the PR before I commit (probably in a few days...)?
See waltervl's post from oct 17th for a howto...
- joba1
- Posts: 19
- Joined: Saturday 03 March 2018 16:39
- Target OS: Linux
- Domoticz version: V2024.7
- Location: DE
- Contact:
Re: Bar charts of energy consumption
not sure if handling this special case is worth the effort. I even considered to ignore these entirely since everything is already calculated from the total by domoticz. Have to think about it... For now I'll keep the custom counter.
Who is online
Users browsing this forum: Google [Bot] and 1 guest