Hello,
- Can i do this with a “Sticker Beacon”:
A) When a sticker beacon has been moved (motion sensor)
B) Send https post to a custom RestAPI
- Possible?
- Need to trigger an event when a beacon is moved.
Thanks for help, advice,
Best regards,
Johan
Hello,
A) When a sticker beacon has been moved (motion sensor)
B) Send https post to a custom RestAPI
Thanks for help, advice,
Best regards,
Johan
Sure thing! Just remember that the beacon itself has no Internet connection, so there needs to be some Internet-connected Bluetooth device that’ll detect the sticker and that it’s in motion (stickers broadcast that information over Bluetooth), and do the POST request. People usually use smartphones or Raspberry Pi-like devices for that.
What’s your project, if you don’t mind sharing? (:
Hej Heypiotr,
Got a retail/environment project where they want to trigger events/when someone is touching / moving any of their products (in their store).
Except the RestAPI waiting for the trigger then this might be best?:
A) Use the bluetooth beacon in a rasberry pi
B) Scan Estiomte beacons
C) When a beacon has moved - trigger an Ajax request to a player
Thanks,.
Best regards,
Johan
Question:
If you want display content on the screen using Raspberry Pi, maybe Estimote Mirror is a solution for you?
https://developer.estimote.com/mirror/
Hello,
Can i use that device to like: When movement > play http://%server%/product-%name%.html? (a stream url)
Can i use a Rasberry pie to also detect movement?
Best regards,
Johan
Yes you can. But better way will be to store content on the device itself and play it from local storage. This way you avoid problems with poor WiFi/internet quality. I would suggest the same approach for solution based on Raspberry Pi.
Yes, Raspberry Pi would also detect movement. Beacons/Stickers advertise this information to any device that scans for BLE packets.
Really cool - ordering stickers!!
Will be cool to test this!!
Also you can double check my - setup plan - all that should work correct?
Many thanks for help,
Best regards,
Johan
One more question: do you have any good Linux / script / example i can look at?
Like a Linux script …> scan for BLE… .
There’s an example Node.js script to detect the signal from stickers here:
https://github.com/estimote/estimote-specs
It uses a Node.js “noble” library for Bluetooth scanning: https://github.com/noble/noble
Works just fine on Rasp Pi!
Cool - will start testing with this!