Hi

I have a Teltonika FMB640 (teltonika) device that send messages to an iothub who forwards it to an cosmos db
however my message does not contain all fields this is the JSON that got inserted in cosmosDB


{
            "battery.current": 0
            "battery.voltage": 8.868
            "channel.id": 19081,
            "device.id": 617701,
            "device.name": "VIN201",
            "device.type.id": 308,
            "engine.ignition.status": false,
            "event.priority.enum": 0,
            "external.powersource.voltage": 0,
            "ident": "358480088652914",
            "movement.status": false,
            "peer": "83.185.95.22:4634",
            "position.altitude": 0,
            "position.latitude": 50.842505,
            "position.longitude": 3.352273,
            "position.speed": 0,
            "protocol.id": 14,
            "server.timestamp": 1586844912.932106,
            "sleep.mode.status": true,
            "timestamp": 1586369329.542
        },

this is the message I see in Flespi

{
	"battery.current":0.049,
	"battery.voltage":9.722,
	"channel.id":19081,
	"device.id":617701
	"device.name":"VIN201"
	"device.type.id":308
	"engine.ignition.status":false,
	"event.enum":240
	"event.priority.enum":0
	"external.powersource.voltage":13.181
	"gnss.state.enum":3
	"gnss.status":true
	"gsm.signal.level":80
	"ident":"358480088652914"
	"movement.status":false
	"peer":"83.187.176.118:7647"
	"position.altitude":8
	"position.direction":223
	"position.hdop":0.5
	"position.latitude":50.842586
	"position.longitude":3.35226
	"position.pdop":0.9
	"position.satellites":22
	"position.speed":0
	"position.valid":true
	"protocol.id":14
	"server.timestamp":1587474667.814355
	"timestamp":1587474665.39}
}

Is there a config somewhere where you can define which paramters need to be send out ?

Thx for the help

    wouterlefebvre These are different messages. Device messages in flespi are unique by timestamp. If you compare the messages with the same timestamp - you will see no difference. By default flespi streams send all the parameters without excluding any of them.
    Teltonika devices messages may contain different parameters sets for different report types. flespi just parses what it receives. FMB640 is rather complex device so it is better to read how to configure it on the appropriate Teltonika wiki page
    If you want the parameters set to be the same for all the messages - you can read this article. There is a technology in flespi that allows to cache some parameters and append it to the messages captured.

      Write a Reply...