Hi,
Running openHAB version 2.4.0 on Mac OS.
I have a (semi-)domotica system at home, basically some relays with IP-adres en 24 exits to put some lights on. The relays listen so a simple telegram (Sxxyy, where S=activate, xx=exit, yy=always 00)
I have TCP/UDP binding, Map transform binding installed. I also created an udp.cfg file with only “udp:updatewithresponse=true” and udp:port:1001 in it.
I created 2 items and a map file:
.items file
Switch OUT_Terras_Licht "Licht Terras" <light> (Home, OUT, GF_Terras) {udp=">[ON:10.10.1.20:1001:'MAP(OUT_Terras_Licht.map)'] >[OFF:10.10.1.20:1001:'MAP(OUT_Terras_Licht.map)']"}
Switch GF_Keuken_Eiland "Licht Keuken eiland" <light> (Home, GF, GF_Keuken) {udp=">[ON:10.10.1.20:1001:'MAP(GF_Keuken_Eiland.map)'] >[OFF:10.10.1.20:1001:'MAP(GF_Keuken_Eiland.map)']"}
OUT_Terras_Licht.map file
ON=S0100
OFF=C0100
S0100=ON
C0100=OFF
GF_Keuken_Eiland.map
ON=S0800
OFF=C0800
S0800=ON
C0800=OFF
The outgoing command works fine, for example, the light “OUT_Terras_Licht” switch ON and OFF, however I seem to get some warnings in my log file:
10:24:30.661 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'OUT_Terras_Licht' received command ON
10:24:30.665 [WARN ] [ng.tcp.AbstractDatagramChannelBinding] - There is no channel that services [itemName=OUT_Terras_Licht, command=ON]
10:24:30.677 [INFO ] [smarthome.event.ItemStateChangedEvent] - OUT_Terras_Licht changed from OFF to ON
10:24:31.128 [WARN ] [orm.AbstractFileTransformationService] - Could not transform 'I000010115' with the file 'GF_Keuken_Eiland.map' : Target value not found in map for 'I000010115'
10:24:31.129 [WARN ] [ding.tcp.protocol.internal.UDPBinding] - Cannot parse input I000010115 to match command ON on item GF_Keuken_Eiland
10:24:31.130 [WARN ] [orm.AbstractFileTransformationService] - Could not transform 'I000010115' with the file 'GF_Keuken_Eiland.map' : Target value not found in map for 'I000010115'
10:24:31.131 [WARN ] [ding.tcp.protocol.internal.UDPBinding] - Cannot parse input I000010115 to match command OFF on item GF_Keuken_Eiland
10:24:31.133 [WARN ] [orm.AbstractFileTransformationService] - Could not transform 'I000010115' with the file 'OUT_Terras_Licht.map' : Target value not found in map for 'I000010115'
10:24:31.135 [WARN ] [ding.tcp.protocol.internal.UDPBinding] - Cannot parse input I000010115 to match command ON on item OUT_Terras_Licht
10:24:31.137 [WARN ] [orm.AbstractFileTransformationService] - Could not transform 'I000010115' with the file 'OUT_Terras_Licht.map' : Target value not found in map for 'I000010115'
10:24:31.138 [WARN ] [ding.tcp.protocol.internal.UDPBinding] - Cannot parse input I000010115 to match command OFF on item OUT_Terras_Licht
10:24:35.443 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'OUT_Terras_Licht' received command OFF
10:24:35.445 [WARN ] [ng.tcp.AbstractDatagramChannelBinding] - There is no channel that services [itemName=OUT_Terras_Licht, command=OFF]
10:24:35.459 [INFO ] [smarthome.event.ItemStateChangedEvent] - OUT_Terras_Licht changed from ON to OFF
10:24:35.962 [WARN ] [orm.AbstractFileTransformationService] - Could not transform 'I000010015' with the file 'GF_Keuken_Eiland.map' : Target value not found in map for 'I000010015'
10:24:35.964 [WARN ] [ding.tcp.protocol.internal.UDPBinding] - Cannot parse input I000010015 to match command ON on item GF_Keuken_Eiland
10:24:35.966 [WARN ] [orm.AbstractFileTransformationService] - Could not transform 'I000010015' with the file 'GF_Keuken_Eiland.map' : Target value not found in map for 'I000010015'
10:24:35.969 [WARN ] [ding.tcp.protocol.internal.UDPBinding] - Cannot parse input I000010015 to match command OFF on item GF_Keuken_Eiland
10:24:35.970 [WARN ] [orm.AbstractFileTransformationService] - Could not transform 'I000010015' with the file 'OUT_Terras_Licht.map' : Target value not found in map for 'I000010015'
10:24:35.971 [WARN ] [ding.tcp.protocol.internal.UDPBinding] - Cannot parse input I000010015 to match command ON on item OUT_Terras_Licht
10:24:35.973 [WARN ] [orm.AbstractFileTransformationService] - Could not transform 'I000010015' with the file 'OUT_Terras_Licht.map' : Target value not found in map for 'I000010015'
10:24:35.976 [WARN ] [ding.tcp.protocol.internal.UDPBinding] - Cannot parse input I000010015 to match command OFF on item OUT_Terras_Licht
I presume that the remote sends a command ‘I000010015’ and ‘I000010115’ in stead of what the documentation says (same answer than request).
However, when I change my map files like this:
ON=S0100
OFF=C0100
I000010115=ON
I000010015=OFF
… I still gets the same warnings in the logs.
Can someone please help in this one?
Thx!!!