We have recently seen some very cool and imaginative integrations of the AirScape 2nd Gen Controls into home and building automation systems. Frankly, we could not be happier as this was the intent of introducing network enabled fans like ours. To help with future integration ideas, here is more info on how our controls communicate.
The API (application programming interface) for our whole house fan web server is very simple. Its essentially an HTTP command sent to the controller.
where 1=fan speed up, 2=timer hour add, 3=fan speed down, 4=fan off
For example, if you want to turn OFF a fan at IP 192.168.0.20 the command would be:
When you send an API command, you also get an xml data stream back from the controller.
————–Example of xml data ——————
server response: <server_response>Posted
DIP Switches: <DIPS>00000</DIPS>
If you want to get data from the controller without any control actions, you can send the same HTTP command string without the “?dir=|1|2|3|4|” suffix.
For example, if your fan is at IP 192.168.0.20 the command would be:
For XML and JSON formatted responses use the following commands with your fan IP inserted:
http://192.168.0.20/status.xml.cgi gives data in xml format
http://192.168.0.20/status.json.cgi gives data in json format
As always, if you have any questions on the API or want to brainstorm about your integration call us at 866.448.4187 or email firstname.lastname@example.org