QNimbus / node-red-contrib-openhab-v2

MIT License
9 stars 3 forks source link

Fix for different root names of openhab event tree (Openhab 3.0.0 M5) #28

Open fredericdepuydt opened 3 years ago

fredericdepuydt commented 3 years ago

When looking into the event-stream, I noticed that my root directory/string for events wasn't 'smarthome', but 'openhab' instead. This is probably by my own doing during the setup of my installation (which I don't really recall). But since 'smarthome' isn't the only viable root string I had to apply a fix in the controller code.

I'm running on Openhab 3.0.0 M5