Magic Mirror

I have no more error in the code. However does not pull anything and I have login error in HA.

I tried this solution(https://github.com/aserramonner/MMM-HASS/pull/13 ) but still have HA login error

I also detail some of the error here in this topic.

I have the following output error:

[00:06:50.643] [LOG]    Request URL: http://192.168.1.158:8123/api/states/sensor.caixa_dagua?api_password=juere3027
[00:06:51.232] [LOG]    Refreshed access token because it has expired. Expired at: 00:06:50 now is: 00:06:51
[00:06:51.244] [LOG]    Refreshed access token because it has expired. Expired at: 01:06:51 now is: 00:06:51
[00:06:51.412] [LOG]    { undefined: undefined, label: 'Quintal' }
[00:07:49.345] [LOG]    Request URL: http://192.168.1.158:8123/api/states/sensor.caixa_dagua?api_password=juere3027
[00:07:49.373] [LOG]    { undefined: undefined, label: 'Quintal' }

My configuration.yaml

homeassistant:
  whitelist_external_dirs:
    - /tmp
    - /config/temp/
  auth_providers:
      - type: legacy_api_password
        api_password: "juere3027"
  
      - type: trusted_networks
        trusted_networks:
          - 192.168.1.0/24
          - 127.0.0.1
          - ::1
        allow_bypass_login: true
      - type: homeassistant

my config.js

{
                module: "MMM-HASS",
                position: "top_right",
                config: {
                        host: "192.168.1.158",
                        port: "8123",
                        apipassword: "juere3027",
                        token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJkYTA5MDNjODg1N2M0OTVhYjgwZWE1OTI5YmFkOTgwNCIsImlhdCI6MTU3ODQ2MTc5MiwiZXhwIjoxODkzODIxNzkyfQ.sDGQpVvAD-0E6ZuO5ns2jDHNfq4OAg0VvCuuBpI5rqE",
                        hassiotoken: true,
                        https: false,
                        devices: [
                        { deviceLabel: "Quintal",
                                deviceReadings: [
                                { sensor: "sensor.caixa_dagua", icon: "mdi:waves", suffix: "%"}
                                
                                ]
                          }
                        
                               ]
                        }       
        
             },

PLEASE, CAN SOMEONE HELP ME. ONLY MISSING THIS MODULE TO CLOSE MY MIRROR :sob:

1 Like