fritzapi icon indicating copy to clipboard operation
fritzapi copied to clipboard

Fritz!OS 7 - getGuestWlan and setGuestWlan

Open grinsekatze003 opened this issue 6 years ago • 9 comments

getGuestWlan and setGuestWlan aren't working with Fritz!OS 7 anymore. Any plans to update that function?

grinsekatze003 avatar Oct 03 '18 19:10 grinsekatze003

Could you be more specific what it not working? Any error messages?

andig avatar Oct 03 '18 20:10 andig

I assume these log entries from homebridge-fritz may be related:

[10/8/2018, 9:18:26 PM] [My FritzBox] Updating guest WLAN
[10/8/2018, 9:18:26 PM] [My FritzBox] Getting guest WLAN state
[10/8/2018, 9:18:26 PM] [My FritzBox] 500: Internal Server Error

IngmarStein avatar Oct 08 '18 19:10 IngmarStein

Sorry, I just notice that homebridge-fritz uses the tr64 API while fritzapi only uses screen scraping. Both approaches seem broken with Fritz!OS 7. The URL seems to have changed from /wlan/guest_access.lua?0=0 to /?sid=<sid>&lp=wGuest, so the current version just ends up at the login page.

IngmarStein avatar Oct 08 '18 19:10 IngmarStein

Thanks for the investigation. I'm a bit short on time and would appreciate a PR if you want or will look into this later.

andig avatar Oct 08 '18 19:10 andig

Sure, here you go: https://github.com/andig/homebridge-fritz/pull/51 I haven't looked into whether the scraper could also be updated. The new page looks quite dynamic.

IngmarStein avatar Oct 08 '18 21:10 IngmarStein

Hi,

any news on this issue? Or at least a plan to fix it for FritzOs7?

Thanks in advance for your feedback.

masipulami avatar Nov 07 '18 16:11 masipulami

Any news on this?

grinsekatze003 avatar Feb 26 '19 08:02 grinsekatze003

It was an error in Fritz!OS (see https://github.com/andig/homebridge-fritz/pull/51). I think it has been fixed in the current beta (aka Labor).

IngmarStein avatar Feb 26 '19 08:02 IngmarStein

ping @grinsekatze003 could you check if your issue is resolved with current Fritz!OS?

andig avatar Oct 18 '19 08:10 andig