dirtydevwork / homebridge-daikin Goto Github PK
View Code? Open in Web Editor NEWThis project forked from pjczx/homebridge-thermostat
Supports Daikin Air Conditioners on HomeBridge
License: Apache License 2.0
This project forked from pjczx/homebridge-thermostat
Supports Daikin Air Conditioners on HomeBridge
License: Apache License 2.0
After setting a target temperature and leaving any associated HomeKit app or refreshing status, target temperature reverts to the current temperature reported by the indoor temperature sensor
Missing Fan Controls for Direction (vertical, horizontal, both) and Rate (auto, silence, lvl_1 to 5)
I know the page says not working with NPM yet however it did install but isn't working.
Received error "Error: The requested accessory 'Daikin Air Conditioner' was not registered by any plugin."
Config as follows:
"accessory": "Daikin Air Conditioner",
"name": "Daikin Demo",
"apiroute": "http://192.168.44.81"
Do you have any installation steps to make this work?
Many thanks
Hello since the 1.2.51 firwware, the plugin not work with homebridge see the log:
[3/17/2019, 3:43:14 PM] [Clim Abi] Error getting state: null [3/17/2019, 3:43:38 PM] [Clim Salon] setTargetHeatingCoolingState from/to:3/0 [3/17/2019, 3:43:38 PM] [Clim Salon] setDaikinMode: setting pow to ?pow=0, mode to &mode=4 and stemp to &stemp=21 [3/17/2019, 3:43:39 PM] [Clim Salon] Error getting state: null [3/17/2019, 3:43:47 PM] [Clim Salon] setTargetHeatingCoolingState from/to:0/3 [3/17/2019, 3:43:47 PM] [Clim Salon] setDaikinMode: setting pow to ?pow=1, mode to &mode=0 and stemp to &stemp=21
And in the homebridge app, I have no return of the temperature and I cannot use it in homebridge.
Can you help me?
Thanks in advance,
C.
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.
([email protected], [email protected], 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:
[5/30/2017, 8:16:06 AM] [Soggiorno] response success
[5/30/2017, 8:16:06 AM] [Soggiorno] Heating state is 2
[5/30/2017, 8:16:06 AM] [Soggiorno] Auto (if 0, 1 or 5), or not handled case: 2
[5/30/2017, 8:16:07 AM] [Soggiorno] response success
[5/30/2017, 8:16:07 AM] [Soggiorno] Daikin mode is 0, currently 26.0 degrees
[5/30/2017, 8:16:09 AM] [Soggiorno] response success
[5/30/2017, 8:16:09 AM] [Soggiorno] Target temperature is NaN
After setting to "Cool" mode using Daikin app, Home recognises the device correctly:
[5/30/2017, 8:17:22 AM] [Soggiorno] response success
[5/30/2017, 8:17:22 AM] [Soggiorno] Heating state is 3
[5/30/2017, 8:17:23 AM] [Soggiorno] response success
[5/30/2017, 8:17:23 AM] [Soggiorno] Target temperature is 25
[5/30/2017, 8:17:25 AM] [Soggiorno] response success
[5/30/2017, 8:17:25 AM] [Soggiorno] Daikin mode is 0, currently 26.0 degrees
Missing Characteristic for "Intelligent Eye" presense sensor
Need to include a function to get the model info from connected Daikin systems. This will allow setting the Manufacturer, Model and Serial Number in the informationservice, and detection of model and therefore available features.
/aircon/get_model_info and /common/basic_info will be useful here
An example output from convertDaikinToJSON():
{"ret":"OK,pow":"0,mode":"4,adv":",stemp":"21.0,shum":"0,dt1":"25.0,dt2":"M,dt3":"25.0,dt4":"21.0,dt5":"21.0,dt7":"25.0,dh1":"AUTO,dh2":"50,dh3":"0,dh4":"0,dh5":"0,dh7":"AUTO,dhh":"50,b_mode":"4,b_stemp":"21.0,b_shum":"0,alert":"255"}
What should be output:
{"ret":"OK","pow":"0","mode":"4","adv":"","stemp":"21.0","shum":"0","dt1":"25.0","dt2":"M","dt3":"25.0","dt4":"21.0","dt5":"21.0","dt7":"25.0","dh1":"AUTO","dh2":"50","dh3":"0","dh4":"0","dh5":"0","dh7":"AUTO","dhh":"50","b_mode":"4","b_stemp":"21.0","b_shum":"0","alert":"255"}
Basically, need to work out why quotation marks are not being put around the commas
Doesn't appear to effect functionality, but while updating the current temperature, the current mode is reported as undefined. Slightly annoying for use while troubleshooting
JSON parsing is not yet tested for the output from BRP072A42 module, may not read values as expected
Can read sensor values and what mode the Daikin is in, but can't push commands to the Daikin
Daikin Split Systems support an Outside Temp Sensor. Currently am not reporting readings to HomeKit for this sensor, need to investigate if this can be added as part of the main HomeKit Accessory or if it will need to appear as a separate Accessory
I was wondering if you could please add support for another brand of aircon WiFi controller called e-zone by ambience air?
Hi, Is it possible to get fan speed for this unit ?
ret=OK,type=aircon,reg=eu,dst=1,ver=3_3_1,pow=1,err=0,location=0,name=%44%61%69%6b%69%6e%41%50%34%35%36%35%34,icon=0,method=polling,port=30050,id=xxxxxxC,pw=xxxxxxxx,lpw_flag=0,adp_kind=2,pv=0,cpv=0,cpv_minor=00,led=1,en_setzone=1,mac=xxxxxxxxxxxx,adp_mode=run,en_hol=0,grp_name=,en_grp=0
ret=OK,model=NOTSUPPORT,type=N,pv=0,cpv=0,mid=NA,s_fdir=3,en_scdltmr=1
ret=OK,pow=1,mode=3,adv=,stemp=18.0,shum=0,dt1=18.0,dt2=M,dt3=18.0,dt4=18.0,dt5=18.0,dt7=18.0,dh1=0,dh2=50,dh3=0,dh4=0,dh5=0,dh7=0,dhh=50,b_mode=3,b_stemp=18.0,b_shum=0,alert=255,f_rate=5,f_dir=0,b_f_rate=5,b_f_dir=0,dfr1=5,dfr2=5,dfr3=5,dfr4=5,dfr5=5,dfr6=5,dfr7=5,dfrh=5,dfd1=0,dfd2=0,dfd3=0,dfd4=0,dfd5=0,dfd6=0,dfd7=0,dfdh=0
ret=OK,htemp=22.0,hhum=-,otemp=21.0,err=0,cmpfreq=34
Hello, is this project dead?
Post the returned values from GET /common/basic_info, /aircon/get_model_info, /aircon/get_control_info, /aircon/get_sensor_info, and feature list of your Daikin system here to help inclusion in this plugin in the future
Edit: for any future posts, the GET /common/basic_info response has two entries (pw= and mac=) that just for security, should be replaced with XXXXXX before posting. If you're unsure, check the other posts here
I have identified an issue. Let's start with the WiFi Module I use:
[10/9/2018, 12:40:32 PM] [Daikin Office] response success [10/9/2018, 12:40:32 PM] [Daikin Office] Your Model is: 0AB9 [10/9/2018, 12:40:32 PM] [Daikin Office] response success [10/9/2018, 12:40:32 PM] [Daikin Office] Set firmware version to 1.2.48
I experienced a problem that most commands were ignored. I finally found out that these commands where temp was either a full or a half degree worked.
Examples working: 22.0, 22.5, 23.0, 23.5
Examples not working: 22.1, 22.2, 22.3
So it seems we need some rounding.
If the URL looks like this: "http://192.168.1.13/aircon/set_control_info?pow=1&mode=3&stemp=22.1&shum=0" the HTTP response is: ret=PARAM NG
I'm am attempting to adapt for a MyAir2.
I'm not very inexperience with js and classes, and sorry if I have completely overlooked but...
How are zones handled?
My system has 8 zones that can be on/off as well as 0 - 100% open (the XLM I will be working with is below)
<zone1>
<name>LOUNGE</name>
<setting>1</setting>
<userPercentSetting>100</userPercentSetting>
<maxDamper>100</maxDamper>
<minDamper>0</minDamper>
<userPercentAvail>1</userPercentAvail>
</zone1>
Default values don't update to Daikin current values until a setting is changed and sent back to HomeBridge after HomeBridge launch
I created a bounty for it
https://www.bountysource.com/issues/68328887-lg-smartthinq-homebridge-integration
I need it for my LG Air Conditioner
Hopefully people can kick in to get it done :)
Appears to work now; what are the commands to use on Siri any idea?
Turn on bedroom aircon now works, but does anyone know how to control heat, aircon, fan and for a specific temperature?
cheers
Daikin released a new firmware update (1.2.51) several weeks ago that breaks the indoor room temperature readout. Since the firmware update all indoor temps are 0,0. The rest of the functionality seems to unaffected and continous to work fine
Daikin devices do not respond or accept JSON objects.
Will need to convert the strings returned in HTTP GET responses to be JSON formatted
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.