Author: florian

  • MTB Langer See – Silbertal

    MTB Langer See – Silbertal

    Mountain bike tour from St. Anton – Langer See – Silbertal – Sonnenkopf – Klösterle – Langen back to St. Anton

  • Innere Wetterspitze

    Innere Wetterspitze

    Hiking tour on the 3053m peak called Innere Wetterspitze, with some aerial images from the mountain area around. The aerial images were done with a DJI drone.

  • Zell am See

    Zell am See

    Summer trip to Zell am See with a MTB tour.

  • Configuring Ubiquiti U5G Max on a different WAN Port

    Configuring Ubiquiti U5G Max on a different WAN Port

    In this blog entry I will describe how to configure the U5G Max on a different WAN-Port than the default one, considering advanced feature like port forwarding.

    I am using the following setup:

    • One UDR7 as my home router.
    • One U5G-Max Outdoor, with inserted sim card.
    • I want to use Port 1 on my UDR7 for the U5G-Max because this port supports PoE.
    • The U5G-Max Outdoor is already connected to Port 1 but not adopted.
    • I have local access to the cloud gateway.

    Changing the default WAN interface to Port 1

    In the first step we need to change the default port for WAN1 to Port 1 of the UDR7 (this is also the most important step):

    1. Go to “Settings” -> “Internet”, you will see the following settings:

    2. Assign “Port 1” to “WAN1” and change “Port 4”, which is the default port for WAN to “Unassigned”:

    3. Press “Apply changes” to store the changes.

    In the next step we will adopt the U5G-Max.

    Adopt the U5G-Max

    To adopt the U5G-Max we go to “UniFi-Devices” and press “Click to Adopt” on the U5G-Max which should be shown:

    After a certain time the small dot in front of the device switches to green and now we can check if the port forwarding rules are configured correctly.

    Checking the port forwarding rules

    1. We go to “Settings” and select the small icon to display the “Policy Table”.
    2. Next we select “Port Forwarding” as Policy Type and select the policy rule.
    3. The configuration will open, and there we need to check if the right WAN Interface is selected.
    4. In our case this must be WAN1.
    5. Finally we can check if the right ports are selcted and press “Apply” if we made any changes.

    Now the port forwarding from the Internet using the U5G-Max should work.

    Optional: Change the APN settings to static IP (A1):

    Finally I will change the APN settings to a static IP-Address. This step refers to any customers of the Austrian provider A1 Telekom Austria like me, if you have a business tarif for your 5G Internet and therefore a static IP-address.

    1. We go again to “UniFi Devices” and select the “U5G-Max”.
    2. We go to “Settings” and scroll down until we can select “Use custom APN”.
    3. Then we change the “APN Address” to fixip.a1.net
    4. As “Authentication Type” we select “NONE”. All other settings remain as default.
    5. With “Apply Changes” we submit the changes and after a short time the small dot in front of the devices switches again from orange to green.
    6. As last step we need to restart the U5G-Max that the fix IP-address is applied. We switch to “Ports”, select “Port 1” and than we press “Power Cycle” which disables for a short time the power supply of the network port. Afterwards the U5G will restart and apply the fix IP-address.

    I hope this step by step guide is helpful and feel free to comment.

  • Network configuration for Thread/Matter

    Network configuration for Thread/Matter

    During my integration of Thread into my home network I got confronted with two problems:

    • The pairing process startet succesfully, the device was found but when reached the configuration mode it took endless time and ended with the result, that the paring process was not successfully.
    • The pairing process and integration was susccessfully but the device lost the connection after a certain time and I was not able to reconnect it.

    After some tries and researches I found the reason in my network configuration which was per default not optimized for a Thread network. There are two important things to know about Thread/Matter:

    • During the pairing process the device connects, using bluetooth. If the bluetooth connection is established the keys of the Thread network are exchanged and then the device connects to the Thread network. If this is sucessfully the configuration and integration is done. But if this connection fails the mobile device stucks in the configuration mode until a timeout is reached.
    • Thread lies heavily on IPv6 and the network behind the border router must fulfill some requirements. Esspecially in business networks these requirements are not fullfilled per default.

    In the following, I will show what must be changed in the UniFi network to get a stable Thread network even with multiple border routers. Finally I will also describe some settings on my Watchgurad UTM for Thread, representing the situation if you have a “business grade network”.

    UniFi Settings for Thread

    On your UniFi system it is important that you check your VLAN settings where the Thread devices should live. In my situation all IoT devices including my Thread devices, have an own VLAN called VLAN6. To adjust the settings in your UniFi controller webinterface go to Settings -> Network -> Select your IoT VLAN or the default one, if you do not have separated into multiple VLANS. After selecting the network a dialog is opened. There, please check if “IGMP-Snooping” is enabled, if not, enable it:

    IGMP stands for Internet Group Management Protocol, an IPv4 technology for multicast. IPv6 uses MLD (Multicast Listener Discovery) to achive the same result. However a lot of devices disable multicast even for IPv6 if IGMP is not enabled.

    After enabling “IGMP-Snooping” on UniFi the pairing process should successfully finish and the Thread network will be stable.

    If you have a business enviroment as described above, the following chapter might be helpful if you have any problems with your Thread/Matter network:

    Configuring Watchguard for Thread/Matters

    As written above, I need to made some changes on my Watchguard, that Thread/Matter works without problems. Some settings are not suggested but if you have problems try if it helps.

    Enable IPv6 support for the VLAN of your IoT/Thread devices:

    These settings should be enough, that your Watchguard works with IPv6 devices:

    • Enable “Send Advertisment”.
    • Be sure that you have “Disable DHCP” for IPv6, otherwise you can get problems with your border routers.

    After storing this settings, test, if the paring process is now working and the Thread network is stable. If not try the follwing additional settings. Disable this setting is not suggested because it weaks your network security:

    In your Watchguard web interface go to Firewall → “Default Packet Handling” and disable “Drop Spoofing Attacks”.

    Again this is not suggested by watchguard, but probably it will solve your problem!

    Now your Thread/Matter pairing should work without any problems and the thread network should be reliable.

    Please feel free to leave any comment.

  • Integrating Aquara M3 as Thread/Border Router into Home Assistant

    Integrating Aquara M3 as Thread/Border Router into Home Assistant

    In this blog entry I will describe the way how to integrate and use the Aquara M3 Hub as Thread/Border Router for Home Assistant. It can be used to integrate third party matter devices like Eve Weather or Ikea TIMMERFLOTTE into HA.

    Disclaimer: I am an IT-professional but not an Home Assistant expert therefore there might be better ways to do this, so please be free to comment it.

    Requirements

    I am using HA 2025.12.5 installed as virtual machine on TrueNAS. Installation was done using this community post.

    I installed the following add ons and integrations in HA which are required:

    • Matter Server (Add-On)
    • Matter (Integration)
    • Thread (Integration)

    Add-Ons does not exist in the docker version of HA!

    All the following steps should/must be made on the HA app on the smartphone:

    Step 1: Configure Aquare Hub

    First step is to configure the Aquara Hub using the Aquara app:

    1. Power on the Aquara Hub (it will talk to you)
    2. Download/Open the Aquaria App and click on “+” and “Add device”.
    3. Now the app searches for devices using bluetooth, ensure that the app has the right to use bluetooth.
    4. After a short time, the aquaria hub should be found.
    5. Just press on the symbol and configure, there are no special steps you need to do.
    6. Finally you should see your Aquara Hub and also get the details when pressing on the symbol:

    Now, the first step ist done and the hub is ready to add it to HA.

    Step 2: Integrating Aquara M3 Hub into the Matter server of HA

    1. As already mentioned in the requirements, you must have installed the matter server in HA. Now go into the Matter-Server and click on “+ Commission Node” to add a new node and then select “Commission existing device”:
    2. Now you have to enter the share code of the node:
    3. To get the share code open, the aquara app, select the hub, press the three dots in the top right corner, scroll down and select matter:
    4. Select Matter Paring-Code:
    5. Copy the shown code into the field of step 2 in HA.
    6. Finally press commission, and after a short time the Aquara M3 Hub is added as node to the matter server:

      As you can see in the screenshot, later on every matter device will be displayed in this view as node, when pressing on the node you can get more details.

    In the next step we have to add the Thread network, created by the Aquara App and select as preferred network for HA.

    Step 3: Adding the Thread network to HA preferred network

    1. Go to Settings -> Devices & Services -> Select the Thread add-in and press the gear:
    2. Now you should see the following view, showing the Aquara Hub:
    3. Mark the Aquara Hub and then press the button “Make preferred network”.
    4. After a short time the selected network become the preferred network for HomeAssistant:
    5. In the next step we need to say HA that it should use the login data of this thread network for any pairings.
    6. To do this press the three dots next to the Aquara hub and then select “Für Android & IOS Zugangsdaten nutzen“.
    7. If this was successfully you see the “door/exit” symbol next to the hub in the above screenshot.

    That was it, now the Aquara hub and its thread network is integrated into HA.

    In the final step I will give a short description how to add Matter devices using this hub into HA.

    Step 4: Integrating matter devices into HA

    Currently the suggested way is to integrate the device using the Aquara app and then integrating the device into HA. To do this the following steps are required:

    1. Ensure that the Aquara hub and the matter device you want to pair are in the same room.
    2. Set the matter device into pairing mode.
    3. Open the Aquara app and press the “+” symbol an select “Add Device”
    4. Now the app is searching for pairable devices in reach of the smartphone.
    5. If the device is in pairing mode it should be shown and you can select it.
    6. Follow the instructions in the Aquara app, until the device is connected to the aquara hub. Now we want to integrate it into HA.
    7. Go to “Devices” in the Aquara app and select the device you want to integrate into HA:
    8. Press the three dots in the right corner of the selected device:
    9. Select Matter:
    10. Select Matter-Pairing Code:
    11. Note or copy the pairing code.
    12. Go into the HA app. Go to Settings -> Devices & Services -> Devices -> Add Device -> Select “Add Matter-Device” -> Select “Yes, it is already in use” -> Select “Different Controller” -> Paste or enter the pairing code.
    13. Press “Add Device”

    After a short time the new device should successfully added to HA and can be used.

    Links

    The following links helped me to write this entry and are interesting to dive more into it.

  • Improving my security at home by installing a video surveillance

    Improving my security at home by installing a video surveillance

    After the change to winter time there were several burglaries in my area, therefore I decided, it is time to install a video surveillance.

    This blog will lead you through my process and its integration into my ecosystem at home. It’s more a detailed plan how to realize it and not a step by step guide how to e.g integrate the camera feed into Homekit.

    About the place:

    I am living very close to the forrest with a small garden which cannot be seen very good from the other apparamtents. Because the garden and my terrace is long but narrow and can only be accessed when walking a narrow path.

    For monitoring my garden I decided to use the Ubiquiti G4 Instance . Even the camera is very small and also cheap, it is a very good camera, with a good night view and AI regognization of persons, animals and movements. The camera connects via WiFi with my system an is powered using USB-C.

    I do not want to waste space in my apartment with a lot of IT-stuff, for this I have my company. Therefore my whole IT/Network equipment at home consists of a Synology NAS, a UniFi Dream Machine for network and WLAN and a Hue Bridge for some of my lights in the apartment. All this equipment is located in a small shelve which does not need a lot of space. Therefore I want a single machine which provides Internet access, WiFI and as additional feature a recorder for my camera feed and should be accessible on my smartphone from everywhere. Until today this task is fulfilled by the Dream Machine (UDM). Unfortunatley the Dream Maschine does not support cameras, therefore I replaced it by the successor the Dream Router 7. This device looks like a white hat and supports Internet Access, WLAN and the different UniFi Apps like Network, Protect and Access. It has a slot to expand the internal storage. As additional feature this device has one PoE port which is very nice to use it, as power for my Hue bridge which does not support PoE natively, but there are a lot of adapters available. After making a backup of my UDM I switched it off and replace it by the Dream Router. After importing the backup I additionally installed Unifi Protect and plugged in my G4. The camera is immediately detected by the protect app and few minutes later the whole system is online and everything is ready. It’s really as simple as this!

    With these two components I will do the following security deployment:

    1. The camera will be mounted on the terrace at a position where it is nearly impossible to destroy it before the person can be recognized.
    2. The Dream Router 7 will record the camera feed for a specifique time.
    3. AI recognization is enabled and will detect a person if he/she enters the garden.
    4. Unifi Protect is connected using Homebridge (which is installed on my Synology NAS) with Apple Homekit. See this video which explains how easy it is.
    5. Now I directly integrate the camera feed into the dashboard of Apple Homekit.
    6. Apple Homekit is already configured to notice if someone is at home.
    7. Next I switch into the settings of my home and select camera & doors.
    8. Inside I select the camera on the terrace an enable notifications with the following settings:
      • Time: Any
      • Persons: If no-one is at home
      • A certain movements is detected
      • A person is detected
      • Enable snapshots in the notification.

    Now I will get a notification with a snapshot if a person enters the garden & terrace and no-one is at home.

    With using automations you can configure additional actions for different situations which can be helpful to secure your home.

    This is my basic security setup which works quite well.

  • How to integrate a third party camera into UniFi Protect

    How to integrate a third party camera into UniFi Protect

    With UniFi Protect 5.0 Ubiquiti integrated the support of cameras from third party manufactures. In this blog entry we will integrate a Reolink PTZ camera into UniFi Protect.

    Requirements:

    • Ubiquiti console with installed Protect with at least version 5, in my case I already have 5.1.87.
    • A third party camera in the same subnet as the UniFi console.

    Preparation:

    Connect the camera with your network switch and be ensure that the camera has a valid IP-address and is in the same subnet as the console. If this is not possible, it does not really matters if you know the IP-address.

    When using a Reolink it is necessary to enable RTSP on the camera, otherwise it will not work. To do this, access your camera using the IP-address and your username and password. After reset the reolink uses admin as username without any password.

    After you have login, first change the password, Ubiquiti does not work with an empty password. To do this, login into the webinterface of your Reolink Camera go to “Device Settings” -> “System” -> “User Management” and press the “Change Password” button on the admin account.

    Enter the current password and then two times the new password:

    After you have entered a valid password, we now enable the ONVIF support on the Reolink device, because per default this is disabled.

    Switch on the “Device Settings” page to “Network Settings” and open the “Advanced” tabsheet:

    Now select “Set Up” under “Port Settings”. A dialog window is opened where you need to scroll down to the button until you find the toogles for RTSP and ONVIF, enable both:

    You do not need to change the default ports. Press “Save” and now you are ready to adopt the camera into UniFi Protect.

    Adopting into UniFi Protect:

    1. Login to your UniFi Protect web application and go to “Settings” and enable the discovery support for Third-Party Cameras:

    Press “Apply Changes” to store.

    2. Now switch to “Unifi Devices”. If the Reolink camera is in the same subnet the camera will already be shown and is ready to get adopted:

    2a. If the camera is in a different subnet or not shown press the question mark button right on the top. A window is opened where you press “try advanced adoption”:

    Now enter the IP-Address, Username and Password of the camera and press “Confirm”:

    2b. In this case this is not necessary, we can directly press “Click to Adopt”:

    3. Enter the “Username” and “Password” and press “Confirm”:

    After a short time the camera is adopted and ready to use:

    As you can see in the following screenshot, Protect also supports “native” features of the camera, like the integrated PTZ or zoom function of this Reolink camera:

    Removing the camera:

    Removing the camera is as simple as with other Unifi devices:

    1. Select the camera go to settings and press “Remove”:

    2. When pressing “Remove” you have to choose what should happen with the recorded videos of the camera. In this case I decide that they should be deleted:

    After pressing remove it will take a short time before the camera is successfully removed: