I am probably being an irritating noob (btw, buying you a few coffees) â but I tried to create three files in etc/openhab2/things /items and /rules using sudo nano [filename]
files are named enocean.things, enocean.items, and enocean.rules. I literally copy pasted what you put above, and then as instructed replaced XYZ with my gateway ID and ID with a random 8 character ID (e.g., abcde12a) for the thing.
Nothing is showing up in paperui. I tried stopping the service, clearing the cache, and restarting. other than an irritating wait as it came back up, nothing changed.
am I just an idiot? (Iâm pretty new to openhab, but I spent about 30 minutes looking around at posts on manually creating things and canât find anything telling me to do anything more specific than creating the file in that directory.) sorry if it is just a noob problem.
Btw â in my log, I donât see anything related to my newly created things, items and rules.
[edited to remove information about not connecting â as it turns out the usb cable was not great. I switched cables and the lightning bolt is gone and the bridge comes up immediately).
Still cannot see the newly added thigns, though.
Just to confirm, the gateway ID I am supposed to use in place of XYZ is the final part in this string, right?
enocean:bridge:aaaa2222 ( changed from the real id at the end â so if that were my Id, and my random id for the classic device were abcde12a (this is just a random ID, right?), I would put
Thing classicDevice abcde12a âHUSAâ [ senderIdOffset=123, sendingEEPId=âF6_02_01â, receivingEEPId=âF6_02_01â, broadcastMessages=true, suppressRepeating=false ] {Channels: Type virtualSwitchA:virtualSwitchA [duration=0, switchMode=ârockerSwitchâ]}
in enocean.things
and
Switch TeachInSwitch âTeachInâ
Switch Virtual_Rocker "Switch {channel=âenocean:classicDevice:aaaa2222:abcde12a:virtualSwitchAâ}
in enocean.items
)
am I understanding that right?