femloraiot
(Femloraiot)
January 17, 2022, 8:31am
1
Hi !
Is there any chance to see the field “name” of the device in my json I use in a custom webhook ? I mean … inside the uplink payload…
Normaly I use the field “ID” but now I ask to my self if I can use that value without another join in my db…
The use case is this … if a device fail and I have to change it I don’t wanna use the ID field to identify, but the name that I can change in a second…
help please
You cannot get the device name at the moment, see this thread: How best to get the device name after receiving a message?
descartes
(Nick McCloud)
January 25, 2022, 10:17am
3
Forum search is your friend - or more accurately, forum search gets you a quick response and stops us all repeating ourselves:
I noted that in the v3 console, you can now define a set of attribute/values for each device.
Would it be possible to forward these attributes in the JSON uplink messages sent over MQTT?
In my use case this would be a very convenient feature.
My application is receiving airborne particulate matter / temperature / humidity telemetry and passing it on to sensor.community and opensensemap.org to display it on their maps.
For opensensemap, I need an id to correlate the measurement to a station d…
I’m sorry to revive this topic Pass device attributes into uplink JSON but still don’t understand why when we receive an uplink frame we can’t get device attributes into? I put information on these attributes to be able to do action on receive packet, that’s the goal indeed. I don’t want to request API to get these on each uplink I’m receiving.
It’s the first time I’m stuck due to not receiving these information. Is there a way to have this feature implemented (at least on MQTT side), it works …