How send MQTT Openhab command to switch on led?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
petrho
Normal user
Posts: 20
Joined: 14 Apr 2016, 17:17

How send MQTT Openhab command to switch on led?

#1 Post by petrho » 19 Apr 2016, 13:15

I tried to send command via mqtt to switch on a led

Like
/NodeMCU1/gpio/0:command

and the message "1" or "0"
Nothing happened - It has worked earlier if I remember correct?

Tested with R78 and now also R101

Can't find a list of possible commands...

Thanks in advanced!

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: How send MQTT Openhab command to switch on led?

#2 Post by tozett » 19 Apr 2016, 22:09

there was some discussion here, may you have a look..

http://www.esp8266.nu/forum/viewtopic.php?f=4&t=808

petrho
Normal user
Posts: 20
Joined: 14 Apr 2016, 17:17

Re: How send MQTT Openhab command to switch on led?

#3 Post by petrho » 19 Apr 2016, 22:25

Perfect - helps a lot!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 19 guests