question

gprguy avatar image
gprguy asked

Ruuvi tags - pressure, humidity, battery status missing from modbus

I've just added my first Ruuvi tag sensor to my Cerbo GX running 2.84. It is reporting temperature, pressure and humidity to VRM as expected. I am trying to query the data via Modbus/TCP and am only able to query the temperature. I've done some digging, and all the values are available via dbus. However via modbus, only addresses 3300-3305 are available. 3306, 3307 and 3308 all return an error.

Am I doing something wrong or have I run into a bug?

Thanks in advance.

root@victron:~# dbus -y com.victronenergy.temperature.ruuvi_c5ab96b56ce3

/

/Temperature

/Humidity

/Pressure

/AccelX

/AccelY

/AccelZ

/BatteryVoltage

/TxPower

/SeqNo

/DeviceName

/Mgmt

/Mgmt/ProcessName

/Mgmt/ProcessVersion

/Mgmt/Connection

/Connected

/DeviceInstance

/ProductName

/Status

/ProductId

/CustomName

/TemperatureType

root@victron:~# dbus -y com.victronenergy.temperature.ruuvi_c5ab96b56ce3 /Humidity GetValue

value = 55.724998474121094

root@victron:~# dbus -y com.victronenergy.temperature.ruuvi_c5ab96b56ce3 /Pressure GetValue

value = 1019.5800170898438

root@victron:~# dbus -y com.victronenergy.temperature.ruuvi_c5ab96b56ce3 /BatteryVoltage GetValue

value = 3.1040000915527344


root@victron:~# ./ModbusCli.py -d localhost -p 502 -s 28 -r 3300

[49193]

root@victron:~# ./ModbusCli.py -d localhost -p 502 -s 28 -r 3301

[0]

root@victron:~# ./ModbusCli.py -d localhost -p 502 -s 28 -r 3302

[0]

root@victron:~# ./ModbusCli.py -d localhost -p 502 -s 28 -r 3303

[2]

root@victron:~# ./ModbusCli.py -d localhost -p 502 -s 28 -r 3304

[1074]

root@victron:~# ./ModbusCli.py -d localhost -p 502 -s 28 -r 3305

[0]

root@victron:~# ./ModbusCli.py -d localhost -p 502 -s 28 -r 3306

Error in function_code: 0x83 0x2

root@victron:~# ./ModbusCli.py -d localhost -p 502 -s 28 -r 3307

Error in function_code: 0x83 0x2

root@victron:~# ./ModbusCli.py -d localhost -p 502 -s 28 -r 3308

Error in function_code: 0x83 0x2

Modbus TCPruuvi sensors
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

1 Answer
lasse-2 avatar image
lasse-2 answered ·

Hi, Im just looking for the same answer, have you find anyting regarding Ruuvi Temp sensors and Modbus TCP?

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Related Resources

Additional resources still need to be added for this topic

Modbus TCP Basics