# Sync out of sync

**URL:** <https://f.ruuvi.com/t/sync-out-of-sync/4764>\
**Category:** 🇬🇧 Ruuvi Station application (mobile + web)\
**Created:** [24 March 2021 11:41 UTC](https://f.ruuvi.com/t/sync-out-of-sync/4764 "2021-03-24T11:41:52Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikko](https://f.ruuvi.com/letter_avatar_proxy/v4/letter/m/5f9b8f/32.png) [@Mikko](https://f.ruuvi.com/u/Mikko)\
**Post date:** [24 March 2021 11:41 UTC](https://f.ruuvi.com/t/sync-out-of-sync/4764/1 "2021-03-24T11:41:52Z")

</div>

I synced a RuuviTag (3.28.13) with the Android App (1.4.26). Below is an excerpt. On the second line the temperature reading has been replaced by the air pressure.

2021-03-23T15:41:07+0200,23.23,19.94,1009.4,0,0.0,0.0,0.0,0.0,0,0  
2021-03-23T15:46:08+0200,1009.36,20.2,1009.36,0,0.0,0.0,0.0,0.0,0,0  
2021-03-23T15:51:09+0200,0.0,20.12,1009.27,0,0.0,0.0,0.0,0.0,0,0  
2021-03-23T15:56:10+0200,23.2,20.07,1009.25,0,0.0,0.0,0.0,0.0,0,0

I noticed similar glitches with other RuuviTags I have. I wonder how this was possible. I would use the latest RuuviTag firmware but it does not work well with iOS.

---

<div class="post-metadata">

**Author:** ![otso](https://f.ruuvi.com/user_avatar/f.ruuvi.com/otso/32/1651_2.png) [@otso](https://f.ruuvi.com/u/otso)\
**Post date:** [24 March 2021 11:51 UTC](https://f.ruuvi.com/t/sync-out-of-sync/4764/2 "2021-03-24T11:51:39Z")

</div>

This is curious.

@io53 @Denis_Andreev Any idea on what could be happening?  
It also might be a FW issue, to verify that I’d need raw data logs from transfer

---

<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:** [24 March 2021 12:16 UTC](https://f.ruuvi.com/t/sync-out-of-sync/4764/3 "2021-03-24T12:16:41Z")

</div>

That odd. I’ve not seen this before 🤔.  
Is this glitch present on the graph view also or just in the csv export?

---

<div class="post-metadata">

**Author:** ![Mikko](https://f.ruuvi.com/letter_avatar_proxy/v4/letter/m/5f9b8f/32.png) [@Mikko](https://f.ruuvi.com/u/Mikko)\
**Post date:** [24 March 2021 12:30 UTC](https://f.ruuvi.com/t/sync-out-of-sync/4764/4 "2021-03-24T12:30:35Z")

</div>

Yes. Also, the csv upload contained only data for the past 24 hours (see below), not more, even if the graph showed at least 3 days of data.

2021-03-23T12:39:22+0200,23.4,19.32,1009.59,-63,0.864,-0.548,-0.02,3.016,0,44411  
…  
2021-03-24T12:35:41+0200,23.405,21.58,1008.42,-83,0.864,-0.552,-0.028,3.016,0,45939

 ![Screenshot_20210324-141924](https://f.ruuvi.com/uploads/default/original/2X/f/f07a4b211643ea57de47620a2138409081b2f88c.jpeg)

I tried sync also with the iOS App. I did not see any odd values there.

---

<div class="post-metadata">

**Author:** ![Denis\_Andreev](https://f.ruuvi.com/user_avatar/f.ruuvi.com/denis_andreev/32/2190_2.png) [@Denis\_Andreev](https://f.ruuvi.com/u/Denis_Andreev)\
**Post date:** [24 March 2021 12:56 UTC](https://f.ruuvi.com/t/sync-out-of-sync/4764/5 "2021-03-24T12:56:33Z")

</div>

If you clear history and sync again will it be exactly the same glitches at the same time in history? Btw what phone is it?

---

<div class="post-metadata">

**Author:** ![Mikko](https://f.ruuvi.com/letter_avatar_proxy/v4/letter/m/5f9b8f/32.png) [@Mikko](https://f.ruuvi.com/u/Mikko)\
**Post date:** [24 March 2021 13:11 UTC](https://f.ruuvi.com/t/sync-out-of-sync/4764/6 "2021-03-24T13:11:56Z")

</div>

I have a Moto G8.

I cleared history and then synced. For some reason the sync, and many other syncs I have done today, syncs 861 measurements. Maybe it is the maximum number possible.

There was still a glitch, but it was in a different place, and had different value, temperature of circa 352. The glitch was not included in the csv upload because it was older than 24 hours.

 ![Screenshot_20210324-150143](https://f.ruuvi.com/uploads/default/original/2X/7/71d7a24daa129984bb0a44e0ef70979ec2ec8d5b.jpeg)

---

<div class="post-metadata">

**Author:** ![Denis\_Andreev](https://f.ruuvi.com/user_avatar/f.ruuvi.com/denis_andreev/32/2190_2.png) [@Denis\_Andreev](https://f.ruuvi.com/u/Denis_Andreev)\
**Post date:** [24 March 2021 14:13 UTC](https://f.ruuvi.com/t/sync-out-of-sync/4764/7 "2021-03-24T14:13:18Z")

</div>

Version 1.5.5 (currently available for beta-testers) will remove this limit of 24hours csv export.

I had a phone previously that sometimes was showing strange values too. My wife had the same phone model but it worked perfectly fine. I assume there was some malfunction in my bluetooth module casuing bit errors from time to time. Do you have access to another Android phone?

 ![photo_2021-03-24_16-58-57](https://f.ruuvi.com/uploads/default/original/2X/0/09b91a4cd7f0ef29da158edfd45e34d2dea3aa8a.jpeg)

---

<div class="post-metadata">

**Author:** ![Mikko](https://f.ruuvi.com/letter_avatar_proxy/v4/letter/m/5f9b8f/32.png) [@Mikko](https://f.ruuvi.com/u/Mikko)\
**Post date:** [24 March 2021 14:28 UTC](https://f.ruuvi.com/t/sync-out-of-sync/4764/8 "2021-03-24T14:28:39Z")

</div>

I can try with another Android device later today, or at least in a few days.

---

<div class="post-metadata">

**Author:** ![Mikko](https://f.ruuvi.com/letter_avatar_proxy/v4/letter/m/5f9b8f/32.png) [@Mikko](https://f.ruuvi.com/u/Mikko)\
**Post date:** [26 March 2021 14:10 UTC](https://f.ruuvi.com/t/sync-out-of-sync/4764/9 "2021-03-26T14:10:00Z")

</div>

Now I have tried with two Andoid devices

- Moto G8
- Samsung Galaxy Tab S6 Lite

Both run the latest Android available, Android 11 for the tablet and Android 10 for the phone, and the latest Ruuvi Station.

The tablet seemed to sync well, without glitches. The phone, when clearing and syncing the data, generated glitches in different places each time. They were sometimes in temp, sometimes in pressure, and sometimes in humidity.

So, something wrong with the Moto G8, Android 10, RuuviStation, and RuuviTags.

---

<div class="post-metadata">

**Author:** ![otso](https://f.ruuvi.com/user_avatar/f.ruuvi.com/otso/32/1651_2.png) [@otso](https://f.ruuvi.com/u/otso)\
**Post date:** [26 March 2021 15:10 UTC](https://f.ruuvi.com/t/sync-out-of-sync/4764/10 "2021-03-26T15:10:31Z")

</div>

We have seen glitches in Raspberry Pi when HCI-UART is too fast and there’s bit errors in data. Might be related, Raspberry Pi isn’t so different from a smartphone.

If the issue is in phone internals there’s probably no easy solution on Ruuvi’s side, we might need to add CRC to data format or something liike that.
