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

StatusCodeError: 404 Not Found #14

Open
yitzonx opened this issue Oct 11, 2020 · 2 comments
Open

StatusCodeError: 404 Not Found #14

yitzonx opened this issue Oct 11, 2020 · 2 comments

Comments

@yitzonx
Copy link

yitzonx commented Oct 11, 2020

Hello,

my Fritzbox got updated this week (07.10.20) to the version 07.21.

The fritzbox.js module does not work eversince.

I cannot get the list of my Dect devices anymore as the command fritz.getSmartDevices does not seem to work.

some debuging shows that the request HTTPS: GET /myfritz/areas/homeauto.lua?ajax_id= does not longer work due 404 error.

the error I see is this:
message: StatusCodeError: 404 - "<TITLE>404 Not Found (ERR_NOT_FOUND)</TITLE>

404 Not Found


ERR_NOT_FOUND
Webserver Sun

does anyone know how to fix this problem?

Many thanks in advance!

Regards,
Yitzon

@lesander
Copy link
Owner

lesander commented Dec 1, 2020

Hi Yitzon, thank you for opening this issue. I'll try to replicate your problem in the coming month. It's possible the API endpoint for this function has changed in the newer Fritzbox version.

@LukeOxe
Copy link

LukeOxe commented Jul 16, 2022

Came across this module while trying to solve my smarthome issue with node-red. So, it seems that AVM changed the endpoint and in my first test (only working with the switches) a GET-Call against: /webservices/homeautoswitch.lua?ajax_id=1&switchcmd=getswitchlist return a list of AIN's.

It gets a bit difficult if you want to interact with them since the order of the parameters seems to matter.
So it's then switchcmd, sid, ain.

I think currently the sid is added at the end of the URL which will not work out.

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

No branches or pull requests

3 participants