mc-Things

mc-Products => mc-Gateway => Topic started by: bdevlin on November 06, 2017, 12:48:17 pm

Title: beacondata API
Post by: bdevlin 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
Title: Re: beacondata API
Post by: mc-John 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.



 

Title: Re: beacondata API
Post by: mc-T2 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/ )