Total's Today Energy is BRP069B41 doesn't seem right

Issue #16 resolved
Ed Watson created an issue

Today,

I am using Home assiatant and noticed total today engery was wrong. Heat and Cool for today seem to be fine.

E.g. today....it says 0.2kWh it shoud be more like 6.4kWh

2022-04-09 18:24:39 in_temp=23°C out_temp=7°C cmp_freq=20Hz total_today=0.2kWh cool_today=0.0kWh heat_today=6.4kWh total_power=0.00kW cool_energy=0.0kW heat_energy=0.0kW

http://192.168.1.15/aircon/get_week_power
ret=OK,today_runtime=1221,datas=300/200/300/300/300/200/200
http://192.168.1.15/aircon/get_day_power_ex
ret=OK,curr_day_heat=4/4/3/4/3/3/4/4/3/4/4/3/3/3/3/2/3/2/3/2/0/0/0/0,prev_1day_heat=4/4/4/3/4/4/4/3/3/3/3/3/2/3/2/3/2/2/2/2/3/3/2/3,curr_day_cool=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_cool=0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0
          name: Daikin
           mac: ['DCF5052A7D65']
           mode: hot
           fan rate: auto
           fan direction: off
           inside temp: 23.0
           outside temp: 7.0
           target temp: 20.0
           compressor frequency: 20
           away_mode: off
           error code: 0
           internal clock: 2022/4/9 20:24:33
          advanced mode: streamer

Comments (4)

  1. David Ignjić

    I think i found what is problem i decompile daikin controller and i see that they use either:
    "/aircon/get_day_power_ex"
    "/aircon/get_week_power_ex"
    "/aircon/get_year_power_ex"

    or only:
    "/aircon/get_week_power"
    "/aircon/get_year_power"

    Probably depends on firmware version for example on my unit:

    curl http://192.168.200.124/aircon/get_week_power_ex
    ret=OK,s_dayw=1,week_heat=1/19/0/0/0/0/0/0/0/0/0/0/0/0,week_cool=0/0/1/0/0/0/1/0/0/0/1/0/0/1
    

    and

    curl http://192.168.200.124/aircon/get_day_power_ex
    ret=OK,curr_day_heat=0/0/0/0/0/0/0/0/0/1/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/1/5/3/2/0/0/0/3/2/3/0/0/0,curr_day_cool=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_cool=0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0i
    

    ans when we make sum the total is correct when we sum it its correct of previous day 1.9 and week day 19

    and when i call:

    curl http://192.168.200.124/aircon/get_week_power
    ret=OK,today_runtime=0,datas=0/0/0/100/0/100/0 
    

    Also for year the data is not correct and for my second unit this display always 0 for week and year and i dont get energy info in Homeassistant . Probably i make pull request to fix it.

  2. Log in to comment