Blog

Writing robust code

By martinm, in For the beginners and Programming, april 28,2023.

source:jarekgrafik@pixabayThis 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.

No comment yetRead more...

The SelectArchitecture method of the Python library

By seb, in Programming, april 21,2023.

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.


No comment yetRead more...

Yoctopuce and Home Assistant

By mvuilleu, in Measures and Internet of Things, april 14,2023.

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.

5 commentsRead more...

Controlling Yoctopuce modules with a Flic Hub LR

By martinm, in Programming, april 07,2023.

Do you remember the Flics buttons we talked about a few years ago? Well, we still use them internally. In the meantime, Shortcut Labs has released a version 2 of these buttons and their Hub. It turns out that the new model, called Flic Hub LR, can run JavaScript code written by the user and thus allows you to implement behaviors a little more complex than On/Off. Of course, we wondered if we could run the JavaScript version of the Yoctopuce API on these new Hubs.

No comment yetRead more...

The new YHub class

By seb april 01,2023.

While developing an internal application that used many YoctoHubs, we realized that our API was missing a way to easily get the list of Hubs that had already been registered. In order to fill this gap, we have just now added a new YHub class.



No comment yetRead more...

1 ... 7 8 9 10 11 12 13 14 15 16 17 ... 20 ... 30 ... 40 ... 50 ... 60 ... 70 ... 80 ... 90 ... 100 ... 110 ... 120 ... 130 ... 134

Yoctopuce, get your stuff connected.