Éteindre les LED sur Aeotec z-stick gen5 (ZW090)

Il faut donc créer 2 scripts, un ON et l’autre OFF

ON

#!/bin/bash
echo -ne "\x01\x08\x00\xF2\x51\x01\x01\x05\x01\x50" > /dev/ttyACM0

OFF

#!/bin/bash
echo -ne "\x01\x08\x00\xF2\x51\x01\x00\x05\x01\x51" > /dev/ttyACM0

Bien sur dans le script il faut adapter le port à ta config /dev/ttyACM0

4 « J'aime »