Right now the Arduino is permanently plugged in to the server so is always controllable through ssh.
I have written two scripts. A server and client.
The server script runs on the server and monitors a port on the network.
The client script can run on any machine on the network. It sends control data to the server, the server script accepts the data sends it to the Arduino. All responses from the Arduino are send back to the client and the connection is dropped.
The scripts are in Python, the server is Debian.
When the Mycroft comes having it control the lights will be simple.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.