After the encouraging results of our integration of Yoctopuce sensors in Home Assistant via the MQTT gateway, we could not resist the temptation to integrate our actuator modules as well. But to do so, we had to start by improving our MQTT support by enabling MQTT to send commands to the modules. Here is a presentation of these improvements.
This week we'll show you some programming tips and tricks to make an application that uses Yoctopuce modules more robust. This is important if you want to build sytems that need to run 24/7 without failing.
Our Python library works on the three main OSes (Windows, macOS, and Linux). 99.9% of the time, everything works as expected and the library automatically detects the OS and the architecture of the machine. But under Linux, in rare cases, it is necessary to specify this last parameter manually. This is the job of the YAPI.SelectArchitecture() method.
Even if Yoctopuce devices are more often used for professional automation than for private home automation, we already had the opportunity to present you some home automation applications: a ventilation system to fight humidity, a system to optimize watering according to the weather, etc. So we decided to study the possibility of integrating the monitoring of these systems on a standard home automation console: Home Assistant.
1 2 3 4 5 6 7 8 9 10 ... 20 ... 30 ... 40 ... 50 ... 60 ... 70 ... 80 ... 90 ... 100 ... 110 ... 120 ... 127