Closed bluenazgul closed 1 year ago
I would suggest to enable debug logging first (see last section of the readme) to see what discovery routine finds or skips. That should give some insights.
switch.sky_receiver_led: Auto discovered model (manufacturer=TP-Link, model=HS110(EU)) 2022-11-30 08:37:46.375 DEBUG (MainThread) [custom_components.powercalc] switch.sky_receiver_led: Model not found in library, skipping discovery
2022-11-30 08:37:46.362 DEBUG (MainThread) [custom_components.powercalc.power_profile.model_discovery] switch.home_wohnzimmer_do_not_disturb: Auto discovered model (manufacturer=google_home, model=None) 2022-11-30 08:37:46.362 DEBUG (MainThread) [custom_components.powercalc] switch.home_wohnzimmer_do_not_disturb: Model not found in library, skipping discovery
2022-11-30 08:37:46.385 DEBUG (MainThread) [custom_components.powercalc.power_profile.model_discovery] media_player.echo_wohnzimmer: Auto discovered model (manufacturer=Amazon, model=ECHO A7WXQPH584YP) 2022-11-30 08:37:46.385 DEBUG (MainThread) [custom_components.powercalc] media_player.echo_wohnzimmer: Model not found in library, skipping discovery
2022-11-30 08:37:46.385 DEBUG (MainThread) [custom_components.powercalc.power_profile.model_discovery] media_player.echo_kuche: Auto discovered model (manufacturer=Amazon, model=ECHO A32DOYMUN6DTXA) 2022-11-30 08:37:46.385 DEBUG (MainThread) [custom_components.powercalc] media_player.echo_kuche: Model not found in library, skipping discovery
manufacturer and model information is used to check against the known powercalc library.
https://github.com/bramstroker/homeassistant-powercalc/blob/master/docs/supported_models.md
It checks the model_id (as seen in model id column) or any of the known aliases.
HS110(EU)
may be added as an alias for HS110
to make that autodiscovery work correctly. This can be added in https://github.com/bramstroker/homeassistant-powercalc/blob/master/custom_components/powercalc/data/tp-link/HS110/model.json.
You may go ahead and make a PR for that if you can do that.
For the Google Home no model is available in device information of HA. This is an issue of Google Home integration, there is not something I can do about that. I use the Google Cast integration in HA and that one provides the correct device information.
Amazon echo's are not in the library yet so they won't be discovered.
You only shared 4 lines from the logs. But there should be a lot more so you can check these the same as I did by looking at the manufacturer= and model= information.
@bluenazgul Did you see my comments? Does it help?
I have autodiscovery enabled and integrations for
But several Devices itself are Not shown / detected in Powercalc as they are:
Did I missed Something important or do i have to add them somehow my self to powercalc?
My two IKEA Symfonsik are both detected automatic.