Giter VIP home page Giter VIP logo

fritzbox's Introduction

#Fritzbox Python for OS 6.30+ (tested up to 6.60)

This project allows to interact with your Fritzbox above the new FritzOS 6.30 to 6.60 (tested with Fritzbox 7490 and 7390). It furthermore uses the Google Calendar API to enter phonecalls and online devices status into your google calendar.

FritzBox.py works stand alone.

To use the Google Services you will need to generate your own client api credentials including a valid calendar json. For the expected format see the provided default files.

General Usage FritzBox python class

#constructors
box =  FritzBox()
box =  FritzBox("password") # should be default constructor
box =  FritzBox("password", "username")
box =  FritzBox("password", "username", "http://fritz.box")
box =  FritzBox("password", "username", "http://fritz.box",false)

# getting a list of active devices as objects of FritzBoxDevice
devices = box.get_devices(self,"active")

# getting a list of passive devices as objects of FritzBoxDevice
devices = box.get_devices(self,"passive")

# getting a list of objects of FritzBoxCall
calls = box.get_foncalls()

# getting a list of objects of FritzBoxFonBookEntry
fon_book = box.get_fonbook()

General Usage Google Calendar Wrapper

For phone calls:

fon_calendar = GoogleCalendarWrapper("[email protected]")
fon_events = fon_calendar.get_events()
handleFonEntriesToGoogleCalendar(fon_calendar,fon_events,calls)

For active devices tracking:

devices_calendar = GoogleCalendarWrapper("[email protected]")
device_events = devices_calendar.get_events()
handleDeviceEntriesToGoogleCalendar(devices_calendar,device_events,devices)

More

on my website defendtheplanet.net

TODO

  • add config.json

  • implement CalDav Support for non google solutions

  • explain vpnc based server setup

  • document multiple fritzboxes setup

  • add pictures of google calendar entries

  • enable gant charts of devices (d3js?)

  • get FritzBox phone book(s) [done]

    • sync phone books to Google Contacts
    • sync phone books to CardDav
  • get FritzBox system status

    • connection time
  • improve Google Calendar UID handling to a single line starting with UID: or something better

fritzbox's People

Contributors

paulpetring avatar

Watchers

James Cloos avatar Jeroen Wiert Pluimers avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.