user153457
Member since Feb 2023 • Last active Mar 2023Most recent activity
-
I have wrote my own docker compose file now which works quite well, but one question about the config.json:
"mqtt_host": "mqtt://localhost", "//mqtt_options": { "username": "user", "password": "pass", "clientId": "clientid" },
if I have an open MQTT broker, do I just omit the username and password fields?
-
-
-
It seems to be happened at midnight.
EspruinoHub.service - EspruinoHub BLE -> MQTT bridge Loaded: loaded (/etc/systemd/system/EspruinoHub.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2023-02-18 01:33:55 GMT; 5 days ago Docs: https://github.com/espruino/EspruinoHub Process: 25723 ExecStart=/home/pi/EspruinoHub/start.sh (code=exited, status=1/FAILURE) Main PID: 25723 (code=exited, status=1/FAILURE) CPU: 897ms Feb 18 01:33:55 pihome systemd[1]: EspruinoHub.service: Scheduled restart job, restart counter is at 5. Feb 18 01:33:55 pihome systemd[1]: Stopped EspruinoHub BLE -> MQTT bridge. Feb 18 01:33:55 pihome systemd[1]: EspruinoHub.service: Start request repeated too quickly. Feb 18 01:33:55 pihome systemd[1]: EspruinoHub.service: Failed with result 'exit-code'. Feb 18 01:33:55 pihome systemd[1]: Failed to start EspruinoHub BLE -> MQTT bridge.
-
-
-
I think we are missing each other, yes exactly I want to use the EspruinoHub installed on my Raspberry so that I can connect remotely from my laptop (which is far away from the BLE sensors) to the ide and then program the sensors via the WebBluetooth option.
Yes I could do the same thing via SSH into the box and run the commandline but this is not always possible because of firewalls and other controls.I seem to recall that not having SSL enabled on webpages doesn't allow the WebBluetooth dialog to be available?
I seem to have solved my problems, here's the docker file:
I need to find the folder where to store the Espruino web pages.