Keypad MQTT on ESP
Moderators: grovkillen, Stuntteam, TD-er
Keypad MQTT on ESP
Hey Guys,
I got stucked.
I plugged a keypad as picture attached.
PCF8574 with GPIO 0 and GPIO 2
and setup my MQTT
all i want is that every keyinput should be reported to my MQTT Broker
connection to my broker is working
but the states are not reported to the MQTT Broker i only see the state -1 which i setted as startup script
I got stucked.
I plugged a keypad as picture attached.
PCF8574 with GPIO 0 and GPIO 2
and setup my MQTT
all i want is that every keyinput should be reported to my MQTT Broker
connection to my broker is working
but the states are not reported to the MQTT Broker i only see the state -1 which i setted as startup script
Last edited by Curtis777 on 05 Jan 2020, 18:03, edited 1 time in total.
Re: Keypad MQTT on ESP
The images are not visible.
Re: Keypad MQTT on ESP
Why not use a keypad plugin for this?
Re: Keypad MQTT on ESP
good question i never knew there are some plugins.
ill try when the wiki is available again.
i dont know how to use plugins yet
ill try when the wiki is available again.
i dont know how to use plugins yet
Re: Keypad MQTT on ESP
You can also use the Read The Docs: https://espeasy.readthedocs.io/en/lates ... lugin.html
Re: Keypad MQTT on ESP
ok found it but dont know how to add them in my existing espeasy firmware
Re: Keypad MQTT on ESP
Just use the build in which they are include (normal/test/dev)
Re: Keypad MQTT on ESP
i get exactly the same.....
no effect on pressing any button
no effect on pressing any button
- budman1758
- Normal user
- Posts: 301
- Joined: 15 Apr 2017, 05:13
- Location: Riverside CA USA
Re: Keypad MQTT on ESP
If the plugin is working you will get an event in the log. You then need rules to act on the event. Unless you changed the label in the device page you will get
the event "ScanCode" with a 2 digit value. You need to write some rules to do anything from that event. See the code notes at the top of this page.
https://github.com/letscontrolit/ESPEas ... KeyPad.ino
"The glass is twice as big as it needs to be".
Who is online
Users browsing this forum: No registered users and 65 guests