I was not able to connect to Home Assistant this morning. On my webbrowser it just showed the home assistant icon and below it a button “retry”. The app on my iphone it didn’t show anything at all. The screen was just black. Although I couldn’t reach the interface, my automations were still all working fine. I decided I would give my RPi a reboot to see if this would fix the issue. After the power was back on, nothing changed. This time also my automations stopped working.
At this point I can’t reach home assistant with DuckDNS, but also not with the local link. I don’t know what to do here, any ideas?
Thanks!
check your home-assistant.log file in your configuration directory for errors and fix those.
I only have debug messages from my roomba and 3 warnings (custom integration … which has not been tested) in the log. I can’t find any errors here…
2020-11-24 12:21:40 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-11-24 12:21:40 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-11-24 12:21:41 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for customizer which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-11-24 12:31:10 DEBUG (MainThread) [homeassistant.components.roomba] Importing Roomba #0 - 192.168.2.6
2020-11-24 12:31:10 DEBUG (MainThread) [roomba.roomba] CONTINUOUS connection
2020-11-24 12:31:10 DEBUG (MainThread) [roomba.mqttclient] Setting TLS certificate
2020-11-24 12:31:10 DEBUG (MainThread) [homeassistant.components.roomba] Initialize connection to vacuum
2020-11-24 12:31:10 DEBUG (SyncWorker_17) [roomba.roomba] Connecting to 192.168.2.6, attempt 1
2020-11-24 12:31:12 DEBUG (Thread-6) [roomba.mqttclient] Connected to Roomba 192.168.2.6, response code = 0
2020-11-24 12:31:12 INFO (Thread-6) [roomba.roomba] Connecting to Roomba 192.168.2.6
2020-11-24 12:31:12 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: wifistat, b'{"state":{"reported":{"netinfo":{"dhcp":true,"addr":3232236038,"mask":4294967040,"gw":3232236286,"dns1":3232236286,"dns2":0,"bssid":"64:cc:22:70:c7:13","sec":4}}}}'
2020-11-24 12:31:12 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: wifistat, b'{"state":{"reported":{"wifistat":{"wifi":1,"uap":false,"cloud":1}}}}'
2020-11-24 12:31:12 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: wifistat, b'{"state":{"reported":{"netinfo":{.......}}}}'
2020-11-24 12:31:12 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: wifistat, b'{"state":{"reported":{"wlcfg":{"sec":7,"ssid":"........."}}}}'
2020-11-24 12:31:12 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: wifistat, b'{"state":{"reported":{"mac":"........"}}}'
2020-11-24 12:31:12 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: $aws/things/3166481810326630/shadow/update, b'{"state":{"reported":{"country": "NL"}}}'
2020-11-24 12:31:12 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: $aws/things/3166481810326630/shadow/update, b'{"state":{"reported":{"cloudEnv": "prod"}}}'
2020-11-24 12:31:12 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: $aws/things/3166481810326630/shadow/update, b'{"state":{"reported":{"svcEndpoints":{"svcDeplId": "v011"}}}}'
2020-11-24 12:31:12 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: $aws/things/3166481810326630/shadow/update, b'{"state":{"reported":{"mapUploadAllowed":true}}}'
2020-11-24 12:31:12 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: wifistat, b'{"state":{"reported":{"localtimeoffset":60,"utctime":1606217474,"pose":{"theta":-2,"point":{"x":0,"y":0}}}}}'
2020-11-24 12:31:12 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: $aws/things/3166481810326630/shadow/update, b'{"state":{"reported":{"batPct":100,"dock":{"known":false},"bin":{"present":true,"full":false},"audio":{"active":false}}}}'
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: $aws/things/3166481810326630/shadow/update, b'{"state":{"reported":{"cleanMissionStatus":{"cycle":"none","phase":"charge","expireM":0,"rechrgM":0,"error":0,"notReady":0,"mssnM":87,"sqft":20,"initiator":"localApp","nMssn":283},"language":0,"noAutoPasses":false,"noPP":false,"ecoCharge":false}}}'
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] State updated to: Charging
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: $aws/things/3166481810326630/shadow/update, b'{"state":{"reported":{"vacHigh":false,"binPause":true,"carpetBoost":true,"openOnly":false,"twoPass":false,"schedHold":false,"lastCommand":{"command":"start","time":1606138806,"initiator":"localApp"}}}}'
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] State updated to: Charging
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: $aws/things/3166481810326630/shadow/update, b'{"state":{"reported":{"langs":[{"en-UK":0},{"fr-FR":1},{"es-ES":2},{"it-IT":3},{"de-DE":4},{"ru-RU":5}],"bbnav":{"aMtrack":98,"nGoodLmrks":10,"aGain":32,"aExpo":53},"bbpanic":{"panics":[14,8,8,8,8]},"bbpause":{"pauses":[13,0,0,0,0,0,0,15,15,15]}}}}'
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] State updated to: Charging
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: $aws/things/3166481810326630/shadow/update, b'{"state":{"reported":{"bbmssn":{"nMssn":283,"nMssnOk":201,"nMssnC":76,"nMssnF":6,"aMssnM":27,"aCycleM":29},"bbrstinfo":{"nNavRst":52,"nMobRst":0,"causes":"0000"}}}}'
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] State updated to: Charging
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: $aws/things/3166481810326630/shadow/update, b'{"state":{"reported":{"cap":{"pose":1,"ota":2,"multiPass":2,"pp":1,"binFullDetect":1,"langOta":1,"maps":1,"edge":1,"eco":1,"svcConf":1},"hardwareRev":3,"sku":"R960040","batteryType":"li26","soundVer":"32","uiSwVer":"4582","navSwVer":"01.12.01#1"}}}'
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] State updated to: Charging
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: $aws/things/3166481810326630/shadow/update, b'{"state":{"reported":{"wifiSwVer":"20992","mobilityVer":"5806","bootloaderVer":"4042","umiVer":"6","softwareVer":"v2.4.6-3","tz":{"events":[{"dt":1604232000,"off":60},{"dt":1616893201,"off":120},{"dt":1635642001,"off":60}],"ver":9}}}}'
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] State updated to: Charging
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: $aws/things/3166481810326630/shadow/update, b'{"state":{"reported":{"timezone":"Europe/Amsterdam","name":"Sjaak","cleanSchedule":{"cycle":["none","none","none","none","none","none","none"],"h":[3,10,10,10,10,10,3],"m":[0,0,0,0,0,0,0]}}}}'
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] State updated to: Charging
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: $aws/things/3166481810326630/shadow/update, b'{"state":{"reported":{"bbchg3":{"avgMin":94,"hOnDock":4266,"nAvail":670,"estCap":7451,"nLithChrg":195,"nNimhChrg":0,"nDocks":153},"bbchg":{"nChgOk":192,"nLithF":0,"aborts":[0,0,0]}}}}'
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] State updated to: Charging
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: $aws/things/3166481810326630/shadow/update, b'{"state":{"reported":{"bbswitch":{"nBumper":14391,"nClean":657,"nSpot":71,"nDock":153,"nDrops":621}}}}'
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] State updated to: Charging
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: $aws/things/3166481810326630/shadow/update, b'{"state":{"reported":{"bbrun":{"hr":143,"min":42,"sqft":573,"nStuck":33,"nScrubs":90,"nPicks":705,"nPanics":391,"nCliffsF":12057,"nCliffsR":2592,"nMBStll":3,"nWStll":1,"nCBump":0},"bbsys":{"hr":4480,"min":27}}}}'
2020-11-24 12:31:13 DEBUG (Thread-6) [roomba.roomba] State updated to: Charging
2020-11-24 12:31:16 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: wifistat, b'{"state":{"reported":{"signal":{"rssi":-57,"snr":32}}}}'
2020-11-24 12:31:16 DEBUG (Thread-6) [roomba.roomba] State updated to: Charging
2020-11-24 12:31:22 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: wifistat, b'{"state":{"reported":{"signal":{"rssi":-61,"snr":27}}}}'
2020-11-24 12:31:22 DEBUG (Thread-6) [roomba.roomba] State updated to: Charging
2020-11-24 12:31:28 DEBUG (Thread-6) [roomba.roomba] Received Roomba Data 192.168.2.6: wifistat, b'{"state":{"reported":{"signal":{"rssi":-58,"snr":30}}}}'
2020-11-24 12:31:28 DEBUG (Thread-6) [roomba.roomba] State updated to: Charging
Have you tried clearing the cache on the browser?
I’ve been checking the logs for a while and restarted the pi a couple of times to see if I could find any errors. I didn’t notice anything in particular that might be causing the issue. I noticed that I was filtering the log in my configuration.yaml so I set it to:
logger:
default: info
I was able to reach my home assistant page for about an hour yesterday and today it started working again after a reboot of the pi, but I don’t know for how long. My automations seem to keep working while I can’t reach the webpage.
Clearing the browser doesn’t do anything. I also tried connecting via incognito, but it gave me a different error “403 forbidden”.
I also noticed that my router IP address was in the ip_bans file. There was also a different IP address of which I am not sure what it is.
I believe that means that you are logging in with the wrong credentials.
remove that IP address and restart HA. Then try logging in again.
I did remove it, but yesterday I got the same problem. I cleared the banned IP from the ip_bans file. I don’t have to fill in my credentials anywhere, but it still gave me this error “Too many login attempts from my router ip” in the notifications window of home assistant. I don’t know what I am doing wrong here. Can I somehow prevent this ban from happening?
you should look in your configuration.yaml file under the http: section to see if ip+bans is enabled there. if it is you should disable it.
You should also look here: I'm locked out! - Home Assistant for info on getting you back into the system.