(Hassio core-2021.2.2) - No logbook entries found?

Hi All

I just noticed that my sensors now say:
image
These was all working before? its like something has broken in the integration to MQTT

I can see the MQTT is running:
image

I don’t know how to troubleshoot this? HA is running I can turn things on and off
I just don’t have any log information about the events of Doors open closing etc.
I can see the sensor works UI shows open closed its just not logged?
This happened after some of the last 3 updates

Any help would be much appreciated :slight_smile:
I also noticed that my “Monitor” BT is showing 100% even if I turn it of, status is not updated?

Assuming you have not excluded the sensor from the recorder, look in the configuration / logs menu. Do you see any database errors?

Could this be caused by a broken integration - I use a Smarthing HUB as my Z-wave access point for HA running on a VM and so far it have been working great.
I just re-enabled the integration with a new token and opened the door sensor same issue

My logs doesn’t show much:

Error handling request

9:05:05 PM – components/synology_dsm/camera.py (ERROR) - message first occurred at 9:04:41 PM and shows up 3 times

You are using a custom integration for fordpass which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.

8:56:06 PM – loader.py (WARNING)

Cannot add switch.hub_stue_android_tv as this would exceed the 150 device limit. Consider using the filter option

8:53:54 PM – HomeKit (WARNING) - message first occurred at 8:53:54 PM and shows up 13 times

Unexpected error whilst trying to connect to accessory. Will retry.

8:52:39 PM – /usr/local/lib/python3.8/site-packages/aiohomekit/controller/ip/connection.py (ERROR) - message first occurred at 8:51:43 PM and shows up 2 times

Uncaught thread exception

8:52:34 PM – /usr/src/homeassistant/homeassistant/bootstrap.py (ERROR) - message first occurred at 8:51:40 PM and shows up 2 times

TemplateError(‘UndefinedError: ‘None’ has no attribute ‘state’’) while processing template ‘Template("{%set list2 = “0”,“Clear sky”,“Fair”,“Partly cloudy”,“Cloudy”,“Rain showers”,“Rain showers and thunder”,“Sleet showers”,“Snow showers”,“Rain”,“Heavy rain”,“Heavy rain and thunder”,“Sleet”,“Snow”,“Snow and thunder”,“Fog”,“16”,“17”,“18”,“19”,“Sleet showers and thunder”,“Snow showers and thunder”,“Rain and thunder”,“Sleet and thunder”,“Light rain showers and thunder”,“Heavy rain showers and thunder”,“Light sleet showers and thunder”,“Heavy sleet showers and thunder”,“Light snow showers and thunder”,“Heavy snow showers and thunder”,“Light rain and thunder”,“Light sleet and thunder”,“Heavy sleet and thunder”,“Light snow and thunder”,“Heavy snow and thunder”,“35”,“36”,“37”,“38”,“39”,“Light rain showers”,“Heavy rain showers”,“Light sleet showers”,“Heavy sleet showers”,“Light snow showers”,“Heavy snow showers”,“Light rain”,“Light sleet”,“Heavy sleet”,“Light snow”,“Heavy snow”%}{{list2[states.sensor.weather_symbol.state|int]}}")’ for attribute ‘_state’ in entity ‘sensor.yrwthr’

8:51:53 PM – template (ERROR)

Error while processing template: Template("{%set list2 = “0”,“Clear sky”,“Fair”,“Partly cloudy”,“Cloudy”,“Rain showers”,“Rain showers and thunder”,“Sleet showers”,“Snow showers”,“Rain”,“Heavy rain”,“Heavy rain and thunder”,“Sleet”,“Snow”,“Snow and thunder”,“Fog”,“16”,“17”,“18”,“19”,“Sleet showers and thunder”,“Snow showers and thunder”,“Rain and thunder”,“Sleet and thunder”,“Light rain showers and thunder”,“Heavy rain showers and thunder”,“Light sleet showers and thunder”,“Heavy sleet showers and thunder”,“Light snow showers and thunder”,“Heavy snow showers and thunder”,“Light rain and thunder”,“Light sleet and thunder”,“Heavy sleet and thunder”,“Light snow and thunder”,“Heavy snow and thunder”,“35”,“36”,“37”,“38”,“39”,“Light rain showers”,“Heavy rain showers”,“Light sleet showers”,“Heavy sleet showers”,“Light snow showers”,“Heavy snow showers”,“Light rain”,“Light sleet”,“Heavy sleet”,“Light snow”,“Heavy snow”%}{{list2[states.sensor.weather_symbol.state|int]}}")

8:51:53 PM – helpers/template.py (ERROR)

Error doing job: Task exception was never retrieved

8:51:50 PM – helpers/entity.py (ERROR)

Entity id already exists - ignoring: sensor.landroid_gurli_battery

8:51:36 PM – Sensor (ERROR) - message first occurred at 8:51:36 PM and shows up 3 times

Legacy XMPP 0.9 protocol detected.

8:51:35 PM – /usr/local/lib/python3.8/site-packages/slixmpp/basexmpp.py (WARNING) - message first occurred at 8:51:34 PM and shows up 4 times

Using slower stringprep, consider compiling the faster cython/libidn one.

8:51:32 PM – /usr/local/lib/python3.8/site-packages/slixmpp/stringprep.py (WARNING)

Platform input_boolean does not generate unique IDs. ID fan_scheduler_2 already exists - ignoring input_boolean.fan_scheduler_2

8:51:32 PM – Input boolean (ERROR)

The Door sensor works:
image
But logs show:

I also noticed that the log file is growing at a very fast rate…
image
I will delete it and try to open it after a reboot

Ok forget the last part I had forgot that I enabled logger:

Same thing with the Philips Hue they work but no history available:
image
It looks like the temp sensors show data logs?
image
I have managed to keep updating HA and I really dont want to start over fresh - to many settings and automations (I was just started to migrate them to the UI)

How can I check if this is somehow excluded?
I havent found that option? (I have turned of Logger:)

You have a number of problems with your configuration according to that error log.

From broken integrations to duplicate entities to poorly configured templates. You need to fix them all.

Believe it or not the list was allot longer I fixed many by just deleting old setting in the configuration file (But even with errors I have never experienced that no logging for events was stopped?)
Do you see anything specific that would cause such an error - promise I will do my best to solve them all if possible)

This is my log settings anything that is wrong:

# Enables support for tracking state changes over time
history:

# Enables support for tracking state changes over time.
# https://www.home-assistant.io/integrations/recorder/

recorder:
  purge_keep_days: 60
  include:
    domains:
      - sensor
      - switch

# Delete events and states older than 2 weeks
#  purge_days: 14

# View all events in a logbook
logbook:

By only including these two domains:

recorder:
  purge_keep_days: 60
  include:
    domains:
      - sensor
      - switch

You have excluded all others. Which is why you are not seeing any history for binary sensors.

ARGH! I am an idiot - I did that to troubleshoot HA and somehow belived it would create extra logging for these two…

On the positive site you motivated me to fix all my errors and I now only have two left that I can not fix


But they look to be part of the OS in my VM so dont think I can fix them

Again thanks for spending time on me!

1 Like