Our ducted Daikin system is fitted with their proprietary "SkyFi" system that provides a wifi interface to Daikin's own iDevice app, that in turn can be remotely accessed via Daikin's server. The app interface is clunky, and response times are sloooow! As it appears that this interface is peculiar to Australia, it is unlikely that an Indigo plugin will be available anytime soon - and with my (non-existent) programming skills I am struggling!
With the help of others on the web, I have cracked their API, and am currently using a Python script in Action Groups to give basic Heat/Cool/Off control from an Indigo control page. A typical Heat On script looks like this:
- Code: Select all
## Daikin SkyFi Heat On
import requests
url = "http://192.168.20.200:2000/set.cgi?pass=34799&p=1&t=21&m=2"
r = requests.get(url)
This methodology provides one-way control without any feedback as to the success or otherwise of the request. I have discovered that on receiving the command, the SkyFi responds with a status in the form:
- Code: Select all
opmode=1&units=.&settemp=21.0&fanspeed=1&fanflags=3&acmode=2&tonact=0&toffact=0&prog=0&time=17:06&day=4&roomtemp=21&outsidetemp=11&louvre=0&zone=128&flt=0&test=0&errcode=&sensors=1
Is it possible to capture this response as an Indigo variable using additions to the current Python script? The next step would be to parse the response and set individual Indigo variables accordingly. I have searched the forums but have been unable to locate anything similar.
If anyone has an alternative approach, or snippets of code, I'd be keen to investigate. I did try Cynical Network, sending text, but although being able to connect, was unable to get SkyFi to react or respond.
Any/all assistance would be appreciated.
Regards
mclass