Toggle Navigation
Hatchery
Eggs
MQTT button
README.md
Users
Badges
Login
Register
MCH2022 badge?
go to mch2022.badge.team
README.md
raw
Content
# MQTT Button This application will send an MQTT message when a button is pressed and released and can set a color to a button. To use this application you should set the IP address of your MQTT server and the topic name in the "Settings" menu. When a button is pressed a "on" will be send to `<topicname>/<buttonnumber>`. For example `/test/2` where `/test/` is configured as a topic name. When the button is released a "off" will be send. To light up a button send a hex color e.g. `0x0000ff` to `<topicname>/led/<buttonnumber>` and the button will light up in that color. ## Todo: - When a color is set and the button is pressed the color will be cleared. This should return to the same color. - Configuration to set the 'push' color. - Long press and double press messages. - Toggle options for buttons. ## Releases: 1. Send MQTT working. 2. Receive MQTT message to set button color. 5. Added Settings menu where you can enter a IP address and topic, added audio messages