*change "bullseye" according to your distro: bullseye, buster, stretch, jessie, ...*
10. Configuring mosquitto broker
for some reason, starting with version 2.x mosquitto does not allow external communication via the broker per default. This needs to be changed via a config file:
11. Stop mosquitto
`sudo service mosquitto stop`
12. Change into the "etc/mosquitto/" directory (lots of `cd ..` then `cd etc`, `cd mosquitto`)
13. Create a configuration file:
`sudo touch file test.conf`
14. Edit the configuration fil:
`sudo nano -w test.conf`
add:
`listener 1883`
`allow_anonymous true`
Save (Strg-O) and close (Strg-X)
15. Start mosquitto
`mosquitto -v -c /etc/mosquitto/test.conf`
16. Find the IP adress of your computer
**- new console**
`ip a`
17. Configure your Shelly
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.
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.
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 the third IP-adress under "listens" to the IP-adress of your computer.
**- save**
21. start Diflouroburane
change to the directory in the console where you checked for the ip-address