Skip to content

Simple relay to turn on my pc remotely via a command sent over MQTT

Notifications You must be signed in to change notification settings

Hydn17/PCSwitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

PCSwitch

Simple relay to turn on a pc remotely via a command sent over MQTT Scans an MQTT topic for a command and once received, briefly switches a signal pin on and then off, simulating a power button press.

My implementation used a raspberry pi pico w but any micro-contoller with WIFI and micropython support would suffice.

Before implementation rename the file to main.py for it to be executed on boot of pico. This project is dependent on umqtt.simple for the mqtt connection and made use of code from Core Electronics: getting started with MQTT on Pico guide.

About

Simple relay to turn on my pc remotely via a command sent over MQTT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages