I have a LIGHTING4 switch from Everflourish that takes somewhat peculiar commands. On is OFF_12
, off is OFF_4.
I found that out by listening to the remote.
How can I combine these commands into one item without using rules? I tried the following
items:
String EF282965 (switches) { rfxcom=">282965:LIGHTING4.PT2262:Command" } String EF283733 (switches) { rfxcom=">283733:LIGHTING4.PT2262:Command" } String EF283925 (switches) { rfxcom=">283925:LIGHTING4.PT2262:Command" }
sitemap:
Selection item=EF282965 label="Green switch 1" mappings=[OFF_4="OFF", OFF_12="ON"] Selection item=EF283733 label="Green switch 2" mappings=[OFF_4="OFF", OFF_12="ON"] Selection item=EF283925 label="Green switch 3" mappings=[OFF_4="OFF", OFF_12="ON"]
But I get the following errors:
2016-01-28 23:41:11.587 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item EF283733 for widget org.openhab.model.sitemap.Selection
2016-01-28 23:41:11.591 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item EF283733 for widget org.openhab.model.sitemap.Selection
2016-01-28 23:41:11.593 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item EF283733 for widget org.openhab.model.sitemap.Selection
2016-01-28 23:41:11.595 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item EF283733 for widget org.openhab.model.sitemap.Selection
2016-01-28 23:41:11.598 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item EF283925 for widget org.openhab.model.sitemap.Selection
2016-01-28 23:41:11.600 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item EF283925 for widget org.openhab.model.sitemap.Selection
2016-01-28 23:41:11.602 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item EF283925 for widget org.openhab.model.sitemap.Selection
2016-01-28 23:41:11.604 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item EF283925 for widget org.openhab.model.sitemap.Selection
2016-01-28 23:41:17.041 [WARN ] [.w.internal.servlet.CmdServlet] - Received command 'OFF_12' for item 'EF283733', but the item does not exist in the registry
Am I taking the wrong approach?