Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4151

Beginners • Re: Push button, signal to another Pi in the same network

$
0
0
Maybe MQTT on each pi, one publishes a "topic" when button pressed; the other "subscribes" to that topic and when received it rings the bell.
Python scripts can be used on both, uisng paho mqtt library.
OR set up passwordless SSH access between pizero and Pi3 so that pizero can run commands (to ring the bell) on the Pi3.
(can be done from a python script using subprocess.run)

Statistics: Posted by neilgl — Tue Dec 10, 2024 5:33 pm



Viewing all articles
Browse latest Browse all 4151

Trending Articles