Skip to content
This repository was archived by the owner on Apr 15, 2023. It is now read-only.

timmo001/mqtt-screen-power

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages