Page cover

Tesenso M-Bus LoRaWAN

Product documentation

Quickstart

Product Datasheet

M-BUS message formats

Name:
Length
MsgType
Data depending on MsgType

Unit:

Enum

Bytes

Range:

0..255

0..127

Uplink message port:

2

Uplink message port for split messages

12

Status Uplink message port:

50

ENUM definitions

MsgType Enum

0

0

Status message

1

1

Scan Result

2

2

Telegram Response

3

3

Read Meter

4

4

Read Meter Raw

...

123

7B

HW_ID_UL

124

7C

MCU_ID_UL

125

7D

Firmware_hash

Port for ID-s (123-125) is 200

Message Types

0: Status message

Port 50

Name:
Length
MsgType
Voltage
Temp
Saved slaves
Read interval
Flags
Status interval

Unit:

Enum

1/100 -170

Count

Min(s)

Min(s)

Bytes

1

1

1

1

1

1

1

MSB

LSB

Range:

8

0

Example

08

0

08 00 9e 30 00 03 a0 05 a0

1: Scan Result

Name:
Length
MsgType
slave addresses

Unit:

Enum

Bytes

1

1

X

Range:

1

2: Telegram Response

Name:
Length
MsgType
Slave response

Unit:

Enum

Bytes

1

1

X

Range:

2

3: Read Meter

3: Read Meter
Meter properties block
Meter properties block

Name:

Length

MsgType

no. of slaves

ID

Medium

VIF

Volume

...

Unit:

Enum

count

BCD encoded

BCD encoded

Bytes

1

1

1

1

1

1

1

1

1

1

1

1

1

10

Range:

3

HighByte

LowByte

HighByte

LowByte

4: Read Meter Raw

Port 2

Has to be decoded in the backend (contains all information)

Name:

Length

MsgType

Slave No.

Full response telegram

Unit:

Enum

Byte

Bytes

1

1

1

X

Range:

4

4: Read Meter Raw SPLIT

Port 12

Has to be decoded in the backend (contains all information)

Name:

Length

MsgType

Slave No.

Pointer

Full response telegram

Unit:

Enum

Byte

Byte

Bytes

1

1

1

1

X

Range:

4

123: HW_ID_UL

Name:

MsgType

HWID

Unit:

Enum

version

Bytes

123

Range:

0..7

124: MCU_ID_UL

Name:
MsgType
MCU_ID

Unit:

Enum

Bytes

124

HighByte

LowByte

Range:

125: Firmware_hash_UL

Name:
MsgType
Firmware version and hash

Unit:

Enum

String

Bytes

125

Size varies

Range:

All Downlinks shall be sent on Port 3

Add secundary adress manually to EEPROM

Name:
Length
MsgType
ID

Unit:

Enum

BCD encoded

Bytes

1

1

1

1

1

1

Range:

5

133

HighByte

LowByte

  • 05 --> Length

  • 85 --> MsgType

  • 17670401 --> secondaryAdress of the meter

Name:
Length
MsgType
Retry

Unit:

Enum

Bytes

1

1

1

Range:

2

130

0..3

  • 02 --> Length

  • 82 --> MsgType

  • 01 --> Retry

Delete saved slaves from EEPROM

Name:
Length
MsgType

Unit:

Enum

Bytes

1

1

Range:

1

131

  • 01 --> Length

  • 83 --> MsgType

Change send Intervall:

Message Types

Name:

Length

MsgType

Flags

status msg interval

Meter interval

Unit:

Enum

Min(s)

Min(s)

Bytes

1

1

1

MSB

LSB

1

Range:

0..255

128

sample downlinks to change the intervall:

  • 05800000001E --> 30 minutes

  • 05800000000F --> 15minutes

  • 058000000005 --> 5minutes

Troubleshoot Checklist:

  • take a photo of the meter and the full installation

  • power device

  • make sure that the connection (wires/cables) are connected correctly

Last updated