Page 6 of 15

Re: Energy Dashboard (Build in)

Posted: Thursday 27 June 2024 16:52
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

Re: Energy Dashboard (Build in)

Posted: Thursday 27 June 2024 17:28
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

Re: Energy Dashboard (Build in)

Posted: Friday 28 June 2024 11:56
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

Re: Energy Dashboard (Build in)

Posted: Friday 28 June 2024 14:34
by hansvanlin
Yes this is possible. I have it displayed, using iframe, in my nodered UI. Image

Re: Energy Dashboard (Build in)

Posted: Friday 28 June 2024 17:22
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 1687 times

Re: Energy Dashboard (Build in)

Posted: Friday 28 June 2024 17:52
by BartSr
Hi,
Any suggestion about the negative cumulated power @ home?

Thanks!
-Bart

Re: Energy Dashboard (Build in)

Posted: Saturday 29 June 2024 0:01
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..

Re: Energy Dashboard (Build in)

Posted: Saturday 29 June 2024 9:12
by PieterS
Is the device configured as

Type: Return
Energy read: Computed

That did the job for me😁

Re: Energy Dashboard (Build in)

Posted: Saturday 29 June 2024 21:25
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 1560 times
29.06.2024_21.17.41_REC.png
29.06.2024_21.17.41_REC.png (26.9 KiB) Viewed 1560 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.

Re: Energy Dashboard (Build in)

Posted: Monday 01 July 2024 17:28
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

Re: Energy Dashboard (Build in)

Posted: Wednesday 03 July 2024 16:45
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 1393 times

Re: Energy Dashboard (Build in)

Posted: Monday 08 July 2024 22:28
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?

Re: Energy Dashboard (Build in)

Posted: Monday 08 July 2024 23:16
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.

Re: Energy Dashboard (Build in)

Posted: Tuesday 09 July 2024 8:06
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

Re: Energy Dashboard (Build in)

Posted: Tuesday 09 July 2024 8:12
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:

Re: Energy Dashboard (Build in)

Posted: Tuesday 09 July 2024 8:16
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?

Re: Energy Dashboard (Build in)

Posted: Tuesday 09 July 2024 8:28
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.

Re: Energy Dashboard (Build in)

Posted: Tuesday 09 July 2024 9:41
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!

Re: Energy Dashboard (Build in)

Posted: Tuesday 09 July 2024 11:08
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?

Re: Energy Dashboard (Build in)

Posted: Tuesday 09 July 2024 12:46
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?