Thingsboard Integration Problem

I have set up Chirpstack on a Raspberry Pi 4 with an RAK Wireless gateway, and also installed Thingsboard Community Edition.

I have turned on the Thingsboard Integration in Chirpstack. I have set up the correct ThingsBoard.io server port, and entered the correct Device Access Token with the ThingsBoardAccessToken variable in the device.

I can subscribe to MQTT messages from Chirpstack and see the device data, and I can send curl messages to Thingsboard and see those messages under Latest Telemetry.

However, I cannot see telemetry from Chirpstack in Thingsboard.

  1. Does the Thingsboard Integration work with Thingsboard CE?

  2. If so, am I missing something obvious?

  3. What is the correct trouble-shooting workflow here? where can I see the messages coming out of the Chirpstack Thingsboard Integration headed for Thingsboard?

Thanks,

Bump to see if this has been overlooked, or if there is just no answer.

I have tested this successfully with the CE version of Thingsboard. On an uplink, you should see this log-message if all is well: https://github.com/brocaar/chirpstack-application-server/blob/master/internal/integration/thingsboard/thingsboard.go#L100.

Thank you, brocaar. Was this a direct install of Thingsboard CE, or a Docker install?

I have just validated that these instructions still work (CE edition): https://www.chirpstack.io/guides/thingsboard/ :slight_smile:

1 Like

brocaar:

Thank you for confirming this. When I set it up, I get this message:

level=error msg=“integration/multi: integration error” ctx_id=acee500e-1331-49ff-acd9-7dc0b3943c3f error=“send event error: new request error: parse 192.168.2.240:9090/api/v1/a2CvXG74MbYlCYyZu3sa/attributes: first path segment in URL cannot contain colon” integration="*thingsboard.Integration"

It seems to be saying I can’t designate the port.

                  Keith

I think you are missing http:// or https:// in front of the URL :slight_smile:

That did it. Thanks.

1 Like

Hi all,

I have successfully integrated Chirpstack (running in a RPi with a RAK2245) with a local ThingsBoard CE. Reading the Chirpstack documentation, I undestood that the uplink metrics dr, fcnt, fport, rssi and snr, were also uploaded to the ThingsBoard, but they aren’t. Did I understand wrongly? Is that an error in the documentation?

Kind regards

Hi,
I’m having a problem with Thingsboard CE. Since I updated to version 3.3.3 data is not received anymore by thingsboard. In the thingsboard logs I see for all registered devices:

Jan 8, 2022 @ 21:15:13.113	2022-01-08 20:15:13,113 [tenant-dispatcher-0-305] WARN  o.t.server.actors.tenant.TenantActor - RECEIVED INVALID MESSAGE: TransportToDeviceActorMsgWrapper(tenantId=6feba890-75a9-11eb-979e-93ed9365c50e, deviceId=cc86ea80-c868-11eb-8e72-1d1f57fef060, msg=sessionInfo {

Jan 8, 2022 @ 21:15:13.113	  nodeId: "thingsboard-5c4d44c954-9f9z7"

Jan 8, 2022 @ 21:15:13.113	  sessionIdMSB: -8164251024994841507

Jan 8, 2022 @ 21:15:13.113	  sessionIdLSB: -5174357124746101907

Jan 8, 2022 @ 21:15:13.113	  tenantIdMSB: 8064724896139776491

Jan 8, 2022 @ 21:15:13.113	  tenantIdLSB: -7521411679072697074

Jan 8, 2022 @ 21:15:13.113	  deviceIdMSB: -3709019404254047765

Jan 8, 2022 @ 21:15:13.113	  deviceIdLSB: -8182445552521252768

Jan 8, 2022 @ 21:15:13.113	  deviceName: "Semtech_2045005E0E"

Jan 8, 2022 @ 21:15:13.113	  deviceType: "Semtech LR1110 Tracker"

Jan 8, 2022 @ 21:15:13.113	  deviceProfileIdMSB: -4146579058778893845

Jan 8, 2022 @ 21:15:13.113	  deviceProfileIdLSB: -8182445552521252768

Jan 8, 2022 @ 21:15:13.113	  customerIdMSB: 1405474927960789426

Jan 8, 2022 @ 21:15:13.113	  customerIdLSB: -9187201950435737472

Jan 8, 2022 @ 21:15:13.113	}

Jan 8, 2022 @ 21:15:13.113	subscriptionInfo {

Jan 8, 2022 @ 21:15:13.113	  lastActivityTime: 1641672912193

Jan 8, 2022 @ 21:15:13.113	}

Jan 8, 2022 @ 21:15:13.113	, callback=org.thingsboard.server.service.queue.TbPackCallback@6a58e211)

Was there any change on thingsboard side, because I cannot see any error on chirpstack side?
Thanks!

where to set/configure Access token ?

Please see: ThingsBoard - ChirpStack open-source LoRaWAN® Network Server documentation

Gone through it, facing some issues. I am unable to debug them.