Author Topic: beacondata API  (Read 154 times)

bdevlin

  • Newbie
  • *
  • Posts: 38
    • View Profile
beacondata API
« on: November 06, 2017, 12:48:17 pm »
Is there an api for reading the beacondata directly from the gateway? My thought is if the beacondata is extremely low power, I can extend battery life on modules by using beacondata instead of Lplan.Publish. Clearly an API exists as mc-Studio can read beacons. How do you plan to expose this API to us? I prefer python. Or what if we could program the gateway to publish beacondata to an mqtt server?

Thanks,
Brad
« Last Edit: November 06, 2017, 12:58:47 pm by bdevlin »

Social Buttons


mc-John

  • Global Moderator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Re: beacondata API
« Reply #1 on: November 07, 2017, 10:24:48 am »
The beacon format is in part of the mcStudio download.
Yes beacons are extremely low power. Sending a temprature every minute get you 6 year battery life on a coin-cell.
 
The download contains the file BeaconWhitePaper.pdf. Beacons are send over UDP or can be sent also to MQTT. There is a .Net example in the doc, which is simple to convert to python.

We will change the web-site to make it easier to find.



 


mc-T2

  • Administrator
  • Full Member
  • *****
  • Posts: 249
  • mc-Things! The opportunities are endless!
  • Location: Canada
    • View Profile
Re: beacondata API
« Reply #2 on: November 09, 2017, 10:44:24 am »
here is the attached document to make it easier. This document is also available on our website (https://www.mcthings.com/products/mcstudio/ )

Need more mc-Modules, mc-Gateways or other mc-Things? Check out our product page: www.mcthings.com/products. mc-Development kits are available too!
Check out a live Dashboard using mcThings and Losant! Click here: https://goo.gl/ST43hB