AVMFritz - access FritzBox via external adress and https

I want to manage different FritzBoxes at different places with OpenHAB 2.2.0.

As long as I can use an internal IP adress, I can access the corresponding box without any hassles. But as soon as I need to access it via its external adress (DynDNS) and https, I can not get any access. Here any magic out of my things config:

Bridge avmfritz:fritzbox:1 "Fritze Remote" [ ipAddress="lalala.dyndns.org", port=443, protocol="https", password ="pwd", user="user" ] { ... }

Another try was to set port number in quotes, i. e. port=“443”, but nothing changed.

Any help?

Hi queen-shit,

What happens if you type in the following URL into your browser?

https://lalala.dyndns.org:443/login_sid.lua

@cweitkamp
After having typed in this URL I get this:

<SessionInfo>
<SID>0000000000000000</SID>
<Challenge>936e2ae1</Challenge>
<BlockTime>0</BlockTime>
<Rights/>
</SessionInfo>

So far, so good. Did you get a message about an invalid SSL certificate?

No, I did not get such a message…

To give a short update. I tried accessing my local FRITZ!Box with https and it didn’t work either. I will investigate on this problem.

@cweitkamp That would be great! OpenHAB2 would be a great solution to me to connect several homes with one single interface! Hope to hear from you soon!

Hi @queen-shit,

Time goes by and new features have been released. AVM released FRITZ!OS 7.0 which contains MyFRITZ! internet access to the FRITZ!Box without a warning from the browser (SSL certificate from Let’s Encrypt). Last weekend it was possible for me to setup a working connection from OH2 via MyFRITZ! service using HTTPS and a different port. I used the latest avmfritz binding version from OH2.4.0.M4 milestone without implementing any changes inside the code.

Is that a possible solution for you? If so I will guide you to enable it for you and will write a howto in the same breath.