I am experimenting with a homemade microcontroller GPS tracker.
it sends out JSON through MQTT in following format:
{
"ident": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"timestamp": "1639932300761",
"position.altitude": "12",
"position.hdop": "1.6",
"position.latitude": "50.863423",
"position.longitude": "3.27"
}
I made a channel, that identifies the "ident" ok, and passes through to my device.
In the channel I created message parameters:
position.hdop
position.altitude
position.latitude
position.longitude
hdop and altitude work fine, but once i add latitude or longitude message parameter, it stops receiving hdop and altitude.
When i rename position.latitude and position.longitude in the json, to for example just latitude and longitude, it receives them ok when i add them as message parameters in the channels, but it passes latitude to the device, instead of the needed position.latitude.
I don't realy understand the problem here.
is there someone who gets what is going wrong here? or better, what i'm doing wrong?
thanks in advance.