UNSOLVED MMM-homeassistant-sensors stopped working after HA 2021.10 update
Has anyone figured out how to fix MMM-homeassistant-sensors to work with HA 2021.10 version?
I believe that the module was using API Discovery which is now deprecated:
The API endpoint /api/discovery_info now only return blank values. This endpoint is scheduled to be removed in Home Assistant Core 2022.1. As a regular user of Home Assistant, this change should not affect you. (@ludeeus - #56097) (api docs)
JohnBachini last edited by
yep, I’m holding off updating homeassistant so this doesn’t happen…
Yeah, but the new versions of HA have some nice features and improvements and it is a shame that the MMM module is not being updated to support the new authentication methods.
@ivanov_d that sucks! I just installed the module and learned it outdated
@asifnabi Where are you getting the errors?
I’m on Core Version core-2022.2.8 and Supervisor Version supervisor-2022.01.1 and it works.
@snille i get fetching error. I am using duckdns to access locally so got rid of port option, is that why I’m getting this error?
@asifnabi Hi, if you don’t specify the port, it will default to port 8123. And if you are using ssl (https) you need the port to be set to 443. Otherwise it will not work.
So, either do not use ssl (https) and you can skip the port option (because it will default to 8123).
Or use ssl (https) but then you need to specify the port option to 443.
Both options are working for me at least. I hope this clarify things…
@snille thank you! That solved my problem. It’s now streaming data from HA. I have a question, can I achieve something like this with your module? I’m talking about Mail & Package section. Can it fetch image like that?
@asifnabi Hi, not with my module “only”, but if you have the information in HA, you can get it to the mirror using my module. I also believe there are modules that do fetch package data to the mirror directly, I just have not used any.
Take a look here: https://github.com/MichMich/MagicMirror/wiki/3rd-Party-Modules