Giter VIP home page Giter VIP logo

Comments (5)

cyberjunky avatar cyberjunky commented on June 9, 2024

Do you still have this error with latest hass and component?

from home-assistant-custom-components.

RaJeronimo avatar RaJeronimo commented on June 9, 2024

yes. but not that often. And when it's occuring all the other Toon components reports an errors to. Maybe a connection issue?

HASSIO 0.65.6

Log Details (ERROR)
Tue Mar 27 2018 04:09:28 GMT+0200 (Central Europe Daylight Time)

Update for sensor.toon_room_temp_setpoint fails
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 204, in async_update_ha_state
    yield from self.async_device_update()
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 327, in async_device_update
    yield from self.hass.async_add_job(self.update)
  File "/usr/lib/python3.6/asyncio/futures.py", line 332, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
    future.result()
  File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
    raise self._exception
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/sensor/toon_boilerstatus.py", line 149, in update
    self.data.update()
  File "/usr/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 319, in wrapper
    result = method(*args, **kwargs)
  File "/config/custom_components/sensor/toon_boilerstatus.py", line 98, in update
    self.data = requests.get(BASE_URL.format(self._host, self._port, '/boilerstatus/boilervalues.txt'), timeout=5).json()
  File "/usr/lib/python3.6/site-packages/requests/models.py", line 892, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/lib/python3.6/site-packages/simplejson/__init__.py", line 518, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.6/site-packages/simplejson/decoder.py", line 370, in decode
    obj, end = self.raw_decode(s)
  File "/usr/lib/python3.6/site-packages/simplejson/decoder.py", line 400, in raw_decode
    return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

This is the dev log in HASSIO

Update for sensor.toon_boiler_pressure fails
04:09 custom_components/sensor/toon_boilerstatus.py (ERROR)
Update for sensor.toon_boiler_setpoint fails
04:09 custom_components/sensor/toon_boilerstatus.py (ERROR)
Update for sensor.toon_boiler_intemp fails
04:09 custom_components/sensor/toon_boilerstatus.py (ERROR)
Update for sensor.toon_room_temp fails
04:09 custom_components/sensor/toon_boilerstatus.py (ERROR)
Update for sensor.toon_boiler_outtemp fails
04:09 custom_components/sensor/toon_boilerstatus.py (ERROR)
Update for sensor.toon_room_temp_setpoint fails
04:09 custom_components/sensor/toon_boilerstatus.py (ERROR)
Update for sensor.toon_boiler_modulation fails
04:09 custom_components/sensor/toon_boilerstatus.py (ERROR)
Update for climate.toon_thermostat fails
04:07 custom_components/climate/toon.py (ERROR)
Update for sensor.toon_power_use fails
04:06 custom_components/sensor/toon_smartmeter.py (ERROR)
Update for sensor.toon_power_use_cnt fails
04:06 custom_components/sensor/toon_smartmeter.py (ERROR)
Update for sensor.toon_gas_used_cnt fails
04:06 custom_components/sensor/toon_smartmeter.py (ERROR)
Update for sensor.toon_gas_used_last_hour fails
04:06 custom_components/sensor/toon_smartmeter.py (ERROR)
Update for sensor.toon_power_use fails
04:06 custom_components/sensor/toon_smartmeter.py (ERROR)
Update for sensor.toon_gas_used_last_hour fails
04:06 custom_components/sensor/toon_smartmeter.py (ERROR)

from home-assistant-custom-components.

rickvnl avatar rickvnl commented on June 9, 2024

Any solution for this @cyberjunky?
I have the same errors in 0.86.4.

from home-assistant-custom-components.

cyberjunky avatar cyberjunky commented on June 9, 2024

Is this still happening with latest code and 0.92 ?

from home-assistant-custom-components.

cyberjunky avatar cyberjunky commented on June 9, 2024

No reply

from home-assistant-custom-components.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.