Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Region issue #7

Open
MAkerboom opened this issue May 12, 2016 · 4 comments
Open

Region issue #7

MAkerboom opened this issue May 12, 2016 · 4 comments
Labels

Comments

@MAkerboom
Copy link

node-fritzbox online ip

only works if language is set to German

I manually fixed it by editing the following line:
https://github.com/franciscogouveia/node-fritzbox/blob/master/modules/online.js#L87

OT: Thanks for your script.. it powers my Domoticz homeautomation by updating device status information. That way I know if any family members are at home.

@franciscogouveia
Copy link
Owner

Good catch. I'm in Germany, so the language on my Fritzbox is in German. When I find some time, I will try to find a way to do it language independent. For now, your quick fix should be enough.

Great to know someone found it useful! :) I'm using it on my server as well to update my DNS when my IP changes.

@FlorianWendelborn
Copy link

@franciscogouveia you can actually tell your FritzBox to send a HTTP GET request to your server, when your IP changes, that'd be most likely easier than what you're currently doing.

@franciscogouveia
Copy link
Owner

@dodekeract I'm updating the IP, because the server is behind the FritzBox and I want to access the server from outside (it's a home server).

What I could do is to configure FritzBox to update the DNS with the new IP every time it changes (e.g. with DynDNS). But, my domain provider does not support it.

The solution I found was delegating the DNS administration to AWS Route53. Like this, I created a script that checks if the IP changed, and if yes, send an update of the A record to Route 53 API.

@FlorianWendelborn
Copy link

FlorianWendelborn commented May 22, 2016

@franciscogouveia ah, I didn't assume your server is behind the FritzBox, that makes sense then. I thought you're using a similar setup to mine, where I both have a home-server (rpi3) and a dedicated server in a datacenter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants