stabilizer: connect MQTT #27
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "mwojcik/assembly:mqtt-stabilizer"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Provide additional instructions on setting up the Stabilizer (on MQTT). Potentially useful for customers too.
@ -106,0 +113,4 @@
1. Get IP address of your machine, e.g. with ``ip a``. Make note of it, that's the broker address.
2. Get mosquitto, e.g. with ``nix-shell -p mosquitto``.
3. Run mosquitto with the config from Stabilizer repository: ``mosquitto -c mosquitto.conf``
4. In another shell, run [MQTT Explorer](https://github.com/thomasnordquist/MQTT-Explorer/releases) or other MQTT client you wish. Connect to your own PC IP address.
Needs
nix-shell -p appimage-run
andappimage-run /path/to/MQTT-Explorer-XXX.AppImage
. On most sane distros it would work out of the box with double-click thoughNixOS also has
programs.appimage.binfmt
.And there is nothing sane about ld-linux.so which is causing the problem here, not on NixOS and not on any other glibc-based Linux distro.
@ -106,0 +119,4 @@
1. Connect the Stabilizer to power.
2. Connect USB cable to the Stabilizer.
3. Run ``python -m serial /dev/ttyACM0`` to connect the serial port using ``pyserial``.
It doesn't work out of the box, needs either venv or nix-shell manipulations
Is the "manipulation" more than
nix-shell -p python3Packages.pyserial
?No, but not mentioning it will make those without much experience stuck
bb63f47944
to56207e5eba