yes!!
merci donc je ne me suis pas trop raté avec ca , n'est ce pas ??
Code : Tout sélectionner
"B9S2_Temp": {
"topic": "gateway/2cf7f11054200049/device/f1ac4afbc81c39b0/event/up",
"key": "B9S2_Temp",
"type": "80", "subtype": "5", "switchtype": "0",
"mapping": {"item": "object/temperature"}
},
"B9S2_Volts": {
"topic": "gateway/2cf7f11054200049/device/f1ac4afbc81c39b0/event/up",
"key": "B9S2_volts",
"type": "243", "subtype": "8", "switchtype": "0",
"mapping": {"item": "object/batterie"}
},
MAIS
parfois (?!) (en cours d'investigation) mon chirpstack ne me renvoie pas de bloc object: et le plugin décode des 0 dans les temp et batterie ce qui seme le boxon dans Domoticz
C'est ce qui faisais que je me demandais si du coup j'avais bien pigé comment marche le plugin
Voici un exemple de ce que je recois et ou ca se passe mal car object est {}.
Code : Tout sélectionner
{
"deduplicationId": "e331af88-0fb1-4a5f-a250-2d9ba1962118",
"time": "2025-01-31T15:39:06.446281462+00:00",
"deviceInfo": {
"tenantId": "52f14cd4-c6f1-4fbd-8f87-4025e1d49242",
"tenantName": "SenseCAP",
"applicationId": "9ffd554b-281a-4f54-8955-113858213e5c",
"applicationName": "BFPLora",
"deviceProfileId": "42a2c9fd-f6d5-4fdf-b770-311daa23850e",
"deviceProfileName": "Temp+Hum",
"deviceName": "test",
"devEui": "fce501daf1132337",
"tags": {}
},
"devAddr": "0123b9d2",
"adr": true,
"dr": 5,
"fCnt": 3,
"fPort": 0,
"confirmed": false,
"data": "",
"object": {},
"rxInfo": [
{
"gatewayId": "2cf7f11054200049",
"uplinkId": 824561315,
"rssi": -105,
"snr": 1.5,
"channel": 4,
"location": {},
"context": "BQLfyw==",
"metadata": {
"region_config_id": "EU_863_870_TTN",
"region_common_name": "EU868"
},
"crcStatus": "CRC_OK"
}
],
"txInfo": {
"frequency": 867300000,
"modulation": {
"lora": {
"bandwidth": 125000,
"spreadingFactor": 7,
"codeRate": "CR_4_5"
}
}
}
}
Et Domoticz affiche (c'es
Code : Tout sélectionner
2025-01-31 15:46:52.278 Error: MQTTMAPP: Can't find >object/temperature< in >{'deduplicationId': '4352e231-d80c-4a4c-8a0e-215a61b76db8', 'time': '2025-01-31T14:46:51.777926120+00:00', 'deviceInfo': {'tenantId': '52f14cd4-c6f1-4fbd-8f87-4025e1d49242', 'tenantName': 'SenseCAP', 'applicationId': '9ffd554b-281a-4f54-8955-113858213e5c', 'applicationName': 'BFPLora', 'deviceProfileId': 'd0a7979c-4e44-4477-9984-d412867aa9ae', 'deviceProfileName': 'Congels -80', 'deviceName': 'Capteur Bloc9 serre2 ', 'devEui': 'f1ac4afbc81c39b0', 'tags': {}}, 'devAddr': '01231925', 'adr': True, 'dr': 5, 'fCnt': 60, 'fPort': 0, 'confirmed': False, 'data': '', 'object': {}, 'rxInfo': [{'gatewayId': '2cf7f11054200049', 'uplinkId': 3985646337, 'rssi': -112, 'snr': -2.0, 'channel': 7, 'location': {}, 'context': 'hnQ3VA==', 'metadata': {'region_common_name': 'EU868', 'region_config_id': 'EU_863_870_TTN'}, 'crcStatus': 'CRC_OK'}], 'txInfo': {'frequency': 867900000, 'modulation': {'lora': {'bandwidth': 125000, 'spreadingFactor': 7, 'codeRate': 'CR_4_5'}}}}<
2025-01-31 15:46:52.280 Error: MQTTMAPP: Can't find >object/batterie< in >{'deduplicationId': '4352e231-d80c-4a4c-8a0e-215a61b76db8', 'time': '2025-01-31T14:46:51.777926120+00:00', 'deviceInfo': {'tenantId': '52f14cd4-c6f1-4fbd-8f87-4025e1d49242', 'tenantName': 'SenseCAP', 'applicationId': '9ffd554b-281a-4f54-8955-113858213e5c', 'applicationName': 'BFPLora', 'deviceProfileId': 'd0a7979c-4e44-4477-9984-d412867aa9ae', 'deviceProfileName': 'Congels -80', 'deviceName': 'Capteur Bloc9 serre2 ', 'devEui': 'f1ac4afbc81c39b0', 'tags': {}}, 'devAddr': '01231925', 'adr': True, 'dr': 5, 'fCnt': 60, 'fPort': 0, 'confirmed': False, 'data': '', 'object': {}, 'rxInfo': [{'gatewayId': '2cf7f11054200049', 'uplinkId': 3985646337, 'rssi': -112, 'snr': -2.0, 'channel': 7, 'location': {}, 'context': 'hnQ3VA==', 'metadata': {'region_common_name': 'EU868', 'region_config_id': 'EU_863_870_TTN'}, 'crcStatus': 'CRC_OK'}], 'txInfo': {'frequency': 867900000, 'modulation': {'lora': {'bandwidth': 125000, 'spreadingFactor': 7, 'codeRate': 'CR_4_5'}}}}<
car en effet on ne trouve pas les object/temperature et les autres item
Tu as un truc sous le coude pour empecher l'integration si items pas trouvés ??
J'ai du mal a faire débugger les ESP32 et Chirpstack qui sont à l'origine de la transmission lora par mes collègues , alors j'aimerai bien le regler avec mon Domotic favori
Merci et désolé de la prose à rallooooonnngggeee
Bonne soirée
Raspberry pi 3, Dongle RfxCom et Zigate +, plugin de pipiche, Volets Roulants profalux, contrôle d'éclairage, détecteurs de présence, alarme incendie, pilotage livebox ...
Objectif : WAF > 1