Closed marcelstoer closed 3 years ago
Hello @marcelstoer looks like the websocket connection has been lost maybe between the TTS and your gateway. With UDP (the old packet forwarder) the only way to maintain a connection opened was to feed it with messages, in theory websockets should solve this, but sounds like it's not being solved. Maybe we should add someone from The Things Industries here to solve this?
In hindsight I don't remember why I created this issue here. I now think it's unrelated to the Balena Basics Station but a more general usability issue maybe between Basics Station and the TTN console. Feel free to close it.
On the gateway overview both devices look fine as you've got that "connected" statement.
On the detail page you get confirmation the old device is really alive as it sends a UDP datagram every 30s.
The detail page for devices connected over websockets left me puzzled at first (coming from the UDP experience). The "last seen" time being far in the past to me suggested the device might have disappeared. Only the little blue dot indicates the device is still connected. Hence, my suggestion to send status messages regularly.
Yes! I agree that the experience is completely different and maybe frightening :)
I'm going to close the issue at the moment, and keep checking if the device keeps online with the websockets even the last seen is from hours ago.
If this is the wrong place to ask just tell me. I was considering the Balena forums but I thought since it's specific to this project GH would be more appropriate.
Just set up a Basics Station on Pi 4 with RAK2287 for the first time. I'm sold to Balena 😄 Apart from some stuff in the logs I don't yet understand (see at the bottom) the gateway seems to run fine.
However, I am a bit irritated about the TTN console showing "Last seen 30 minutes ago". The gateway is currently sitting idle on my desk (indoor) with no nodes around. Hence, no activity, no messages. The last data reported by the TTN console was the UP message
By looking at the TTN console I can't be sure the GW is really up since the last status message was receive a long time ago. I have another Pi GW (non-Balena, DIY, IMST) on TTN v3 that still uses the old Semtech packet forwarder. That stack sends a status message every 30s. Hence, the TTN console knows immediately whether the GW is still around.
How about sending a heart beat i.e. GW status every 30s with this Basics Station as well?
Logs