sworisbreathing / go-ibbq Goto Github PK
View Code? Open in Web Editor NEWgo-ble library for Inkbird wireless thermometers
License: Apache License 2.0
go-ble library for Inkbird wireless thermometers
License: Apache License 2.0
There does not seem to be a way to configure to which device to connect (MAC address).
Can this be made configurable?
regards
Hello, I have just come across your ibbq library. Great project.
I have just compiled and built the WebSocket. Do you think it would be difficult to plot temperature readings on a graph over time, to see the trend data? The app drops the graph when you close the app...
Hi
Sorry, a little bit offtopic.
I currently try to find out how to parse the battery level via gatttool.
If I understand correctly I need to send a write request to handle 0x0034 with
the value 082400000000.
char-write-req 0x0034 082400000000
I then get a notification handle with a value back:
Notification handle = 0x0025 value: 24 7e 17 96 19 00
I assume that the value is the battery level, right? How did you
convert this in percentage?
Admitted very green, but I don't see this function defined anywhere. Removing it (commenting out) fixes the issue.
I am having an issue building the datalogger. The files reference go-ibbq v2.0.0, but it doesn't seem to exist in the repo tags or branches?
go: finding module for package github.com/sworisbreathing/go-ibbq
go: downloading github.com/go-ble/ble v0.0.0-20181002102605-e78417b510a3
go: downloading github.com/mgutz/logxi v0.0.0-20161027140823-aebf8a7d67ab
go: downloading github.com/sworisbreathing/go-ibbq v1.0.0
go: downloading github.com/mattn/go-colorable v0.1.1
go: downloading github.com/mattn/go-isatty v0.0.7
go: downloading github.com/pkg/errors v0.8.1
go: downloading github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b
go: downloading golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223
main.go:25:2: module github.com/sworisbreathing/go-ibbq@latest found (v1.0.0), but does not contain package github.com/sworisbreathing/go-ibbq```
Just curious if you have ever throught about capturing this data from the datalogger or just the linux service and sending it to mqtt broker and then to a cloud based IOT service and visualizing the data that way?
If you have, would love to know how.
Hi.
Evry time I try to start I receive this error:
pls little bit of help?
Tnx!
sudo LOGXI=main=INF ./datalogger
14:09:45.913929 FTL main Error creating iBBQ
err: can't init hci: no devices available: (hci0: can't down device: device or resource busy)
goroutine 1 [running]:
runtime..z2fdebug.Stack
../../../src/libgo/go/runtime/debug/stack.go:24
github.com..z2fmgutz..z2flogxi..z2fv1.HappyDevFormatter.getLevelContext
/home/io/go/pkg/mod/github.com/mgutz/[email protected]/v1/happyDevFormatter.go:223
github.com..z2fmgutz..z2flogxi..z2fv1.HappyDevFormatter.Format
/home/io/go/pkg/mod/github.com/mgutz/[email protected]/v1/happyDevFormatter.go:307
github.com..z2fmgutz..z2flogxi..z2fv1.DefaultLogger.Log
/home/io/go/pkg/mod/github.com/mgutz/[email protected]/v1/defaultLogger.go:117
github.com..z2fmgutz..z2flogxi..z2fv1.DefaultLogger.extractLogError
/home/io/go/pkg/mod/github.com/mgutz/[email protected]/v1/defaultLogger.go:98
github.com..z2fmgutz..z2flogxi..z2fv1.DefaultLogger.Fatal
/home/io/go/pkg/mod/github.com/mgutz/[email protected]/v1/defaultLogger.go:107
main.main
/home/io/Downloads/go-ibbq-master/examples/datalogger/main.go:64
panic: Exit due to fatal error:
goroutine 1 [running]:
github.com..z2fmgutz..z2flogxi..z2fv1.DefaultLogger.Fatal
/home/io/go/pkg/mod/github.com/mgutz/[email protected]/v1/defaultLogger.go:109
main.main
/home/io/Downloads/go-ibbq-master/examples/datalogger/main.go:64
Hi @sworisbreathing ,
Thank you for making your software available. I like the idea of this software and would like to use it. I'm not much of a Go man - more JS or C++ (Node-red and Arduino). I managed to get the datalogger example working to the point it says INF main Status updated status: Connecting
, then after awhle I get ERR ibbq timeout while connecting
followed by
INF main Status updated status: Disconnected
FTL main Error connecting to device
The device does work with my phone. I'm using a 2012 Macbook Pro to connect to it however, the iBBQ doesn't appear in the bluetooth device list either. I've also tried removing the batteries from the device and starting again and making sure my phone bluetooth was off. The Inkbird IBT-2x I'm using has firmware rev 2.21.
If I can get this working I'd be interested in making a trending front end for it or something else that may be within my capabilities. If you could provide any suggestions to get the connection working I'd appreciate it. I also tried the web example, the webserver loaded but the connection to the device never completed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.