Energy Dashboard (Build in)

In this subforum you can show projects you have made, or you are busy with. Please create your own topic.

Moderator: leecollings

mojso
Posts: 92
Joined: Friday 08 November 2019 23:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by mojso »

rron wrote: Saturday 08 February 2025 13:35 There is some progress when I use your call. Only "Vandaag"is giving a value but not on top. Have I forgotten something?
Show me with a picture in espeasy what values ​​you get from the sensor.
rron
Posts: 246
Joined: Sunday 30 March 2014 15:24
Target OS: Linux
Domoticz version: Beta
Location: Waterland
Contact:

Re: Energy Dashboard (Build in)

Post by rron »

This one is from the espeasy.
Attachments
Schermafdruk van 2025-02-08 13-50-02.png
Schermafdruk van 2025-02-08 13-50-02.png (21.58 KiB) Viewed 2497 times
Rpi, RFXcom, klikaan klikuit switch,thermosmart, z-wave, espeasy, smartevse
mojso
Posts: 92
Joined: Friday 08 November 2019 23:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by mojso »

on the device in Domoticz the value at the top is the current power W, the value below is the energy consumed for that day in KWh.

In your case, some script is needed because it is a pulse counter. For example, one pulse is equal to how many.

in my case I use this
Attachments
PZEM-004T-nodemcu-esp8266-connection-wiring-diagram.jpg
PZEM-004T-nodemcu-esp8266-connection-wiring-diagram.jpg (146.24 KiB) Viewed 2489 times
mojso
Posts: 92
Joined: Friday 08 November 2019 23:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by mojso »

rron
Posts: 246
Joined: Sunday 30 March 2014 15:24
Target OS: Linux
Domoticz version: Beta
Location: Waterland
Contact:

Re: Energy Dashboard (Build in)

Post by rron »

Thanks for your help I made a mistake with the setting.
Rpi, RFXcom, klikaan klikuit switch,thermosmart, z-wave, espeasy, smartevse
FlyingDomotic
Posts: 349
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Energy Dashboard (Build in)

Post by FlyingDomotic »

PZEM are definitively NOT pulse counters, but do return values on serial port, when asked to do so by driver.

You should use https://espeasy.readthedocs.io/en/lates ... /P102.html driver and declare it as PZEM instead of pulse counter.
rron
Posts: 246
Joined: Sunday 30 March 2014 15:24
Target OS: Linux
Domoticz version: Beta
Location: Waterland
Contact:

Re: Energy Dashboard (Build in)

Post by rron »

I have used this one.
Attachments
IMG_0143.jpeg
IMG_0143.jpeg (99.11 KiB) Viewed 2129 times
Rpi, RFXcom, klikaan klikuit switch,thermosmart, z-wave, espeasy, smartevse
rron
Posts: 246
Joined: Sunday 30 March 2014 15:24
Target OS: Linux
Domoticz version: Beta
Location: Waterland
Contact:

Re: Energy Dashboard (Build in)

Post by rron »

mojso wrote: Saturday 08 February 2025 13:22
rron wrote: Saturday 08 February 2025 12:25
mojso wrote: Friday 07 February 2025 18:11 try this way
[S0#Total] - is the value that espeasy got from the sensor

SendToHTTP,192.168.178.50,8080,/json.htm?type=command&param=udevice&idx=915&svalue=[S0#Total]

Or this for Power and Energy
SendToHTTP,192.168.178.50,8080,/json.htm?type=command&param=udevice&idx=915&svalue=[S0#Power];[S0#Total]
This call works with every virtual device except the electricity (instant +counter) and that is the one I need for the S0 setting in my energy dashboard.
SendToHTTP,user:[email protected],8080,/json.htm?type=command&param=udevice&idx=915&svalue=[S0#Power];[S0#Total]

In my case work

but for p1 smart meter it will not work for that you need through a script
Can you show me what settings you use for. Have you a different name or setting Count,Total and Time?
Attachments
Schermafdruk van 2025-02-09 12-34-04.png
Schermafdruk van 2025-02-09 12-34-04.png (18.54 KiB) Viewed 2105 times
Schermafdruk van 2025-02-09 12-32-05.png
Schermafdruk van 2025-02-09 12-32-05.png (31.51 KiB) Viewed 2105 times
Rpi, RFXcom, klikaan klikuit switch,thermosmart, z-wave, espeasy, smartevse
mojso
Posts: 92
Joined: Friday 08 November 2019 23:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by mojso »

my electricity measurement is like here on this link
viewtopic.php?t=20820

NOT pulse counter
Attachments
Screenshot_20250209_184055_Chrome.jpg
Screenshot_20250209_184055_Chrome.jpg (163.24 KiB) Viewed 1969 times
jannl
Posts: 660
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Energy Dashboard (Build in)

Post by jannl »

The energy dashboard works fine if connected to a trusted network, however, when I log in remotely I only see zero's. Other variables display the correct values.

This looks like a security issue/setting, however looking through the settings and searching the forum hasn't given a solution (yet).

Anyone?
User avatar
gizmocuz
Posts: 2451
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Energy Dashboard (Build in)

Post by gizmocuz »

The user you use to login remotely, does it have rights to see the sensors used by the dashboard?
Quality outlives Quantity!
jannl
Posts: 660
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Energy Dashboard (Build in)

Post by jannl »

As far as I can see. For instance, "pv power' has a value when I check in the utility tab, while it is zero in Dashboard, even no system time which I just enabled.
User avatar
waltervl
Posts: 5636
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Energy Dashboard (Build in)

Post by waltervl »

Are you on latest 2024.7 beta as there non admin users are enabled to see energy dashboard https://github.com/domoticz/domoticz/bl ... istory.txt
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
jannl
Posts: 660
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Energy Dashboard (Build in)

Post by jannl »

Yes I am on 2024.7 and yes I try with an admin user. A normal user does not show the menu indeed.
User avatar
waltervl
Posts: 5636
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Energy Dashboard (Build in)

Post by waltervl »

jannl wrote: Thursday 20 February 2025 7:44 Yes I am on 2024.7 and yes I try with an admin user. A normal user does not show the menu indeed.
Perhaps update to latest beta and try again.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
jannl
Posts: 660
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Energy Dashboard (Build in)

Post by jannl »

hm, I will see if I can find time for that, propably needs some testing.
turbotobbe
Posts: 2
Joined: Tuesday 25 March 2025 17:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by turbotobbe »

I cant get the energy dashboard showing anything, i have added p1 meter, pv, battery and battery soc but it just showing zeros, not even the system time is showing as for jannl.

I am logged in as administrator in local network.
Skärmbild 2025-03-25 174613.jpg
Skärmbild 2025-03-25 174613.jpg (84.27 KiB) Viewed 520 times
User avatar
waltervl
Posts: 5636
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Energy Dashboard (Build in)

Post by waltervl »

Are you behind a proxy? Did you clear your browser cache? Try it in an incognito/private browser session.
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
gizmocuz
Posts: 2451
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Energy Dashboard (Build in)

Post by gizmocuz »

Also open your browsers development console (F12) dock it to the bottom, and open the console tab.
Maybe it displays some error messages?
Quality outlives Quantity!
turbotobbe
Posts: 2
Joined: Tuesday 25 March 2025 17:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by turbotobbe »

Yes, it is behind an Nginx Proxy Manager and it actually works when i browse directly to http://192.168.1.61:8081/#/Energy. I don't know why i didn't try that. :o

Development console said "angular-websocket.js:127 WebSocket connection to 'ws://xx.xx.xx/json' failed: " and when I enable Websocket Support in NPM it starts working.

Thank you both!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests