Skip to main content

Fritz!Box Smarthome Python Library

Project description

BuildStatus PyPiVersion Python versions Coveralls Maintainability Codacy

Tested Devices

fritzhome CLI tool

You have to add a user with the rights to access the smarthome actors.

In the fritzbox webinterface under “System -> FRITZ!Box-Benutzer” you can add a new user.

$ fritzhome -f fritz.box  -u smarthome -p smarthome  list
##############################
name=Fenster Badezimmer
  ain=11934 0154799-1
  id=2000
  productname=HAN-FUN
  manufacturer=0x0feb
  present=True
  lock=None
  devicelock=None
  is_group=False
 Alert:
  alert=True
##############################
name=Thermostat Badezimmer
  ain=11959 0171328
  id=16
  productname=Comet DECT
  manufacturer=AVM
  present=True
  lock=False
  devicelock=False
  is_group=False
 Temperature:
  temperature=19
  offset=-3
 Thermostat:
  battery_low=False
  battery_level=80
  actual=19.0
  target=19.0
  comfort=22.0
  eco=19.0
  window=False
  window_until=0
  boost=None
  boost_until=None
  adaptive_heating_running=None
  summer=False
  holiday=False
##############################
name=Wohnzimmer Couch
  ain=09995 0523646
  id=17
  productname=FRITZ!DECT 301
  manufacturer=AVM
  present=True
  lock=False
  devicelock=False
  is_group=False
Temperature:
  temperature=20.5
Thermostat:
  battery_low=False
  battery_level=80
  actual=20.5
  target=21.5
  comfort=21.5
  eco=17.5
  window=False
  summer=False
  holiday=False
##############################
name=Wohnzimmer Tisch
  ain=09995 0517495
  id=18
  productname=FRITZ!DECT 301
  manufacturer=AVM
  present=True
  lock=False
  devicelock=False
  is_group=False
Temperature:
  temperature=21.0
Thermostat:
  battery_low=False
  battery_level=80
  actual=21.0
  target=21.5
  comfort=21.5
  eco=17.5
  window=False
  summer=False
  holiday=False
##############################
name=Schalter WC Heizung
  ain=08761 0402392
  id=21
  productname=FRITZ!DECT 200
  manufacturer=AVM
  present=True
  lock=True
  devicelock=False
  is_group=False
 Switch:
  switch_state=False
 Powermeter:
  power=0
  energy=436529
  voltage=231.0
 Temperature:
  temperature=22
  offset=3
##############################
name=Wohnzimmer
  ain=grp303E4F-3F7D9BE07
  id=900
  productname=
  manufacturer=AVM
  present=True
  lock=False
  devicelock=False
  is_group=True
  group_members=['17', '18']
Thermostat:
  battery_low=None
  battery_level=None
  actual=None
  target=21.5
  comfort=21.5
  eco=17.5
  window=None
  summer=None
  holiday=None

Fritzbox User

Add a new user: System -> FRITZ!Box-Benutzer

doc/fritzbox_user_overview.png doc/fritzbox_user_smarthome.png

References

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyfritzhome-0.6.12.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

pyfritzhome-0.6.12-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file pyfritzhome-0.6.12.tar.gz.

File metadata

  • Download URL: pyfritzhome-0.6.12.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pyfritzhome-0.6.12.tar.gz
Algorithm Hash digest
SHA256 89235e70cfd9198cea4c2e4d9d8fc033fe9a1c84098e68498446fcd0f0247ccb
MD5 9f6fa5fdaf6ab20b65937f91e47ae72b
BLAKE2b-256 30215e055922580f7e8489413b45aa98d79783343722ef8057c66c6b4c24e21b

See more details on using hashes here.

File details

Details for the file pyfritzhome-0.6.12-py3-none-any.whl.

File metadata

  • Download URL: pyfritzhome-0.6.12-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pyfritzhome-0.6.12-py3-none-any.whl
Algorithm Hash digest
SHA256 56cd2cb5a8a88efd09b2d7c898eeab494c447c5ae9a7155c5bef9cc42b56a769
MD5 70451536d51d16633cce0fbc2e7728c7
BLAKE2b-256 ec9fe08fb59cfee3da1a0c26c58627833a06c9614266ae01e8a2efb6551a4baa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page