syamkriz
(Syam)
August 23, 2022, 9:03pm
1
Dear Experts,
I am new to Home assistant but is a good Linux guy. Kindly help me configure a Device ( Electrical equipment ) work time monitoring dashboard. I would like to know the duration of working of my Geyser and Fans daily weekly and monthly. Is there anyway I can do it ? I have seen a few threads like below but not a concrete answer to my question above.
The topic says it all: Is it possible to query the last time a light was ‘on’?
I want to create an automation that switches on a light but only if it wasn’t ‘on’ in the last three hours.
I currently created an automation that triggers when the light is switched off zo i can see the last time it was on by looking at the automation ast_triggered time but that seems a detour.
I’ve looked in the forum and Googled for info but i couldn’t find another way.
Is there any way of using light state inf…
Thanks and Regards
Syam
stevemann
(Stephen Mann (YAML-challenged))
August 23, 2022, 9:19pm
2
Use an energy monitoring device to collect the data. It should be easy to use the history (database file) to collect the data you want.
1 Like
syamkriz
(Syam)
August 24, 2022, 10:53am
3
Thanks for the reply. So we cant do it the DIY way with Relay swtiches and Home automation software functionalities ?
ddaniel
(Daniel Dekovic)
August 24, 2022, 10:57am
4
You can use utility meter to cycle daily, weekly and monthly consumption of a device and display data in dashboard.
stevemann
(Stephen Mann (YAML-challenged))
August 24, 2022, 4:07pm
5
You can, but why when there is already an easy method using energy monitoring?