Swegon Ventilation Binding

This binding is used to get live data from Swegon ventilation systems into items in openHAB. It should be compatible with at least Swegon CASA models.

Prerequisites

swegongw is an application that reads packets from a serial port (an RS-485 adapter is needed) and relays them to openHAB via UDP. The Swegon Ventilation binding listens on the UDP port and extracts control data from UDP packets.

C code is available here.

Build:

gcc -std=gnu99 -o swegongw swegongw.c

Run:

swegongw -h 
swegongw -v -d /dev/ttyUSB0 -a 192.168.1.10

Binding Configuration

This binding can be configured in the file services/swegonventilation.cfg.

PropertyDefaultRequiredDescription
udpPort9998NoUDP port on which the binding will listen

Item Configuration

Format:

    swegonventilation="<data>"

Where <data> identifies a datum to retrieve:

<data>Item TypePurposeNote
T1NumberTemperature sensor 1
T2NumberTemperature sensor 2
T3NumberTemperature sensor 3
T4NumberTemperature sensor 4
T5NumberTemperature sensor 5
T6NumberTemperature sensor 6
T7NumberTemperature sensor 7
T8NumberTemperature sensor 8
OutdoorTemperatureNumberTemperature sensorT1
SupplyAirTemperatureNumberTemperature sensorT2
ExtractAirTemperatureNumberTemperature sensorT3
SupplyAirTemperatureReheatedNumberTemperature sensorT4
ExhaustAirTemperatureNumberTemperature sensorT8
SupplyAirFanSpeedNumberFan speed rpm
ExtractAirFanSpeedNumberFan speed rpm
EfficiencyNumberEfficiencyCalculated by system
EfficiencySupplyNumberEfficiencyCalculated by binding
EfficiencyExtractNumberEfficiencyCalculated by binding
FanSpeedNumberFan speedFan speed 1…5
PreheatStateSwitchHeatingPreheat state
ReheatStateSwitchHeatingReheat state

Examples

Number	OutdoorTemperature	{ swegonventilation="OutdoorTemperature" }
Number	SupplyAirFanSpeed	{ swegonventilation="SupplyAirFanSpeed" }
Switch	Preheat	            { swegonventilation="PreheatState" }