Skip to main content

Python Library to communicate with local Busch-Jaeger Free@Home REST API

Project description

python_freeathome_local

The datamodel of the Free@Home Rest-API is setup the following way:

  • The root-node is a SysAp
  • The SysAp contains devices and a floorplan
  • Each device has 1 to many channels (the behaviour of a channel is defined by the FunctionID)
  • A channel has 0 to many Input- and Output-Datapoints (the behaviour of a datapoint is defined by the PairingID)
  • An Input-Datapoint is used to set a value (e.g. turn on a switch) -- To change the value of an such a datapoint a PUT-call is needed
  • An Output-Datapoint shows the current state (e.g. switch is on) -- All modifications are reported through a websocket-connection
  • A device and a channel can have 0 to many parameters (the function of a parameter is defined by the ParameterID)

Drawback

The major drawback I see so far regarding the Rest-API is that the parameters can't be controlled. E.g. the WeatherStation has a parameter called 'par0039' (TRANSMISSION_INTERVAL), which defines how often updated values are send. This interval can be changed in the mobile app, but not through the Rest-API, additionally (what is even more worse) any modifications are not reported through the websocket. This means that after the initial load of the configuration any modifications to the parameters through the mobile app are not recognized by this library :(

Implemented channels

Name Inputs Outputs
BrightnessSensor - BrightnessLevel (float) - state
BrightnessAlarm (bool)
RainSensor - RainAlarm (bool) - state
RainSensorActivationPercentage (float)
rainSensorFrequency (float)
TemperatureSensor - OutdoorTemperature (float) - state
FrostAlarm (bool)
WindSensor - WindSpeed (float) - state
WindAlarm (bool)
WindForce (float)
Trigger TimedStartStop - press -
SwitchActuator SwitchOnOff(bool) - turnOn/turnOff
Forced(bool)
TimedStartStop(bool)
TimedMovement(bool)
InfoOnOff (bool) - state
InfoForce (bool)
InfoError (bool)
WindowDoorSensor - WindowDoor (bool) - state
MovementDetector InfoOnOff InfoOnOff (bool) - state
BrightnessLevel (float)
TimedMovement (bool)
TimedPresence (bool)
SwitchSensor - SwitchOnOff (bool) - state

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

python_freeathome_local-0.0.3.tar.gz (43.8 kB view details)

Uploaded Source

Built Distribution

python_freeathome_local-0.0.3-py3-none-any.whl (59.6 kB view details)

Uploaded Python 3

File details

Details for the file python_freeathome_local-0.0.3.tar.gz.

File metadata

File hashes

Hashes for python_freeathome_local-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f1e58a4f5c040a190ceb916cb38acdb112ba44ee136e29c972e7fbfe548f1ae4
MD5 2b72b85b6651db49df264e15b1087692
BLAKE2b-256 4698dd80e42cc4355458556166029c926b567ad1fdc40c45c8bda77b77811092

See more details on using hashes here.

File details

Details for the file python_freeathome_local-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for python_freeathome_local-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a624930019acc205ebb4b48fedc781cf13c29c1b0c5a4f3c4382a88b0c6e4fee
MD5 2c6beab3030454bd914e9045811e719a
BLAKE2b-256 839770e0f7a4363af247fe2d6e7b7667b71865762cfa11ca55efa1ec2c30870b

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