Hellow !
I am using OPENHAB MQTT.Configured to use 8 switches to control 8 relays(using ESP12).GUI switches are mapped to gpio as below.Setup working perfectly,I can controll all of the relays using openhab GUI or any MQTT message.
SW1 gpio15
sw2 gpio2
sw3 gpio4
sw4 gpio5
sw5 gpio12
sw6 gpio13
sw7 gpio14
sw8 gpio16
Now am trying to read the status of relay and publish it back to mqtt queue.Message are not getting published by pins gpio15,gpio4 and gpio5.All other gpio status getting published to MQTT queue and getting reflected in openhab gui.
Any idea why these pins failing MQTT publish?
mosquitto_sub -t "#" -v
/Client2/gpio/15 0
/Client2/gpio/15 1
/Client2/gpio/2 0
/Client2/gpio2/state 0.00
/Client2/gpio/2 0
/Client2/gpio/2 1
/Client2/gpio2/state 1.00
/Client2/gpio/2 1
/Client2/gpio/4 0
/Client2/gpio/4 1
/Client2/gpio/5 0
/Client2/gpio/5 1
/Client2/gpio/12 0
/Client2/gpio12/state 0.00
/Client2/gpio/12 0
/Client2/gpio/12 1
/Client2/gpio12/state 1.00
/Client2/gpio/12 1
/Client2/gpio/13 0
/Client2/gpio13/state 0.00
/Client2/gpio/13 0
/Client2/gpio/13 1
/Client2/gpio13/state 1.00
/Client2/gpio/13 1
/Client2/gpio/14 0
/Client2/gpio14/state 0.00
/Client2/gpio/14 1
/Client2/gpio14/state 1.00
/Client2/gpio/16 0
/Client2/gpio16/state 0.00
/Client2/gpio/16 0
/Client2/gpio/16 1
/Client2/gpio16/state 1.00
/Client2/gpio/16 1
I am new to ESP EASY and it seems awesome.Didn't start looking at source code ,going to dive in to that.
Thanks !
OPENHAB-MQTT publish failing by GPIO15,GPIO4 and GPIO5
Moderators: grovkillen, Stuntteam, TD-er
Re: OPENHAB-MQTT publish failing by GPIO15,GPIO4 and GPIO5
@espayyan,
What is your subscribe topic in MQTT for the gpio pin state?
What is your subscribe topic in MQTT for the gpio pin state?
Numerous Sonoff's and Shelly's, Home Assistant on Intel NUC i3, Aeotec Z-Stick (Gen 5), deCONZ Zigbee Stick, 3 x Echo Dot's and 5 x Google Home
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 14 guests