WisGate Connect mioty setup

I have recently received a wisgate connect for mioty and am trying to set it up as per the guide on RAKPiOS mioty®. In the base station setup when I attempt the mioty-cli getall command it returns scp:connection closed then a connection error questioning whether the connection has been started when I followed the previous steps. Is there something I have missed as the mioty connection shows up following nmcli c.

Hello Samuel

Do you mind sharing the actual output of the command as you run them on the terminal and also the version of the mioty-cli tool it reports?

Thank you

Xose Pérez

Hello Xose,

Thank you for the response, I am running mioty-cli version 0.2.7
It does seem the initial connection runs fine as following the setup command it does say that the connection was successfully activated

Following the getall command the response is:

Base station parameters
scp: Connection closed
ERROR: connection error, please check the connection is started

In addition when trying other commands, say start I get:

Starting base station
ssh: connect to host 172.30.1.2 port 22: Connection refused

Best regards,
Sam

Hello Samuel
Sorry for the delay.
We have just pushed a new version of the mioty-cli tool, just run mioty-cli update and try again from the begining.

There seems to be an issue still with the detection of the Miromico edge card as its mac address returns as 02:00:00:00:00:02, which generates a base station Id of 0s preventing a connection being setup

Hello again

The base station ID is set in the Miromico’s Edge Card and it’s modificable. But first we need to know what firmware version the card is running… can you run this ans share the output, please:

mioty-cli version
mioty-cli --verbose status
ip -o link | grep -E 'link/ether'
ls -l /sys/class/net/*/device/driver
cat /sys/bus/usb/devices/*/serial

Hi
and thank you for the response, here are the results:

rak@rakpios:~ $ mioty-cli version

Mioty CLI utility v0.4.0

rak@rakpios:~ $ mioty-cli --verbose status

[mioty-cli] usb_vid_pid=match (looking for 0x398e:0x6f3a)
[mioty-cli] http_probe http://172.30.1.2/cgi-bin/status (timeout 2s)
[mioty-cli] backend=bsm_5_1 reason=http_probe
[mioty-cli] write_model=replace reason=version version=1.1.0-rc6 threshold=1.1.0-rc9
Write model  : replace
Mode         : bs (base station)
Session      : failed (as of 2025-05-29T18:48:27Z) — 18 22:42:02 ERR bsi          error in service center interface tls configuration
Licence      : signer=miromico issued=2026-07-08T14:06:21Z valid=true (ANDed across the features below)
  feature bs  : valid=true expiry=none
{
  "version": "1.1.0-rc6",
  "date": "2026-08-20T10:23:03",
  "uptime_seconds": "1234.06",
  "device_id": "0101005334303030340104B808A87B00",
  "device_pubkey": "-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAoGXkiWa6kDESQ8n3ZUyv\nTlrq6PAfV7iFcgk9rrXlvLV57MJdkEAHN/KHaTwSP724ivIpYX0QeAgUiJByujSr\nU1StfnNTY/4aBxfsau2DIvJR6uffzk+Bkix+vcpqToRY0hZxX3r2SHJul98QCgr4\nF3xGCQqYB5hIoMtTxvE3i6b4nRM6YuDnQ3Di4HIGzJgN1BzpSVxRZkG3qApvLbnl\nuapW9kdmo14Rd6PEdd5tUZz2qehwWlbZkS2aeaP/GZkiWWOfAZGLfBtQ0P4iyKDq\nKPtMm09vQFGGhcHZpDodp9vGGA6eYngruM+m3j5Gyuf9p7q4mxkjwAYdFgIp9vEo\nRpClFO/tgga7xRnFmDeWrAj/9/UP+onUWqlXkxm6G6YhDudEtl6jHp/a6IwmJhh3\nONzgmqqHvJeGQ9cJ93WuXQG/3+wcNdrH0IkWne5m6xf2XHmTfep6nfT6CUFYaKuB\nb0SjEo98TUEI71+T/U3fOVoynAwwTn/7yS0U6da+fMFK71gqZtp9lnx6IbqhICHK\nKVW3TiUVbiu48Baw0/vLpIWY2u6tFersuuYDnFnYSrsATHmF6kviaiS1wvZmmQ4m\nbdGFoUM6ec6RcMJWhxqRsD9W2ktfxdn+GNzvDcYckMPgjSLkYR718FNTOnnut+Wo\nDjQdCfZM7xekPnCepLHUltUCAwEAAQ==\n-----END PUBLIC KEY-----"
}

rak@rakpios:~ $ ip -o link | grep -E 'link/ether'
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000\    link/ether 88:a2:9e:88:5b:df brd ff:ff:ff:ff:ff:ff
3: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000\    link/ether 02:00:00:00:00:02 brd ff:ff:ff:ff:ff:ff
4: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000\    link/ether ac:1f:09:2c:10:c8 brd ff:ff:ff:ff:ff:ff
5: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DORMANT group default qlen 1000\    link/ether 88:a2:9e:88:5b:e0 brd ff:ff:ff:ff:ff:ff
6: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default \    link/ethe 52:dd:3a:ad:ee:47 brd ff:ff:ff:ff:ff:ff
rak@rakpios:~ $ ls -l /sys/class/net/*/device/driver
lrwxrwxrwx 1 root root 0 Aug  7 20:17 /sys/class/net/eth0/device/driver -> ../../../../bus/platform/drivers/bcmgenet
lrwxrwxrwx 1 root root 0 Aug  7 20:19 /sys/class/net/eth1/device/driver -> ../../../../../../../../../bus/pci/drivers/r8169
lrwxrwxrwx 1 root root 0 Aug  7 20:19 /sys/class/net/usb0/device/driver -> ../../../../../../../../bus/usb/drivers/cdc_ether
lrwxrwxrwx 1 root root 0 Aug  7 20:19 /sys/class/net/wlan0/device/driver -> ../../../../../../../../bus/sdio/drivers/brcmfmac
rak@rakpios:~ $ cat /sys/bus/usb/devices/*/serial
79da98aa023a416591f2e7313c31fd00
207236794643
0000:05:00.0
0000:05:00.0
fe9c0000.xhci

Hello
First, mind these are release candidate versions from Miromico. You have a rc6, we have tested up to rc11 but not all version (only rc5, 9 and 11). So there might be some differences in rc6. If you cannot upgrade to rc9 or superior some instructions here might not work.
Let’s gather some more info first:

mioty-cli get uniqueBaseStationId
mioty-cli getall
mioty-cli errors 200
mioty-cli time
mioty-cli restart
mioty-cli status

If you have previously added the credentials check the connection status now. It might be just that. Otherwise we will have to set the uniqueBaseStationId and credentials again.

I will look into contacting Miromico about those newer firmware versions but in the meantime here are the responses:

rak@rakpios:~ $ mioty-cli getall

Base station parameters

uniqueBaseStationId : 00-00-00-00-00-00-00-00
baseStationName     : mioty-bsm
baseStationVendor   : (unset)
baseStationModel    : (unset)
serviceCenterAddr   : eu3.loroit.io
serviceCenterPort   : 727
tlsAuthRequired     : true
profile             : eu868

rak@rakpios:~ $ mioty-cli errors 150

{
  "lines": 150,
  "entries": [
    {
      "time": "1787230318900364",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": [
        27,
        91,
        49,
        59,
        57,
        51,
        109,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35
      ]
    },
    {
      "time": "1787230318900364",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "# MiotyBsm: SW: (v0.7.6, Jul  2 2024 12:31:09), PRU0: v11, PRU1: v8"
    },
    {
      "time": "1787230318900364",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "# (C) 2022-2024 Fraunhofer IIS, FKS, Erlangen"
    },
    {
      "time": "1787230318900364",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "###############################################################################################"
    },
    {
      "time": "1787230318900364",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": [
        27,
        91,
        48,
        109,
        67,
        67,
        49,
        50,
        54,
        48,
        58,
        32,
        80,
        97,
        114,
        116,
        78,
        117,
        109,
        98,
        101,
        114,
        58,
        32,
        48,
        120,
        50,
        56,
        44,
        32,
        80,
        97,
        114,
        116,
        86,
        101,
        114,
        115,
        105,
        111,
        110,
        58,
        32,
        48,
        120,
        49,
        50
      ]
    },
    {
      "time": "1787230318900364",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "MiotyHAT: Read EEPROM"
    },
    {
      "time": "1787230318900364",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "MiotyHAT: No Calibration Data"
    },
    {
      "time": "1787230318900364",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "CC1260: setRxGainIndex: 26"
    },
    {
      "time": "1787230318900364",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "13 17:05:30 INF trx          initializing resampler for factor 0.750 rx / 1.333 tx (requested: 228515.62, supported: 304687.50)"
    },
    {
      "time": "1787230319010597",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "MiotyHAT: using 8 tx buffers, 16 rx buffers each 512 samples: tx: 13.4 ms, rx: 26.9 ms"
    },
    {
      "time": "1787230319010597",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "MiotyHAT: apply offset to txSamples: 4112, txSamplesOffset: 16"
    },
    {
      "time": "1787230319010597",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "MiotyHAT: ready"
    },
    {
      "time": "1787230319010597",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "MiotyBsm: select ANT1"
    },
    {
      "time": "1787230319010597",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "04 07:53:49 INF trx          opened transceiver device: MiotyBsm (id: 0x04b808a8, hw: , fw: , sw: v0.7.6, Jul  2 2024 12:31:09)"
    },
    {
      "time": "1787230319010597",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "27 07:50:04 INF mac          starting MiotyMac module"
    },
    {
      "time": "1787230319010597",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "12 06:34:12 INF mrx          receiver configured"
    },
    {
      "time": "1787230319038657",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "25 20:14:41 INF bsi          starting MiotyBsScIface module"
    },
    {
      "time": "1787230319038657",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "28 22:42:56 ERR bsi          error in service center interface tls configuration"
    },
    {
      "time": "1787230319939151",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "14 20:43:12 WRN trx          MiotyHAT::callback(), maxDiffCallUsec: 28492 last sec, 28492 all, callCnt: 592, sampleCnt: 303104, rxSamples: 302592, txSamples: 306704, sampleRate: 303104 #device"
    },
    {
      "time": "1787230321035601",
      "unit": "init.scope",
      "priority": "6",
      "message": "Stopping mioty bs..."
    },
    {
      "time": "1787230321038578",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "28 22:55:46 INF root         stopping Root module"
    },
    {
      "time": "1787230321038578",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "05 03:50:11 INF sysInfo      stopping SysInfo module"
    },
    {
      "time": "1787230321041910",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "25 02:28:09 INF mps          stopping MiotyProfileSwitch module"
    },
    {
      "time": "1787230321051248",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "04 13:50:41 INF trx          stopping TransceiverBsCore module"
    },
    {
      "time": "1787230321051248",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "06 12:45:01 INF trx          MiotyHAT::close() #device"
    },
    {
      "time": "1787230321052094",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "07 01:37:06 INF trx          PcbPru1260::close() #device"
    },
    {
      "time": "1787230321052094",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "11 08:01:20 INF rxs          stopping RxSplitter module"
    },
    {
      "time": "1787230321052607",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "21 01:23:24 INF txs          stopping TxScheduler module"
    },
    {
      "time": "1787230321057200",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "14 18:03:09 INF mrx          stopping MiotyRx module"
    },
    {
      "time": "1787230321076095",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "19 02:53:48 INF mtx          stopping MiotyTx module"
    },
    {
      "time": "1787230321084108",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "19 23:36:09 INF mac          stopping MiotyMac module"
    },
    {
      "time": "1787230321090363",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "02 13:50:37 INF bsi          stopping MiotyBsScIface module"
    },
    {
      "time": "1787230321125303",
      "unit": null,
      "priority": "6",
      "message": "pru_dma_exit"
    },
    {
      "time": "1787230321125659",
      "unit": null,
      "priority": "6",
      "message": "remoteproc remoteproc0: stopped remote processor 30074000.pru"
    },
    {
      "time": "1787230321126753",
      "unit": null,
      "priority": "6",
      "message": "remoteproc remoteproc1: stopped remote processor 30078000.pru"
    },
    {
      "time": "1787230321127471",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10172.509712] pru_dma_exit"
    },
    {
      "time": "1787230321128441",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10172.512373] remoteproc remoteproc0: stopped remote processor 30074000.pru"
    },
    {
      "time": "1787230321128609",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10172.519309] remoteproc remoteproc1: stopped remote processor 30078000.pru"
    },
    {
      "time": "1787230321135527",
      "unit": null,
      "priority": "6",
      "message": "pru_dma_release"
    },
    {
      "time": "1787230321135780",
      "unit": null,
      "priority": "6",
      "message": "pru_dma_exit done"
    },
    {
      "time": "1787230321135883",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10172.526580] pru_dma_release"
    },
    {
      "time": "1787230321138816",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10172.529641] pru_dma_exit done"
    },
    {
      "time": "1787230321223719",
      "unit": "init.scope",
      "priority": "6",
      "message": "mioty-bs.service: Deactivated successfully."
    },
    {
      "time": "1787230321224759",
      "unit": "init.scope",
      "priority": "6",
      "message": "Stopped mioty bs."
    },
    {
      "time": "1787230321225169",
      "unit": "init.scope",
      "priority": "6",
      "message": "mioty-bs.service: Consumed 3.580s CPU time."
    },
    {
      "time": "1787230321236627",
      "unit": "init.scope",
      "priority": "6",
      "message": "Starting mioty bs..."
    },
    {
      "time": "1787230321272215",
      "unit": "init.scope",
      "priority": "6",
      "message": "Started mioty bs."
    },
    {
      "time": "1787230321481602",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "Signature: OK (signer: miromico)"
    },
    {
      "time": "1787230321506582",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "Device ID: OK (0101005334303030340104B808A87B00)"
    },
    {
      "time": "1787230321506582",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "Issued:    2026-07-08T14:06:21Z"
    },
    {
      "time": "1787230321506582",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "Expiry:    skipped (--no-expiry)"
    },
    {
      "time": "1787230321544610",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "Feature 'bs': licensed (no expiry)"
    },
    {
      "time": "1787230321544610",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "License valid."
    },
    {
      "time": "1787230321556849",
      "unit": null,
      "priority": null,
      "message": "NETFILTER_CFG table=filter family=2 entries=4 op=xt_replace pid=1687 subj=kernel comm=\"iptables\""
    },
    {
      "time": "1787230321557233",
      "unit": null,
      "priority": null,
      "message": "SYSCALL arch=c00000b7 syscall=208 success=yes exit=0 a0=4 a1=0 a2=40 a3=1c418920 items=0 ppid=1648 pid=1687 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=\"iptables\" exe=\"/usr/sbin/xtables-legacy-multi\" subj=kernel key=(null)"
    },
    {
      "time": "1787230321557485",
      "unit": null,
      "priority": null,
      "message": "PROCTITLE proctitle=69707461626C6573002D46"
    },
    {
      "time": "1787230321562346",
      "unit": null,
      "priority": null,
      "message": "NETFILTER_CFG table=filter family=2 entries=4 op=xt_replace pid=1688 subj=kernel comm=\"iptables\""
    },
    {
      "time": "1787230321562767",
      "unit": null,
      "priority": null,
      "message": "SYSCALL arch=c00000b7 syscall=208 success=yes exit=0 a0=4 a1=0 a2=40 a3=1b4658b0 items=0 ppid=1648 pid=1688 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=\"iptables\" exe=\"/usr/sbin/xtables-legacy-multi\" subj=kernel key=(null)"
    },
    {
      "time": "1787230321563092",
      "unit": null,
      "priority": null,
      "message": "PROCTITLE proctitle=69707461626C6573002D5000494E50555400414343455054"
    },
    {
      "time": "1787230321567951",
      "unit": null,
      "priority": null,
      "message": "NETFILTER_CFG table=filter family=2 entries=4 op=xt_replace pid=1689 subj=kernel comm=\"iptables\""
    },
    {
      "time": "1787230321568301",
      "unit": null,
      "priority": null,
      "message": "SYSCALL arch=c00000b7 syscall=208 success=yes exit=0 a0=4 a1=0 a2=40 a3=39b98b0 items=0 ppid=1648 pid=1689 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=\"iptables\" exe=\"/usr/sbin/xtables-legacy-multi\" subj=kernel key=(null)"
    },
    {
      "time": "1787230321568541",
      "unit": null,
      "priority": null,
      "message": "PROCTITLE proctitle=69707461626C6573002D5000464F525741524400414343455054"
    },
    {
      "time": "1787230321573534",
      "unit": null,
      "priority": null,
      "message": "NETFILTER_CFG table=filter family=2 entries=4 op=xt_replace pid=1690 subj=kernel comm=\"iptables\""
    },
    {
      "time": "1787230321573877",
      "unit": null,
      "priority": null,
      "message": "SYSCALL arch=c00000b7 syscall=208 success=yes exit=0 a0=4 a1=0 a2=40 a3=17dfa8b0 items=0 ppid=1648 pid=1690 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=\"iptables\" exe=\"/usr/sbin/xtables-legacy-multi\" subj=kernel key=(null)"
    },
    {
      "time": "1787230321574111",
      "unit": null,
      "priority": null,
      "message": "PROCTITLE proctitle=69707461626C6573002D50004F555450555400414343455054"
    },
    {
      "time": "1787230321575569",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "Starting mioty_bs with config: /run/mioty/bs/bsm.xml"
    },
    {
      "time": "1787230321603982",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "rmmod: ERROR: Module pru_dma is not currently loaded"
    },
    {
      "time": "1787230321623591",
      "unit": null,
      "priority": "6",
      "message": "pru_dma_init"
    },
    {
      "time": "1787230321623978",
      "unit": null,
      "priority": "6",
      "message": "pru_dma_probe"
    },
    {
      "time": "1787230321624085",
      "unit": null,
      "priority": "7",
      "message": "node: 000000003240231d"
    },
    {
      "time": "1787230321624157",
      "unit": null,
      "priority": "4",
      "message": "pru0: 0000000016615d5f"
    },
    {
      "time": "1787230321624227",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10173.012200] pru_dma_init"
    },
    {
      "time": "1787230321624496",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10173.014826] pru_dma_probe"
    },
    {
      "time": "1787230321627377",
      "unit": "busybox-klogd.service",
      "priority": "7",
      "message": "[10173.017758] node: 000000003240231d"
    },
    {
      "time": "1787230321627573",
      "unit": "busybox-klogd.service",
      "priority": "4",
      "message": "[10173.017797] pru0: 0000000016615d5f"
    },
    {
      "time": "1787230321627702",
      "unit": "busybox-klogd.service",
      "priority": "4",
      "message": "[10173.021244] pru1: 00000000b275fdb5"
    },
    {
      "time": "1787230321630736",
      "unit": null,
      "priority": "4",
      "message": "pru1: 00000000b275fdb5"
    },
    {
      "time": "1787230321630840",
      "unit": null,
      "priority": "6",
      "message": "pru_dma: request_mem_region"
    },
    {
      "time": "1787230321634625",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10173.024663] pru_dma: request_mem_region"
    },
    {
      "time": "1787230321634807",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10173.028516] pru_dma: regions requested"
    },
    {
      "time": "1787230321645504",
      "unit": null,
      "priority": "6",
      "message": "pru_dma: regions requested"
    },
    {
      "time": "1787230321645611",
      "unit": null,
      "priority": "6",
      "message": "pru_dma: shmem mapped, phys: 0x30050000, addr: 0x00000000d066da38"
    },
    {
      "time": "1787230321645688",
      "unit": null,
      "priority": "6",
      "message": "pru_dma: alloc mem, BufSizeSamples: 4096, BufSizeBytes: 16384"
    },
    {
      "time": "1787230321645758",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10173.032285] pru_dma: shmem mapped, phys: 0x30050000, addr: 0x00000000d066da38"
    },
    {
      "time": "1787230321645917",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10173.039426] pru_dma: alloc mem, BufSizeSamples: 4096, BufSizeBytes: 16384"
    },
    {
      "time": "1787230321667688",
      "unit": null,
      "priority": "6",
      "message": "pru_dma: addr: 0000000080eb1d63, dma_addr: 0xBCC80000 266240 bytes"
    },
    {
      "time": "1787230321667997",
      "unit": null,
      "priority": "6",
      "message": "pru_dma: mem init done: 66560"
    },
    {
      "time": "1787230321668090",
      "unit": null,
      "priority": "6",
      "message": "pru_dma: dma mem alloced"
    },
    {
      "time": "1787230321668160",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10173.049969] pru_dma: addr: 0000000080eb1d63, dma_addr: 0xBCC80000 266240 bytes"
    },
    {
      "time": "1787230321668418",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10173.057573] pru_dma: mem init done: 66560"
    },
    {
      "time": "1787230321668550",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10173.061594] pru_dma: dma mem alloced"
    },
    {
      "time": "1787230321676944",
      "unit": null,
      "priority": "6",
      "message": "remoteproc remoteproc1: powering up 30078000.pru"
    },
    {
      "time": "1787230321678067",
      "unit": null,
      "priority": "6",
      "message": "remoteproc remoteproc1: Booting fw image mioty_bsm_pru1_upp.out, size 122644"
    },
    {
      "time": "1787230321678881",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10173.065195] remoteproc remoteproc1: powering up 30078000.pru"
    },
    {
      "time": "1787230321685516",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10173.071241] remoteproc remoteproc1: Booting fw image mioty_bsm_pru1_upp.out, size 122644"
    },
    {
      "time": "1787230321685747",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10173.079414] remoteproc remoteproc1: remote processor 30078000.pru is now up"
    },
    {
      "time": "1787230321692464",
      "unit": null,
      "priority": "6",
      "message": "remoteproc remoteproc1: remote processor 30078000.pru is now up"
    },
    {
      "time": "1787230321693371",
      "unit": null,
      "priority": "6",
      "message": "remoteproc remoteproc0: powering up 30074000.pru"
    },
    {
      "time": "1787230321698270",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10173.086437] remoteproc remoteproc0: powering up 30074000.pru"
    },
    {
      "time": "1787230321698677",
      "unit": null,
      "priority": "6",
      "message": "remoteproc remoteproc0: Booting fw image mioty_bsm_pru0_upp.out, size 101628"
    },
    {
      "time": "1787230321699593",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10173.092394] remoteproc remoteproc0: Booting fw image mioty_bsm_pru0_upp.out, size 101628"
    },
    {
      "time": "1787230321713834",
      "unit": null,
      "priority": "6",
      "message": "remoteproc remoteproc0: remote processor 30074000.pru is now up"
    },
    {
      "time": "1787230321714845",
      "unit": null,
      "priority": "6",
      "message": "pru_dma: pru mc mapped, phys: 0x30043000, addr: 0x0000000003737878"
    },
    {
      "time": "1787230321714943",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10173.100763] remoteproc remoteproc0: remote processor 30074000.pru is now up"
    },
    {
      "time": "1787230321715174",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10173.107815] pru_dma: pru mc mapped, phys: 0x30043000, addr: 0x0000000003737878"
    },
    {
      "time": "1787230321725079",
      "unit": null,
      "priority": "6",
      "message": "pru_dma: pru shmem init done"
    },
    {
      "time": "1787230321725201",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10173.115065] pru_dma: pru shmem init done"
    },
    {
      "time": "1787230321729044",
      "unit": null,
      "priority": "6",
      "message": "pru_dma: uio registered"
    },
    {
      "time": "1787230321729326",
      "unit": "busybox-klogd.service",
      "priority": "6",
      "message": "[10173.119418] pru_dma: uio registered"
    },
    {
      "time": "1787230321733871",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "20 04:44:20 INF root"
    },
    {
      "time": "1787230321733871",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "  ##      ##  @@    @@@   ##########     ##"
    },
    {
      "time": "1787230321733871",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "    ##  ####  @@  @@          ##    ## ##      Base Station"
    },
    {
      "time": "1787230321733871",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "      ##  ##  @@  @@      @@  ##     ##        Core"
    },
    {
      "time": "1787230321733871",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "          ##  @@    @@@@@@    ##   ##          5.1.0"
    },
    {
      "time": "1787230321778261",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "18 00:57:31 INF root         starting Root module"
    },
    {
      "time": "1787230321778968",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "26 17:29:45 INF rtcp         starting ReConServerTcp module"
    },
    {
      "time": "1787230321779441",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "01 12:10:39 INF sysInfo      starting SysInfo module"
    },
    {
      "time": "1787230321779441",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "01 12:25:59 INF rhttp        starting ReConServerHttp module"
    },
    {
      "time": "1787230321779441",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "04 14:55:49 INF rtcp         recon tcp server running on port 4200"
    },
    {
      "time": "1787230321779441",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "05 07:11:39 INF rhttp        recon http server running on port 8080"
    },
    {
      "time": "1787230321780394",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "07 20:31:34 INF mps          starting MiotyProfileSwitch module"
    },
    {
      "time": "1787230321780394",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "08 20:18:49 INF mps          active profile switched to \"eu868\""
    },
    {
      "time": "1787230321881640",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "26 18:10:36 INF txs          starting TxScheduler module"
    },
    {
      "time": "1787230321881640",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "28 21:54:30 INF rxs          starting RxSplitter module"
    },
    {
      "time": "1787230321881640",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "30 10:02:35 INF rxs          initializing frequency shifter 0 for shift by 0.00 Hz"
    },
    {
      "time": "1787230321881640",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "31 07:49:05 INF trx          starting TransceiverBsCore module"
    },
    {
      "time": "1787230321904547",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "18 12:24:45 INF mrx          starting MiotyRx module"
    },
    {
      "time": "1787230322073552",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "27 08:35:47 INF trx          MiotyHAT::init() #device"
    },
    {
      "time": "1787230322073552",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "30 01:58:21 INF trx          PcbPru1260::init() #device"
    },
    {
      "time": "1787230322078258",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": [
        27,
        91,
        49,
        59,
        57,
        51,
        109,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35,
        35
      ]
    },
    {
      "time": "1787230322078258",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "# MiotyBsm: SW: (v0.7.6, Jul  2 2024 12:31:09), PRU0: v11, PRU1: v8"
    },
    {
      "time": "1787230322078258",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "# (C) 2022-2024 Fraunhofer IIS, FKS, Erlangen"
    },
    {
      "time": "1787230322078258",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "###############################################################################################"
    },
    {
      "time": "1787230322078258",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": [
        27,
        91,
        48,
        109,
        67,
        67,
        49,
        50,
        54,
        48,
        58,
        32,
        80,
        97,
        114,
        116,
        78,
        117,
        109,
        98,
        101,
        114,
        58,
        32,
        48,
        120,
        50,
        56,
        44,
        32,
        80,
        97,
        114,
        116,
        86,
        101,
        114,
        115,
        105,
        111,
        110,
        58,
        32,
        48,
        120,
        49,
        50
      ]
    },
    {
      "time": "1787230322078258",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "MiotyHAT: Read EEPROM"
    },
    {
      "time": "1787230322078258",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "22 01:50:56 INF mac          starting MiotyMac module"
    },
    {
      "time": "1787230322080496",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "MiotyHAT: No Calibration Data"
    },
    {
      "time": "1787230322080496",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "CC1260: setRxGainIndex: 26"
    },
    {
      "time": "1787230322080496",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "17 15:00:29 INF trx          initializing resampler for factor 0.750 rx / 1.333 tx (requested: 228515.62, supported: 304687.50)"
    },
    {
      "time": "1787230322093689",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "05 03:34:00 INF mtx          starting MiotyTx module"
    },
    {
      "time": "1787230322112797",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "10 20:59:29 INF bsi          starting MiotyBsScIface module"
    },
    {
      "time": "1787230322112797",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "28 05:10:47 ERR bsi          error in service center interface tls configuration"
    },
    {
      "time": "1787230322150727",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "MiotyHAT: using 8 tx buffers, 16 rx buffers each 512 samples: tx: 13.4 ms, rx: 26.9 ms"
    },
    {
      "time": "1787230322150727",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "MiotyHAT: apply offset to txSamples: 4112, txSamplesOffset: 16"
    },
    {
      "time": "1787230322150727",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "MiotyHAT: ready"
    },
    {
      "time": "1787230322150727",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "MiotyBsm: select ANT1"
    },
    {
      "time": "1787230322150727",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "25 11:27:47 INF trx          opened transceiver device: MiotyBsm (id: 0x04b808a8, hw: , fw: , sw: v0.7.6, Jul  2 2024 12:31:09)"
    },
    {
      "time": "1787230322182408",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "09 19:42:20 INF mrx          receiver configured"
    },
    {
      "time": "1787230323119656",
      "unit": "mioty-bs.service",
      "priority": "6",
      "message": "18 12:43:56 WRN trx          MiotyHAT::callback(), maxDiffCallUsec: 29667 last sec, 29667 all, callCnt: 592, sampleCnt: 303104, rxSamples: 302592, txSamples: 306704, sampleRate: 303104 #device"
    },
    {
      "time": "1787230376745361",
      "unit": "systemd-journald.service",
      "priority": "6",
      "message": "Forwarding to syslog missed 192 messages."
    }
  ]
}

rak@rakpios:~ $ mioty-cli time

Card time set to 2026-08-20T13:04:09 UTC

rak@rakpios:~ $ mioty-cli restart

Restarting base station

rak@rakpios:~ $ mioty-cli status

Write model  : replace
Mode         : bs (base station)
Session      : failed (as of 2026-08-20T13:04:24Z) — 10 10:36:09 ERR bsi          error in service center interface tls configuration
Licence      : signer=miromico issued=2026-07-08T14:06:21Z valid=true (ANDed across the features below)
  feature bs  : valid=true expiry=none
{
  "version": "1.1.0-rc6",
  "date": "2026-08-20T13:04:32",
  "uptime_seconds": "10923.11",
  "device_id": "0101005334303030340104B808A87B00",
  "device_pubkey": "same as before"
}

Confirmed, the EUI is all set to 0. But it can be reset so I’d recommend you to do the following:

  1. Get from loroit (eu3.loroit.io):
  • the EUI-64 registered for this base station — or register one if it doesn’t exist yet
  • the matching client certificate and key, plus their CA
  1. Set the EUI on the card (lowercase, with the EUI you just got):
mioty-cli set uniqueBaseStationId 9c-65-f9-ff-fe-xx-xx-xx
mioty-cli get uniqueBaseStationId
  1. Write the certs to the gateway with the exact names and push them to the Edge Card:
mioty-cli cert /path/to/root_ca.cer
mioty-cli cert /path/to/bstation.cer
mioty-cli cert /path/to/bstation.key
  1. Restart
mioty-cli restart
mioty-cli status

It should connect. Might take a while.

Hello @DaPa
Did you get it working?

Yes, sorted.
Thanks for your help!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.