tldr; got gateway timeout, is the cloud service active ? or hints ?
just started with cloud connector on RPi -Zero which connect https://myopenhab.org/ with message " Your openHAB is online. Click here to access your openHAB’s dashboard"
My local openhab/java instance (lsof -i -P -n
) is connected to :
java 15173 openhab 173u IPv6 103573 0t0 TCP *:8080 (LISTEN)
java 15173 openhab 88u IPv6 103600 0t0 TCP 192.168.x.xx:42830->172.104.246.157:443 (ESTABLISHED)
Inside openhab (openHABIAN 2.4.0) logs (tracing ) I see
2022-07-21 16:25:44.145 [DEBUG] [o.openhabcloud.internal.CloudService] - openHAB Cloud connector activated
2022-07-21 16:25:44.277 [DEBUG] [o.openhabcloud.internal.CloudService] - Using secret at '/var/lib/openhab2/openhabcloud/secret' with content 'zzzzz'
2022-07-21 16:25:44.318 [DEBUG] [o.openhabcloud.internal.CloudService] - UUID = xxx, secret = zzzzz
2022-07-21 16:26:15.036 [TRACE] [io.openhabcloud.internal.CloudClient] - Transport.EVENT_REQUEST_HEADERS
2022-07-21 16:26:15.576 [DEBUG] [io.openhabcloud.internal.CloudClient] - Socket.IO connected
2022-07-21 16:26:15.607 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = xxxxx, base URL = http://localhost:8080
...
2022-07-21 16:40:57.198 [DEBUG] [io.openhabcloud.internal.CloudClient] - on(): request
2022-07-21 16:41:57.187 [DEBUG] [io.openhabcloud.internal.CloudClient] - on(): cancel
2022-07-21 16:42:53.999 [DEBUG] [io.openhabcloud.internal.CloudClient] - Sending update '12.3' for item 'xxxx´
Note: I can locally connect without problem and have restarted openHAB to be sure.
Cannot not figure out any cause on my end ?
Or should I expose my openHAB instance (which ports?) to the outside world ?
update: The cloud website https://myopenhab.org/notifications does receive explicit message notifications as executed by rules, f.e. by rules
-
sendLogNotification("sw010Switch.Test2 Changed to " + sw010Switch.state " at TimeAtStartOfDay "+ now
)
→
When | What |
---|---|
today | sw010Switch.Test2 Changed to OFF at TimeAtStartOfDay 2022-07-21T17:43:19.406+02:00 |
today | sw010Switch.Test2 Changed to ON at TimeAtStartOfDay 2022-07-21T17:43:16.986+02:00 |
today | sw010Switch.Test2 Changed to OFF at TimeAtStartOfDay 2022-07-21T17:42:03.046+02:00 |
today | sw010Switch.Test2 Changed to ON at TimeAtStartOfDay 2022-07-21T17:40:27.153+02:00 |
today | sw010Switch.Test2 Changed to OFF at TimeAtStartOfDay 2022-07-21T17:40:23.119+02:00 |
today | sw010Switch.Test2 Changed to ON at TimeAtStartOfDay 2022-07-21T17:39:25.814+02:00 |
today | sw010Switch.Test2 Changed to OFF at TimeAtStartOfDay 2022-07-21T17:39:18.256+02:00 |
TIA