Hallo Zusammen,
ich versuche eine sensebox:Home mit der LoRaBEE, Temperatur/Luftdrucksensor (BMP280), Temperatur/Luftfeuchtesensor (HDC1080) und Lichtsensor (VEML6070, TSL45315) zum Laufen zu bekommen.
Als Vorlage habe ich das Projekt hier verwendet:
TTN hat soweit auch alles funktioniert.
Allerdings werden die Uplink-Nachrichten nicht weitergeleitet. Aus der Live data Console:
Decode uplink data message failure:
{
"name": "as.up.data.decode.fail",
"time": "2021-09-06T12:02:43.888056454Z",
"identifiers": [
{
"device_ids": {
"device_id": "kr-gsm-geo-lora-greenbox-04-sensebox",
"application_ids": {
"application_id": "kr-gsm-geo-sensorboxes"
}
}
},
{
"device_ids": {
"device_id": "kr-gsm-geo-lora-greenbox-04-sensebox",
"application_ids": {
"application_id": "kr-gsm-geo-sensorboxes"
},
"dev_eui": "003716FF92BA207C",
"join_eui": "70B3D57ED003F0BC"
}
}
],
"data": {
"@type": "type.googleapis.com/ttn.lorawan.v3.ErrorDetails",
"namespace": "pkg/messageprocessors/cayennelpp",
"name": "output",
"message_format": "invalid output",
"correlation_id": "e1c95c3236e944fd9bd0f85328b2fbbd",
"code": 2
},
"correlation_ids": [
"as:up:01FEXFTFHA7XEB91J49GJR3NMR",
"ns:uplink:01FEXFTF9QGYZKRM32W3NP4JGB",
"pba:conn:up:01FEJ22XNK9Q2VTNC2VWARZHJ3",
"pba:uplink:01FEXFTF9CC9FB4FSKKNP64JAE",
"rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01FEXFTF9Q8DAA36XNRG1T7YG0",
"rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01FEXFTFH24HGBK5C8A429RBNH"
],
"origin": "ip-10-100-6-241.eu-west-1.compute.internal",
"context": {
"tenant-id": "CgN0dG4="
},
"visibility": {
"rights": [
"RIGHT_APPLICATION_TRAFFIC_READ",
"RIGHT_APPLICATION_TRAFFIC_READ"
]
},
"unique_id": "01FEXFTFHG1RSW3VYT4G6SHEMB"
}
Hat jemand eine Idee woran das liegen kann? Mit invalid output kann ich jetzt nicht wirklich etwas anfangen.
Die forward uplink data message:
{
"name": "as.up.data.forward",
"time": "2021-09-06T12:02:43.897121513Z",
"identifiers": [
{
"device_ids": {
"device_id": "kr-gsm-geo-lora-greenbox-04-sensebox",
"application_ids": {
"application_id": "kr-gsm-geo-sensorboxes"
}
}
},
{
"device_ids": {
"device_id": "kr-gsm-geo-lora-greenbox-04-sensebox",
"application_ids": {
"application_id": "kr-gsm-geo-sensorboxes"
},
"dev_eui": "003716FF92BA207C",
"join_eui": "70B3D57ED003F0BC",
"dev_addr": "260BD58B"
}
}
],
"data": {
"@type": "type.googleapis.com/ttn.lorawan.v3.ApplicationUp",
"end_device_ids": {
"device_id": "kr-gsm-geo-lora-greenbox-04-sensebox",
"application_ids": {
"application_id": "kr-gsm-geo-sensorboxes"
},
"dev_eui": "003716FF92BA207C",
"join_eui": "70B3D57ED003F0BC",
"dev_addr": "260BD58B"
},
"correlation_ids": [
"as:up:01FEXFTFHA7XEB91J49GJR3NMR",
"ns:uplink:01FEXFTF9QGYZKRM32W3NP4JGB",
"pba:conn:up:01FEJ22XNK9Q2VTNC2VWARZHJ3",
"pba:uplink:01FEXFTF9CC9FB4FSKKNP64JAE",
"rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01FEXFTF9Q8DAA36XNRG1T7YG0",
"rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01FEXFTFH24HGBK5C8A429RBNH"
],
"received_at": "2021-09-06T12:02:43.884250437Z",
"uplink_message": {
"session_key_id": "AXu6LNoBw8NjJFWceHTOPg==",
"f_port": 1,
"f_cnt": 43,
"frm_payload": "bXulE8vVDwMAOAAA",
"rx_metadata": [
{
"gateway_ids": {
"gateway_id": "packetbroker"
},
"packet_broker": {
"message_id": "01FEXFTF9CC9FB4FSKKNP64JAE",
"forwarder_net_id": "000013",
"forwarder_tenant_id": "ttnv2",
"forwarder_cluster_id": "ttn-v2-eu-2",
"forwarder_gateway_id": "michaelaux-gw",
"home_network_net_id": "000013",
"home_network_tenant_id": "ttn",
"home_network_cluster_id": "ttn-eu1"
},
"time": "2021-09-06T12:02:43Z",
"rssi": -115,
"channel_rssi": -115,
"snr": -8.75,
"location": {
"latitude": 48.35937565,
"longitude": 10.88599184,
"altitude": 90
},
"uplink_token": "eyJnIjoiWlhsS2FHSkhZMmxQYVVwQ1RWUkpORkl3VGs1VE1XTnBURU5LYkdKdFRXbFBhVXBDVFZSSk5GSXdUazVKYVhkcFlWaFphVTlwU1RSWlZrNUlXVlJyZUZsNlRqWlRWMHBwWlVoTk0wbHBkMmxrUjBadVNXcHZhVTVyV21obFZsSlFWRmhrUTFwdFJscGliVVpaVWxWS1RWUXpjRXhrZVVvNUxrTXlWSFZpT0RaUU0weFlZM0ZGTUd4U1ZHZFZkVUV1TnpWR1JHOXZVV1ZFZG5keVJFMVdPQzQxTVdzd1JtZGtYMWxMZEdsWGR6WnpkelZvU20wMGFHVjFNamhWWlZVdFRrVkNNblp0ZGpsbU5sWm5TbE5PZURobU0yWXdVV3BqV2pCR2VtTnJkbnBUUzB3dExURTJiWGhGWlRKSk5VTlRjSFV0VEdsWGVUbFVPRmswZG1wQ2VHZHVUVU5oVTJ0bWRtSnBZVkJKV1RabUxXcFpSMkYxZW5KWVdYaFRkM0JHTUdGeVdtWTFVUzVJWWtwUE1YWjBUblJsWlhWbFFtUjVRWFp1YjNkMyIsImEiOnsiZm5pZCI6IjAwMDAxMyIsImZ0aWQiOiJ0dG52MiIsImZjaWQiOiJ0dG4tdjItZXUtMiJ9fQ=="
}
],
"settings": {
"data_rate": {
"lora": {
"bandwidth": 125000,
"spreading_factor": 12
}
},
"coding_rate": "4/5",
"frequency": "868500000"
},
"received_at": "2021-09-06T12:02:43.639252463Z",
"consumed_airtime": "1.482752s",
"locations": {
"user": {
"latitude": 48.144509830273925,
"longitude": 11.556490353980227,
"altitude": 503,
"source": "SOURCE_REGISTRY"
}
},
"network_ids": {
"net_id": "000013",
"tenant_id": "ttn",
"cluster_id": "ttn-eu1"
}
}
},
"correlation_ids": [
"as:up:01FEXFTFHA7XEB91J49GJR3NMR",
"ns:uplink:01FEXFTF9QGYZKRM32W3NP4JGB",
"pba:conn:up:01FEJ22XNK9Q2VTNC2VWARZHJ3",
"pba:uplink:01FEXFTF9CC9FB4FSKKNP64JAE",
"rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01FEXFTF9Q8DAA36XNRG1T7YG0",
"rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01FEXFTFH24HGBK5C8A429RBNH"
],
"origin": "ip-10-100-6-241.eu-west-1.compute.internal",
"context": {
"tenant-id": "CgN0dG4="
},
"visibility": {
"rights": [
"RIGHT_APPLICATION_TRAFFIC_READ",
"RIGHT_APPLICATION_TRAFFIC_READ"
]
},
"unique_id": "01FEXFTFHS7Z8WAPTBF918WZRC"
}
Cayenne LPP ist in TTN als uplink formatter eingetragen, ebenso wie als Dekodierungsprofil auf openSenseMap.
Application-ID, Device-ID ist abgeglichen.
Haben die Cayenne LPP Channels vllt. so eine Auswirkungen?
Beste Grüße
Joe Krämer