Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Xiaomi MI Band 4 - Can you create an apt?
Xiaomi MI Band 4 - Can you create an apt?
I' m struggling over anbox and virt-manager, I would like a native debian apt for that hardware.
Synchronizing it with the pc instead of the phone.
Can you make it?
Edit: For apt I meant app(lication).
Synchronizing it with the pc instead of the phone.
Can you make it?
Edit: For apt I meant app(lication).
Last edited by Scorpion on 2020-07-21 06:41, edited 1 time in total.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: Xiaomi MI Band 4 - Can you create an apt?
I'm not even sure what you're trying to ask...
MX Linux packager and developer
Re: Xiaomi MI Band 4 - Can you create an apt?
Xiaomi MI Band 4 is a smart watch that has sleep and hear rate monitoring function. It only has the bluetooth to communicate.
You can view the stats only on the android app "Mi Fi" https://play.google.com/store/apps/deta ... alth&hl=en and you can change some setting only there.
Or in another compatible app like "Tools & Mi Band", I never tried it.
So I need a virtual machine that has also the bluetooth, but a native debian apt would be the best.
You can view the stats only on the android app "Mi Fi" https://play.google.com/store/apps/deta ... alth&hl=en and you can change some setting only there.
Or in another compatible app like "Tools & Mi Band", I never tried it.
So I need a virtual machine that has also the bluetooth, but a native debian apt would be the best.
Last edited by Scorpion on 2020-07-21 06:42, edited 2 times in total.
Re: Xiaomi MI Band 4 - Can you create an apt?
what is a "Debian native apt"?
There are a few fully open and hackable smart watches out there. But most of them are not. There are some where you can flash the firmware, and thus replace the one the manufaturer offers with a free one.
Even though the non-open ones use bluetooth low energy, which allows to send data out and read without pairing, some of them are encrypting the stream. If it is not, you can read it with a BLE app.
I googled "mi band 4 and open source" and found a link to a sofware developed by research group called ICT innovations in Health Care, Windesheim University of Applied Sciences.
https://github.com/ictinnovaties-zorg/openwindesheart
There are a few fully open and hackable smart watches out there. But most of them are not. There are some where you can flash the firmware, and thus replace the one the manufaturer offers with a free one.
Even though the non-open ones use bluetooth low energy, which allows to send data out and read without pairing, some of them are encrypting the stream. If it is not, you can read it with a BLE app.
I googled "mi band 4 and open source" and found a link to a sofware developed by research group called ICT innovations in Health Care, Windesheim University of Applied Sciences.
https://github.com/ictinnovaties-zorg/openwindesheart
- eriefisher
- Posts: 130
- Joined: 2008-06-04 03:49
- Location: Ontario's South Coast
Re: Xiaomi MI Band 4 - Can you create an apt?
It would likely be easier to buy a cheap android phone. After all it's meant t be portable.
____________________________________________
There's a manual?
Siduction
Debian Sid
Xfce4 4.14
There's a manual?
Siduction
Debian Sid
Xfce4 4.14
Re: Xiaomi MI Band 4 - Can you create an apt?
"Debian native apt"= apt that I can install with apt install <apt>.
Or at least is an apt designed for linux and not for android.
I did some searches to see if is possible to use the pc, I found nothing.
I can see on your link:
Or at least is an apt designed for linux and not for android.
I did some searches to see if is possible to use the pc, I found nothing.
I can see on your link:
After there is the section for the Band 4 but I suppose is for the phone, I want to use the pc.The features have been tested with Android/iOS phones in combination with the Mi Band 3/Xiaomi Band 3.
Is it meant to be portable? I want to use it on the pc at home.It would likely be easier to buy a cheap android phone. After all it's meant t be portable.
Re: Xiaomi MI Band 4 - Can you create an apt?
apt is a package manager, you probably mean a debian package like a .deb-file.
I researched the mi band 4 a bit more and it appears that you can indeed read the ble characteristics despite them being encrypted. apparently you need to do the first ever pairing with the native app, and this allows you to fetch the key. after this you can just read it like a book.
Bluetooth low energy is different from the standard bluetooth protocol, in the sense that you do not need to pair the device, the device can send out pulses of data. For example, a watch can read your pulse with a sensor and broadcast this out every 5 seconds. Then any device near that has a ble device can read them (there are multiple apps for reading ble signals in app stores).
Here is a python library for that purpose. it even comes with a ready made console program with a pseudo-graphical interface (similar to ncurses)
all you need to do is install a package with apt, clone the code and get your key (the instructions are on the github page)
https://github.com/satcar77/miband4
I researched the mi band 4 a bit more and it appears that you can indeed read the ble characteristics despite them being encrypted. apparently you need to do the first ever pairing with the native app, and this allows you to fetch the key. after this you can just read it like a book.
Bluetooth low energy is different from the standard bluetooth protocol, in the sense that you do not need to pair the device, the device can send out pulses of data. For example, a watch can read your pulse with a sensor and broadcast this out every 5 seconds. Then any device near that has a ble device can read them (there are multiple apps for reading ble signals in app stores).
Here is a python library for that purpose. it even comes with a ready made console program with a pseudo-graphical interface (similar to ncurses)
all you need to do is install a package with apt, clone the code and get your key (the instructions are on the github page)
https://github.com/satcar77/miband4
-
- Posts: 1101
- Joined: 2016-01-07 12:25
- Has thanked: 6 times
- Been thanked: 16 times
Re: Xiaomi MI Band 4 - Can you create an apt?
My *guess is that you want to create an apt-mirror to have all your required .deb files available from a local computer/server, I have this set up for my AMD64 systems and it was not too difficult to set-up after reading the manuals.
https://packages.debian.org/buster/apt-mirror
* difficult to understand exactly what you want
https://packages.debian.org/buster/apt-mirror
* difficult to understand exactly what you want
-
- Posts: 677
- Joined: 2018-05-10 19:34
- Location: Some where out west
- Been thanked: 1 time
Re: Xiaomi MI Band 4 - Can you create an apt?
"Can you make it?"Scorpion wrote:I' m struggling over anbox and virt-manager, I would like a native debian apt for that hardware.
Synchronizing it with the pc instead of the phone.
Can you make it?
Sounds like the OP wants you, or someone else on the forum to make it for them......
I would get busy with it, but am not feeling well at all, guess that would be another topic for "off topic" though
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
Re: Xiaomi MI Band 4 - Can you create an apt?
It seems so, I would like the debian developers to do that. Aren' t they the most suited?
Where should I ask?
Where should I ask?
Re: Xiaomi MI Band 4 - Can you create an apt?
Yes I mean a debian package, with apt I meant a (debian) ApPlicaTion.pylkko wrote:apt is a package manager, you probably mean a debian package like a .deb-file.
I researched the mi band 4 a bit more and it appears that you can indeed read the ble characteristics despite them being encrypted. apparently you need to do the first ever pairing with the native app, and this allows you to fetch the key. after this you can just read it like a book.
Bluetooth low energy is different from the standard bluetooth protocol, in the sense that you do not need to pair the device, the device can send out pulses of data. For example, a watch can read your pulse with a sensor and broadcast this out every 5 seconds. Then any device near that has a ble device can read them (there are multiple apps for reading ble signals in app stores).
Here is a python library for that purpose. it even comes with a ready made console program with a pseudo-graphical interface (similar to ncurses)
all you need to do is install a package with apt, clone the code and get your key (the instructions are on the github page)
https://github.com/satcar77/miband4
I will check this project, I will borrow a phone eventually for that time that you need it, thanks.
Re: Xiaomi MI Band 4 - Can you create an apt?
The Debian program apt is an Advanced Package Tool, not an ApPlicaTion.Scorpion wrote: Yes I mean a debian package, with apt I meant a (debian) ApPlicaTion.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: Xiaomi MI Band 4 - Can you create an apt?
Yes, apt is already taken. It only leads to confusion when you use it for something else in the Debian forum, like if I asked for a deb file, only to explain later I meant a "Dynamic Equilibrium Brake" configuration file--Guh!RU55EL wrote:The Debian program apt is an Advanced Package Tool, not an ApPlicaTion.Scorpion wrote: Yes I mean a debian package, with apt I meant a (debian) ApPlicaTion.
MX Linux packager and developer
-
- Posts: 677
- Joined: 2018-05-10 19:34
- Location: Some where out west
- Been thanked: 1 time
Re: Xiaomi MI Band 4 - Can you create an apt?
https://www.debian.org/contactScorpion wrote:It seems so, I would like the debian developers to do that. Aren' t they the most suited?
Where should I ask?
Debian Development
If you have questions that are more development related, there are several development mailing lists in Debian that you can use to contact our developers.
The general development mailing list is debian-devel: you cansubscribe to it and then send e-mail to debian-devel@lists.debian.org.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: Xiaomi MI Band 4 - Can you create an apt?
The standard procedure is to use reportbug to file a bug report against it asking that it be packaged. I think the acronym for it is "WNP". You are asked to provide as much information as possible about it, be clear in that, and you should use standard terms for what you mean.
MX Linux packager and developer
Re: Xiaomi MI Band 4 - Can you create an apt?
Just for fun I looked up abbreviations for 'application'. APT wasn't listed among the 11 abbreviation variations, at least at the first place I looked.stevepusser wrote:Yes, apt is already taken. It only leads to confusion when you use it for something else in the Debian forum, like if I asked for a deb file, only to explain later I meant a "Dynamic Equilibrium Brake" configuration file--Guh!RU55EL wrote:The Debian program apt is an Advanced Package Tool, not an ApPlicaTion.Scorpion wrote: Yes I mean a debian package, with apt I meant a (debian) ApPlicaTion.
[edit] 'apt' does have quite the list. [/edit]
Re: Xiaomi MI Band 4 - Can you create an apt?
Yes, I used apt for application (instead of app) because of the Advanced Package Tool, but it only leads to confusion.
Can someone make a debian package to obtain the authentication key? And then maybe add it to the https://github.com/satcar77/miband4/issues/new.
Can someone make a debian package to obtain the authentication key? And then maybe add it to the https://github.com/satcar77/miband4/issues/new.
Re: Xiaomi MI Band 4 - Can you create an apt?
I got the key but that project doesn' t have the band settings, sleep monitoring and more.pylkko wrote:apt is a package manager, you probably mean a debian package like a .deb-file.
I researched the mi band 4 a bit more and it appears that you can indeed read the ble characteristics despite them being encrypted. apparently you need to do the first ever pairing with the native app, and this allows you to fetch the key. after this you can just read it like a book.
Bluetooth low energy is different from the standard bluetooth protocol, in the sense that you do not need to pair the device, the device can send out pulses of data. For example, a watch can read your pulse with a sensor and broadcast this out every 5 seconds. Then any device near that has a ble device can read them (there are multiple apps for reading ble signals in app stores).
Here is a python library for that purpose. it even comes with a ready made console program with a pseudo-graphical interface (similar to ncurses)
all you need to do is install a package with apt, clone the code and get your key (the instructions are on the github page)
https://github.com/satcar77/miband4
Most of the functions are available on the band.
Can someone use https://codeberg.org/Freeyourgadget/Gadgetbridge to create a debian package?
It is an open source app, available also on github.