Skip to content

HavoK-at/orangepi_mqtt_control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MQTT Button Control for the OrangePi Zero

This project will use an undefined amount of external buttons and publish a message on a MQTT topic.

Done:

  • Get the external button class to work ✔
  • Add dimming by holding the button ✔
  • Add mqtt features ✔

Plan:

  • Create a Linux daemon for easier starting/stopping
  • Reviving the mqtt client if it dies
  • Create Config file
  • Logging to a file
  • Enabling debug messages with flag
  • If the bulbs dim value has been changed withing openhab get the value

Used Resources:

GPIO for the orange pi zero:
https://forum.armbian.com/index.php/topic/3084-orange-pi-zero-python-gpio-library/

Thanks to martinayotte for the information on how to modify the library for the OPi Zero!

Linux Daemon with python:
https://linuxfollies.blogspot.co.at/2016/11/linux-daemon-using-python-daemon-with.html

Releases

No releases published

Packages

No packages published

Languages