Support for Daikin airconditioner
mr-p666 opened this issue · 1 comments
Hej Matthias,
could you add the Daikin airconditioner module in andFHEM, please ( https://fhem.de/commandref.html#HVAC_DaikinAC )?
Find examples for the logfile below. Is it possible to add a temperature graph for it?
2020-08-12_15:59:48 climateLounge swing: horizontal
2020-08-13_19:29:46 climateLounge pow: 1
2020-08-13_19:29:46 climateLounge power: on
2020-08-13_19:29:56 climateLounge stemp: --
2020-08-13_19:29:56 climateLounge mode: vent
2020-08-13_19:31:18 climateLounge powerful: on
2020-08-29_01:42:25 climateLounge otemp_ifchanged: 22.0
2020-08-29_03:32:59 climateLounge htemp_ifchanged: 25.0
2020-08-29_07:00:44 climateLounge pwr_hour_last: 0.1
2020-08-29_07:00:44 climateLounge pwr_year_cur: 14.2
2020-08-29_08:00:32 climateLounge pwr_hour_last: 0
And here is the xml listing:
<FHZINFO>
<HVAC_DaikinAC_LIST>
<HVAC_DaikinAC name="climateLounge" state="off/vent
<br>In: 25.0 &degC <br>Out: 23.0 &degC" sets="refresh:noArg mode:auto,auto,dehumidify,cool,vent,heat swing:horizontal,none,vertical,3d rate:highest,low,high,medium,lowest,auto,silent powerful:on,off econo:on,off streamer:on,off reboot:nodata shum:slider,0,5,100 stemp:slider,18,0.5,30 power:on,off on off" attrs="alias comment:textField-long eventMap:textField-long group room suppressReading userReadings:textField-long verbose:0,1,2,3,4,5 timeout:slider,0,1,60 interval interval_powered pwrconsumption:1,0 disable:1,0 rawdata:1,0 event-aggregator event-min-interval event-on-change-reading event-on-update-reading oldreadings stateFormat:textField-long timestamp-on-change-reading cmdIcon devStateIcon devStateIcon:textField-long devStateStyle fp_floorplan icon sortby webCmd webCmdLabel:textField-long widgetOverride userattr">
<INT key="CFGFN" value="/opt/fhem/climate.cfg"/>
<INT key="DEF" value="192.168.0.170"/>
<INT key="FUUID" value="5f46ed2c-f33f-2127-f2d2-915e5de42e499e94"/>
<INT key="HOST" value="192.168.0.170"/>
<INT key="INITIALIZED" value="1"/>
<INT key="INTERVAL" value="60"/>
<INT key="INTERVAL_PWRD" value="10"/>
<INT key="LASTUPDATE" value="29.08.2020 / 14:17:40"/>
<INT key="NAME" value="climateLounge"/>
<INT key="NR" value="226"/>
<INT key="STATE" value="off/vent
<br>In: 25.0 &degC <br>Out: 23.0 &degC"/>
<INT key="TYPE" value="HVAC_DaikinAC"/>
<INT key="VERSION" value="1.0.9"/>
<ATTR key="alias" value="Klimaanlage Wohnzimmer"/>
<ATTR key="devStateIcon" value="off.*:control_standby@gray on.*cool:frost@blue on.*heat:sani_heating@red on.*dehumidify:humidity@blue on.*vent:vent_ventilation@green on.*auto:temp_temperature@red"/>
<ATTR key="interval" value="60"/>
<ATTR key="interval_powered" value="10"/>
<ATTR key="pwrconsumption" value="1"/>
<ATTR key="room" value="lounge"/>
<ATTR key="stateFormat" value="power/mode
<br>In: htemp &degC <br>Out: otemp &degC"/>
<STATE key="adv" value="" measured="2020-08-13 19:50:27"/>
<STATE key="cmpfreq" value="0" measured="2020-08-12 16:32:36"/>
<STATE key="cmpfreq_max" value="82" measured="2020-07-01 17:22:46"/>
<STATE key="dh1" value="AUTO" measured="2020-07-18 00:46:16"/>
<STATE key="dh3" value="0" measured="2020-05-31 11:48:36"/>
<STATE key="dh4" value="0" measured="2020-05-31 11:48:36"/>
<STATE key="dt1" value="25.0" measured="2020-07-18 00:46:16"/>
<STATE key="dt3" value="27.0" measured="2020-08-10 19:03:40"/>
<STATE key="dt4" value="25.0" measured="2020-05-31 11:48:36"/>
<STATE key="econo" value="off" measured="2020-05-31 11:48:36"/>
<STATE key="f_dir" value="2" measured="2020-08-12 15:59:48"/>
<STATE key="f_mode" value="6" measured="2020-08-13 19:29:56"/>
<STATE key="f_rate" value="A" measured="2020-08-10 17:39:27"/>
<STATE key="hhum" value="-" measured="2020-08-29 14:17:40"/>
<STATE key="hhum_ifchanged" value="-" measured="2020-05-31 11:48:36"/>
<STATE key="htemp" value="25.0" measured="2020-08-29 14:17:40"/>
<STATE key="htemp_ifchanged" value="25.0" measured="2020-08-29 03:40:05"/>
<STATE key="mac" value="80C5F24E44AA" measured="2020-05-31 11:48:36"/>
<STATE key="method" value="home only" measured="2020-05-31 11:48:36"/>
<STATE key="mode" value="vent" measured="2020-08-13 19:29:56"/>
<STATE key="model" value="0D75" measured="2020-05-31 11:48:36"/>
<STATE key="name" value="Lounge" measured="2020-05-31 11:48:36"/>
<STATE key="otemp" value="23.0" measured="2020-08-29 14:17:40"/>
<STATE key="otemp_ifchanged" value="23.0" measured="2020-08-29 13:22:53"/>
<STATE key="port" value="30050" measured="2020-05-31 11:48:36"/>
<STATE key="pow" value="0" measured="2020-08-15 20:35:46"/>
<STATE key="power" value="off" measured="2020-08-15 20:35:46"/>
<STATE key="powerful" value="off" measured="2020-08-13 19:50:27"/>
<STATE key="pwr_day_cur" value="0.1" measured="2020-08-29 07:00:44"/>
<STATE key="pwr_day_last" value="0.1" measured="2020-08-27 01:16:05"/>
<STATE key="pwr_history_daily_apr" value="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0," measured="2020-05-31 11:48:36"/>
<STATE key="pwr_history_daily_aug" value="0.1,0.2,0.1,0.1,0.1,0.2,0.1,0.1,0.2,0.5,0.1,0.3,0.1,0.1,0.2,0.1,0.1,0.1,0.1,0.2,0.1,0.1,0.1,0.1,0.2,0.1,0.1,0.1,0.1,0,0" measured="2020-08-29 07:00:44"/>
<STATE key="pwr_history_daily_jul" value="0.5,0.2,0.1,0.2,0.1,0.1,0.1,0.2,0.1,0.1,0.2,0.1,0.1,0.1,0.1,0.2,0.1,0.1,0.1,0.1,0.2,0.1,0.1,0.1,0.2,0.1,0.1,0.1,0.2,0.1,0.2" measured="2020-07-31 22:00:37"/>
<STATE key="pwr_history_daily_jun" value="0.1,0.1,0.1,0.1,0.2,0.1,0.1,0.1,0.1,0.2,0.1,0.1,0.1,0.1,0.2,0.1,0.1,0.1,0.1,0.2,0.1,0.1,0.1,0.1,0.2,0.1,0.1,0.1,0.2,0.1," measured="2020-06-30 17:00:28"/>
<STATE key="pwr_history_daily_may" value="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.2,0.1,0.2,0.1,0.1,0.2,0.1,0.1,0.1,0.1,0.2,0.1,0.1,0.1,0.1,0.2" measured="2020-05-31 23:00:22"/>
<STATE key="pwr_history_hourly_today" value="0,0,0,0,0,0,0.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0" measured="2020-08-29 07:00:44"/>
<STATE key="pwr_history_hourly_yesterday" value="0,0,0,0,0,0,0,0,0,0,0.1,0,0,0,0,0,0,0,0,0,0,0,0,0" measured="2020-08-29 00:00:01"/>
<STATE key="pwr_history_monthly_2019" value="0,0,0,0,0,0,0,0,0,0,0,0" measured="2020-05-31 11:48:36"/>
<STATE key="pwr_history_monthly_2020" value="0,0,0,0,2.1,3.6,4.4,4.1,0,0,0,0" measured="2020-08-29 07:00:44"/>
<STATE key="pwr_hour_cur" value="0" measured="2020-05-31 11:48:36"/>
<STATE key="pwr_hour_last" value="0" measured="2020-08-29 08:00:32"/>
<STATE key="pwr_month_cur" value="4.1" measured="2020-08-29 07:00:44"/>
<STATE key="pwr_month_last" value="4.4" measured="2020-08-01 00:00:18"/>
<STATE key="pwr_year_cur" value="14.2" measured="2020-08-29 07:00:44"/>
<STATE key="pwr_year_last" value="0" measured="2020-05-31 11:48:36"/>
<STATE key="rate" value="auto" measured="2020-08-10 17:39:27"/>
<STATE key="reg" value="eu" measured="2020-05-31 11:48:36"/>
<STATE key="rev" value="D3A0C9F" measured="2020-05-31 11:48:36"/>
<STATE key="shum" value="--" measured="2020-08-13 19:29:56"/>
<STATE key="state" value="off" measured="2020-08-15 20:35:46"/>
<STATE key="stemp" value="--" measured="2020-08-13 19:29:56"/>
<STATE key="streamer" value="off" measured="2020-05-31 11:48:36"/>
<STATE key="swing" value="horizontal" measured="2020-08-12 15:59:48"/>
<STATE key="type" value="N" measured="2020-05-31 11:48:36"/>
<STATE key="unit_date" value="2020/08/29 14:17:40" measured="2020-08-29 14:17:40"/>
<STATE key="ver" value="1_2_51" measured="2020-05-31 11:48:36"/>
</HVAC_DaikinAC>
</HVAC_DaikinAC_LIST>
</FHZINFO>
Hi,
well basic support should be already available. I can only put some more button in the detail view without having to open the details in the detail view (I've done that for "mode" for the next version). So if you want more, you need to tell me which attributes you'd like to have there.
Concerning the temperature graph: AndFHEM does not contain any definitions of graphs any more. You can just define an SVG device and associate the respective FileLog with your air conditioner. The graph should then show up automatically in andFHEM.
Matthias