Connect Home Assistant to Internet box 3

  • Home Assistant has an integration on UPnP/IGD, which can also be activated in the Internet box in the settings. Nevertheless, I have no connection to any data (e.g. transferred amounts of data). Does anyone know more about it?

    Show original language (German)
    • @Giessiogreid14

      I think you’re confusing two things:

      - UPnP and port forwarding are actually about direct access from the Internet to individual devices in the home network, which is actually not what you need

      - The “sensor” you show is about direct access from the Home Assistant software to the internal API (Application Programming Interface) of a Swisscom Internet box in order to be able to read out information about the Internet box’s internal values, which Swisscom uses for security reasons actually doesn’t want to make it available to customers.

      And that’s what the GitHub post linked by @kaetho is about, namely how you could outsmart an Internet box by adapting certain procedures and inserting the Internet box’s administrator password in order to read out certain information directly can.

      If you don’t want to move towards your own low-level coding, it’s probably best to forget about the idea of ​​integrating the Internet box as a normal “sensor” into the home assistant.

      The chances of success would only get worse over time anyway.

    @Giessiogreid14

    Are you talking about the open source software Home Assistant to support the coordinated networking of IoT devices from different manufacturers within a home network, which you can use, for example. B. can install on a Raspberry Pi?

    If so, on which appliance did you install the software?

    UPnP is also just a pure convenience function for automated port forwarding from the Internet (i.e. the individual devices can then determine for themselves that they can be reached directly from the Internet), which is better never used at all, as this also poses a large additional risk for represents the general vulnerability of one’s own network directly from the Internet.

    If IoT devices actually rely on direct accessibility from the Internet, which in my opinion should never happen with trustworthy IoT devices, it would still be much safer not to use UPnP, but rather the one specifically required for this individual device Consciously set up port forwarding on the router manually.

    Show original language (German)

    Hobby-Nerd ohne wirtschaftliche Abhängigkeiten zur Swisscom

    I don’t know much about the term port forwarding. It’s not about accessing my local network from the Internet, but rather accessing information in the Internet box in my local network.

    Show original language (German)

    Yes, I use Home Assistant on a Raspberry Pi. Connected to the LAN of the Internet box.

    I also see the entity, for example

    • sensor.swisscom_internet_box_download_speed

    but constantly only at 0.0 KiB/s.

    Where is it stuck?

    Show original language (German)

    @Giessiogreid14

    I think you’re confusing two things:

    - UPnP and port forwarding are actually about direct access from the Internet to individual devices in the home network, which is actually not what you need

    - The “sensor” you show is about direct access from the Home Assistant software to the internal API (Application Programming Interface) of a Swisscom Internet box in order to be able to read out information about the Internet box’s internal values, which Swisscom uses for security reasons actually doesn’t want to make it available to customers.

    And that’s what the GitHub post linked by @kaetho is about, namely how you could outsmart an Internet box by adapting certain procedures and inserting the Internet box’s administrator password in order to read out certain information directly can.

    If you don’t want to move towards your own low-level coding, it’s probably best to forget about the idea of ​​integrating the Internet box as a normal “sensor” into the home assistant.

    The chances of success would only get worse over time anyway.

    Show original language (German)

    Hobby-Nerd ohne wirtschaftliche Abhängigkeiten zur Swisscom