Energy Dashboard (Build in)
Moderator: leecollings
-
- Posts: 279
- Joined: Wednesday 04 July 2018 7:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Energy Dashboard (Build in)
Nice to see that in the wiki, great work !
RPI4 Beta / Tasmota / ZigBee2MQTT / P1meter / Haier AC with Node-Red and MQTT / SolarEdge SE3500H modbus_tcp / Opentherm gateway / Plugwise Anna/Smile / ObserverIP weatherstation thru WuDirect
Feeding ADSB https://adsb.im/home
Feeding ADSB https://adsb.im/home
-
- 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)
@Walter
Thanks for your code example. Have to tailor it a bit but it 's a good heading for the 'how to".
-Bart
Thanks for your code example. Have to tailor it a bit but it 's a good heading for the 'how to".
-Bart
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 espeasy
MQTT
Arduino
KAKU
RfxCom
Zwave
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 espeasy
MQTT
-
- 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)
in the energy dahboard shown here in the forum there is text about weather in top left corner. others put calender data there. Where has this to be filled out?
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 espeasy
MQTT
Arduino
KAKU
RfxCom
Zwave
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 espeasy
MQTT
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
- 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)
You can use dzVents to make a combined Watt/kWh device and if you want to display this separate you can put it in one of the 3 custom widgets
Quality outlives Quantity!
-
- 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)
Pls advise if this is normal behaviour on energy dashboard for my, somewhat large, text device.
7 lines in the device versus one (reduced length) line on the dashboard
7 lines in the device versus one (reduced length) line on the dashboard
- Attachments
-
- dashboard1.jpg (39.41 KiB) Viewed 973 times
-
- dashboard 2.jpg (66.62 KiB) Viewed 973 times
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 espeasy
MQTT
Arduino
KAKU
RfxCom
Zwave
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 espeasy
MQTT
- 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)
How do you break your lines in the text device? \n
Quality outlives Quantity!
-
- Posts: 6
- Joined: Friday 22 August 2014 16:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.9999
- Location: Norway
- Contact:
Re: Energy Dashboard (Build in)
Hi.
Great feature but I have one question. I have two sensors from my meter, one is for import and the other for export. Import works fine but How can I configure the export device when my solar panels are producing more than what my house needs? Would there be possible to integrate a import device and a export device in settings of the energy dashboard or are there other ways to solve this.
At the moment I configured my export device to the battery option which kind of work but would like a option for this so I can see my export flow back to the grid.
Great feature but I have one question. I have two sensors from my meter, one is for import and the other for export. Import works fine but How can I configure the export device when my solar panels are producing more than what my house needs? Would there be possible to integrate a import device and a export device in settings of the energy dashboard or are there other ways to solve this.
At the moment I configured my export device to the battery option which kind of work but would like a option for this so I can see my export flow back to the grid.
-
- Posts: 6
- Joined: Friday 22 August 2014 16:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.9999
- Location: Norway
- Contact:
Re: Energy Dashboard (Build in)
to answer my own post. think I solved it by making a dzvent script that combined the import and export devices to one and used that as input for the energy device in the settings for energy dashboard. now I can see the power flowing back to the grid and also how much my house is using.
- 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)
If you make that a P1 Energy device you are seeing both import and export values in the energy dashboard on the grid side.Skjalg wrote: ↑Sunday 23 June 2024 14:11 to answer my own post. think I solved it by making a dzvent script that combined the import and export devices to one and used that as input for the energy device in the settings for energy dashboard. now I can see the power flowing back to the grid and also how much my house is using.
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: 6
- Joined: Friday 22 August 2014 16:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.9999
- Location: Norway
- Contact:
Re: Energy Dashboard (Build in)
That was actually my plan but when I saw all the values after I created it I wasnt sure how to use it in dzvents so created the electric instant + counter instead. Can I fill in my data fro my devices just like the electric device or are there something else i have to do in dzvents for this device.My current dzvents scripts look like ths at the moment
Code: Select all
return {
on = {
timer = { 'every 1 minutes' }
},
execute = function(domoticz, item)
local tibbersell = domoticz.devices(479) --tibberimport
local tibberprod = domoticz.devices(478) -- tibber export
local husbrukt = domoticz.devices(636) -- total brukt hus
local totalsol = domoticz.devices(467) --total solceller
husbrukt.updateElectricity(
tibbersell.WhActual + totalsol.WhActual - tibberprod.WhActual,
tibbersell.WhTotal + totalsol.WhTotal - tibberprod.WhActual
)
end
}
- 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)
P1 in dzvents:
So last line in your script should then look like (and device husbrukt should be a P1 device)
If you have only 1 tariff (no night/day) you can skip 1 or 2..updateP1(usage1, usage2, return1, return2, cons, prod):
USAGE1= integer, total cumulative energy usage meter tariff 1 in Wh.
USAGE2= integer, total cumulative energy usage meter tariff 2 in Wh.
RETURN1= integer, total cumulative energy return meter tariff 1 in Wh.
RETURN2= integer, total cumulative energy return meter tariff 2 in Wh.
CONS= actual usage power (Watt)
PROD= actual return power (Watt)
So last line in your script should then look like (and device husbrukt should be a P1 device)
Code: Select all
husbrukt.updateP1(tibbersell.WhTotal,0,tibberprod.WhTotal,0,tibbersell.WhActual,tibberprod.WhActual)
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: 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)
@gizmocus
Code: Select all
commandArray['UpdateDevice'] ='1554|0|humCounter: '..tostring(humCounter)..'\r humidityTmin5: '..tostring(humidityTmin5)..'\r humidityTmin10: '..tostring(humidityTmin10) .. '\r Humidity current: ' .. tostring(current) .. '\r Humidity delta: ' .. tostring(xdelta) .. '\r targetFanOffHumidity: ' .. tostring(targetFanOffHumidity) .. '\r fanFollowsProgram: ' .. tostring(fanFollowsProgram)
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 espeasy
MQTT
Arduino
KAKU
RfxCom
Zwave
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 espeasy
MQTT
- 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)
@BartSr, it is either \n or \r\n not \r only. I suggest you use \n
Quality outlives Quantity!
-
- 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)
thanks Gizmocus can you point me to data describing what is what ( \r \r\n \n)
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 espeasy
MQTT
Arduino
KAKU
RfxCom
Zwave
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 espeasy
MQTT
-
- 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)
Thanx for this nice feature! Just one question:
What is the meaning of that value off about 4.044 kWh in the circle of the house? It fluctuates up and down..
No idea how to configure that part of this dashboard either.
What is the meaning of that value off about 4.044 kWh in the circle of the house? It fluctuates up and down..
No idea how to configure that part of this dashboard either.
Synology with Domoticz build (V2024.7) in Docker
-
- Posts: 37
- Joined: Saturday 28 March 2020 13:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: Energy Dashboard (Build in)
own consumption (daily):
4.044 = 40.057 (solar power produced) - 37.204 (exported to net) + 1.191 (from net)
it should only go up
Raspberry PI 2 & 3 & 4 | RFlink | MySensors | ESP32 | Homebridge | Tasmota Sonoff | Zigbee2Mqtt | ADS-B
-
- 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)
Ok. Is clear now. And that is why that part needs no sensor as configuration.
Thnx for your explanation.
Thnx for your explanation.
Synology with Domoticz build (V2024.7) in Docker
- 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)
- 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
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: 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)
Thanks very much for your explanations. To be honoust I only remember from the old days the printer character CRLF. These must be programmed for the carriage return linefeed.
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 espeasy
MQTT
Arduino
KAKU
RfxCom
Zwave
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 espeasy
MQTT
Who is online
Users browsing this forum: No registered users and 1 guest