Skip to content

Go library/command line tool to read Mi Flora bluetooth sensors

Notifications You must be signed in to change notification settings

barnybug/miflora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miflora

Go library/command line tool to read Mi Flora bluetooth sensors.

Xiaomi Flora

Install

$ go get github.com/barnybug/miflora/cmd/miflora

Run

$ miflora

Requirements

You need bluez-utils installed for the gatttool utility to read bluetooth attributes.

Caveats

No retries are attempted when reading fails - an error is returned. User implementation detail. :-)

gatttool has been deprecated and new versions of bluez-utils no longer ships with it. The alternative is to interface directly with the bluetooth stack.

About

Go library/command line tool to read Mi Flora bluetooth sensors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages