(reverted from commit
|
||
---|---|---|
.. | ||
readme.md |
readme.md
layout |
---|
documentation |
{% include base.html %}
AVM FRITZ! Binding
The binding integrates the AHA ( AVM Home Automation ) system.
Supported Things
FRITZ!Box
The well known FRITZ!Boxes are supported as bridge for accessing other AHA devices. It is planned to support some channels directly at the bridge like call monitoring and others - but these things are under current development by now. The Box has to run at least on firmware FRITZ!OS 6.00 and hast to support the "Smart Home" service.
FRITZ!DECT 200
This switchable outlet has to be connected to a FRITZ!Box by DECT protocol. It supports switching the outlet, current power and accumulated energy consumption and temperature readings.
FRITZ!Powerline 546E
This powerline adapter can be used via the bridge or in standalone mode. It supports switching the outlet and current power and energy consumption readings. This device does not contain a temperature sensor.
Discovery
The FRITZ!Box and the powerline adapter are discovered through UPNP in the local network. When added as things, a username/password has eventually to be set depending on your Box/Powerline security configuration. The credentials given in the settings must have HomeAuto permissions.
If correct credentials are set in the bridge configuration, connected AHA devices are discovered automatically (may last up to 3 minutes).
Thing Configuration
FRITZ!Box
- ipAddress (mandatory), default "fritz.box"
- protocol (optional, http or https), default "http"
- port (optional, 0 to 65335), no default (derived from protocol: 80 or 443)
- password (optional), no default (depends on FRITZ!Box security configuration)
- user (optional), no default (depends on FRITZ!Box security configuration)
- pollingInterval (optional, 5 to 60), default 15 (in seconds)
- asyncTimeout (optional, 1000 to 60000), default 10000 (in millis)
- syncTimeout (optional, 500 to 15000), default 2000 (in millis)
FRITZ!Powerline 546E
- ipAddress (mandatory), default "fritz.powerline"
- protocol (optional, http or https), default "http"
- port (optional, 0 to 65335), no default (derived from protocol: 80 or 443)
- password (optional), no default (depends on FRITZ!Powerline security configuration)
- pollingInterval (optional, 5 to 60), default 15 (in seconds)
- asyncTimeout (optional, 1000 to 60000), default 10000 (in millis)
- syncTimeout (optional, 500 to 15000), default 2000 (in millis)
AHA things connected to FRITZ!Box bridge
- AIN (mandatory), no default (AIN number of device)
Channels
Channel Type ID | Item Type | Description | Available on thing |
---|---|---|---|
temperature | Number | Actual measured temperature | FRITZ!DECT 200 |
energy | Number | Accumulated energy consumption | FRITZ!DECT 200, FRITZ!Powerline 546E |
power | Number | Current power consumption | FRITZ!DECT 200, FRITZ!Powerline 546E |
outlet | Switch | Switchable outlet | FRITZ!DECT 200, FRITZ!Powerline 546E |
Full Example
demo.Things:
Bridge avm:fritzbox:192.168.178.1 [ ipAddress="192.168.0.64" ] {
FRITZ_DECT_200 DECT1 [ ain="xxxxxxxxxxx" ]
FRITZ_Powerline_546E PL1 [ ain="yy:yy:yy:yy:yyy" ]
}
demo.items:
Number Temp { channel="avmfritz:FRITZ_DECT_200:1:DECT1:temperature" }
Switch Outlet2 { channel="avmfritz:FRITZ_Powerline_546E:1:PL1:outlet" }
demo.sitemap:
sitemap demo label="Main Menu"
{
Frame {
Text item=Temp
Switch item=Outlet2
}
}