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
Headless
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.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi
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
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.