- Edited
We in flespi have supported xirgo-mqtt protocol.
This topic is a changelog for this protocol.
The list of supported devices:
We in flespi have supported xirgo-mqtt protocol.
This topic is a changelog for this protocol.
The list of supported devices:
Xirgo-mqtt protocol updated:
Output 1 and Output2, Input/Output tab:
Signal 1 - Signal 5, Actions tab:
Xirgo-mqtt protocol updated: new sensor_ids are supported.
Currently mapping of the sensor_id to flespi parameter is the following:
0x0002 - SignalMotion - movement.status
0x0003 - SignalIN6 - din(bit6)
0x0006 - SignalGeozoneInside - geofence.status
0x0008 - SignalGSMJamming - gsm.jamming.alarm.status
0x0010 - SignalIN2 - din(bit2)
...
0x0015 - SignalIN8 - din(bit8)
0x008C - Foot brake signal - can.pedal.brake.status
0x0060 - Armed - armed.status
0x0061 - Locked - locked.status
0x0062 - Front left door - can.driver.door.status
0x0063 - Front right door - can.passenger.door.status
0x0064 - Rear left door - can.rear.left.door.status
0x0065 - Rear right door - can.rear.right.door.status
0x0079 - Sensor_AirBagWarning - can.airbag.fired.status
0x007A - Sensor_CheckEngineWarning - can.check.engine.status
0x007C - Sensor_TirePressureWarning - can.tire.pressure.status
0x0081 - Sensor_ESPWarning- -can.esp.status
0x0085 - Sensor_DriverSeatBeltWarning - can.driver.seatbelt.indicator.status
0x0086 - Sensor_PassengerSeatBeltWarning - can.passenger.seatbelt.indicator.status
0x0094 - Sensor_OUT1 - dout(bit0)
0x0095 - Sensor_OUT2 - dout(bit1)
0x0096 - Sensor_OUT3 - dout(bit2)
0x2000 - GPS_speed - position.speed
0x2007 - Fuel level sensor - fuel.sensor.value
0x200E - Sensor_U8UserDefined3 - sensor.uint8.value.4
0x200F - Sensor_U8UserDefined4 - sensor.uint8.value.5
0x202D - Sensor_Slot1_Activity - tacho.slot.activity.1
0x202E - Sensor_Slot2_Activity - tacho.slot.activity.2
0x3000 - Sensor_VCC - external.powersource.voltage, volts
0x3004 - Sensor_VBAT - battery.voltage
0x300B - Course, degrees - position.direction
0x300C - RPM sensor - can.engine.rpm
0x4003 - Sensor_TotalDistance - can.vehicle.mileage
0x4005 - Sensor_U32UserDefined0 - sensor.uint32.value.1
0x405B - Sensor_Tacho_Odometer - tacho.vehicle.mileage
0xA000 - Sensor_Temperature - onewire.sensor.temperature
0xA001 - Sensor_Acceleration - absolute.acceleration
0xA003 - Sensor_F32UserDefined0 - sensor.float.value.1
...
0xA011 - Sensor_F32UserDefined14 - sensor.float.value.15
0xB002 - Odometer from GPS - vehicle.mileage
0xC000 - Sensor_STRING1 - sensor.string.value.1
0xC001 - Sensor_STRING2 - sensor.string.value.2
0xC002 - Sensor_STRING3 - sensor.string.value.3
New Xirgo Global devices working over xirgo-mqtt protocol are added:
xirgo-mqtt protocol update is planned for tomorrow, 11-Dec-2020, 12:00 UTC
Update will introduce changes in channels' configurations.
Short interruptions are expected in the operation of the existing xirgo-mqtt channels.
Dear flespi users,
As you know, flespi platform is constantly developing and improving in order to bring more qualitative service to all of you.
As a matter of this course we implemented new xirgo-mqtt protocol instead of the old one (that is now named as xirgo-mqtt-deprecated protocol).
Channel with the new xirgo-mqtt protocol has an embedded MQTT server inside. This allows you full control on the connections from devices: you may enable TLS encryption, configure your own authentication on the incoming connections, and whitelist the IP addresses allowed to connect to your channel.
Also, new xirgo-mqtt channel is equipped with TrafficViewer - an indispensable tool for debugging of raw traffic between the channel and connected devices.
In order to start using this new xirgo-mqtt channel you should:
Protocol xirgo-mqtt-deprecated will be removed in a month, 13 October 2021.
So, we ask you to perform the transition in the nearest future.
Please, contact us in flespi support chat if you need any assistance from us during this process, or encounter any issue.
Thank you for the understanding and your readiness to cooperate!
The commands to change device_type_id are below:
Xirgo MQTT (generic) #733:
curl -X PUT --header 'Authorization: FlespiToken XXX' -d '{"device_type_id":993}' 'https://flespi.io/gw/devices/device_type_id%3D733'
Xirgo XG3700 XTCAN SDK #734:
curl -X PUT --header 'Authorization: FlespiToken XXX' -d '{"device_type_id":994}' 'https://flespi.io/gw/devices/device_type_id%3D734'
Xirgo XG3700 LIGHT SDK #739:
curl -X PUT --header 'Authorization: FlespiToken XXX' -d '{"device_type_id":995}' 'https://flespi.io/gw/devices/device_type_id%3D739'
Xirgo XG3700 LIGHT+ SDK #740:
curl -X PUT --header 'Authorization: FlespiToken XXX' -d '{"device_type_id":996}' 'https://flespi.io/gw/devices/device_type_id%3D740'
Xirgo XG3700 STCAN SDK #741:
curl -X PUT --header 'Authorization: FlespiToken XXX' -d '{"device_type_id":997}' 'https://flespi.io/gw/devices/device_type_id%3D741'
Xirgo XG3700 TACHO SDK #742:
curl -X PUT --header 'Authorization: FlespiToken XXX' -d '{"device_type_id":998}' 'https://flespi.io/gw/devices/device_type_id%3D742'
Just replace XXX with your flespi token.
Xirgo-mqtt protocol updated: new sensor_ids are supported.
New sensor_ids are mapped to flespi parameters is as follows:
0x006D - Sensor_Ignition - engine.ignition.status
0x001E - Sensor_SignalIButtonPresent - ibutton.connected.status
Xirgo-mqtt protocol updated: new sensor_ids are supported.
New sensor_ids are mapped to flespi parameters as follows:
0xC016 - Sensor_Driver1_Id - driver.id.1
0xC017 - Sensor_Driver2_Id - driver.id.2
0x008B - Sensor_HandBrake - can.handbrake.status
0x008F - Sensor_CruiseControl -can.cruise.status
0x2009 - Sensor_FuelLevel2 -fuel.sensor.value[index=2]
0x200A - Sensor_EngineLoad - can.engine.load.level
0x2021 - Sensor_adblue_lvl - can.adblue.level
0x2031 - Sensor_CruiseControlState - can.cruise.state
0x302D to 0x3031 - Sensor_Axle_weight - can.axle.weight.ID
0x405C to 0x405D - Slot time from tachograph - tacho.slot.time.ID
0x405E to 0x405F - Slot distance from tachograph - tacho.slot.distance.ID
Xirgo-mqtt protocol updated: new sensor_ids are supported.
New sensor_ids are mapped to flespi parameters as follows:
0x2037 - Sensor_RetarderTorqueMode - can.retarder.torque.mode
0x2038 - Sensor_RetarderPercentTorque - can.retarder.torque.load, %
0x2039 - Sensor_RetarderSelection - can.retarder.selection, %
0x203C - Sensor_CurrentGear - can.gear
0x3034 - Sensor_InstantFuelEconomy - can.fuel.economy, km/liters
0x3039 - Sensor_GrossVehicleWeight - can.gross.combination.vehicle.weight, kg
0x405A - Sensor_TotalFuelUsedHighRes - can.fuel.consumed.high.resolution, liters
0x4061 - Sensor_ID_Wiegand26 - wiegand.code
0x4062 - Sensor_TotalDistanceHighRes - can.vehicle.mileage.high.resolution, km
Xirgo-mqtt protocol updated: now each record of telemetry data packet is stored as separate channel message with its own timestamp (Please refer Protocol document, section 7.1.1 Telemetry data for more information about records).
The update is a fix of a bug - previously the whole packet was stored as one channel message, thus losing values of the sensor IDs which was included in a packet multiple times.
Xirgo-mqtt protocol updated: new sensor_ids are supported.
New sensor_ids are mapped to flespi parameters as follows:
0x009E - Sensor_PTOstate - can.pto.status, boolean
0x3021 - Sensor_Fuel_rate - can.engine.fuel.rate, L/h
0x5000 - Sensor_Ibutton_ID - ibutton.code, string
0xC004 ... 0xC006 - Sensor_Script1name ... Sensor_Script3name - script.name.1 - script.name.3
0xC015 - Sensor_DTC - can.dtc, string
0x300D ... 0x301C - Sensor_U16UserDefined - sensor.uint16.value.1 ... sensor.uint16.value.16
0x6000 ... 0x6009 - Sensor_S8UserDefined - sensor.int8.value.1 ... sensor.int8.value.10
0x7004 ... 0x700D - Sensor_S16UserDefined - sensor.int16.value.1 ... sensor.int16.value.10
0x8000 ... 0x8009 - Sensor_S32UserDefined - sensor.int32.value.1 ... sensor.int32.value.10
Xirgo-mqtt protocol updated: new sensor_ids are supported.
New sensor_ids are mapped to flespi parameters as follows:
0x202C - Sensor_GeozoneID - geofence.id
0x000B - Sensor_SignalGPRSRegistered - gprs.status, boolean
Xirgo-mqtt protocol updated: new sensor_ids are supported.
New sensor_ids are mapped to flespi parameters as follows:
Xirgo-mqtt protocol updated: new sensor_ids are supported.
New sensor_ids are mapped to flespi parameters as follows:
The protocol will be affected by the change in type of parameters gsm.mcc and gsm.mnc to be installed in 2 weeks - May 23rd, 2022: both parameters that now have type "string" will be stored as "number". The possible leading zeroes in MNC will be ignored (e.g. the value "01" will be stored as 1).
Xirgo-mqtt protocol is updated: maximum allowed length of the payload of custom command is increased up to 2700 characters (previously it was limited to 100 characters).
Xirgo-mqtt protocol is updated: the following Sensor IDs are added:
Xirgo-mqtt protocol is updated: the following Sensor IDs are added: