I have a strange issue which keeps me struggling for weeks for now.
I installed OH 1.8.3 which is working fine. Also installed the weather binding (shows the weather forecast for the next week), the ntp service, some remote dimmers and switches, integrated the MAX thermostats, added several temperature and humidity sensors and the DSMR binding. All is working fine. System is RasPi 2 on raspbian version (at the moment) of mid january 2017. Did an apt-get installation.
I allso added SBFspot and integrated it in openhab. Excellent. But only if it works.
After a while (can’t say what the actual reason is) the connection between the SMA solarinverter and the bleutooth dongle is down. The dongle even disappears from the usb ports (lsusb shows all the usb devices like necessary for the DSMR binding or the RFXCom). Unplugging the dongle and inserting in a new port revives it for a period of time, but eventually also there the dongle is unloaded. The timeperiod actually changes between 5 minutes and 1 or 2 days. I use a seperate powered USB hub which only powers the bluetooth dongle. I checked the powersupply: 2 amps and checked if the powersupply really supplies by unhooking it from the RasPi and connecting a device which has some LEDs blinking (answer is a yes, supply works).
Latest experience: I build a rule within openhab to bump the dongle (every minute a ‘hcitool scan’ to make sure it is being accessed; time needed for the scanning is aprox 10 secs). What I notice is that the dongle stays alive for a longer period of time (which is good) but the DSMR values don’t update anymore (or at least very rarely, once every couple hours).
Now I have a feeling that there is a relation towards the DSMR binding, but…
Please help, what can be done to solve this issue or determine what is the root cause.