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

Post Reply
Kedi
Posts: 536
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: Energy Dashboard (Build in)

Post by Kedi »

waltervl wrote: Wednesday 26 June 2024 20:05
BartSr wrote: Wednesday 26 June 2024 13:20 thanks Gizmocus can you point me to data describing what is what ( \r \r\n \n)
- in Unix and all Unix-like systems, \n is the code for end-of-line, \r means nothing special
- as a consequence, in C and most languages that somehow copy it (even remotely), \n is the standard escape sequence for end of line (translated to/from OS-specific sequences as needed)
- in old Mac systems (pre-OS X), \r was the code for end-of-line instead
- in Windows (and many old OSs), the code for end of line is 2 characters, \r\n, in this order
- as a (surprising;-) consequence (harking back to OSs much older than Windows), \r\n is the standard line-termination for text formats on the Internet

Source: https://stackoverflow.com/questions/176 ... en-n-and-r
From somewhere else of the Internet.
\r = CR (Carriage Return) → Used as a new line character in Mac OS before X
\n = LF (Line Feed) → Used as a new line character in Unix/Mac OS X
\r\n = CR + LF → Used as a new line character in Windows

So a \r means something..... Even the order might mean sometimes something different.

https://en.wikipedia.org/wiki/Newline
Logic will get you from A to B. Imagination will take you everywhere.
User avatar
McMelloW
Posts: 427
Joined: Monday 20 November 2017 17:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.1
Location: Harderwijk, NL
Contact:

Re: Energy Dashboard (Build in)

Post by McMelloW »

Kedi wrote: Thursday 27 June 2024 16:52
From somewhere else of the Internet.
\r = CR (Carriage Return) → Used as a new line character in Mac OS before X
\n = LF (Line Feed) → Used as a new line character in Unix/Mac OS X
\r\n = CR + LF → Used as a new line character in Windows

So a \r means something..... Even the order might mean sometimes something different.

https://en.wikipedia.org/wiki/Newline
It's all a legacy from the teleprinter/typewriter era. There, the roll had to go back to the beginning (Carriage Return) and rotate one single step. (Line Feed) :D :D
Greetings McMelloW
leolafr
Posts: 1
Joined: Friday 28 June 2024 11:53
Target OS: Linux
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by leolafr »

Hello

Great job ! I love it
Any way to export this dashboard in a personal dashboard using an iframe or copy/paste part of the code?

thanks
hansvanlin
Posts: 3
Joined: Wednesday 19 June 2024 10:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by hansvanlin »

Yes this is possible. I have it displayed, using iframe, in my nodered UI. Image
Last edited by hansvanlin on Friday 28 June 2024 14:35, edited 1 time in total.
hansvanlin
Posts: 3
Joined: Wednesday 19 June 2024 10:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by hansvanlin »

hansvanlin wrote: Friday 28 June 2024 14:34 Yes this is possible. I have it displayed, using iframe, in my nodered UI. It is not completely centered and it would be nice if it could be scaled a bit larger. But for now it good :)
Screenshot_20240628_142653_Gallery.jpg
Screenshot_20240628_142653_Gallery.jpg (277.24 KiB) Viewed 1245 times
Last edited by hansvanlin on Friday 28 June 2024 17:26, edited 1 time in total.
BartSr
Posts: 347
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.3
Location: Netherlands
Contact:

Re: Energy Dashboard (Build in)

Post by BartSr »

Hi,
Any suggestion about the negative cumulated power @ home?

Thanks!
-Bart
Attachments
energie.jpg
energie.jpg (88.62 KiB) Viewed 1238 times
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 espeasy
MQTT
User avatar
waltervl
Posts: 5148
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 »

Because of the negative value of the kWh of your solar panels.
Your Domoticz grid meters tells that you have send 24 kWh to the grid. Your solar panels have used (not delivered!) almost 2 kWh so your house produced (not used) 22 kWh.

So it seems you have your configuration of the energy board wrong..
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
PieterS
Posts: 195
Joined: Wednesday 31 May 2017 16:06
Target OS: NAS (Synology & others)
Domoticz version: 2024.7
Location: NL
Contact:

Re: Energy Dashboard (Build in)

Post by PieterS »

Is the device configured as

Type: Return
Energy read: Computed

That did the job for me😁
Synology with Domoticz build (V2024.7) in Docker
Kedi
Posts: 536
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: Energy Dashboard (Build in)

Post by Kedi »

I think that there are still some calculation errors.
29.06.2024_21.17.14_REC.png
29.06.2024_21.17.14_REC.png (85.35 KiB) Viewed 1118 times
29.06.2024_21.17.41_REC.png
29.06.2024_21.17.41_REC.png (26.9 KiB) Viewed 1118 times
The converter uses some power when there is no sun.
So the Solar should read -3 Watt and the house should read 408 (411 - 3)
And the dotted line should go from meter to solar.
Logic will get you from A to B. Imagination will take you everywhere.
Hansbit
Posts: 36
Joined: Monday 17 February 2014 15:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by Hansbit »

Great new feature for Domoticz!

Some (very) small cosmetic notes:

- Use W for Watt (more readable and in the same icon we use kWh also als single characters)
- The Euro-sign (€) should be before the amount (ISO convention). (Or instead use the word 'euro' after amount).

Regards, Hans
Hansbit
Posts: 36
Joined: Monday 17 February 2014 15:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by Hansbit »

As there is a waterflow device present, could the data be used to have an 'flowing line' for water on the Energy Dashboard as well? (And mention next to the line the current waterflow?
Scherm­afbeelding 2024-07-03 om 16.36.31.png
Scherm­afbeelding 2024-07-03 om 16.36.31.png (277.48 KiB) Viewed 951 times
WouterO
Posts: 40
Joined: Sunday 14 May 2023 19:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by WouterO »

Hi, I waited for the official next Domoticz release to test the Energy Dashboard and I love it, thnx to all contributors.

One silly question: how can I get a direct link to the Energy Dashboard on the main Domoticz Dashboard? I can’t ‘favorite’ the Energy Dashboard, can I? Or at least a direct link in the menu on top, possibly via custom?
imautohuttraeger
Posts: 97
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by imautohuttraeger »

WouterO wrote: Monday 08 July 2024 22:28 Hi, I waited for the official next Domoticz release to test the Energy Dashboard and I love it, thnx to all contributors.

One silly question: how can I get a direct link to the Energy Dashboard on the main Domoticz Dashboard? I can’t ‘favorite’ the Energy Dashboard, can I? Or at least a direct link in the menu on top, possibly via custom?
Word! Maybe it could simply be integrated as one separate floorplan in order to avoid having an additional tab.This is the workaround I have done before the energy dashboard existed.
Attachments
Screenshot_20240701-161514.png
Screenshot_20240701-161514.png (203.95 KiB) Viewed 832 times
User avatar
gizmocuz
Posts: 2350
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 »

Kedi wrote: Saturday 29 June 2024 21:25 I think that there are still some calculation errors
No there are not.

Grid = 411
PV = 3

Means House = 411 + 3 = 414 Watt

You get power from both Grid and PV

Grid = 0
PV = 0
= House = 0

Grid = 100
PV = 0
= House = 100

Grid = 0
PV = 100
= House = 100

Grid = 100
PV = 100
= House = 200
Quality outlives Quantity!
User avatar
gizmocuz
Posts: 2350
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 »

Hansbit wrote: Monday 01 July 2024 17:28 Some (very) small cosmetic notes:

- Use W for Watt (more readable and in the same icon we use kWh also als single characters)
- The Euro-sign (€) should be before the amount (ISO convention). (Or instead use the word 'euro' after amount).
'Watt' is also displayed on all devices in the Web GUI, so this makes it consistant.
Besides, the 4 extra widgets you 'could' use take the 'text' from the data field, which included 'Watt' as well (Web GUI) and then you end up with a mix of W and Watt

I always write 100 €, and you pronounce it also this way... Your house usage is 5 Euro.

https://stptrans.com/wp-content/uploads ... ormats.pdf

It's fine this way... At least I added the currency right :mrgreen:
Quality outlives Quantity!
User avatar
gizmocuz
Posts: 2350
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 »

WouterO wrote: Monday 08 July 2024 22:28 Hi, I waited for the official next Domoticz release to test the Energy Dashboard and I love it, thnx to all contributors.

One silly question: how can I get a direct link to the Energy Dashboard on the main Domoticz Dashboard? I can’t ‘favorite’ the Energy Dashboard, can I? Or at least a direct link in the menu on top, possibly via custom?
Why would you want another link in the top menu? There is already a link in the top menu via Settings.

It is not possible to add another tab in the top menu with a label like 'Energy Dashboard', it simply does not fit.

We're thinking about placing an Icon in the top menu instead, have not yet decided yet where and how this should look yet.
For now, use the menu option, same as for the devices/log and lots more...

You could create a bookmark in your browser/mobile/tabled homescreen to go directly to this page instead of the dashboard?
Quality outlives Quantity!
PPTG
Posts: 1
Joined: Tuesday 09 July 2024 8:10
Target OS: Linux
Domoticz version: latest
Location: Poland
Contact:

Re: Energy Dashboard (Build in)

Post by PPTG »

Thanks for the work done so far on the energy monitor. I'm using a Chinese inverter which I accessed using "SmartESS-proxy". The proxy returns parameters from the inverter by MQTTT, but the dashboard does not show the instantaneous power from the panels, and I cannot select the device indicating the "Grid" load i dont' need P1 energy monitor , how to change it (change device type to another). In the browser console, I get the message "Error with Power meter results. Check ID!" probably because the proxy does not send kWh data. How can I disable the kWh parameters for the energy monitor and is it possible to calculate the energy yield directly in Domoticz based on the provided values? Best regards.
Attachments
Devices.png
Devices.png (36.87 KiB) Viewed 812 times
Dash-1.png
Dash-1.png (71.62 KiB) Viewed 812 times
2024-07-09 082132.png
2024-07-09 082132.png (113.7 KiB) Viewed 812 times
Last edited by PPTG on Tuesday 09 July 2024 18:49, edited 1 time in total.
WouterO
Posts: 40
Joined: Sunday 14 May 2023 19:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by WouterO »

gizmocuz wrote: Tuesday 09 July 2024 8:16
WouterO wrote: Monday 08 July 2024 22:28 Hi, I waited for the official next Domoticz release to test the Energy Dashboard and I love it, thnx to all contributors.

One silly question: how can I get a direct link to the Energy Dashboard on the main Domoticz Dashboard? I can’t ‘favorite’ the Energy Dashboard, can I? Or at least a direct link in the menu on top, possibly via custom?
Why would you want another link in the top menu? There is already a link in the top menu via Settings.

It is not possible to add another tab in the top menu with a label like 'Energy Dashboard', it simply does not fit.

We're thinking about placing an Icon in the top menu instead, have not yet decided yet where and how this should look yet.
For now, use the menu option, same as for the devices/log and lots more...

You could create a bookmark in your browser/mobile/tabled homescreen to go directly to this page instead of the dashboard?
Thnx for replying. I use an iPad in portrait mode for controlling Domoticz. Then there’s still enough room for another icon in the top menu (because the tabs have no text). For now, I will indeed make a bookmark directly to the Energy Dashboard. It deserves to be seen directly (and not via some extra clicks via the menu option). Thnx again!
Kedi
Posts: 536
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: Energy Dashboard (Build in)

Post by Kedi »

gizmocuz wrote: Tuesday 09 July 2024 8:06
Kedi wrote: Saturday 29 June 2024 21:25 I think that there are still some calculation errors
No there are not.

Grid = 411
PV = 3

Means House = 411 + 3 = 414 Watt

You get power from both Grid and PV

Grid = 0
PV = 0
= House = 0

Grid = 100
PV = 0
= House = 100

Grid = 0
PV = 100
= House = 100

Grid = 100
PV = 100
= House = 200
I placed 2 pictures. The 3 Watts in the Solar circle should be negative, see the widget.
The panels are consuming power instead of delivering power.
I am measuring power with a Shelly EM, and that device can measure in 2 directions positive and negative.
And yes a converter stays on the net and consumes power when there is no sun.
The house get some power and the converter get some power.
So the total of those 2 comes from the net.
Or do I make a mistake?
Logic will get you from A to B. Imagination will take you everywhere.
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by HansieNL »

The solar panel setting for the Energy Dashboard is disabled, but the solar panel is still shown. The values are 0.000 kWh and 0 Watt. Is this correct or should it not be shown at all?
Blah blah blah
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest