Open mkubicek opened 7 years ago
I'm working on and off on this plugin at the moment (sorry!) but can you get me a little info and post it here for me so I have everything I need to solve this? I have a relative idea of what I need to do to fix this, though it will take a solid bit of refactoring to avoid breaking... well, everything else... I think, anyway.
If you can get me the responses for the following, for each model you have access too, that would be awesome. Enter these snippets into a web browser address bar, putting the IP address for each of your Daikins in place of Your-IP-Address, and I'll get to work on it further.
Have a read of the output you get and replace anything personally identifiable with XXXX. basic_info will list your MAC address and the Password set by the app for remote access If you're wondering why so much info, it's because what I'm pretty sure I need to do code wise to fix this is also about 75-80% of Project 3, and for that, having this info will help me make that portion work as well. So as soon as this is fixed, I'll push it to NPM, and again when Project 3 is done, since fixing this will (probably) get me so close
Hi DirtyDevWork
Thanks for your reply! Below the info for my FTXM35M2V1B. I don't have access to FTXS20K2V1B and CTXS35K2V1B right now. Will add the info sometime in the future.
Model: FTXM35M2V1B
basic_info
ret=OK,type=aircon,reg=eu,dst=1,ver=2_6_0,pow=1,err=0,location=0,name=%53%6f%67%67%69%6f%72%6e%6f,icon=5,method=polling,port=30050,id=XXX,pw=XXX,lpw_flag=0,adp_kind=2,pv=3.20,cpv=3,cpv_minor=20,led=1,en_setzone=1,mac=XXX,adp_mode=run,en_hol=0,grp_name=%4d%69%6c%61%6e%6f,en_grp=1
get_model_info
ret=OK,model=0000,type=N,pv=3.20,cpv=3,cpv_minor=20,mid=NA,humd=0,s_humd=0,acled=0,land=0,elec=1,temp=1,temp_rng=0,m_dtct=1,ac_dst=--,disp_dry=0,dmnd=1,en_scdltmr=1,en_frate=1,en_fdir=1,s_fdir=3,en_rtemp_a=0,en_spmode=7,en_ipw_sep=1,hmlmt_l=10.0
get_control_info in automatic AC mode:
ret=OK,pow=1,mode=0,adv=,stemp=25.0,shum=0,dt1=25.0,dt2=M,dt3=25.0,dt4=21.0,dt5=21.0,dt7=25.0,dh1=0,dh2=50,dh3=0,dh4=0,dh5=0,dh7=0,dhh=50,b_mode=0,b_stemp=25.0,b_shum=0,alert=255,f_rate=7,f_dir=0,b_f_rate=7,b_f_dir=0,dfr1=7,dfr2=5,dfr3=5,dfr4=5,dfr5=5,dfr6=5,dfr7=7,dfrh=5,dfd1=0,dfd2=0,dfd3=0,dfd4=0,dfd5=0,dfd6=0,dfd7=0,dfdh=0,dmnd_run=0,en_demand=0
get_control_info in fan mode:
ret=OK,pow=1,mode=6,adv=,stemp=--,shum=--,dt1=25.0,dt2=M,dt3=25.0,dt4=21.0,dt5=21.0,dt7=25.0,dh1=0,dh2=50,dh3=0,dh4=0,dh5=0,dh7=0,dhh=50,b_mode=6,b_stemp=--,b_shum=--,alert=255,f_rate=5,f_dir=0,b_f_rate=5,b_f_dir=0,dfr1=7,dfr2=5,dfr3=5,dfr4=5,dfr5=5,dfr6=5,dfr7=7,dfrh=5,dfd1=0,dfd2=0,dfd3=0,dfd4=0,dfd5=0,dfd6=0,dfd7=0,dfdh=0,dmnd_run=0,en_demand=0
get_sensor_info
ret=OK,htemp=25.0,hhum=-,otemp=28.0,err=0,cmpfreq=20
When I set my devices to a mode that doesn't support a target temperature (NaN) Home lists them as accessories that are not responding. Reproduced on FTXM35M2V1B, FTXS20K2V1B, CTXS35K2V1B all connected with BRP069A42. (homebridge-daikin@0.1.4, homebridge@0.4.20, Node v6.9.1)
Device in "Fan" or "Dehumidifier" mode listed with "No Response" in Home dashboard and "This accessory is not responding" in Home detail view:
After setting to "Cool" mode using Daikin app, Home recognises the device correctly: