I have the Mios binding working fine in OH2. I’ve added a door sensor to Vera and would like to use it in OH2.
I’ve tried unsuccessfully to re-generate the items file from Vera, but is there a way to just manually add the item/parameters? It is an Ecolink Door and Window Sensor. Below is a few lines from my items file, but they appear to be incorrect because I cannot see the values in my sitemap (via the Openhab app).
Items file:
String SouthPatioDoor "Side Patio Door" <door> (Deck) {mios="unit:house,device:215/service/SecuritySensor1/ArmedTripped"}
DateTime SouthDoorLastUpdate "Side Last Update [%1$ta, %1$tm/%1$te %1$tR]" <calendar> (Deck) {mios="unit:house,device:215/service/HaDevice1/LastTrip"}
Number SouthBatteryLevel "Side Battery Level [%d]" (Deck) {mios="unit:house,device:215/service/HaDevice1/BatteryLevel"}