I've been looking through the tutorials and forum looking for guidance on my proposed Puck.js setup, which is as follows:
Raspberry Pi 3
- MQTT broker (mosquitto, already set up)
- Python code to subscribe / publish MQTT messages (already set up)
The proposed communications requirements are simple:
Button press on Puck.js publishes an MQTT message to the broker on the Pi. The Pi has subscribed to this topic and then takes action on receiving this message.
The Pi publishes MQTT messages intended for the Puck.js. The Puck.js has subscribed to these topics, and then takes action by toggling the LEDs etc.
Therefore, what is the minimum additional software / library installation that I need to install on the Pi?
From the documentation, it appears that EspruinoHub is required to bridge from BLE and MQTT. Is there a requirement to install everything in the "Installation of EspruinoHub and Web IDE" section from the EspruinoHub github page?
Presumably the EspruinoHub code is more appropriate than using Python Bluetooth libraries?
I've no requirement for Node-RED (I think!), WebIDE, HTML or graphical interface for this project.