Heatzy is a french startup which manufactures some nice IOT devices. I recently got some Heatzy pilote wifi devices that you connect to any electrical heater thru a French technology called 'fil pilote'. Once connected to your wifi network, these devices allow you to control your electrical heaters over internet from any smartphone (IOS or Android) with their proprietary app.
A nice thing about Heatzy is that they lately made their devices manageable thru some public API called Gizwits Open API.
Based on these API, I decided to write two Linux tools to control these devices :
- a small bash script to control Heatzy pilote devices from command line
- a simple GUI to illustrate usage of this script
Why a bash script ? First because bash programming is fun. Next, and most important, because a bash script can be used by any type of application : a GUI, a cron task, a web server, a domotic solution, … This opens some simple yet powerful interconnection capabilities.
At the time of this article, you find 2 generations of devices :
- Heatzy (generation 1)
- Pilote2 (generation 2)
This article explains the main principles and usages of a bash script in charge of the complete management of Heatzy pilote devices (generation 1 & 2).
It has been tested with Debian and Ubuntu workstations.