Skip to content

An MQTT client for an esp8266 board for sending button events

Notifications You must be signed in to change notification settings

jdrucey/esp8266-mqtt-statelessbutton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

ESP8266 MQTT Stateless Button Client

An MQTT client for an ESP8266 based board. Takes three stateless button press types: "Single Press", "Double Press" and "Long Press", and sends them to a MQTT server/broker.

These JSON messages include an eventValue that matches up to HomeKits "Stateless programable switch" values for simple integration with HomeBridge via the homebridge-mqtt-statelessswitch.

Uploading

This script depends on the MQTT library by Adafruit, so be sure to download and install the library from here: https://github.com/adafruit/Adafruit_MQTT_Library/

Then simply insert your WiFi details into the variables at the top of the script and upload to your board!

About

An MQTT client for an esp8266 board for sending button events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%