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)
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 :(
Name | Inputs | Outputs |
---|---|---|
BrightnessSensor | - | brightness_level (float) - state brightness_alarm (bool) |
RainSensor | - | rain_alarm (bool) - state rain_sensor_activation_percentage (float) rain_sensor_frequency (float) |
TemperatureSensor | - | outdoor_temperature (float) - state frost_alarm (bool) |
WindSensor | - | wind_speed (float) - state wind_alarm (bool) wind_force (float) |
Trigger | timed_start_stop - press | - |
SwitchActuator | switch_on_off (bool) - turn_on/turn_off forced (bool) timed_start_stop (bool) timed_movement (bool) |
info_on_off (bool) - state info_force (bool) info_error (bool) |
WindowDoorSensor | - | window_door (bool) - state |
MovementDetector | info_on_off | info_on_off (bool) - state brightness_level (float) timed_movement (bool) timed_presence (bool) |
SwitchSensor | - | switch_on_off (bool) - state |
ForceOnOffSensor | - | forced (bool) - state |
BlindSensor | - | stop_step_up_down (bool) - state |
DesDoorRingingSensor | - | timed_start_stop (bool) - state |