(Mon 9th Feb 2026 10:11)
Well couldn't compile but display and LoRaWAN code at the same time. So I will persevere this morning :) Let's log this fault BackLog (from NuLab) or switch to Bugzilla?
Let's install Bugzilla on sionnach via TigerVNC Viewer on rhubarb laptop.
http://bugzilla.readthedocs.io/en/latest/installing/quick-start.html
Hurrah after missing file (/etc/mysql/conf.d/bugzilla.cnf) and folder (/var/www/webapps/data) resolved Bugzilla is now live.
(12:00) Off for a celebratory walk now. I will migrate bugs from BackLog to Bugzilla as I work on them :)
 |
| Need to create a Tola Smart Home user and database next |
(15:36) Successfully created first bug report:
http://192.168.1.153/bugzilla/show_bug.cgi?id=1
 |
| First Tola Smart Home bug report in Bugzilla |
Fixed this bug by not including #include <Wire.h> so just commented it out and closed bug #1
But now would like to use VSC with integrated Github support to write, download and debug code. Looks like Arduino CLI should enable this: https://arduino.github.io/arduino-cli/1.4/
(18:06) I will then refactor my code and make it mode modular for re-usability. Amárach
(Sun 8th Feb 2026 14:26)
So leave the gateway for now and get 2x Heltec Vision Master E290 going in Arduino.
But first fix up slan-031 to tx every 10 mins (rather than every 15s) and to display stuff for first transmission. In Arduino IDE it's board: Heltec "CubeCell-Board Plus (HTCC-AB02)"
 |
| Heltec CubeCell-Board Plus (HTCC-AB02) Pin Out |
 |
| Circuit diagram of slan-031 |
(Sun 8th Feb 2026 13:26)
Next to get gateway on Ethernet and turn off WiFi.
Connecting to 4f00dab6411df9abd9d9166cbb1c5cde...
Spawning shell...
=============================================================
Welcome to balenaOS
=============================================================
root@4f00dab:~# nmcli
wlan0: connected to TolaPark5G
"wlan0"
wifi (brcmfmac), B8:27:EB:E9:35:B4, hw, mtu 1500
ip4 default
inet4 192.168.1.182/24
route4 192.168.1.0/24 metric 600
route4 default via 192.168.1.1 metric 600
inet6 fd4c:2987:22a0::47f/128
inet6 fd25:407b:381c:0:1023:e3f0:7f52:c864/64
inet6 fd4c:2987:22a0:0:1c38:5e60:285:e0e5/64
inet6 fe80::4878:a26d:1000:4c02/64
route6 fd25:407b:381c::/64 via fe80::4a5d:35ff:fef6:d1a8 metric 600
route6 fd4c:2987:22a0::47f/128 metric 600
route6 fd4c:2987:22a0::/48 via fe80::22f1:b2ff:fe5c:d4a metric 600
route6 fe80::/64 metric 1024
route6 fd4c:2987:22a0::/64 metric 600
supervisor0: connected (externally) to supervisor0
"supervisor0"
bridge, 02:42:51:7F:B1:2D, sw, mtu 1500
inet4 10.114.104.1/25
route4 10.114.104.0/25 metric 0
p2p-dev-wlan0: disconnected
"p2p-dev-wlan0"
wifi-p2p, hw
eth0: unavailable
"0424 7800"
ethernet (lan78xx), B8:27:EB:BC:60:E1, hw, mtu 1500
balena0: unmanaged
"balena0"
bridge, 02:42:0B:A7:D1:8E, sw, mtu 1500
resin-dns: unmanaged
"resin-dns"
bridge, 6E:5C:E1:9A:7D:84, sw, mtu 1500
lo: unmanaged
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
resin-vpn: unmanaged
"resin-vpn"
tun, sw, mtu 1500
DNS configuration:
servers: 192.168.1.1
domains: fritz.box
interface: wlan0
servers: fd4c:2987:22a0::1 fd25:407b:381c:0:4a5d:35ff:fef6:d1a8
interface: wlan0
Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.
Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details.
root@4f00dab:~#
root@4f00dab:~#
So Balena Console shows WiFi (wlan0) going well but no Ethernet (eth0) connection.
So after connecting up RJ45 lead to Fritz!Box I then got...
root@4f00dab:~# nmcli
eth0: connected to Wired connection 1
"0424 7800"
ethernet (lan78xx), B8:27:EB:BC:60:E1, hw, mtu 1500
ip4 default
inet4 192.168.1.202/24
route4 192.168.1.0/24 metric 100
route4 default via 192.168.1.1 metric 100
inet6 fd4c:2987:22a0::a3a/128
inet6 fd25:407b:381c:0:b405:53de:1ed:a1f8/64
inet6 fd4c:2987:22a0:0:a91d:3544:96f:22c2/64
inet6 fe80::f4c7:a40f:962e:d5e8/64
route6 fe80::/64 metric 1024
route6 fd4c:2987:22a0::/48 via fe80::22f1:b2ff:fe5c:d4a metric 100
route6 fd25:407b:381c::/64 via fe80::4a5d:35ff:fef6:d1a8 metric 100
route6 fd4c:2987:22a0::a3a/128 metric 100
route6 fd4c:2987:22a0::/64 metric 100
wlan0: connected to TolaPark5G
"wlan0"
wifi (brcmfmac), B8:27:EB:E9:35:B4, hw, mtu 1500
inet4 192.168.1.182/24
route4 192.168.1.0/24 metric 600
route4 default via 192.168.1.1 metric 600
inet6 fd4c:2987:22a0::47f/128
inet6 fd25:407b:381c:0:1023:e3f0:7f52:c864/64
inet6 fd4c:2987:22a0:0:1c38:5e60:285:e0e5/64
inet6 fe80::4878:a26d:1000:4c02/64
route6 fd25:407b:381c::/64 via fe80::4a5d:35ff:fef6:d1a8 metric 600
route6 fd4c:2987:22a0::47f/128 metric 600
route6 fd4c:2987:22a0::/48 via fe80::22f1:b2ff:fe5c:d4a metric 600
route6 fe80::/64 metric 1024
route6 fd4c:2987:22a0::/64 metric 600
supervisor0: connected (externally) to supervisor0
"supervisor0"
bridge, 02:42:51:7F:B1:2D, sw, mtu 1500
inet4 10.114.104.1/25
route4 10.114.104.0/25 metric 0
p2p-dev-wlan0: disconnected
"p2p-dev-wlan0"
wifi-p2p, hw
balena0: unmanaged
"balena0"
bridge, 02:42:0B:A7:D1:8E, sw, mtu 1500
resin-dns: unmanaged
"resin-dns"
bridge, 6E:5C:E1:9A:7D:84, sw, mtu 1500
lo: unmanaged
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
resin-vpn: unmanaged
"resin-vpn"
tun, sw, mtu 1500
DNS configuration:
servers: 192.168.1.1
domains: fritz.box
interface: eth0
servers: fd4c:2987:22a0::1 fd25:407b:381c:0:4a5d:35ff:fef6:d1a8
interface: eth0
servers: 192.168.1.1
domains: fritz.box
interface: wlan0
servers: fd4c:2987:22a0::1 fd25:407b:381c:0:4a5d:35ff:fef6:d1a8
interface: wlan0
Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.
Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details.
root@4f00dab:~#
(13:44) So just need to disable WiFi (wlan0) connection now and ensure I can reboot to eth0.
root@4f00dab:~#
root@4f00dab:~# date
Sun Feb 8 13:45:04 UTC 2026
root@4f00dab:~# nmcli radio wifi
enabled
root@4f00dab:~# nmcli radio wifi off
Ooops! Lost connection
But waiting a few mins then refreshing Balena Clod page re-established connection..
Connecting to 4f00dab6411df9abd9d9166cbb1c5cde...
Spawning shell...
=============================================================
Welcome to balenaOS
=============================================================
root@4f00dab:~# date
Sun Feb 8 13:49:21 UTC 2026
root@4f00dab:~# nmcli
eth0: connected to Wired connection 1
"0424 7800"
ethernet (lan78xx), B8:27:EB:BC:60:E1, hw, mtu 1500
ip4 default
inet4 192.168.1.202/24
route4 192.168.1.0/24 metric 100
route4 default via 192.168.1.1 metric 100
inet6 fd4c:2987:22a0::a3a/128
inet6 fd25:407b:381c:0:b405:53de:1ed:a1f8/64
inet6 fd4c:2987:22a0:0:a91d:3544:96f:22c2/64
inet6 fe80::f4c7:a40f:962e:d5e8/64
route6 fd25:407b:381c::/64 via fe80::4a5d:35ff:fef6:d1a8 metric 100
route6 fd4c:2987:22a0::a3a/128 metric 100
route6 fd4c:2987:22a0::/48 via fe80::22f1:b2ff:fe5c:d4a metric 100
route6 fe80::/64 metric 1024
route6 fd4c:2987:22a0::/64 metric 100
supervisor0: connected (externally) to supervisor0
"supervisor0"
bridge, 02:42:51:7F:B1:2D, sw, mtu 1500
inet4 10.114.104.1/25
route4 10.114.104.0/25 metric 0
wlan0: unavailable
"wlan0"
wifi (brcmfmac), 52:83:40:6F:38:59, sw disabled, hw, mtu 1500
p2p-dev-wlan0: unavailable
"p2p-dev-wlan0"
wifi-p2p, sw disabled, hw
balena0: unmanaged
"balena0"
bridge, 02:42:0B:A7:D1:8E, sw, mtu 1500
resin-dns: unmanaged
"resin-dns"
bridge, 6E:5C:E1:9A:7D:84, sw, mtu 1500
lo: unmanaged
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
resin-vpn: unmanaged
"resin-vpn"
tun, sw, mtu 1500
DNS configuration:
servers: 192.168.1.1
domains: fritz.box
interface: eth0
servers: fd4c:2987:22a0::1 fd25:407b:381c:0:4a5d:35ff:fef6:d1a8
interface: eth0
Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.
Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details.
root@4f00dab:~#
root@4f00dab:~#
So last test to power off and then on! Excellent all works and removed 2x 18560 UPS from RPi3. So ready to take it to Drumgeely once I have 2nd LoRaWAN temperature sensor and all have been boxed up :)
 |
| Balena Cloud for late-meadow (eth0 and no UPS) |
 |
| RPi3 and RAK2245 LoRaWAN gateway (Balena/TTN) |
(Sun 8th Feb 2026 9:49)
This morning I'm going to prepare late-meadow and 2x LoRaWAN sensors to take with me to Drumgeely.
Will get LoRaWAN sensor going first with gateway as is (i/e/WiFi not Ethernet)
10:22:44.045 -> Copyright @2019-2020 Heltec Automation.All rights reserved.
10:22:44.310 -> name:slan-031_HTCC-AB02_BME680 built:Sun 20th July 2025 13:18 version:1.06
10:22:44.310 ->
10:22:44.310 -> AT Rev 1.3
10:22:44.310 -> +AutoLPM=1
10:22:44.310 ->
10:22:44.310 -> +LORAWAN=1
10:22:44.310 ->
10:22:44.310 -> +KeepNet=0
10:22:44.310 -> +OTAA=1
10:22:44.310 -> +Class=A
10:22:44.310 -> +ADR=1
10:22:44.310 -> +IsTxConfirmed=1
10:22:44.310 -> +AppPort=8
10:22:44.310 -> +DutyCycle=15000
10:22:44.310 -> +ConfirmedNbTrials=4
10:22:44.310 -> +ChMask=0000000000000000000000FF
10:22:44.343 -> +DevEui=70B3D57ED004ADB9(For OTAA Mode)
10:22:44.343 -> +AppEui=0000000000000000(For OTAA Mode)
10:22:44.343 -> +AppKey=3B45BA293945C9C1C6ACC00C61D9E6A5(For OTAA Mode)
10:22:44.343 -> +NwkSKey=15B1D0EFA463DFBE3D11181E1EC7DA85(For ABP Mode)
10:22:44.343 -> +AppSKey=D72C78758CDCCABF55EE4A778D16EF67(For ABP Mode)
10:22:44.343 -> +DevAddr=007E6AE1(For ABP Mode)
10:22:44.343 ->
10:22:44.343 ->
10:22:44.343 -> LoRaWAN EU868 Class A start!
10:22:44.343 ->
10:22:44.475 -> joining...joined
10:22:50.660 ->
10:22:50.660 -> Starting I2CDemo example program for BME680
10:22:50.660 -> - Initializing BME680 sensor
10:22:50.660 -> - Setting 16x oversampling for all sensors
10:22:50.693 -> - Setting IIR filter to a value of 4 samples
10:22:50.693 -> - Setting gas measurement to 320°C for 150ms
10:22:50.693 ->
10:22:50.693 -> 33.92°C 100.00%Hum 680.13hPa 130.02m 8121.46mOhm
10:22:51.949 -> 19.88°C 57.72%Hum 997.71hPa 130.19m 148.76mOhm
10:22:53.241 -> 20.12°C 57.77%Hum 997.69hPa 130.36m 147.91mOhm
10:22:54.530 -> 100x (Temperature+30)= 5012 C, 100x Humidity= 5776 %, 100x Pressure= 99769 Pa, BatteryVoltage:4052 mV, 1000x Gas=147910
10:22:54.530 -> confirmed uplink sending ...
10:22:59.891 -> received unconfirmed downlink: rssi = -59, snr = 14, datarate = 5
So what device is this? All good from above log it's slan-031 and it is successfully sending data.. and I have a TTN IotPanel connection to graph it on my phone :)
But it's sending data too often. I want every 10 mins not every 10 secs...
So next to use Arduino to change this
(Sat 7th Feb 2026 19:45)
Final attempt is to put old software release on RPi4 and use the VARIABLE settings from the late-meadow gateway which is working in Tola Park. (See above images)
I tried but failed (see below images). So I leave this for now and pack away the RAK2245 with other LoRaWAN stuff and re=use RPi4 to drive a 7" touch display :)
Changed my mind! Decided to work through instructions below using Balena CLI
https://docs.balena.io/learn/getting-started/raspberrypi4-64/nodejs/
Got CLI going but it was just for a "Hello World" webserver
(Fri 6th Feb 2026 11:00)
Tried to get LoRaWAN gateway working over ethernet. But failed wouldn't connect to Balena. So took it home.
Tried at home with lots of BasicStation images but I could never get the BasicStation code to execute on the RPi4. The Host login always worked. Gave up in the end. Maybe hardware broken? Tried old RAK board from Kilnageer. But same result,
(Mid-Jan 2026)
This combination was working in the Drumgeely 40' container but as of Jan 2026 wasn't.
So I started to investigate how to fix it.