This component is a WIP for using Hitachi airCloud (Hitachi AC with WIFI module like SPX-WFGO2 to be used on Hitachi airCloud iOS / Android app) in HA
./airCloud.sh <action> <room> <mode> <temperature>
<action> : on (Power On) / off (Power Off) / powerstatus (AC Power Status) / modestatus (AC Mode Status) / roomtemperature (Room Temperature) / idutemperature (AC Thermostat Temperature) / websocatdebug (display Hitachi websocket full result in json)
<room> : Your room named like in your Hitachi airCloud app
<mode> : COOLING / HEATING / FAN
<temperature> : Target temperature
Example :
./airCloud.sh <action> <room> <mode> <temperature>
Download this repository as a ZIP (green button, top right) and unzip the archive
Copy /scripts/aircloud.sh
to your <config_dir>/scripts/
directory
Modify aircloud.sh with :
hitachiuser=$(echo "dGVzdEB0ZXN0LmNvbQ==" | base64 -d)
hitachipassword=$(echo "dGVzdA==" | base64 -d)
#or
hitachiuser="test@test.com"
hitachupassword="test"
websocatbinary="/opt/scripts/websocat.x86_64-unknown-linux-musl"
Create a new folder (or reuse it) <config_dir>/climate
and copy climate folder content
Copy packages content folder to your <config_dir>/packages/
Modify yaml files for your setup
switch:
## Home Assistant Result
* [![HA Result](https://i.ibb.co/NCFkZ4n/HA-air-Cloud.jpg)](https://i.ibb.co/NCFkZ4n/HA-air-Cloud.jpg)
## TODO LIST
* Send target temperature in Home Assistant Thermostat to aircloud.sh script (At this moment, the temp is manual in switches, 22° in my example)
* Documentation
* HA Best folder pratices (Maybe?)