I´m using OpenHab2 on a Raspberry Pi 3 running Raspbian to control currently 2 Sonoff Basics with Tasmota flashed. They used to work perfectly fine until today, when I tried to add something new. The lights won´t turn off/on anymore. So I undid all my changes, but the problem remained. Figuring that would be the easiest way to go I reinstalled openhab and reconfigured the switches following this tutorial: https://github.com/arendst/Sonoff-Tasmota/wiki/openHAB
But it still doesn´t work and I have currently no clue whatsoever why. I guess I´m just missing something and hoping that somebody can point it out to me.
They aren´t controllable via OpenHab, but if I send the command via e.g. mqttFX they work. So they are working properly, but I failed to configure OpenHab correctly and I don´t know where my mistake is.
As suggested by @PawelGrzembka I commented the retain part out (and corrected it to a boolean value, but I already did that beforehand, just forgot to update my post).
Thanks @binderth for pointing me towards the event log. I should have started by looking into that. I had a few errors/warnings there:
15:07:07.606 [ERROR] [.ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Livingroom_Light' for widget org.eclipse.smarthome.model.sitemap.Switch
The “R” of LivingRoom_Light was supposed be a a capital one like in the items file.
Also this warning, but I guess it didn´t cause any problems (yet) 15:06:06.808 [WARN ] [.sitemap.internal.SitemapProviderImpl] - Filename myHome.sitemap does not match the name mySmarthome of the sitemap - please fix this as you might see unexpected behavior otherwise.
Now everything seems to work fine again. Thanks guys!
This time I´ll make a backup before changing anything else even though there is not much to actually make a backup of