Hi all. I have been using OpenHab for about 4 years now. I have been seeing some strange things after upgrading to 2.4. My light will switch on at random and my bathroom extractor fan that is controlled by a sonof basic will switch on and off at a rapid pace almost like a PWM signal but it seems to be MQTT signals it is getting. Has anybody else seen this ?
Hi. Thanks for the reply.
I am using the old 1.x binding for MQTT as I did not have time to figure out the new method. Is there an issue with using the version 1 binding and should I move to the new 2.4 version ?
Where can I find the event logs that I should have a look at ?
I have only 1 rule and that is to switch on a light stand at 6 en switch it off at 12.
None that I know of. But the two versions are completely different. Knowing which one you are using is vital to help figure out the problem.
Either the time is really messed up on this machine, you had OH installed using apt up until March and then switched to a manual installation for some reason, or you have a very broken OH install. The logs don’t just stop without some change you made or something going wrong. Without the logs we cannot hope to help diagnose this problem.
Hi. I had Openhab 1 installed on the same Pi and did an Upgrade 2 years ago. OpenHab is working and all is fine. Only issue I have is the app will not work all the time. I get a lot of service down issues but I guess that is the cloud service being down. If I go to the web interface all works 100%. Where do I check the config to sdee where the log files should be saved ? The time is correct on the Pi. I have other systems running on it as well like EMONCMS and it draws the charts 100% according to the time.
The reason I suspect OpenHab is when the extractor fan goes into the on off mode I see the button on the Openhab dashboard also jump from on to off in sync with what the fan is doing. I thought maybe somebody hacked my OpenHab cloud account and was remote controlling my devices.
But if you haven’t changed this file there is something very big and very fundamentally wrong with your setup. If you are on an SD card, you might consider your SD card is wearing out or corrupted due to a loss of power.
I killed Mosquitto en it stopped. So I need to figure out where this is coming from. I deleted the log files and it created a new one when I restarted OH2
I don’t know MQTT logs, but the one you showed earlier appears to me to be all incoming status changes i.e. its not a case of OH spewing commands to the extractor, its the broker fabricating them or the tasmota spewing them.
Maybe someone with more MQTT experience would confirm that.
My money would be with the tasmota - confident there is a good WiFi signal? Anythiing close at hand to interfere (like an electrically noisy fan)?
OK so its seems I found what the problem was. I used Node Red to switch of the extractor after 20 min. This worked for 2 years. But is seems that after the 2.0.4 upgrade something changed and it made the integration not work correctly. I now use the Expire binding in Openhab itself and it seems to be stable again.