@snille it stopped working after HA version 2021.10 when the API discovery feature was deprecated. I am running HA Supervised on one raspberry pi and MM on another raspberry pi in the same network.
Here is the config of the MM module:
{
module: 'MMM-homeassistant-sensors',
position: 'top_right',
config: {
title: 'Сензори',
rowClass: 'normal',
host: "192.168.1.19",
port: "8123",
https: true, //I have SSL enables since my instance is exposed to the Internet
token: "here_goes_my_token",
values: [
{
sensor: "sensor.bathroom_temp_temperature",
name: 'Температура',
icons: [{
"default": "thermometer"
}]
},
{
sensor: "sensor.bathroom_temp_humidity",
name: 'Влажност',
icons: [{
"default": "water-percent"
}]
},
{
sensor: "switch.bathroom_fan_1",
name: 'Вентилатор 1',
icons: [{
"on": "fan",
"off": "fan-off"
}],
replace: [{
"on": "вкл.",
"off": "изкл."
}]
},
{
sensor: "switch.bathroom_fan_2",
name: 'Вентилатор 2',
icons: [{
"on": "fan",
"off": "fan-off"
}],
replace: [{
"on": "вкл.",
"off": "изкл."
}]
},
]
}
},
Here is the changelog of HA 2021.10:
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)
In the past I was having issues with https and the local IP address and then I changed it to the DNS hostname blabla.duckdsn.org and the external port for https (443) and it was working fine until the /api/discovery_info endpoint was deprecated.