homebridge-fritz-platform
homebridge-fritz-platform copied to clipboard
Detect if (LTE-)Fallback is active
I would like to get a notification or start an automation if my internet connection switches from DSL to the fallback connection (USB-connected 4G-Stick). Maybe a contact sensor that's opening if the dsl-sync is missing and mobile data is used.
For example: When mobile data is used I could shutdown some devices from an automation and reduce the mobile data usage.
https://service.avm.de/help/en/FRITZ-Box-7590/019/hilfe_mobilfunk_usb_modem
Hey @timwegenerDE
Is there an indication on the FritzBox interface if DSL is not active and mobile data is used instead? If so, can u post a screenshot from it
Hey @SeydX,
thanks for your reply.
Currently I can‘t have a look at it, because there is no carrier I can connect to. By end of the year this will change due to a new 5G / LTE tower next to us.
From the documentation I would guess there is a property called „WANAccessType“: https://avm.de/fileadmin/user_upload/Global/Service/Schnittstellen/wancommonifconfigSCPD.pdf (In blue).
Approach: If this value does not contain „DSL“, „Fiber“, „Cable“ or „Ethernet“ it should be a mobile connection?