25 Feb 2017

Using Home Assistant to control Daikin SkyFi Air Conditioner

Originally posted on Whirlpool.net.au here
Github repo : https://github.com/coggs/homeassistant

Using Home Assistant to control the (AU) Daikin SkyFi Aircon Unit

I've configured SkyFi (only temperature readings and On/Off) and also enabled the Alexa listener for on/off commands.

Despite the communication issues with SkyFi, it works most of the time, and best of all, if you expose Home Assistant externally, you can control from outside of your LAN.

Here are the Home Assistant configs segments I am using.
Obviously replace the IP address and Skyfi Password with your own!
The Alexa listener IP is the IP address of your Home Assistant Server

With this config I can use Home Assistant UI to turn Aircon on and off, as well as monitor state and internal/external temps. Also, with some work on the curl commands, you could render all of the other response codes documented above.

customize:
switch.aircon:
friendly_name: Daikin Aircon
emulated_hue_name: "aircon"
icon: mdi:fan

switch:
– platform: command_line
switches:
aircon:
command_on: "curl -k --silent \"http://1.2.3.4:2000/set.cgi?pass=0000&p=1\""
command_off: "curl -k --silent \"http://1.2.3.4:2000/set.cgi?pass=0000&p=0\""
command_state: "curl -k --silent \"http://1.2.3.4:2000/ac.cgi?pass=0000\" | awk -F'[=&]' '{print $2}'"


sensor:
- platform: command_line
name: Inside
unit_of_measurement: "°C" 
command: "curl -k --silent \"http://1.2.3.4:2000/ac.cgi?pass=0000\" | awk -F'[=&]' '{print $24}'"
– platform: command_line
name: Outside
unit_of_measurement: "°C" 
command: "curl -k --silent \"http://1.2.3.4:2000/ac.cgi?pass=0000\" | awk -F'[=&]' '{print $26}'"


emulated_hue:
host_ip: 1.1.1.1 
listen_port: 8300
off_maps_to_on_domains:
– script
– scene
expose_by_default: true
exposed_domains:
– switch

14 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. How is the new year going? I hope to read more interesting posts like last year Sapulpa Air Conditioner Repair

    ReplyDelete
  3. Friend, this web site might be fabolous, i just like it. Air Conditioner

    ReplyDelete
  4. I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post. Warmtepomp

    ReplyDelete
  5. Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work. Airconditioning

    ReplyDelete
  6. Very informative post! There is a lot of information here that can help any business get started with a successful social networking campaign. Airconditioning

    ReplyDelete
  7. Electrostatic air channels – the best and costly kind of air channel. Airconditioning

    ReplyDelete
  8. There are numerous kinds of air conditioning frameworks that can be utilized to cool your home. Airco

    ReplyDelete
  9. You have done a great job. I will definitely dig it and personally recommend to my friends. I am confident they will be benefited from this site. Airco

    ReplyDelete
  10. I think about it is most required for making more on this get engaged Airco

    ReplyDelete
  11. My friend mentioned to me your blog, so I thought I’d read it for myself. Very interesting insights, will be back for more! Airco

    ReplyDelete
  12. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon. Airco

    ReplyDelete
  13. Good to become visiting your weblog again, it has been months for me. Nicely this article that i've been waited for so long. I will need this post to total my assignment in the college, and it has exact same topic together with your write-up. Thanks, good share. Airco

    ReplyDelete
  14. I have read all the comments and suggestions posted by the visitors for this article are very fine,We will wait for your next article so only.Thanks! Airconditioning

    ReplyDelete