Hardware: Rasberry Pi 3B
openHAB version: OH 2.5
I have a configured “modbus:tcp:remoteTCP” bridge and Thing that deliver data from a modbus device. While the whole day it’s working pretty fine and openhab is getting the values. Unfortunately the Modbus device is doing at midnight something like a “reboot/refresh” so that openhab is freezing the communication. The value will no longer received. To get the communication back again, I have to save my .things file another time, then it’s working until next midnight.
My question: Is there a method to Renew/restart Bridge connection with a “time” based rule? With this i could start connection from new after midnight.
command ? If that is the case you could use a linux cron job or an openhab cron entry to touch the file.
To restart a binding others in the forum use linux cron job to restart a binding via karaf console.