Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
OpenHab LK_V35 MQTT problem
#1
Hello guys!

There are several V3.5 devices that I would like to use on an intranet. I couldn't find a solution here so I would like to use OpenHab2 MQTT. Reading the data, but unfortunately I can't switch the relay.

Item:

Switch Tiny_S {mqtt=">[mqtt:xxxxx/a3f/out0:command:*:MAP(tiny.map)],<[mqtt:xxxxx/a3f/out0Confusedtate:MAP(tiny.map)]" }

map:

ON=1
OFF=0
1=ON
0=OFF
Odpowiedz
#2
example switch out0 to 1 via mosquitto_pub by mqtt.ats.pl serwer
mosquitto_pub -h mqtt.ats.pl -t xxxxxxxxx/cmd -m "out0 1" -u user -P password

you must use "cmd" on end subscription
pozdrawiam
tomek
Odpowiedz


Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości