Puck.js for asset tracking #3033
Replies: 10 comments
-
|
Posted at 2019-07-28 by AkosLukacs Most likely yes. Of course depends on how accurate and secure this must be: you can cover it with something, so it disappears. Clone BLE tag. Or might still have enough signal strength just on the other side of the door. For the gateway, take a look at EspruinoHub |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2019-07-28 by alexk Hi, thanks for your comment. Sure, if I cover it with something it will disappear. To work around something blocking the signal I was hoping that 2-3 pucks should pick it up unless I put an iron pot on it or something. To check if it is inside our outside the room I was thinking to analyze signal strength collected from all of the pucks with the hope that I can determine its outside... What do u mean by "Clone BLE tag" ? |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2019-07-28 by Ollie Hello! For me, if it was a specific room and I was not trying to track movement internally, I'd use a single puck outside the room - sort of like an alarm - especially if there's a defined route in/out. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2019-07-28 by alexk Hi, thanks for your comment, unfortunately, there is no defined route and I can't put it outside. Or maybe there is another better way. I'm new here so any help welcome |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2019-07-28 by AkosLukacs Re: Clone: If someone knows that you are doing this, and maybe finds this forum :) can figure out how you are doing. Of course I don't know your circumstances. If you don't expect such "high-tech" attack, just listening to BLE advertisement & checking signal strength is probably good enough. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2019-07-29 by @gfwilliams
Yes, absolutely! You can use Links to the two functions with examples:
I'd be happy to post up some full example code for you if needed. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2019-07-29 by alexk Hi, thanks, I see. Right now I don't care about "high-tech" attacks :) |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2019-07-29 by alexk Hi Gordon, And the last question where do I buy puck.js ? I'm in Germany and the only german shop listed here http://www.espruino.com/Order#puckjs does not have it anymore. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2019-07-30 by @gfwilliams The code would look something like this. Just tested and it works fine - you'd just want to choose how you filter out the beacon you're interested in (name, manufacturer data, etc): In terms of gateways, I'd suggest just using something like a Raspberry Pi 3 as a start, and then you're totally flexible (you could move to any Linux-based gateway later on if you wanted). What did you want to bridge it to? WiFi, Ethernet, GSM? I believe Rigado do some good professional Gateway hardware if you wanted something that 'just worked' though: https://www.rigado.com/cascade-gateway/ It's also possible to use a Pixl.js (http://www.espruino.com/Pixl.js) with a shield for ethernet/wifi/gsm if you want to stick with Espruino for everything. To buy Pucks I'd just order them direct from me at https://shop.espruino.com/puckjs - you should usually get them in Germany in 3-5 days. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2019-07-31 by alexk Hi Gordon, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2019-07-28 by alexk
I'm looking for hardware for a little project and trying to find out if puck.js is a right fit. What I want to do s track if something(generic BLE tag) is not leaving the room. I was thinking about placing 2-3 puck.js in the room. A generic BLE tag would just need to advertise with set interval his ID. Every puck.js will need to listen to ID and forward/advertise its own id, the id of generic BLE tag and the signal strength of generic BLE tag. Now I will need some gateway that will get this info and based on it analyze if generic BLE tag is in the room or not.
Do you think puck.js can do this?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions