lesander / fritzbox.js Goto Github PK
View Code? Open in Web Editor NEW:telephone: The leading AVM Fritz!Box API for NodeJS and JavaScript.
Home Page: https://fritzbox.js.org
License: Other
:telephone: The leading AVM Fritz!Box API for NodeJS and JavaScript.
Home Page: https://fritzbox.js.org
License: Other
Today i've tried to get the tam messages using nodejs.
I used the plain example, but got this error:
{
error: { message: 'Requested page does not exist on the Fritz!Box.' }
}
Any ideas how to fix this - or is it a problem in fritzbox.js?
The request of .getCalls() throws an expection for non-english fritzbox user interfaces (format.js:22).
The naming of the csv file topics for german ui is:
Typ;Datum;Name;Rufnummer;Nebenstelle;Eigene Rufnummer;Dauer
Is it possible to retrieve an event like onIncomingCall
and trigger an action if it occurs?
Thanks,
KLVN
Hi,
first of all -- great project! I am trying to build an automation that reads and transcribes tam messages. However, just a very basic script that downloads the messages does not seem to work. I basically copy pasted your example from the tests and while I can read the tam list, I can not download them. My remote path looks like this /data/tam/rec/rec.0.003
; the options
work with fritz.getTamMessages
so there can't be an error in username/password/server. Interestingly, an empty local file also is written. I get the error Error: Not authenticated correctly for communication with Fritz!Box
.
Any idea what I might be doing wrong? I have a Fritz!Box 7590 with OS 07.01.
With 2.0.0
released, I will now focus on the following features for the next releases.
7.0.1
.
wlan
)
fritz.getWlanKey()
fritz.setWlanKey()
fritz.getWlanWPAType()
fritz.isWlanEncrypted()
fritz.allowNewWlanDevices(boolean)
fritz.getQRCode()
fritz.enableWlan(guest=false)
fritz.disableWlan(guest=false)
system
)
fritz.updateAvailable()
fritz.getBoxInfo()
(no auth required)fritz.getSystemLog()
fritz.getName()
fritz.setName()
fon
)
fritz.listDectPhones()
fritz.uploadPhonebook()
fritz.getContact()
fritz.addContact()
fritz.editContact()
fritz.removeContact()
nas
)
dect
)
fritz.getSmartDevices()
.
Any suggestions, pull requests or feedback is appreciated!
Still working through the change log of the new Fritz!OS 06.83
: http://web.archive.org/web/20171122064809/http://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7390/firmware/english/info.txt
And now working through the change log of Fritz!OS 07.01
:
http://ftp.avm.de/fritzbox/fritzbox-4040/other/fritz.os/info_en.txt
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>
does anyone know how to fix this problem?
Many thanks in advance!
Regards,
Yitzon
I would like to read log messages so i can automate certain actions
Hi, thanks for the great work with your API.
I need a functionality to enable / disable certain TAMs. Is there a way to do that with your API. Any hints appreciated and many thanks so far!
Since FRITZ!OS 5.50 the fritzbox now has a default password based key derived function authentication.
See issue #5 for the Roadmap of v2.1.0
async/await
ES6 and update for 06.83
:
fritz.getSmartDevices()
fritz.toggleSwitch()
fritz.getCalls()
fritz.getTamMessages()
fritz.downloadTamMessage()
fritz.markTamMessageAsRead()
fritz.dialNumber()
fritz.getActiveCalls()
fritz.getPhonebook()
fritz.getSessionId()
fritz.getVersion()
fritz.getVersionNumber()
fritz.request()
fritz.markTamMessageAsRead()
fritz.dialNumber()
fritz.getPhonebook()
fritz.getVersion()
I am always getting this:
D:\TEMP\fritz\node_modules\fritzbox.js\test>node phonebook.js Error: Error: connect ECONNREFUSED 192.168.1.1:443
I did change username/password,
I did check if I can logon with this username/password
I even did set 'debug' to true
(and, yes, I am pretty new to node)
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.