home-assistant.io crashes my SBC after a while (race condition?)

56 views
Skip to first unread message

Ashok Aiyar

unread,
Jan 28, 2016, 5:20:50 PM1/28/16
to Home Assistant Dev


Hello,

I installed home-assistant.io on my Odroid XU4 two weeks ago. It was easy to configure it work with my Wink account and ecobee thermostat.  And when it works, its great.

This Odroid has an octacore processor (Samsung Exynos 5422), and 2 GB memory. It is running Ubuntu 14.04, Linux kernel 3.10.92. The Python version is 3.4. I am running home-assistant.io in daemon mode (hass --daemon)

However, within a day, the computer slows to a crawl and then crashes, requiring a hard reboot. The only thing that I've noticed is that the hass process consumes a lot of CPU (17% to >80%) before the computer slows down and then crashes. I've attached an image file showing the output of top.

What should I do to fix this?

This is what the contents of home-assistant.log shows when it starts up. BTW, although there are ecobee errors, the thermostat shows up fine in the home-assistant.io web GUI.

16-01-28 11:04:00 homeassistant.core: BusHandler:Exception doing job

Traceback (most recent call last):

  File "/usr/local/lib/python3.4/dist-packages/homeassistant/core.py", line 829, in job_handler

    func(arg)

  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/event.py", line 135, in pattern_time_change_listener

    action(now)

  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 125, in _update_entity_states

    entity.update_ha_state(True)

  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity.py", line 99, in update_ha_state

    self.update()

  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/ecobee.py", line 92, in update

    data.update()

  File "/usr/local/lib/python3.4/dist-packages/homeassistant/util/__init__.py", line 278, in wrapper

    result = method(*args, **kwargs)

  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/ecobee.py", line 125, in update

    self.ecobee.update()

  File "/home/odroid/.homeassistant/lib/pyecobee/__init__.py", line 214, in update

    self.get_thermostats()

  File "/home/odroid/.homeassistant/lib/pyecobee/__init__.py", line 116, in get_thermostats

    print("Error connecting to Ecobee while attempting to get "


Paulus Schoutsen

unread,
Jan 29, 2016, 1:19:24 AM1/29/16
to home-assi...@googlegroups.com
Any other errors logged in your home-assistant.log file? You can find it in your config directory.

It must be one of your components or platforms that is causing this. Can you post a list of the components and platforms that you use?

--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/42f773cc-7159-4574-b5ee-5acdf1ba3be3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
It's nice to be important but it's more important to be nice.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages