Closed to4ko closed 4 years ago
Please post a py-spy
dump
, top
, and record
.
Please post a
py-spy
dump
,top
, andrecord
.
Could you please advice exact commands. Also - this should be run on HA restart?
https://community.home-assistant.io/t/python3-high-cpu-usage/160012/37?u=bdraco
will do it this night.
digging little bit deeper - looks like this one (i think it's one of them) causing issues
- platform: rest
resource: http://192.168.1.30:8123/api/hassio/addons/7ad98f9c_zigbee2mqtt/info
name: zigbee2mqtt_addon
value_template: '{{ value_json.data.state }}'
scan_interval: 60
headers:
Authorization: !secret mqtt_long_token
Content-Type: application/json
json_attributes_path: "$.data"
json_attributes:
- version
- version_latest
as well as this one
- platform: mqtt
name: Zigbee2mqtt Bridge Uptime
state_topic: "zigbee2mqtt_start_at"
value_template: '{{ as_timestamp(now()) - value | int }}'
unit_of_measurement: 's'
force_update: true
icon: mdi:av-timer
closing this one as it's related to myself being dumb with templates. thanks!
The problem
I'm running supervised version of HA since 0.86 just simply updating it with no any major issues, Once updated to 115.0 (and later to 115.1) i got lagging\hanging system (even gui not responding, were checking logs\restarting via portainer)
Looks like it starts at the moment of zeroconf\discovery start messages appears in log
Environment
Problem-relevant
configuration.yaml
were trying to get exact part of my config (https://github.com/to4ko/myconfig) with no major success - looks like it's somewhere in sensors, but kind of every time different part of my sensors.
Traceback/Error logs
Additional information