Have to restart multiple integrations regularly, need help investigating the issue

Hi all,

I’ve been having some issues with a couple of integrations.

  • Philips Hue
  • Irobot Roomba
  • Ikea Tradfri
  • DSMR Slimme Meter
  • RFXCOM

I need to restart these integrations on a regular basis to keep everything running fine. Some integrations needs to restart daily and others atter a couple of days.

Instead of daily reboots (which don’t help), I would like to know how to investigate this further so that I can fix the issue or formulate the issue better.

I hope you can help with tips to troubleshoot this.

Thanks in advance,

Ragnar-B

Edit: I’m running Home Assistant 2021.12.2 but this has been going on for a couple of weeks now. And I installed it on a Raspberry PI 4 4GB.
OS is Home Assistant OS 7.0

Not much help, but I had to restart my Hue integration last night. The night before it was the zwavejs integration. In both cases devices simply stopped responding. I’ve never had to do that before. I’m on 2021.12.2.

So I’ll be watching to see if anyone has any ideas.

I have exactly this but only for DSMR slimme meter (automated that via node red based on certain logic when detected same value during certain time).

Are you able to use home assistant when issues occur?

How do you notice problem? I’d expect some log file if integration has trouble and HA running. It should detect this condition.

These type issues I start looking at SD card first if using.

next verify system state when problem occur
Networking OK
SSH into Pi and check memory and storage. Is it full. What about cpu?

Next check any log on system during time of occurrence and also try to determine time of day it occurring. Look for pattern that may point to something . Logbook in HA may give info on times of problem as well

Yes, Home Assistant works fine when an integration stops working.

One way i noticed that in case of RXFCOM or Hue, lights doesnit turn on with the automation. Roomb doesnt start when an automation is triggered. Or that the Energy tab isnt updated with power usage if the DSMR Slimme Meter stops working.

I tried to investigate this in the logs, but i can’t find any issues in the logs. Will look again if anything comes up.

I can also reinstall Home Assistant on a new SD card, i’ve got a new one laying around.

Resources on the PI are fine, but i will match them with the time the issues occur.

I will update this weekend again, Will reinstall Home Assistant on the new SD card tomorrow.

Thanks for all the pointers.

Don’t know if those are local integrations or remote(connects through vendor server) but also consider if it is network related, as in cannot access WAN but local IPs LAN are OK.

  • DSMR Slimme Meter
    This is a USB connected to the power meter. So no network involved.

RXFcom is also USB connected (433.92MHz sender receiver)

Ikea Tradfri, Philips Hue is local connected. Irobot im not sure, i would say also local connected.

I tried to clone the SD card yesterday evening, but that failed. This evening i will try again, I have a clean install of Home Assistant OS on a new SD card and i will restore a backup from the old card to it.

I have reinstalled Home Assistant on a different SD card. I will give an update in a couple of days.

I just needed to restart couple of integrations.
(DSMR and RFXCOM)

Both are USB devices connected to the pi.

I’m going to switch the usb devices around to get the both on another bus. Maybe that will help.

I also looked at the resources on the pi, but nothing was maxed out.

I’ve been testing with moving the usb devices to other ports. And it seems that the USB3 ports are having issues.
I will test some more and I want to change the raspberry pi as well since I have the same type laying around.

I just replaced my pi, will monitor the behaviour for the next couple of days.

I still dont think it’s my network, since it’s USB devices connected to my pi that are having an issue and not a device connected over network.

I’m open to other suggestions.

So the problem has been resolved.

Someone on Reddit had the same issue as I had. And after some suggestions from Blitherakt, i changed the power supply.

I used a original raspberry power supply. Which only gives 15W, I now use a Anker usb hub which supplies 60W.

Haven’t had the issue now for some days.

Link to the Reddit post: