Skip to content

tacker66/mpfritzconn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mpfritzconn

A minimalistic solution to connect to an AVM FritzBox using MicroPython.

FritzBox API:

As MicroPython lacks proper implementations of an XML parser, MD5 hash generation and UTF-16LE string encoding these things are all done by hand in a minimalistic way:

  • Extracting SID and Challenge from the FritBox's XML response is done by string.replace()/split() with some magic chars
  • The UTF-16LE encoding of the Challenge Response is done in MicroPython and only works for ASCII strings
  • The MD5 hash for the Challenge Response is computed using Mauro Rivas MicroPython implementation (Thx!)

Installation:

  • mip.install("github:tacker66/mpfritzconn")

About

A minimalistic solution to connect to an AVM FritzBox using MicroPython

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages