Author Topic: Beacons & MQTT  (Read 610 times)

Nick_W

  • Full Member
  • ***
  • Posts: 215
    • View Profile
Re: Beacons & MQTT
« on: January 17, 2017, 12:49:36 am »
Kbrooking

If you haven't found my github yet https://github.com/NickWaterton/mcScript I have examples of exactly that, plus a python program (beacon_decode.py) for receiving the beacons and converting them back to regular mqtt messages.

I currently support 12 data types (I think), such as temperature, battery, Rssi, humidity, pressure, altitude, boolean etc.

The data is converted to 24 bits, so there are limits on the range of numbers that can be sent, and you are limited to 2 decimal places, but the range is +/-32k, so enough for environmental sensors.