stabilizer: update instructions to store the broker/ip address #32

Merged
esavkin merged 1 commits from stabilizer-store into master 2024-11-18 16:51:45 +08:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit 6ad461aad8 - Show all commits

View File

@ -126,7 +126,10 @@ Configure Stabilizer:
2. Connect USB cable to the Stabilizer. 2. Connect USB cable to the Stabilizer.
3. Run ``cutecom`` or your favorite terminal emulator, connect to ``/dev/ttyACM0``. 3. Run ``cutecom`` or your favorite terminal emulator, connect to ``/dev/ttyACM0``.
4. Change the broker setting with: ``set /net/broker "<ip of your machine>"``. 4. Change the broker setting with: ``set /net/broker "<ip of your machine>"``.
5. Reboot with ``platform reboot``. 5. Store the setting with ``store /net/broker``.
6. (Optional) Set the IP address of the stabilizer by following steps 4 and 5, but with ``/net/ip`` setting instead.
7. Reboot with ``platform reboot``.
Now, disconnect the USB and connect the Ethernet cable to the Stabilizer, as both won't fit at the same time. Now, disconnect the USB and connect the Ethernet cable to the Stabilizer, as both won't fit at the same time.
Stabilizer should connect to moquitto automatically, and you should see the MQTT settings pop up in the MQTT Explorer. Stabilizer should connect to moquitto automatically, and you should see the MQTT settings pop up in the MQTT Explorer.
If the IP address is not set, Stabilizer will try to use DHCP to get an address.