hammockman / breather

Ventilators for the Masses
1 stars 0 forks source link

Data communication #10

Open racleave opened 4 years ago

racleave commented 4 years ago

MQTT probably a simple way forward.

On raspberry:

sudo apt install -y mosquitto mosquitto-clients sudo systemctl enable mosquitto.service

For python use paho-mqtt should be enough

Probably two topics - one for data out from breather, another for changing settings.