That means your HA isn’t running. Check the logs when you restart and fix the errors that appear. Post your whole restart log not just one that looks suspicious
HA is running. It’s up because it still controls lights and stuff and it’s moving. There is nothing wrong there.
I will get you the full log…
Tell me one thing. I deleted the app today about 10-12 times and reinstalled. I never have to fill in any login data after reinstallation. Where is that info stored? The first time it always starts. After that it’s done. Unlike my laptop. Nada there.
For the iPhone it should ask every time because cache is removed on deletion. I don’t know how the Android app works. It’s pretty new. You can try clearing your browser cache on your phone because they are normally shared resources. But what keeps throwing me off is that you say your computer doesn’t connect.
Are you 100% sure your router didn’t change the ip?
yes. I have checked the IP from the router side and it tells me that Home Assistant is on 192.168.1.132. Plus I reserved the IP address for Home Assistant in the router. So it doesn’t move.
my log all:
2020-09-20 19:38:41 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for sonoff 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-09-20 19:38:41 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for clean_up_snapshots_service 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-09-20 19:38:41 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-09-20 19:38:52 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.
2020-09-20 19:39:18 ERROR (MainThread) [homeassistant.components.weather] The openweathermap platform for the weather integration does not support platform setup. Please remove it from your config.
2020-09-20 19:39:18 ERROR (MainThread) [homeassistant.components.sensor] The openweathermap platform for the sensor integration does not support platform setup. Please remove it from your config.
2020-09-20 19:40:31 ERROR (MainThread) [custom_components.sonoff.sonoff_cloud] Cloud WS exception: {'action': 'update', 'deviceid': '100097393e', 'apikey': '80ad0d79-6bc1-429e-956b-429e3b066222', 'userAgent': 'device', 'sequence': '1600641629787', 'ts': 0, 'params': {'sledOnline': 'on'}, 'from': 'device', 'seq': '2239'}
Traceback (most recent call last):
File "/config/custom_components/sonoff/sonoff_cloud.py", line 234, in _connect
await self._process_ws_msg(resp)
File "/config/custom_components/sonoff/sonoff_cloud.py", line 155, in _process_ws_msg
await self._set_response(data)
File "/config/custom_components/sonoff/sonoff_cloud.py", line 66, in _set_response
assert 'error' in data, data
AssertionError: {'action': 'update', 'deviceid': '100097393e', 'apikey': '80ad0d79-6bc1-429e-956b-429e3b066222', 'userAgent': 'device', 'sequence': '1600641629787', 'ts': 0, 'params': {'sledOnline': 'on'}, 'from': 'device', 'seq': '2239'}
2020-09-20 20:10:42 ERROR (MainThread) [homeassistant.components.ipp] Error fetching ipp data: Invalid response from API: Timeout occurred while connecting to IPP server.
2020-09-20 20:12:23 ERROR (MainThread) [custom_components.sonoff.sonoff_cloud] Coolkit API error: Cannot connect to host us-api.coolkit.cc:8080 ssl:default [Connection reset by peer]
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 936, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore # noqa
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1050, in create_connection
transport, protocol = await self._create_connection_transport(
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1080, in _create_connection_transport
await waiter
File "/usr/local/lib/python3.8/asyncio/selector_events.py", line 846, in _read_ready__data_received
data = self._sock.recv(self.max_size)
ConnectionResetError: [Errno 104] Connection reset by peer
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/sonoff/sonoff_cloud.py", line 147, in _api
r = await coro
File "/usr/local/lib/python3.8/site-packages/aiohttp/client.py", line 480, in _request
conn = await self._connector.connect(
File "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 523, in connect
proto = await self._create_connection(req, traces, timeout)
File "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 858, in _create_connection
_, proto = await self._create_direct_connection(
File "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 1004, in _create_direct_connection
raise last_exc
File "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 980, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 943, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host us-api.coolkit.cc:8080 ssl:default [Connection reset by peer]
I logged out on my app on my phone (iOS) and reinstalled the app. Then it asks for the login credentials and the ip address. Then I get connected to a live HA. So I am 100% sure that the IP is right…
So I was thinking to do the same with my laptop but howdy you logout if you can’t get in…
btw if the ip is different you get a 404 page not found… But I get a HA logo with retry (funny guys).
That’s browser caching the old information, you’re not actually talking with HA at that moment. It’s a static image that is presented by the browser in the event that you cannot connect to HA. If you CTRL+F5 on the page it will show you "404 not found"
if it cannot be found.
If I use the IP address in the browser of my iPad or iPhone it gives no issues. And HA is live. So why can’t I clear the browser of my laptop. I copied the address of the login screen to my laptop and that worked but after login it bounced.
you can, CTRL+F5.
Not sure if that works for a Mac
Command+Shift+R
I don’t have a mac, I"m just using google. This page says it’s a separate hotkey
Command+Option+E or Command+R
still the retry screen
is your laptop on the same network as your home assistant?
Yes. Laptop via WiFi and HA via Ethernet cable
Strange enough no problems in the browser of my iPad. Incl a screen refresh
Both safari
I don’t know what to tell you then.
But the app on the iPad has the same issue as on the phone. Do a refresh and it’s locked into the loop of retry and it will not come out. Need to delete the app!
Browser on the phone no issue either. Phantom issue
And one other thing. Once in everything works. So no broken functionality.
The last thing I installed was Grafana with InfluxDB. I might throw it out as well.
I have tried to login on my laptop via google chrome and I could . So why is that? The screen is not very optimized for Chrome because colors and sizes are different but I could get in… Weird stuff
Edit:
I have installed Firefox on my laptop and that works fine. So at least I can continue.
For some miracle reason the app on my iPhone is working flawlessly. However the same app on my IPad still has refresh issues and loops into the retry mode. And Safari on my laptop doesn’t work and both I traced back the an authorisation issue for which I got a notification now:
I don’t know what it entails but there must be something there. Might be in connection with the tokens. I need a specialist for that…
Thanks for talking me through . I can be rather impatient at times.
Do you have scheduler card installed? If so, see:
If not: disregard my message!
Hello,
No I don’t.
-Keith