SSL - dostęp do HA z apki na telefonie Android nie działa

Tak, B535 internet biurowy Orange + wykupiony zewnętrzny adres.

1 polubienie

Tak, czy testowałeś wpisanie w pole ze zdjęcia tylko jednego SSID?

Tak testowałem, bez zmian.
A teraz udało mi się połączyć przez hotspot LTE z drugiego telefonu, przełączyłem na swoje wifi i póki co działa, podejrzewam że do ubicia aplikacji, a później znowu sie rozłączy.
Na tablecie tez przez chwile działo do ubicia i teraz taki kominikat.

A czy ktoś się orientuje jak albo gdzie sie zmienia priorytet adresu lokalnego?

W ustawieniach aplikacji, ale jeśli masz oba adresy jednakowe, to nie może mieć znaczenia.
Edit: W aktualnej wersji apki już nie można wyłączyć priorytetu, ale można usunąć wszystkie SSID z listy (co jak sądzę powinno usunąć priorytet połączenia lokalnego).
Lokalny adres ma zawsze priorytet jeśli jesteś połączony z jednym z wyspecyfikowanych SSID.

A ciekawi mnie jedno - czy klikanie w “odśwież publiczny adres IP” pomaga?

Pomaga ale tylko jak przełącze sie na LTE, jak jestem na wifi to nic nie pomaga. Nie wiem o co tu chodzi, działało kiedyś u mnie i na drugim telefonie tyle czasu bez problemu, może po którejś aktualizacji HA coś się wykrzaczyło

A nie zostało IP zablokowane po nieudanych próbach logowania
ip_ban_enabled: true

1 polubienie

Bana można ominąć zmieniając MAC telefonu (lub dając inny przydział DHCP w LAN).
Ustawienia DHCP w tym routerze są biedne, ale manipulując choćby pulą można osiągnąć zbliżony efekt (mam podobny router z włoskiej sieci i tam w ustawieniach naprawdę wieje biedą m.in. nie można ustawić hairpinningu ani żadnej równoważnej funkcji, co być może rozwiązałoby problem).

Nie mam takiego wpisu ip_ban_enabled więc to raczej nie to.
Na routerze w DHCP w ukrytych opcjach F12 mam ustawione DNSy na 192.168.8.162, ale jak zmieniałem na standardowe to też nic nie dawało.

Sprawdź logi, gdzieś musi być informacja dlaczego HA aktywnie odmawia połączenia,

09-18 11:46:24.657  9282  9282 D SensorReceiver: Received intent: android.net.wifi.WIFI_STATE_CHANGED
09-18 11:46:24.660  9282  9282 D SensorReceiver: Sensor wifi_state corresponding to received event android.net.wifi.WIFI_STATE_CHANGED is disabled, skipping sensors update
09-18 11:46:24.740  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:24.743  9282  9435 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=fe9cd300-0b08-40af-a4a9-d348773d035e, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
09-18 11:46:24.865  9282  9282 D SensorReceiver: Received intent: android.net.wifi.STATE_CHANGE
09-18 11:46:24.872  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:24.875  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:24.961  9282  9282 D SensorReceiver: Received intent: android.net.wifi.STATE_CHANGE
09-18 11:46:24.963  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:24.963  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:25.018  9282  9282 D SensorReceiver: Received intent: android.net.wifi.WIFI_STATE_CHANGED
09-18 11:46:25.019  9282  9282 D SensorReceiver: Sensor wifi_state corresponding to received event android.net.wifi.WIFI_STATE_CHANGED is disabled, skipping sensors update
09-18 11:46:25.098  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:25.099  9282  9435 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=75f467c3-0717-4f7f-8f48-9b9ac353d30f, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
09-18 11:46:35.727  9282 20075 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:35.727  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:35.728  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:35.728  9282 20075 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:35.730  9282 20075 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:35.730  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:35.900  9282 20075 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:35.901  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:35.903  9282 20075 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:35.904  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:35.905  9282 20075 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:35.906  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:35.946  9282  9282 D SensorReceiver: Received intent: android.intent.action.SCREEN_OFF
09-18 11:46:35.947  9282  9282 D SensorReceiver: Sensor is_interactive corresponding to received event android.intent.action.SCREEN_OFF is disabled, skipping sensors update
09-18 11:46:35.948  9282  9282 D ButtonWidget: Broadcast received: 
09-18 11:46:35.948  9282  9282 D ButtonWidget: Broadcast action: android.intent.action.SCREEN_OFF
09-18 11:46:35.948  9282  9282 D ButtonWidget: AppWidgetId: -1
09-18 11:46:35.955  9282  9282 D MediaPlayCtrlsWidget: Broadcast received: 
09-18 11:46:35.955  9282  9282 D MediaPlayCtrlsWidget: Broadcast action: android.intent.action.SCREEN_OFF
09-18 11:46:35.955  9282  9282 D MediaPlayCtrlsWidget: AppWidgetId: -1
09-18 11:46:35.995  9282 20075 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:35.997  9282  9326 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=9fee1c95-cf60-47f8-82c1-32c58e9634b3, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
09-18 11:46:36.017  9282 19090 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:36.019  9282 19090 I chatty  : uid=10219(io.homeassistant.companion.android) DefaultDispatch identical 1 line
09-18 11:46:36.020  9282 19090 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:36.028  9282 20075 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:36.029  9282 20075 I chatty  : uid=10219(io.homeassistant.companion.android) DefaultDispatch identical 1 line
09-18 11:46:36.030  9282 20075 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:36.656  9282 20075 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:46:36.669  9282 19090 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:48:07.152  9282  9282 D SensorReceiver: Received intent: android.intent.action.SCREEN_ON
09-18 11:48:07.154  9282  9282 D SensorReceiver: Sensor is_interactive corresponding to received event android.intent.action.SCREEN_ON is disabled, skipping sensors update
09-18 11:48:07.154  9282  9282 D ButtonWidget: Broadcast received: 
09-18 11:48:07.154  9282  9282 D ButtonWidget: Broadcast action: android.intent.action.SCREEN_ON
09-18 11:48:07.154  9282  9282 D ButtonWidget: AppWidgetId: -1
09-18 11:48:07.157  9282  9282 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:48:07.158  9282  9282 D MediaPlayCtrlsWidget: Broadcast received: 
09-18 11:48:07.158  9282  9282 D MediaPlayCtrlsWidget: Broadcast action: android.intent.action.SCREEN_ON
09-18 11:48:07.158  9282  9282 D MediaPlayCtrlsWidget: AppWidgetId: -1
09-18 11:48:07.159  9282  9282 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:48:07.160  9282  9282 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:48:07.284  9282 19090 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:48:07.286  9282  9326 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=5a27e48d-bd65-4fe9-b12d-c1adb6755bb1, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
09-18 11:48:49.309  9282  9282 D SensorReceiver: Received intent: android.intent.action.SCREEN_OFF
09-18 11:48:49.311  9282  9282 D SensorReceiver: Sensor is_interactive corresponding to received event android.intent.action.SCREEN_OFF is disabled, skipping sensors update
09-18 11:48:49.314  9282  9282 D ButtonWidget: Broadcast received: 
09-18 11:48:49.314  9282  9282 D ButtonWidget: Broadcast action: android.intent.action.SCREEN_OFF
09-18 11:48:49.314  9282  9282 D ButtonWidget: AppWidgetId: -1
09-18 11:48:49.321  9282  9282 D MediaPlayCtrlsWidget: Broadcast received: 
09-18 11:48:49.321  9282  9282 D MediaPlayCtrlsWidget: Broadcast action: android.intent.action.SCREEN_OFF
09-18 11:48:49.321  9282  9282 D MediaPlayCtrlsWidget: AppWidgetId: -1
09-18 11:48:49.443  9282 20075 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:48:49.449  9282  9316 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=12ce3922-b955-4cf2-9665-2f9b8357ce94, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
09-18 11:48:53.490  9282  9282 D SensorReceiver: Received intent: android.intent.action.SCREEN_ON
09-18 11:48:53.492  9282  9282 D SensorReceiver: Sensor is_interactive corresponding to received event android.intent.action.SCREEN_ON is disabled, skipping sensors update
09-18 11:48:53.493  9282  9282 D ButtonWidget: Broadcast received: 
09-18 11:48:53.493  9282  9282 D ButtonWidget: Broadcast action: android.intent.action.SCREEN_ON
09-18 11:48:53.493  9282  9282 D ButtonWidget: AppWidgetId: -1
09-18 11:48:53.496  9282  9282 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:48:53.499  9282  9282 D MediaPlayCtrlsWidget: Broadcast received: 
09-18 11:48:53.499  9282  9282 D MediaPlayCtrlsWidget: Broadcast action: android.intent.action.SCREEN_ON
09-18 11:48:53.499  9282  9282 D MediaPlayCtrlsWidget: AppWidgetId: -1
09-18 11:48:53.500  9282  9282 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:48:53.504  9282  9282 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:48:53.560  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:48:53.564  9282  9436 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=5cdeea8e-2b23-4e76-801a-07120d658f22, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
09-18 11:49:02.296  9282  9282 E mpanion.androi: Invalid ID 0x00000000.
09-18 11:49:02.438  9282 21990 D LogcatReader: Read logcat for pid 9282
09-18 11:49:02.554  9282 21990 D LogcatReader: Done reading logcat for pid 9282
09-18 11:49:06.836  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@d37a451
09-18 11:49:06.837  9282  9282 I chatty  : uid=10219(io.homeassistant.companion.android) identical 67 lines
09-18 11:49:06.840  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@d37a451
09-18 11:49:06.869  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@d37a451
09-18 11:49:06.880  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@d37a451
09-18 11:49:06.880  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@d37a451
09-18 11:49:06.896  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@d37a451
09-18 11:49:37.593  9282  9282 D SensorReceiver: Received intent: android.net.wifi.WIFI_STATE_CHANGED
09-18 11:49:37.594  9282  9282 D SensorReceiver: Sensor wifi_state corresponding to received event android.net.wifi.WIFI_STATE_CHANGED is disabled, skipping sensors update
09-18 11:49:37.672  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:49:37.674  9282  9435 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=98b40bfe-7c44-4ffe-9e92-468d65335ff8, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
09-18 11:49:37.917  9282  9282 D SensorReceiver: Received intent: android.net.wifi.WIFI_STATE_CHANGED
09-18 11:49:37.920  9282  9282 D SensorReceiver: Sensor wifi_state corresponding to received event android.net.wifi.WIFI_STATE_CHANGED is disabled, skipping sensors update
09-18 11:49:37.972  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: false
09-18 11:49:37.973  9282  9435 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=9d4ce29d-c9ee-45eb-a0af-c874029085b8, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
09-18 11:49:39.738  9282  9282 D SensorReceiver: Received intent: android.net.wifi.STATE_CHANGE
09-18 11:49:39.740  9282 19090 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:39.741  9282 19090 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:39.746  9282 19090 E SensorReceiver: Error while getting core config to sync sensor status
09-18 11:49:39.796  9282  9282 D SensorReceiver: Received intent: android.net.wifi.STATE_CHANGE
09-18 11:49:39.798  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:39.800  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:39.803  9282 20050 E SensorReceiver: Error while getting core config to sync sensor status
09-18 11:49:39.803  9282 20075 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:39.861  9282  9282 D SensorReceiver: Received intent: android.net.wifi.STATE_CHANGE
09-18 11:49:39.865  9282 20075 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:39.867  9282 20075 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:39.869  9282 20075 E SensorReceiver: Error while getting core config to sync sensor status
09-18 11:49:39.892  9282  9282 D SensorReceiver: Received intent: android.net.wifi.STATE_CHANGE
09-18 11:49:39.893  9282 20475 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:39.894  9282 20475 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:39.897  9282 20475 E SensorReceiver: Error while getting core config to sync sensor status
09-18 11:49:39.910  9282  9282 D SensorReceiver: Received intent: android.net.wifi.STATE_CHANGE
09-18 11:49:39.911  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:39.912  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:39.914  9282 21993 E SensorReceiver: Error while getting core config to sync sensor status
09-18 11:49:39.973  9282  9435 I WM-WorkerWrapper: Work [ id=437f6176-5e0e-46d9-a334-0c7ef6db852b, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ] was cancelled
09-18 11:49:39.973  9282  9435 I WM-WorkerWrapper: java.util.concurrent.CancellationException: Task was cancelled.
09-18 11:49:39.973  9282  9435 I WM-WorkerWrapper: 	at androidx.work.impl.utils.futures.AbstractFuture.cancellationExceptionWithCause(AbstractFuture.java:1184)
09-18 11:49:39.973  9282  9435 I WM-WorkerWrapper: 	at androidx.work.impl.utils.futures.AbstractFuture.getDoneValue(AbstractFuture.java:514)
09-18 11:49:39.973  9282  9435 I WM-WorkerWrapper: 	at androidx.work.impl.utils.futures.AbstractFuture.get(AbstractFuture.java:475)
09-18 11:49:39.973  9282  9435 I WM-WorkerWrapper: 	at androidx.work.impl.WorkerWrapper$2.run(WorkerWrapper.java:311)
09-18 11:49:39.973  9282  9435 I WM-WorkerWrapper: 	at androidx.work.impl.utils.SerialExecutor$Task.run(SerialExecutor.java:91)
09-18 11:49:39.973  9282  9435 I WM-WorkerWrapper: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
09-18 11:49:39.973  9282  9435 I WM-WorkerWrapper: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
09-18 11:49:39.973  9282  9435 I WM-WorkerWrapper: 	at java.lang.Thread.run(Thread.java:919)
09-18 11:49:39.987  9282  9282 D SensorReceiver: Received intent: android.net.wifi.STATE_CHANGE
09-18 11:49:39.989  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:39.990  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:39.992  9282 21990 E SensorReceiver: Error while getting core config to sync sensor status
09-18 11:49:40.011  9282  9282 D SensorReceiver: Received intent: android.net.wifi.STATE_CHANGE
09-18 11:49:40.013  9282 21988 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:40.014  9282 21988 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:40.018  9282 21988 E SensorReceiver: Error while getting core config to sync sensor status
09-18 11:49:40.067  9282  9282 D SensorReceiver: Received intent: android.net.wifi.STATE_CHANGE
09-18 11:49:40.069  9282 20071 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:40.070  9282 20071 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:40.073  9282 20071 E SensorReceiver: Error while getting core config to sync sensor status
09-18 11:49:40.150  9282  9435 I WM-WorkerWrapper: Work [ id=52e0aafd-774e-4246-a842-5c09eaea4bc0, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ] was cancelled
09-18 11:49:40.150  9282  9435 I WM-WorkerWrapper: java.util.concurrent.CancellationException: Task was cancelled.
09-18 11:49:40.150  9282  9435 I WM-WorkerWrapper: 	at androidx.work.impl.utils.futures.AbstractFuture.cancellationExceptionWithCause(AbstractFuture.java:1184)
09-18 11:49:40.150  9282  9435 I WM-WorkerWrapper: 	at androidx.work.impl.utils.futures.AbstractFuture.getDoneValue(AbstractFuture.java:514)
09-18 11:49:40.150  9282  9435 I WM-WorkerWrapper: 	at androidx.work.impl.utils.futures.AbstractFuture.get(AbstractFuture.java:475)
09-18 11:49:40.150  9282  9435 I WM-WorkerWrapper: 	at androidx.work.impl.WorkerWrapper$2.run(WorkerWrapper.java:311)
09-18 11:49:40.150  9282  9435 I WM-WorkerWrapper: 	at androidx.work.impl.utils.SerialExecutor$Task.run(SerialExecutor.java:91)
09-18 11:49:40.150  9282  9435 I WM-WorkerWrapper: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
09-18 11:49:40.150  9282  9435 I WM-WorkerWrapper: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
09-18 11:49:40.150  9282  9435 I WM-WorkerWrapper: 	at java.lang.Thread.run(Thread.java:919)
09-18 11:49:40.201  9282 26610 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:40.202  9282  9436 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=ff86c3a0-6ce8-4067-8ef1-6129cc5a5566, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
09-18 11:49:40.236  9282  9294 I mpanion.androi: Background concurrent copying GC freed 69855(3068KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 9479KB/18MB, paused 147us total 123.130ms
09-18 11:49:40.590  9282 19090 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:40.592  9282 19090 E SensorReceiver: Exception while updating sensors.
09-18 11:49:40.854  9282 20050 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:40.857  9282 20050 E SensorReceiver: Exception while updating sensors.
09-18 11:49:40.930  9282 20075 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:40.933  9282 20075 E SensorReceiver: Exception while updating sensors.
09-18 11:49:40.964  9282 20475 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:40.967  9282 20475 E SensorReceiver: Exception while updating sensors.
09-18 11:49:40.991  9282 21993 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:41.044  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:41.051  9282 21988 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:41.056  9282 20071 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:42.067  9282  9282 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:42.067  9282  9282 D UrlRepository: Using external URL
09-18 11:49:42.069  9282 20071 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:42.070  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:42.071  9282  9326 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=bf5d31cf-37e2-4a56-a3f8-833f44b6ffa5, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
09-18 11:49:42.073  9282  9483 D WebviewActivity: External bus {"type":"connection-status","payload":{"event":"disconnected"},"id":5}
09-18 11:49:42.097  9282  9326 I WM-Processor: Moving WorkSpec (a40135a0-3233-4c21-8626-9edf1906012e) to the foreground
09-18 11:49:42.107  9282 21990 D SensorWorker: Updating all Sensors in foreground.
09-18 11:49:42.109  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:42.110  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:42.115  9282  9282 I WM-SystemFgDispatcher: Started foreground service Intent { act=ACTION_START_FOREGROUND cmp=io.homeassistant.companion.android/androidx.work.impl.foreground.SystemForegroundService (has extras) }
09-18 11:49:42.236  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:42.237  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:42.238  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:42.255  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:42.256  9282 21990 I chatty  : uid=10219(io.homeassistant.companion.android) DefaultDispatch identical 2 lines
09-18 11:49:42.256  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:42.271  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:42.272  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:42.274  9282  9483 D WebviewActivity: External bus {"type":"connection-status","payload":{"event":"connected"},"id":6}
09-18 11:49:42.275  9282  9282 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:42.325  9282  9483 D WebviewActivity: External bus {"type":"theme-update","id":7}
09-18 11:49:42.332  9282  9282 D WebviewActivity: Color from webview is "#03a9f4-SPACER- #fafafa"
09-18 11:49:42.332  9282  9282 D WebviewActivity: Color from webview is "#03a9f4-SPACER- #fafafa"
09-18 11:49:42.332  9282 21990 D WebViewPresenterImpl: Try getting color from webview color "#03a9f4".
09-18 11:49:42.333  9282 21990 I WebViewPresenterImpl: Found color -16537100.
09-18 11:49:42.333  9282 21990 D WebViewPresenterImpl: Try getting color from webview color "#fafafa".
09-18 11:49:42.333  9282 21990 I WebViewPresenterImpl: Found color -328966.
09-18 11:49:42.480  9282 21990 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:42.497  9282  9435 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=a40135a0-3233-4c21-8626-9edf1906012e, tags={ io.homeassistant.companion.android.sensors.SensorWorker } ]
09-18 11:49:42.498  9282  9282 I WM-SystemFgDispatcher: Stopping foreground service
09-18 11:49:43.710  9282  9483 D WebviewActivity: External bus {"type":"config_screen/show","id":8}
09-18 11:49:43.724  9282  9282 I Timeline: Timeline: Activity_launch_request time:53771885
09-18 11:49:43.755  9282  9282 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@1157f94
09-18 11:49:43.768  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:43.769  9282  9282 I chatty  : uid=10219(io.homeassistant.companion.android) identical 83 lines
09-18 11:49:43.769  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:43.772  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:43.772  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:43.778  9282  9282 D UrlRepository: Using external URL
09-18 11:49:43.778  9282  9282 D UrlRepository: Using external URL
09-18 11:49:43.784  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:43.786  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:43.803  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:43.808  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:43.809  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:43.813  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:43.813  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:43.817  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:43.818  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:43.823  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:43.824  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:43.830  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:43.892  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:43.897  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:43.909  9282 20071 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:43.911  9282  9435 I WM-Processor: Moving WorkSpec (40180c43-d3e0-4bad-af5c-e94000d822d2) to the foreground
09-18 11:49:43.915  9282  9282 I WM-SystemFgDispatcher: Started foreground service Intent { act=ACTION_START_FOREGROUND cmp=io.homeassistant.companion.android/androidx.work.impl.foreground.SystemForegroundService (has extras) }
09-18 11:49:43.915  9282 20071 D SensorWorker: Updating all Sensors in foreground.
09-18 11:49:43.917  9282 20071 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:43.918  9282 20071 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:44.062  9282 20071 D UrlRepository: localUrl is: false and usesInternalSsid is: true
09-18 11:49:44.083  9282  9326 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=40180c43-d3e0-4bad-af5c-e94000d822d2, tags={ io.homeassistant.companion.android.sensors.SensorWorker } ]
09-18 11:49:44.084  9282  9282 I WM-SystemFgDispatcher: Stopping foreground service
09-18 11:49:46.685  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:46.690  9282  9282 I chatty  : uid=10219(io.homeassistant.companion.android) identical 64 lines
09-18 11:49:46.690  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:46.735  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:46.740  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:46.752  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:46.756  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:46.800  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:46.806  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:46.834  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:46.838  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:46.850  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:46.856  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:46.917  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:46.925  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:46.934  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:46.939  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:46.951  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:46.955  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:47.000  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:47.004  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:47.070  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:47.075  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:47.101  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:47.105  9282  9282 D ForceDarkHelper: updateByCheckExcludeList: pkg: io.homeassistant.companion.android activity: io.homeassistant.companion.android.settings.SettingsActivity@273d3f5
09-18 11:49:48.924  9282  9282 E mpanion.androi: Invalid ID 0x00000000.
09-18 11:49:49.010  9282 21988 D LogcatReader: Read logcat for pid 9282
09-18 11:49:49.148  9282 21988 D LogcatReader: Done reading logcat for pid 9282
09-18 11:49:58.807  9282 21988 D LogcatReader: Read logcat for pid 9282

Log, początek jest chyba ok bo jest z telefonu gdzie działa ok, później z tabletu gdzie działało jak miałem wifi z hotspota, a później przełączyłem na normalne wifi. Inaczej nie dało się wyciągnąć logów.

Reasumując na dwóch telefonach działał i działa Ci dostęp z aplikacji natomiast powyższe problemy dotyczą tableta?
Co to za tablet i na czym działa?

Poprawiłem log. Działa bez problemu tylko na jednym telefonie (aplikacja) Mi MIX 2S. Na tablecie dość starym Lenovo TB2-X30L android 6.0.1 nie działa prze aplikację, tak samo jak na Redmi Note5 android 9 (działało przez ponad rok), na innym starym telefonie Redmi 2 dla testów też nie działa, przez przeglądarkę działa wszędzie. Poza siecią LAN też działa wszędzie.

Przestało działać po aktualizacji aplikacji?, jeśli tak to czytałeś zmiany jakie przyniosła najnowsza aktualizacja?

To nie to, sprawdzałem wcześniejsze wersje. Pamiętam, że przez jakiś czas na tym Redmi5 miałem zalogowaną aplikację jako druga “osoba” ale też działało. Później doszedł tablet.

Radio samochodowe (android) działało i przestało, naprawiłem zmieniając:

The problem appeared to be that HA needs Android Webview. Which is now disabled by default in favor of the Google Web Engine. To disable it go to settings → developer options. If you dont have that go to settings->about and tap tap 5 times on the build number. It will tell you you are now a developer.

From the developer options that now should be available in Settings you can choose “Webview” and there you can select “Android Webview”. If that option isnt available, first install it from play store. After installing you can choose it as said above. After setting the option I rebooted to make sure and both my HA companion and worked after that.

1 polubienie

Sprawdzałem to, nie działa na tablecie. Na Redmi 5 na razie nie mam jak sprawdzić.
Ktoś się orientuje gdzie szukać tego wpisu?

Then I tried with the DHCP, this service is to reserve ip , you have to add, the host name, your ip and your mac Address

In my router the host name did not let me write it because it was a drop down and only appeared the initial part of my domain XXX and not XXX. duckdns. org.

But… using the f12 of the browser to see the source code of the router web, look for the line of a detachable:

 <option value="B6:8E:D9:64:F1:D2">XXX</option>
and change it to 
<option value="B6:8E:D9:64:F1:D2">XXX.duckdns.org</option>
and the router accepted it.
Now when I ping locally it resolves 192.168.1.xxx and when I ping outside it resolves the wan ip that I have at that moment.

I think that if a local dns service is mounted, the route is added so that your local domain xxx. duckdns. org resolves to the local ip address 192.168.1.xxx and not to the public one, then the dhcp server (router) is edited to assigning our local dns server as the first option would also be solved

W GUI twojego routera, to może być ukryte menu (to zależy od brandowania), opis jest jak się wydaje pod firefoxa, tzn. pod narzędzia developerskie przeglądarki, bo jak widać trzeba zmodyfikować na wartość, której fabryka nie przewiduje.

Oczywiście musisz szukać MACa twojego HA.

Szukałem, ale niestety nie znalazłem, a nie chce nic bardziej zepsuć.
Teraz ciekawostka, uruchomiłem ponownie HA któryś już raz i oczywiście nadal nie można się połączyć, ale dostałem powiadomienie o automatyzacji, jak to możliwe?
A może ktoś z Was wrzucić zrzut jak macie ustawione w HA w “Sieć” adresy na internet i lokalna sieć, oraz ustawienia w aplikacji towarzyszącej - informacje o połączeniu? Może mam jakieś babola.

Zrobiłem też próbę z dodatkiem NGINX jak w poście https://forum.arturhome.pl/t/problem-z-domena-i-ssl/322/29?u=michal0111
i w sieci LAN śmiga i u mnie i na Redmi5, ale teraz jest problem, że nie mogę się dostać z zewnątrz też na obu telefonach. Zrobione wszystko jak opisywał rafkan

Zauważyłem jeszcze coś. Do tej pory nie było problemu z połączeniem się z jeszcze jednyme tabletem który jest na androidzie 10, aż do dzisiaj. Wyskakuje ten sam błąd że nie może się połączyć… sprawdź ustawienia i spróbuj ponownie.
Czy możliwe jest że np router blokuje po kolei urządzenia? Tel Redmi5 działał do czasu, na tablecie starym też działało przez chwilę, na tym z 10 też działało do dzisiaj.

Edit:
Kolejna rzecz, czy jak tam ma ustawione adresy to nie powinienem się łączyć lokalnie?
haas
Oczywiście adres HA to 192.168.8.162/24 i nawet tym telefonem co zawsze się łączyłem teraz nie mogę, przez przeglądarkę na kompie działa.

Jeśli masz certyfikat ssl dla domeny xxx.duckdns.org to aplikacja odrzuci łączenie po innym url w tym przypadku IP.

ps: Gdy wejdziesz z telefonu przez przeglądarkę to przeglądarka ostrzeże, że certyfikat strony nie zgadza się z podanym w pasku adresu, ale po jakimś zatwierdzeniu otworzy Ci stronę HA.

Dokładnie tak jest, tylko dlaczego aplikacja nie chce działać w sieci lokalnej?
Czyli w obu miejscach mam mieć xxx.duckdns.org:8123?