I’m sorry if this isn’t the place to ask this, I also asked over at !python@programming.dev.
So what I want to do is this: Two RasPis are at different locations. They’re on different networks but have internet access. Pressing a button on one of the Pis turns on an LED over at the other Pi via GPIO. How can I make the communication work? My first thought was Telegram bots as I’m familiar with those for notifications but you can’t have Telegram bots communicate with each other, sadly. Is there a good (and secure) solution to this? Preferably using Python code and without continuous costs like server hosting, etc?
Thanks!
Yeh, tailscale is going to be the easiest and most flexible.
Other than that, its coupling directly to a messaging system that is also the communication system. So you are beholden to API changes and TOS changes.
At least with tailscale you can easily jump to headscale or wireguard with virtually 0 impact. Also allows for using a messaging system that is fit for purpose instead of whats available and free and does NAT traversal