florianwendelborn / fritz-box Goto Github PK
View Code? Open in Web Editor NEW:package: Promise-based JavaScript FRITZ!Box API.
Home Page: https://npmjs.com/package/fritz-box
License: MIT License
:package: Promise-based JavaScript FRITZ!Box API.
Home Page: https://npmjs.com/package/fritz-box
License: MIT License
Hi Florian,
at first, awesome plugin, that's exactly what i need.
I need this plugin to send automatically faxes to my tax consultant (Steuerberater) from my accounting software (Buchführungs-Programm) with some kind of interval (once a day or something).
Do you have any plans to support that in the upcoming time? Otherwise i would take a look how difficult that is.
Currently i'm using Faxbot to send faxes from my mac, it's using the fritz-box api (i think in a similar way this plugin is written), so i think it should be also possible in our case.
Michael
PS. Hab mal eben auf Englisch geschrieben, keine Ahnung ob's die Fritzbox auch außerhalb von Deutschland gibt, könnte aber uU. auch für andere Leute intressant sein :)
Method: getGuestWLAN
The method queries data.lua
and the request works fine. On my FRITZ!OS-Version 07.12 data.lua
responds with json but the current implementation assumes html. Therefore no valid data is extracted.
{
"data": {
"timestamp": 153,
"guestAccess": {
"lPTxt": "",
"psk": "MyPSKKKKK123123123",
"isIpClient": false,
"supportsRegulation": true,
"notification": "0",
"notificationEnabled": "0",
"autoUpdate": "1",
"showGuest": true,
"mode": "1",
"lPEnabled": "0",
"lPRedirect": "0",
"activeNexusClient": false,
"hideRepAutoUpdate": true,
"timeout": "30",
"isMaster": true,
"lPImg": "0",
"timeoutNoForcedOff": "0",
"lPReguire": "0",
"defaultSsid": {
"private": "FRITZ!Box Gastzugang",
"public": "FRITZ! Hotspot"
},
"guestGroupAccess": "1",
"isolated": "1",
"boxType": "box",
"ssid": "FRITZ!Box MYName",
"isEnabled": "0",
"lPRedirectUrl": "",
"wpsActive": true,
"isTimeoutActive": "0"
}
},
"hide": {
"ssoEmail": true,
"shareUsb": true,
"liveTv": true,
"faxSet": true,
"dectMoniEx": true,
"rss": true,
"mobile": true,
"dectMail": true,
"ssoSet": true,
"liveImg": true
},
"pid": "wGuest",
"sid": "9eeef9918eb956f7"
}
I checked if the same is true for data.lua with page homeNet
but this API returns still HTML.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.