Update Get it Running - Step by Step.md

This commit is contained in:
Joris 2021-12-23 11:38:33 +00:00
parent 49d3ac1610
commit aa3d5a5fef

View File

@ -26,21 +26,25 @@ on the console of the system where the BFFH-Server is running. Use the adress li
Start the server. If you are using the docker, this is done by using `docker-compose up -d`. If you compiled the server on your system this is done by entering `./diflouroborane -c examples/bffh.dhall --load examples` and then `./diflouroborane -c examples/bffh.dhall`. You will see some debug information, with probably some warnings. Start the server. If you are using the docker, this is done by using `docker-compose up -d`. If you compiled the server on your system this is done by entering `./diflouroborane -c examples/bffh.dhall --load examples` and then `./diflouroborane -c examples/bffh.dhall`. You will see some debug information, with probably some warnings.
Open the App. You will be asked to connect to a Host. Tap "DEMO HOST ADRESS" and change the IP to the IP of your Server, do not change the port number (everything after the IP. This should look like Open the App. You will be asked to connect to a Host. Tap "DEMO HOST ADRESS" and change the IP to the IP of your Server, do not change the port number (everything after the IP. This should look like `192.168.1.15:59661`).
`192.168.1.15:59661`
Tap "SELECT HOST". Tap "SELECT HOST".
You will be asked to sign in. For Version 0.2 only the Option "LOGIN WITH PASSWORD" ist available. Use `Testuser` and the passwort `secret` to log in. You will be asked to sign in. For Version 0.2 only the Option "LOGIN WITH PASSWORD" ist available. Use `Testuser` and the passwort `secret` to log in.
17. Configure your Shelly You will find an overview of the installed machines including the option "SCAN QR-CODE".
as long as your Shelly has not been given the credentials for a WLAN, it will create an access point (AP) for configuration. This AP will appear in your list of WLAN. Next step is setting up you machines so they can be switched on an off.
**Step 4 Prepare your Shellies**
as long as your Shelly has not been given the credentials for a WLAN, it will create an access point (AP) for configuration when connected to the supply voltage. This AP will appear in your list of WLAN.
Connect to this Shelly-AP and connect to `192.168.33.1` in your browser. A configuration page should appear. Connect to this Shelly-AP and connect to `192.168.33.1` in your browser. A configuration page should appear.
If your Shelly is already connected to your WLAN, you must find the assigned IP-Adress (e.g. by looking into your router). Enter this IP Adress in your browser and you will get the configuration page. If your Shelly is already connected to your WLAN, you must find the assigned IP-Adress (e.g. by looking into your router). Enter this IP Adress in your browser and you will get the configuration page.
18. MQTT Client setup Shelly MQTT Client setup
goto "Internet & Security" -> "Advanced - Developer Settings" goto "Internet & Security" -> "Advanced - Developer Settings"
enable "MQTT" enable "MQTT"
enter the IP-Adress from Step 16 in the field "IP-Adress" enter the IP-Adress from your Server in the field "IP-Adress"
As we did not define MQTT credentials in mosquitto yet, no creadentials need to be filled in. As we did not define MQTT credentials in mosquitto yet, no creadentials need to be filled in.
To find the "ID" of your Shelly activate "Use custom MQTT prefix" (but do not change it!). This should be somthing like: To find the "ID" of your Shelly activate "Use custom MQTT prefix" (but do not change it!). This should be somthing like:
`shelly1-123456789ABC` for a Shelly 1 `shelly1-123456789ABC` for a Shelly 1
@ -49,10 +53,12 @@ note this ID for later
**- save** **- save**
**- re-check the settings!** **- re-check the settings!**
19. WLAN Client setup Shelly WLAN Client setup
goto "Internet & Security" -> "WIFI MODE - CLIENT" goto "Internet & Security" -> "WIFI MODE - CLIENT"
Set WLAN Credentials Set WLAN Credentials
20. Configure Diflouroborane 20. Configure Diflouroborane
Open the file "bffh.dhall" in the GUI Editor (just by double-clicking it) Open the file "bffh.dhall" in the GUI Editor (just by double-clicking it)
Change `Shelly_123` to your Shelly name, e.g. `shelly1-123456789ABC` (**case sensitive!, dash sensitive!**) in "Link up machines to actors" and in "actors". Change `Shelly_123` to your Shelly name, e.g. `shelly1-123456789ABC` (**case sensitive!, dash sensitive!**) in "Link up machines to actors" and in "actors".