Comments (7)
AFAIK there isn't (natively).
The point of the UUID is to distinguish the tilt device, and the point of having multiple colors is to distinguish them that way.
A black tilt will always broadcast the same UUID as other black tilts etc.
If you want to track multiple tilts you should use different colors. You could potentially track them by the mac address but that's not currently supported in my library. You could open and scope a feature request to publish the mac address outwards to the emitter, I think that would be doable
from tilty.
from tilty.
@myoung34 I haven't actually setup Tilty yet. Can have a play this evening with my Raspberry Pi.
So is this now using the Mac Address to get the values from the Tilt hydrometer? Would this still work however if both devices have different Mac Addresses but will still have the same UUID.
from tilty.
This will work if you set up your tracking correctly.
Basically in addition to tagging/submitting the color (based on a non-unique UUID) it will also tag the mac address which is unique per device (per fcc)
See https://github.com/myoung34/tilty/blob/master/tilty/blescan.py#L65 for how the bluetooth iPacket submits that data
Basically tilt (as a vendor) has set up a list of colors that map to uuid's: https://github.com/myoung34/tilty/blob/master/tilty/constants.py#L5
so each color has a uuid. if you have 10 blacks, you'll see a lot of the same UUID with no way to distinguish it.
You can try to map this to the mac address. This will be unique, but it will also be tedious. the mac address is not visible from the casing of the tilt. youll need to isolate it and mark them. If you have, say, 10 black tilts, youll need to know exactly which mac address goes to exactly which device. If you replace, add tilts youll need to keep this up to date.
How many of these are you planning on running?
from tilty.
Also i should clarify: this does not change the behavior. Tilt's are still distinguished by color. This just adds payload options to additionally "tag" (this is contextual to the emitter) them with the mac as well as the color. Color would still be a first class known entity. Mac would just be "something else there also"
from tilty.
Yeah so we are looking to run around 20 of these devices.
If we can tag them with a Mac Address, that would be good. Would also be good if we could change the name to be Black1, Black2 Black3 for example.
Also, do we have the ability to log all the data to Google Sheets?
from tilty.
if you use Zapier, yes =)
Otherwise, not at this time, no. Just webhooks (of nearly any kind), datadog, brewstat, influx
I've thought about doing that, but the oauth flow from a CLI isn't very user friendly.
from tilty.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tilty.