After updating my HA installation to the latest version it keeps on warning “Login attempt or request with invalid authentication from 192.168.2.xxx”, even if the request came from within my local home network.
I know it has something to do with trusted network settings in configuration.yaml but I prefer disabling this warning message completely. Is this possible and if so, can anyone explain me how?
You can change the log level by component, check the logger docs.
However I’d highly suggest to not diasble the logs for this but instead fix your config. Otherwise you will not notice when some hacker or any lther thrird party tries to access your system. It should also be easy to fix it through adding your local network as a trusted network, see the authentication docs.
Thanks for helping! Following your advice I have added below code to configuration.yaml:
auth_providers:
- type: trusted_networks
trusted_networks:
- 192.168.2.108/24
- 127.0.0.1
- ::1
allow_bypass_login: true
My MagicMirror connects to HA from 192.168.2.108 and still causes the authentication warning. Can you help me telling what I am doing wrong?