# Decoding Ruuvi Gateway data model?

**URL:** https://f.ruuvi.com/t/decoding-ruuvi-gateway-data-model/5114
**Category:** 🇬🇧 RuuviTag & RuuviTag Pro sensors
**Created:** [18 October 2021 14:56 UTC](https://f.ruuvi.com/t/decoding-ruuvi-gateway-data-model/5114 "2021-10-18T14:56:15Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![io53](https://f.ruuvi.com/user_avatar/f.ruuvi.com/io53/32/430_2.png) [@io53](https://f.ruuvi.com/u/io53)
#### Post date: [18 October 2021 16:43 UTC](https://f.ruuvi.com/t/decoding-ruuvi-gateway-data-model/5114/2 "2021-10-18T16:43:34Z")

</div>

Have a look here for a working example [How to decode the raw value in MQTT? - #2 by io53](https://f.ruuvi.com/t/how-to-decode-the-raw-value-in-mqtt/4955/2)  
Basically you have to split the string at the Ruuvi company id before you pass is to the decoder.

Edit: Noticed that another library is in use in my link, but I think the same applies to ruuvitag-sensor 🙂

---

_[View the full topic](https://f.ruuvi.com/t/decoding-ruuvi-gateway-data-model/5114)._
