While pairing a code does show on my watch, however, no prompt appear on my linux #31

Closed
opened 2022-10-24 06:55:26 +00:00 by stevensu1838 · 23 comments

This is for my Archlinux PC, I updated the version of InfiniTime on my watch to 1.11.0. When I start pairing using , with either systemctl --user start itd or systemctl start --user itd.service
A code does show on my watch, however, no prompt appear on my linux. Is there anything that I can do to successfully paire the watch and the linux PC? I've tried the unpairing your watch from the Arch as amd pair again. Didn't work
image

This is for my Archlinux PC, I updated the version of InfiniTime on my watch to 1.11.0. When I start pairing using , with either systemctl --user start itd or systemctl start --user itd.service A code does show on my watch, however, no prompt appear on my linux. Is there anything that I can do to successfully paire the watch and the linux PC? I've tried the unpairing your watch from the Arch as amd pair again. Didn't work ![image](/attachments/9298bb9d-b21e-41b6-a162-3c11dd1ac042)
783 KiB
Owner

You seem to be running KDE. Can you try to install kdialog and see if that fixes it?

You seem to be running KDE. Can you try to install `kdialog` and see if that fixes it?
Author

@Arsen6331 Hi,
I am a beginer to linux can you please show me how? Coz I only find how to install kdialog on Ubuntu from googling. But Ubuntu doesn't work with itd. I am using archlinux. Can you please tell me a bit more how to unstall KDE and install kdialog on archlinux. I've tired two weeks to run itd and really hope to get it working. Cheers

@Arsen6331 Hi, I am a beginer to linux can you please show me how? Coz I only find how to install kdialog on Ubuntu from googling. But Ubuntu doesn't work with itd. I am using archlinux. Can you please tell me a bit more how to unstall KDE and install kdialog on archlinux. I've tired two weeks to run itd and really hope to get it working. Cheers
Owner

Ubuntu does work with ITD, but since you are running Arch, you can install kdialog simply by running sudo pacman -S kdialog. You don't need to uninstall KDE. It should've come with KDE, I'm not sure why it didn't.

Ubuntu does work with ITD, but since you are running Arch, you can install `kdialog` simply by running `sudo pacman -S kdialog`. You don't need to uninstall KDE. It should've come with KDE, I'm not sure why it didn't.
Author

@Arsen6331 Hi, Thank you so much. I've installed kdialog as shown below

image

However, still no prompt appear on my linux.

As for Ubuntu, I've follow the document to install ITD on three diferent machine, all throw the same errors
image

I'd love to use either archlinux or ubuntu to work with ITD. Just no luck. Do you have any advice to get either of these working?

@Arsen6331 Hi, Thank you so much. I've installed kdialog as shown below ![image](/attachments/e6a650d1-8fef-4274-883a-611a3e6aa210) However, still no prompt appear on my linux. As for Ubuntu, I've follow the document to install ITD on three diferent machine, all throw the same errors ![image](/attachments/da1c5efa-aa3c-44fd-8c1b-c071723ceffd) I'd love to use either archlinux or ubuntu to work with ITD. Just no luck. Do you have any advice to get either of these working?
Owner

On the Arch machine, open a terminal window. Stop the itd service using systemctl --user stop itd, and then run ITD_LOGGING_LEVEL=debug itd. It should output a bunch of text. Wait until the code appears on your watch, then use Ctrl+C to exit. Copy all of the output and paste it here. That should hopefully provide me with some information as to what's going on. Thanks.

On the Arch machine, open a terminal window. Stop the `itd` service using `systemctl --user stop itd`, and then run `ITD_LOGGING_LEVEL=debug itd`. It should output a bunch of text. Wait until the code appears on your watch, then use Ctrl+C to exit. Copy all of the output and paste it here. That should hopefully provide me with some information as to what's going on. Thanks.
Author
[lui@crossbow ~]$ systemctl --user stop itd
[lui@crossbow ~]$ ITD_LOGGING_LEVEL=debug itd
10:40PM DBG No device found in list, attempting to discover
10:40PM DBG InfiniTime device discovered mac=F7:58:76:0E:DF:CE
10:40PM DBG Device not connected, connecting
WARN[0000] Recovering from panic: send on closed channel 
10:40PM DBG Device not paired, pairing
10:40PM DBG Passkey requested, calling onReqPasskey callback
Passkey: 09510:40PM FTL Error connecting to InfiniTime error="Authentication Canceled"
[lui@crossbow ~]$ systemctl --user stop itd
[lui@crossbow ~]$ ITD_LOGGING_LEVEL=debug itd
10:42PM DBG No device found in list, attempting to discover
10:42PM DBG InfiniTime device discovered mac=F7:58:76:0E:DF:CE
10:42PM DBG Device not connected, connecting
10:42PM DBG Device not paired, pairing
10:42PM DBG Passkey requested, calling onReqPasskey callback
Passkey: 730006
10:42PM DBG Resolved characteristic name="Step Count" uuid=00030001-78fc-48fe-8e23-433b3a1942d0
10:42PM DBG Resolved characteristic name="Weather Data" uuid=00040001-78fc-48fe-8e23-433b3a1942d0
10:42PM DBG Resolved characteristic name="Motion Values" uuid=00030002-78fc-48fe-8e23-433b3a1942d0
10:42PM DBG Resolved characteristic name="New Alert" uuid=00002a46-0000-1000-8000-00805f9b34fb
10:42PM DBG Resolved characteristic name= uuid=00000002-78fc-48fe-8e23-433b3a1942d0
10:42PM DBG Resolved characteristic name= uuid=00000003-78fc-48fe-8e23-433b3a1942d0
10:42PM DBG Resolved characteristic name="Notification Event" uuid=00020001-78fc-48fe-8e23-433b3a1942d0
10:42PM DBG Resolved characteristic name="Current Time" uuid=00002a2b-0000-1000-8000-00805f9b34fb
10:42PM DBG Resolved characteristic name="Battery Level" uuid=00002a19-0000-1000-8000-00805f9b34fb
10:42PM DBG Resolved characteristic name= uuid=00001531-1212-efde-1523-785feabcd123
10:42PM DBG Resolved characteristic name= uuid=00000001-78fc-48fe-8e23-433b3a1942d0
10:42PM DBG Resolved characteristic name= uuid=00001532-1212-efde-1523-785feabcd123
10:42PM DBG Resolved characteristic name="Heart Rate" uuid=00002a37-0000-1000-8000-00805f9b34fb
10:42PM DBG Resolved characteristic name="Filesystem Version" uuid=adaf0100-4669-6c65-5472-616e73666572
10:42PM DBG Resolved characteristic name= uuid=00000004-78fc-48fe-8e23-433b3a1942d0
10:42PM DBG Resolved characteristic name="Filesystem Transfer" uuid=adaf0200-4669-6c65-5472-616e73666572
10:42PM DBG Resolved characteristic name="Firmware Version" uuid=00002a26-0000-1000-8000-00805f9b34fb
10:42PM DBG Resolved characteristic name= uuid=00000005-78fc-48fe-8e23-433b3a1942d0
10:42PM DBG Checking characteristic status
10:42PM DBG Characteristic available name="Firmware Version" uuid=00002a26-0000-1000-8000-00805f9b34fb
10:42PM INF Connected to InfiniTime version=1.11.0
10:42PM DBG Checking characteristic status
10:42PM DBG Characteristic available name="New Alert" uuid=00002a46-0000-1000-8000-00805f9b34fb
10:42PM DBG Checking characteristic status
10:42PM DBG Characteristic available name="Current Time" uuid=00002a2b-0000-1000-8000-00805f9b34fb
10:42PM INF Initialized InfiniTime music controls
10:42PM INF Relaying notifications to InfiniTime
10:42PM DBG Checking characteristic status
10:42PM DBG Characteristic available name="Filesystem Transfer" uuid=adaf0200-4669-6c65-5472-616e73666572
10:42PM INF Started control socket path=/tmp/itd/socket
10:42PM DBG Checking characteristic status
10:42PM DBG Characteristic available name="Weather Data" uuid=00040001-78fc-48fe-8e23-433b3a1942d0
10:42PM DBG Adding weather event event={"DewPoint":2,"EventType":3,"Expires":3600,"Temperature":1110,"Timestamp":1666604552}
10:42PM DBG Checking characteristic status
10:42PM DBG Characteristic available name="Weather Data" uuid=00040001-78fc-48fe-8e23-433b3a1942d0
10:42PM DBG Adding weather event event={"Amount":0,"EventType":1,"Expires":3600,"Timestamp":1666604552,"Type":0}
10:42PM DBG Checking characteristic status
10:42PM DBG Characteristic available name="Weather Data" uuid=00040001-78fc-48fe-8e23-433b3a1942d0
10:42PM DBG Adding weather event event={"DirectionMax":10,"DirectionMin":10,"EventType":2,"Expires":3600,"SpeedMax":1,"SpeedMin":1,"Timestamp":1666604552}
10:42PM DBG Checking characteristic status
10:42PM DBG Characteristic available name="Weather Data" uuid=00040001-78fc-48fe-8e23-433b3a1942d0
10:42PM DBG Adding weather event event={"Amount":0,"EventType":8,"Expires":3600,"Timestamp":1666604552}
10:42PM DBG Checking characteristic status
10:42PM DBG Characteristic available name="Weather Data" uuid=00040001-78fc-48fe-8e23-433b3a1942d0
10:42PM DBG Adding weather event event={"EventType":9,"Expires":3600,"Humidity":54,"Timestamp":1666604552}
10:42PM DBG Checking characteristic status
10:42PM DBG Characteristic available name="Weather Data" uuid=00040001-78fc-48fe-8e23-433b3a1942d0
10:42PM DBG Adding weather event event={"EventType":6,"Expires":3600,"Pressure":1017,"Timestamp":1666604552}


``` [lui@crossbow ~]$ systemctl --user stop itd [lui@crossbow ~]$ ITD_LOGGING_LEVEL=debug itd 10:40PM DBG No device found in list, attempting to discover 10:40PM DBG InfiniTime device discovered mac=F7:58:76:0E:DF:CE 10:40PM DBG Device not connected, connecting WARN[0000] Recovering from panic: send on closed channel 10:40PM DBG Device not paired, pairing 10:40PM DBG Passkey requested, calling onReqPasskey callback Passkey: 09510:40PM FTL Error connecting to InfiniTime error="Authentication Canceled" [lui@crossbow ~]$ systemctl --user stop itd [lui@crossbow ~]$ ITD_LOGGING_LEVEL=debug itd 10:42PM DBG No device found in list, attempting to discover 10:42PM DBG InfiniTime device discovered mac=F7:58:76:0E:DF:CE 10:42PM DBG Device not connected, connecting 10:42PM DBG Device not paired, pairing 10:42PM DBG Passkey requested, calling onReqPasskey callback Passkey: 730006 10:42PM DBG Resolved characteristic name="Step Count" uuid=00030001-78fc-48fe-8e23-433b3a1942d0 10:42PM DBG Resolved characteristic name="Weather Data" uuid=00040001-78fc-48fe-8e23-433b3a1942d0 10:42PM DBG Resolved characteristic name="Motion Values" uuid=00030002-78fc-48fe-8e23-433b3a1942d0 10:42PM DBG Resolved characteristic name="New Alert" uuid=00002a46-0000-1000-8000-00805f9b34fb 10:42PM DBG Resolved characteristic name= uuid=00000002-78fc-48fe-8e23-433b3a1942d0 10:42PM DBG Resolved characteristic name= uuid=00000003-78fc-48fe-8e23-433b3a1942d0 10:42PM DBG Resolved characteristic name="Notification Event" uuid=00020001-78fc-48fe-8e23-433b3a1942d0 10:42PM DBG Resolved characteristic name="Current Time" uuid=00002a2b-0000-1000-8000-00805f9b34fb 10:42PM DBG Resolved characteristic name="Battery Level" uuid=00002a19-0000-1000-8000-00805f9b34fb 10:42PM DBG Resolved characteristic name= uuid=00001531-1212-efde-1523-785feabcd123 10:42PM DBG Resolved characteristic name= uuid=00000001-78fc-48fe-8e23-433b3a1942d0 10:42PM DBG Resolved characteristic name= uuid=00001532-1212-efde-1523-785feabcd123 10:42PM DBG Resolved characteristic name="Heart Rate" uuid=00002a37-0000-1000-8000-00805f9b34fb 10:42PM DBG Resolved characteristic name="Filesystem Version" uuid=adaf0100-4669-6c65-5472-616e73666572 10:42PM DBG Resolved characteristic name= uuid=00000004-78fc-48fe-8e23-433b3a1942d0 10:42PM DBG Resolved characteristic name="Filesystem Transfer" uuid=adaf0200-4669-6c65-5472-616e73666572 10:42PM DBG Resolved characteristic name="Firmware Version" uuid=00002a26-0000-1000-8000-00805f9b34fb 10:42PM DBG Resolved characteristic name= uuid=00000005-78fc-48fe-8e23-433b3a1942d0 10:42PM DBG Checking characteristic status 10:42PM DBG Characteristic available name="Firmware Version" uuid=00002a26-0000-1000-8000-00805f9b34fb 10:42PM INF Connected to InfiniTime version=1.11.0 10:42PM DBG Checking characteristic status 10:42PM DBG Characteristic available name="New Alert" uuid=00002a46-0000-1000-8000-00805f9b34fb 10:42PM DBG Checking characteristic status 10:42PM DBG Characteristic available name="Current Time" uuid=00002a2b-0000-1000-8000-00805f9b34fb 10:42PM INF Initialized InfiniTime music controls 10:42PM INF Relaying notifications to InfiniTime 10:42PM DBG Checking characteristic status 10:42PM DBG Characteristic available name="Filesystem Transfer" uuid=adaf0200-4669-6c65-5472-616e73666572 10:42PM INF Started control socket path=/tmp/itd/socket 10:42PM DBG Checking characteristic status 10:42PM DBG Characteristic available name="Weather Data" uuid=00040001-78fc-48fe-8e23-433b3a1942d0 10:42PM DBG Adding weather event event={"DewPoint":2,"EventType":3,"Expires":3600,"Temperature":1110,"Timestamp":1666604552} 10:42PM DBG Checking characteristic status 10:42PM DBG Characteristic available name="Weather Data" uuid=00040001-78fc-48fe-8e23-433b3a1942d0 10:42PM DBG Adding weather event event={"Amount":0,"EventType":1,"Expires":3600,"Timestamp":1666604552,"Type":0} 10:42PM DBG Checking characteristic status 10:42PM DBG Characteristic available name="Weather Data" uuid=00040001-78fc-48fe-8e23-433b3a1942d0 10:42PM DBG Adding weather event event={"DirectionMax":10,"DirectionMin":10,"EventType":2,"Expires":3600,"SpeedMax":1,"SpeedMin":1,"Timestamp":1666604552} 10:42PM DBG Checking characteristic status 10:42PM DBG Characteristic available name="Weather Data" uuid=00040001-78fc-48fe-8e23-433b3a1942d0 10:42PM DBG Adding weather event event={"Amount":0,"EventType":8,"Expires":3600,"Timestamp":1666604552} 10:42PM DBG Checking characteristic status 10:42PM DBG Characteristic available name="Weather Data" uuid=00040001-78fc-48fe-8e23-433b3a1942d0 10:42PM DBG Adding weather event event={"EventType":9,"Expires":3600,"Humidity":54,"Timestamp":1666604552} 10:42PM DBG Checking characteristic status 10:42PM DBG Characteristic available name="Weather Data" uuid=00040001-78fc-48fe-8e23-433b3a1942d0 10:42PM DBG Adding weather event event={"EventType":6,"Expires":3600,"Pressure":1017,"Timestamp":1666604552} ```
Author

@Arsen6331 Can I please give your remote control of my Linux machine to take a look at what's going on and save your time? Like TeamViewer? Just let me know whichever remote access App you would like to use. Thanks a million in advance

@Arsen6331 Can I please give your remote control of my Linux machine to take a look at what's going on and save your time? Like TeamViewer? Just let me know whichever remote access App you would like to use. Thanks a million in advance
Owner

@Arsen6331 Can I please give your remote control of my Linux machine to take a look at what's going on and save your time? Like TeamViewer? Just let me know whichever remote access App you would like to use. Thanks a million in advance

I understand why you might want that, but it's really not a good idea for random people on the internet to get remote access to your machine as it would allow them to access anything on your machine, as well as your entire network.

> @Arsen6331 Can I please give your remote control of my Linux machine to take a look at what's going on and save your time? Like TeamViewer? Just let me know whichever remote access App you would like to use. Thanks a million in advance I understand why you might want that, but it's really not a good idea for random people on the internet to get remote access to your machine as it would allow them to access anything on your machine, as well as your entire network.
Owner

I am not sure why a dialog is not appearing. Have you tried pairing first, and then starting ITD? That shouldn't be needed, but it should fix your issue.

I am not sure why a dialog is not appearing. Have you tried pairing first, and then starting ITD? That shouldn't be needed, but it should fix your issue.
Author

@Arsen6331 Thank you so much for your grate support and I've made it by running
systemctl stop --user itd.service
itd
in terminal 1
and
itctl get heartrate
itd/itgui
in a second terminal.

I've got the following gui up and running.
image

Another question is I hope to see the line graph as show below. However, there is no Metrics option for me. Could you please help?

image

@Arsen6331 Thank you so much for your grate support and I've made it by running systemctl stop --user itd.service itd in terminal 1 and itctl get heartrate itd/itgui in a second terminal. I've got the following gui up and running. ![image](/attachments/6b9b0c00-5736-4e45-852b-7d657b320468) Another question is I hope to see the line graph as show below. However, there is no Metrics option for me. Could you please help? ![image](/attachments/ae4ad743-f47a-4567-985f-d1f7827a95b5)
Owner

Yeah, you can get that by enabling metrics in ITD. Run

cp /etc/itd.toml ~/.config/itd/itd.toml

Then, edit ~/.config/itd/itd.toml and change

[metrics]
    enabled = false

to

[metrics]
    enabled = true

You can also enable the motion graph by changing

[metrics.motion]
        # This may lower the battery life of the PineTime
        enabled = false

to

[metrics.motion]
        # This may lower the battery life of the PineTime
        enabled = true

but as the comment says, this may lower battery life

Yeah, you can get that by enabling metrics in ITD. Run ```bash cp /etc/itd.toml ~/.config/itd/itd.toml ``` Then, edit `~/.config/itd/itd.toml` and change ```toml [metrics] enabled = false ``` to ```toml [metrics] enabled = true ``` You can also enable the motion graph by changing ```toml [metrics.motion] # This may lower the battery life of the PineTime enabled = false ``` to ```toml [metrics.motion] # This may lower the battery life of the PineTime enabled = true ``` but as the comment says, this may lower battery life
Author

@Arsen6331 Thank you so much for your great help. I've got the following readings:

image
image

In the plotting, I don't the see the units on X and Y axis. Is there a way for me to show numbers on X and Y axis to make the graph more readable? Also, how can I save the hear rate data on my Linux PC and then plot it myself?

My last question is that the heart rate is updated every few seconds. How can I increase the heart rate data logging interval? Like how can I make the heart rate data update every second? Thanks a million. Cheers.

@Arsen6331 Thank you so much for your great help. I've got the following readings: ![image](/attachments/eecd4502-94de-41ce-ba4f-c69ab60e2ec9) ![image](/attachments/b05b5e77-8eb7-4203-b8fb-521a2efb4092) In the plotting, I don't the see the units on X and Y axis. Is there a way for me to show numbers on X and Y axis to make the graph more readable? Also, how can I save the hear rate data on my Linux PC and then plot it myself? My last question is that the heart rate is updated every few seconds. How can I increase the heart rate data logging interval? Like how can I make the heart rate data update every second? Thanks a million. Cheers.
Owner

In the plotting, I don't the see the units on X and Y axis. Is there a way for me to show numbers on X and Y axis to make the graph more readable?

Unfortunately, the library I'm using to graph it doesn't have that ability

Also, how can I save the hear rate data on my Linux PC and then plot it myself?

The data is stored in an SQLite database at ~/.config/itd/metrics.db. You can use that to plot it.

My last question is that the heart rate is updated every few seconds. How can I increase the heart rate data logging interval?

The heart rate updates whenever the watch sends it, so the place to do that would be in InfiniTime.

> In the plotting, I don't the see the units on X and Y axis. Is there a way for me to show numbers on X and Y axis to make the graph more readable? Unfortunately, the library I'm using to graph it doesn't have that ability > Also, how can I save the hear rate data on my Linux PC and then plot it myself? The data is stored in an SQLite database at `~/.config/itd/metrics.db`. You can use that to plot it. > My last question is that the heart rate is updated every few seconds. How can I increase the heart rate data logging interval? The heart rate updates whenever the watch sends it, so the place to do that would be in InfiniTime.
Owner

I'll close this issue as it seems your problem is resolved.

I'll close this issue as it seems your problem is resolved.

kdialog does not work, it must be zenity (or qarma, but that's not packaged in a lot of distros): https://github.com/gen2brain/dlgs/blob/master/dlgs_linux.go

kdialog does not work, it *must* be `zenity` (or qarma, but that's not packaged in a lot of distros): https://github.com/gen2brain/dlgs/blob/master/dlgs_linux.go
Owner

Ah, I thought I remembered dlgs using kdialog. I must've misremembered. I'll probably submit a PR to add kdialog support then.

Ah, I thought I remembered `dlgs` using `kdialog`. I must've misremembered. I'll probably submit a PR to add kdialog support then.
Owner

Or just fork it, since it appears to be archived now

Or just fork it, since it appears to be archived now
Author

In the plotting, I don't the see the units on X and Y axis. Is there a way for me to show numbers on X and Y axis to make the graph more readable?

Unfortunately, the library I'm using to graph it doesn't have that ability

Also, how can I save the hear rate data on my Linux PC and then plot it myself?

The data is stored in an SQLite database at ~/.config/itd/metrics.db. You can use that to plot it.

Hi @Arsen6331 , I am still trying to read the saved data and plotting it myself with the SQLite database at ~/.config/itd/metrics.db. I use CSV.file and excel a lot but new to db file. I only need to read and plot the time steps and heart rate data. May I please ask how shuld I open and read the db file correcty on arch linux? Thanks a lot. Cheers

> > In the plotting, I don't the see the units on X and Y axis. Is there a way for me to show numbers on X and Y axis to make the graph more readable? > > Unfortunately, the library I'm using to graph it doesn't have that ability > > > Also, how can I save the hear rate data on my Linux PC and then plot it myself? > > The data is stored in an SQLite database at `~/.config/itd/metrics.db`. You can use that to plot it. > Hi @Arsen6331 , I am still trying to read the saved data and plotting it myself with the SQLite database at `~/.config/itd/metrics.db`. I use CSV.file and excel a lot but new to db file. I only need to read and plot the time steps and heart rate data. May I please ask how shuld I open and read the db file correcty on arch linux? Thanks a lot. Cheers
Author

Hi @Arsen6331,

Another problem is every time I just pair the watch for data visualization, a heart rate graph looks like the reading of a long time period (however I just paired it for seconds) is shown as below:

image

I reckon itd keeps some old data while plotting. May I please ask how I can erase the old data and only save data and shown line graph of new heart rate every time I pair? Thanks a million. You are the legend

Hi @Arsen6331, Another problem is every time I just pair the watch for data visualization, a heart rate graph looks like the reading of a long time period (however I just paired it for seconds) is shown as below: ![image](/attachments/6fbe083c-7b88-472b-bd2a-3fdcd25fe033) I reckon itd keeps some old data while plotting. May I please ask how I can erase the old data and only save data and shown line graph of new heart rate every time I pair? Thanks a million. You are the legend
146 KiB
Owner

May I please ask how shuld I open and read the db file correcty on arch linux?

That file is an SQLite database. There are many libraries in every language to read them. If you want a csv, I'm sure there are plenty of tools to convert it.

I reckon itd keeps some old data while plotting.

Yeah, it does. I should add a delete button, but for now, you can just delete the metrics.db file and restart ITD.

> May I please ask how shuld I open and read the db file correcty on arch linux? That file is an SQLite database. There are many libraries in every language to read them. If you want a csv, I'm sure there are plenty of tools to convert it. > I reckon itd keeps some old data while plotting. Yeah, it does. I should add a delete button, but for now, you can just delete the `metrics.db` file and restart ITD.
Author

Hi @Arsen6331 , Thanks a lot for your help. I've been checking the heart rate data with DB browser on archlinux. Can you please tell me more about the time step column? I don't really understand this time format. Is this in second? What is the heart rate updating frequency every 2 seconds? Cheers.

image

Hi @Arsen6331 , Thanks a lot for your help. I've been checking the heart rate data with DB browser on archlinux. Can you please tell me more about the time step column? I don't really understand this time format. Is this in second? What is the heart rate updating frequency every 2 seconds? Cheers. ![image](/attachments/e2319eaf-651f-469f-bfbc-42138d38dd72)
106 KiB
Owner

The time field is a UNIX timestamp with nanosecond precision. The value updates whenever InfiniTime sends a new value.

The time field is a UNIX timestamp with nanosecond precision. The value updates whenever InfiniTime sends a new value.
Author

Hi @Arsen6331, thank you so much for your effort. As you said, InfiniTime sends a new heart rate once the value changes. That is definitely not in regular intervals. If the heart rate updating is not in regular intervals, how can I make a plotting of the heart rate data (normal time series data with regular intervals) as the one shown below? how do you plot this irregularly spaced time series? Is this still dable, please?

image

Hi @Arsen6331, thank you so much for your effort. As you said, InfiniTime sends a new heart rate once the value changes. That is definitely not in regular intervals. If the heart rate updating is not in regular intervals, how can I make a plotting of the heart rate data (normal time series data with regular intervals) as the one shown below? how do you plot this irregularly spaced time series? Is this still dable, please? ![image](/attachments/2a464f47-661f-45c0-a009-272102502dd8)
Sign in to join this conversation.
No description provided.