deiger / AirCon

Scripts for controlling Air Conditioners, e.g. with HiSense modules.
GNU General Public License v3.0
212 stars 58 forks source link

Smartthings support #43

Open harrymarlin opened 3 years ago

harrymarlin commented 3 years ago

Looking over the SmartThings support in Groovy, how do I set attributes such as device_type? I am attempting to connect to a Fujitsu system (FGLair) - how do I identify the username/password to connect to the app, or do I need to identify the ip address of the local mini-split system through my router?

deiger commented 3 years ago

Hi, So first you need to install the relevant app on your phone, login and pair the AC with Fujitsu. After that is done, you should run discovery with your credentials, to create a config file, and set up the server that will communicate with the AC locally (on a Raspberry Pi). The groovy file is used for Smartthngs to communicate with the server running on Raspberry Pi. Unfortunately Smartthings does not allow all the necessary encryption libraries needed to construct the communication with the AC directly.