mqtt domoticz/in avec un device "blinds percentage"
Publié : 06 avr. 2020, 20:38
bonjour
avec mqtt domoticz/in j'arrive a envoyer un ordre "open" ou "close" vers un device de type "blinds percentage"
pi@raspberrypi:~/python $ sudo mosquitto_pub -h localhost -m '{ "idx" : 35 , "nvalue":1 }' -t "domoticz/in"
pi@raspberrypi:~/python $ sudo mosquitto_pub -h localhost -m '{ "idx" : 35 , "nvalue":0 }' -t "domoticz/in"
mais une question comment faire si je veux lui envoyé un pourcentage ? genre 10%, 20% ??
merci de votre aide
avec mqtt domoticz/in j'arrive a envoyer un ordre "open" ou "close" vers un device de type "blinds percentage"
pi@raspberrypi:~/python $ sudo mosquitto_pub -h localhost -m '{ "idx" : 35 , "nvalue":1 }' -t "domoticz/in"
pi@raspberrypi:~/python $ sudo mosquitto_pub -h localhost -m '{ "idx" : 35 , "nvalue":0 }' -t "domoticz/in"
mais une question comment faire si je veux lui envoyé un pourcentage ? genre 10%, 20% ??
merci de votre aide