Author Topic: Programming the mc-Gateway  (Read 428 times)

Nick_W

  • Full Member
  • ***
  • Posts: 212
    • View Profile
Re: Programming the mc-Gateway
« on: February 05, 2017, 06:28:48 pm »
I do agree with that, it does seem a bit blanket that beacons are published, and you can't turn it on and off, or choose the topic (from the gateway).

I have also seen odd behaviour when you have more than one gateway, ie you get the same data published twice (beacon that is), once from each gateway, and you can't turn that off.

This means for instance that the Rssi gets published twice with two different values, unless you can filter the mqtt data by gateway Id.

So you almost need some middleware that recognizes that it's already received some data from a module, and filters it out, to prevent repeat posting of the same data, yet could update a "last heard from" field, so you know how recent the data is.

If gateways could talk to each other, this would open up a lot more possibilities, but maybe we're asking too much. If the new gateway has an esp32, the programming options would open up, right now I think it's an esp8266, so it's just a single thread to do everything.