belzetrigger / domoticz-FritzBox

Plugin that adds your Fritz!Box router as a device to domoticz
MIT License
2 stars 1 forks source link

domoticz-FritzBox

[PyPI pyversions]() Plugin version

Adds Virtual Hardware for your Fritz!Box within domoticz. That devices show connection information and enables you to control your WiFi.

Device Images
guest WiFi WiFi switch device on wps switch device on
WiFi switch device offWiFi switch device error
normal WiFi (2.4 GHz) switch device normal WiFi on
counter counter - received counter - sent
counter - details
alarm alert device - ok alarm device Showing alarm
switch switch device - ON switch device off

Summary

This is a plugin for Domoticz that works with your Fritz!Box. Therefore it generates three devices.

This plugin only works with Fritz Box and is open source.

It is more or less just a wrapper around python lib fritzconnection from Klaus Bremer. Icons used are from DomoticzIcons see Domoticz Wiki

Prepare

Installation and Setup

Parameter Information
host insert host name or Ip - default is fritz.box
Update time polling time.
Something like 3 or 5 min should work and do not stress the router too much
Debug if True, the log will hold a lot more output. Its good if something does not work like expected.
to control WiFi
user name of the user set up in fritz box
password keep in mind, domoticz stores it plain in the database!!!! So really create a new user with restricted rights

Versions

Version Note
0.6.4
  • removed pw free mode
  • adapt counter for sent/received megabytes
  • 0.6.3 counter for sent/received megabytes
    switch for standard WiFi
    0.6.2 now allows you to control your guest WiFi
    0.6.x works with new fritzconnection 1.2.1 and so without need of lxml but Python >= 3.6
    <= 0.5.x worked with fritzconnection 0.6.x and 0.8.x, needs lxml

    Bugs and ToDos

    State

    In development. Guest WiFi is now more stable especially on refresh status for WPS. Counters are new and behave a bit different than Fritz!Box Online Monitor. Means there is always a delta in the way FritzBox is showing the daily usage.

    Developing

    For TR064 actions codes see AVMs Documentation
    Based on https://github.com/ffes/domoticz-buienradar/ there are