Hello,
as I didn’t find a working openHAB configuration to connect an Askoheat+ flange heater I figured out how to define things and items and to read 2 values. I’m posting how all is currently defined in order to help others to save some time.
Things file:
Bridge modbus:tcp:askomatcp "Heizstab" @ "Keller" [ host="<host ip>", port=502, id=1 ] {
Bridge poller AskInput "Heizstab Input-Register" @ "Keller" [ start=108, length=4, refresh=10000, type="input" ] {
Thing data AskNotbetrieb "Heizstab Notbetrieb" @ "Keller" [ readStart="108.0", readValueType="uint8" ]
Thing data AskLeistung "Heizstab akt. Leistung" @ "Keller" [ readStart="110", readValueType="uint16" ]
}
}
Items file (current electrical load in kw + state of emergency operation);
Switch AskNotbetrieb "Heizstab Notbetrieb [MAP(Askoma.map):%s]" <switch> { channel="modbus:data:askomatcp:AskInput:AskNotbetrieb:number" }
Number AskLeistung "Heizstab akt. Leistung [%.0f kW]" <energy> { channel="modbus:data:askomatcp:AskInput:AskLeistung:number" }
And the mapping file to map the values 0=OFF + 255=ON (conf/transform/Askoma.map):
0=OFF
255=ON
And finally the part of the sitemap:
Frame label="Heizstab" {
Text item=AskLeistung label="Aktuelle Leistung"
Switch item=AskNotbetrieb label="Notbetrieb"
}
Good Luck
Reinhold