nrosier
(Nick Rosier)
July 19, 2018, 11:06am
1
Some Daikin AC modules (BRP069B4x) provide power consumption data.
http://ip-address/aircon/get_day_power_ex provides following output per hour:
ret=OK,curr_day_heat=0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0,prev_1day_heat=0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0,curr_day_cool=0/0/0/0/0/1/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0,prev_1day_cool=0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/1/0/1/2/1/1/1/1
Would it be possible to parse so current and historical power consumption can be displayed?
robermf
(Roberto)
December 3, 2018, 12:36pm
2
Hello!
I wanted the same and a guy helped me in other thread. Here is the code:
- platform: rest
resource: http://192.168.0.98/aircon/get_day_power_ex
name: "Daikin Dormitorio Consumo"
value_template: >
{{ ((float(value.split(',')[1].split('=')[1].split('/')[0])
+ float(value.split(',')[1].split('=')[1].split('/')[1])
+ float(value.split(',')[1].split('=')[1].split('/')[2])
+ float(value.split(',')[1].split('=')[1].split('/')[3])
+ float(value.split(',')[1].split('=')[1].split('/')[4])
+ float(value.split(',')[1].split('=')[1].split('/')[5])
+ float(value.split(',')[1].split('=')[1].split('/')[6])
+ float(value.split(',')[1].split('=')[1].split('/')[7])
+ float(value.split(',')[1].split('=')[1].split('/')[8])
+ float(value.split(',')[1].split('=')[1].split('/')[9])
+ float(value.split(',')[1].split('=')[1].split('/')[10])
+ float(value.split(',')[1].split('=')[1].split('/')[11])
+ float(value.split(',')[1].split('=')[1].split('/')[12])
+ float(value.split(',')[1].split('=')[1].split('/')[13])
+ float(value.split(',')[1].split('=')[1].split('/')[14])
+ float(value.split(',')[1].split('=')[1].split('/')[15])
+ float(value.split(',')[1].split('=')[1].split('/')[16])
+ float(value.split(',')[1].split('=')[1].split('/')[17])
+ float(value.split(',')[1].split('=')[1].split('/')[18])
+ float(value.split(',')[1].split('=')[1].split('/')[19])
+ float(value.split(',')[1].split('=')[1].split('/')[20])
+ float(value.split(',')[1].split('=')[1].split('/')[21])
+ float(value.split(',')[1].split('=')[1].split('/')[22])
+ float(value.split(',')[1].split('=')[1].split('/')[23])) ) /10 | float }}
unit_of_measurement: "kWh"
scan_interval: 880
You can get the daily consumption with this and play in Grafana
PS: This is for heat mode. I have to get for cool.
1 Like
AviadorLP
(Aviador Lp)
November 18, 2021, 7:52pm
3
Thank you so much for this info. Used your info for my entire 5 devices with same modules. Build this package… sorry but they are specific to my ip adresses and devices. They also work on the energy panel…
I would paste here but it doesn’t fit, its over 800 lines because they are 5 devices and this include heat and cool and total for all devices separate and also as a group, and includes also the day before…
They shows as separate sensor entities, i don’t know how to group them all yet.
I’m new to home assistant and python, been here for less than a month…