home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.23k stars 30.58k forks source link

Received invalid command: energy/info #54060

Closed pimw1 closed 3 years ago

pimw1 commented 3 years ago

The problem

Since the update from 2021.7.x to 2021.8.1, i get the following error:

Logger: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/connection.py:89 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 14:08:51 (1 occurrences) Last logged: 14:08:51

[2964440448] Received invalid command: energy/info

I am not aware of any functional impact.

What is version of Home Assistant Core has the issue?

core-2021.8.1

What was the last working version of Home Assistant Core?

core-2021.7.3

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Home Assistant WebSocket API

Link to integration documentation on our website

https://developers.home-assistant.io/docs/api/websocket/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

pimw1 commented 3 years ago

Regarding energy/info: i've setup the energy dashboard 2 hours ago, but no data flowing in. I think it's related to this error. I'm using the DSMR Slimme Meter for grid consumption. I'm using two TP-Link HS110 plus one Shelly 2.5 as "individual devices" (all three setup as "total" kWh sensors).

image

pimw1 commented 3 years ago

I did something silly. The energy/info error dissapeared two hours after removing the DSMR sensors sensor.energy_consumption_tarif_1 and sensor.energy_consumption_tarif_2 from the recorder exclude list in configuration.yaml, and restarting home assistant. The dashboard is also populating now.

@all: if you have the same issue: please make sure that you have a valid energy sensor populating the recorder.

I’ll close the issue.