I use the TCP binding to speak with my Vantage lighting system. I probably have 50+ Vantage switches located throughout my home. Of those 50, probably 15 or so are tied into items within OH.
The Vantage lighting switches are addressed using a toggle. So for the example item below, VSW!1 98 2 6 toggles the switch both on and off.
A typical Vantage item looks like this…
KITCHEN
Switch Kitchen "Kitchen" [ "Switchable" ] {tcp=">[ON:10.X.X.X:3040:'MAP(kitchen.map)'],>[OFF:10.X.X.X:3040:'MAP(kitchen.map)']"}
Kitchen.map looks like this…
ON=VSW!1 98 2 6\r
OFF=VSW!1 98 2 6\r
Now that I’ve given you the background information, here’s my challenge. For every button press of the physical vantage wall switches the TCP binding hears the button press and attempts to match it via a transform file (see log below). Now remember I only have 15 switches defined as items so as you can imagine there are quite a few button pushes that go on throughout each and every day which makes for large log files.
2018-10-02 23:10:55.071 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'SW 1 121 255 1
' with the file 'bar.map' : Target value not found in map for 'SW 1 121 255 1
'
2018-10-02 23:10:55.072 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'SW 1 121 255 1
' with the file 'bar.map' : Target value not found in map for 'SW 1 121 255 1
'
2018-10-02 23:10:55.072 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'SW 1 121 255 1
' with the file 'kitchen.map' : Target value not found in map for 'SW 1 121 255 1
'
2018-10-02 23:10:55.073 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'SW 1 121 255 1
' with the file 'kitchen.map' : Target value not found in map for 'SW 1 121 255 1
'
2018-10-02 23:10:55.073 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'SW 1 121 255 1
' with the file 'dn_room.map' : Target value not found in map for 'SW 1 121 255 1
'
2018-10-02 23:10:55.074 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'SW 1 121 255 1
' with the file 'dn_room.map' : Target value not found in map for 'SW 1 121 255 1
'
2018-10-02 23:10:55.074 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'SW 1 121 255 1
' with the file 'stairs.map' : Target value not found in map for 'SW 1 121 255 1
'
2018-10-02 23:10:55.075 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'SW 1 121 255 1
' with the file 'stairs.map' : Target value not found in map for 'SW 1 121 255 1
'
2018-10-02 23:10:55.075 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'SW 1 121 255 1
' with the file 'k_bar.map' : Target value not found in map for 'SW 1 121 255 1
'
2018-10-02 23:10:55.075 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'SW 1 121 255 1
' with the file 'k_bar.map' : Target value not found in map for 'SW 1 121 255 1
'
2018-10-02 23:10:55.076 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'SW 1 121 255 1
' with the file 'lv_room.map' : Target value not found in map for 'SW 1 121 255 1
'
2018-10-02 23:10:55.076 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'SW 1 121 255 1
' with the file 'lv_room.map' : Target value not found in map for 'SW 1 121 255 1
'
2018-10-02 23:10:55.077 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'SW 1 121 255 1
' with the file '90.map' : Target value not found in map for 'SW 1 121 255 1
'
2018-10-02 23:10:55.077 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'SW 1 121 255 1
' with the file '90.map' : Target value not found in map for 'SW 1 121 255 1
'
2018-10-02 23:10:55.078 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'SW 1 121 255 1
' with the file 'cfan.map' : Target value not found in map for 'SW 1 121 255 1
'
2018-10-02 23:10:55.078 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'SW 1 121 255 1
' with the file 'cfan.map' : Target value not found in map for 'SW 1 121 255 1
'
2018-10-02 23:10:55.079 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'SW 1 121 255 1
' with the file 'off.map' : Target value not found in map for 'SW 1 121 255 1
'
2018-10-02 23:10:55.079 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'SW 1 121 255 1
' with the file 'off.map' : Target value not found in map for 'SW 1 121 255 1
'
The desired outcome is to prevent all of this extra detail in the logs…so what is the best practice in this situation. Should I write up a transform file for every switch in the house so I’m covered or is there a better way to address this??