Skip to content

michelnet/mqtt-screen-power

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MQTT Screen Power

MQTT Client written in Python for turning HDMI screen power on and off. Made for the Rapsberry Pi 3B+ which is using a third-party touch screen which does not completely switch off the screen with screensaver / power saving

Usage

  • Copy config.template.py to config.py and change the properties to your MQTT setup/preferences

  • Install paho-mqtt

    pip install paho-mqtt
  • Run

    python paho-mqtt

Example use in Home Assistant

switch:
  - platform: mqtt
    name: "Touch Panel"
    icon: mdi:tablet
    command_topic: "screen/rpi"
    payload_on: 'on'
    payload_off: 'off'

About

MQTT Client for turning HDMI screen power on and off

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%