Search found 10 matches

by hferinga
Friday 18 February 2022 11:40
Forum: Others
Topic: TTNMQTT module processes decoded_payload even in the absence of a frm_payload
Replies: 8
Views: 1156

Re: TTNMQTT module processes decoded_payload even in the absence of a frm_payload

I posted a topic on the TTN forum. It seems that the uplinkMessage without application data is valid, it’s a useful way of sending a very short message - like “I’m alive”. That explains that it is sent with a 24h interval.
by hferinga
Thursday 17 February 2022 22:06
Forum: Others
Topic: TTNMQTT module processes decoded_payload even in the absence of a frm_payload
Replies: 8
Views: 1156

Re: TTNMQTT module processes decoded_payload even in the absence of a frm_payload

I will look into it and see if I can raise an issue with TTN. From the documentation frm_payload is optional. Looked at the payload formatter and made a small change in the provided one from the repository and changed it to javascript with the following code: function decodeUplink(input) { var bytes ...
by hferinga
Thursday 17 February 2022 8:18
Forum: Others
Topic: TTNMQTT module processes decoded_payload even in the absence of a frm_payload
Replies: 8
Views: 1156

Re: TTNMQTT module processes decoded_payload even in the absence of a frm_payload

I built domoticz from source (branch development) with this change to fix it for my situation: diff --git a/hardware/TTNMQTT.cpp b/hardware/TTNMQTT.cpp index cd11b9873..078e64e8a 100644 --- a/hardware/TTNMQTT.cpp +++ b/hardware/TTNMQTT.cpp @@ -732,6 +732,11 @@ void CTTNMQTT::on_message(const struct ...
by hferinga
Wednesday 09 February 2022 12:31
Forum: Others
Topic: TTNMQTT module processes decoded_payload even in the absence of a frm_payload
Replies: 8
Views: 1156

TTNMQTT module processes decoded_payload even in the absence of a frm_payload

Using build 14.166 on raspberry pi. Every now and then one or more sensors publish a message without a frm_payload. However the decoded_payload is present as probably processed by the provided payload formatter in TTN. These decoded payload values are all based on 0(null) values and have no ...
by hferinga
Wednesday 09 February 2022 12:12
Forum: Others
Topic: TTNMQTT module does not differentiate between 2 sensors of same vendor and type
Replies: 7
Views: 860

Re: TTNMQTT module does not differentiate between 2 sensors of same vendor and type

kiddigital wrote: Tuesday 08 February 2022 17:19 Great [emoji106]

So this topic can be closed [emoji16]
yes
by hferinga
Tuesday 08 February 2022 9:23
Forum: Others
Topic: TTNMQTT module does not differentiate between 2 sensors of same vendor and type
Replies: 7
Views: 860

Re: TTNMQTT module does not differentiate between 2 sensors of same vendor and type

kiddigital wrote: Monday 07 February 2022 20:31 Thank you for the info. A fix has been prepared.

If it gets accepted and merged, it will be in an upcoming beta release.
Thanks for the quick response.
by hferinga
Wednesday 02 February 2022 8:18
Forum: Others
Topic: TTNMQTT module does not differentiate between 2 sensors of same vendor and type
Replies: 7
Views: 860

Re: TTNMQTT module does not differentiate between 2 sensors of same vendor and type

{"tst":1643785455,"topic":"v3/first-lorawan-app@ttn/devices/eui-a84041c7e1843c40/up","qos":0,"retain":0,"payloadlen":1744,"payload":{"end_device_ids":{"device_id":"eui-a84041c7e1843c40","application_ids":{"application_id":"first-lorawan-app"},"dev_eui":"A84041C7E1843C40","join_eui ...
by hferinga
Tuesday 01 February 2022 18:21
Forum: Others
Topic: TTNMQTT module does not differentiate between 2 sensors of same vendor and type
Replies: 7
Views: 860

TTNMQTT module does not differentiate between 2 sensors of same vendor and type

I run Domoticz version 2022.1 on a raspberry pi (debian version 10.11). I have two sets of identical sensors: (Browan TBHH100 and Dragino LHT65). Configured the TTN MQTT module and it gets data from The Things Network. However only one sensor of each is discovered as a device in domoticz. But after ...