Is it possible to create a device 'whitelist' and only transmitt our sensors over LTE ?
-
Hi
We have problems, our pygate gateway are situated beside a large hospital that have 1000's of lora devices.. The pygate picks up all messages and transmitt all of it to our Lorawan network server over simcard.. Consuming 400 Mb in 24H... We need a solution how to filter out messages 'on the edge' and only transmitt our messages .. can there be a filter of som kind in the config file to whitelist our deveui's `Problem described here.. https://medium.com/swlh/filtering-lorawan-traffic-on-gateway-level-bce7366a56a
-
You would only be able to do this by making changes in the pygate source code and compiling your own firmware. I can imagine this issue is frustrating! I'll point you to some locations that might help you here:
https://github.com/pycom/pycom-micropython-sigfox/blob/Dev/esp32/pygate/lora_pkt_fwd/lora_pkt_fwd.c#L1526
Close to here, you will find the comment 'skip that packet' after acontinue;
statement. There, you could build your whitelist, based onmote_addr
in a similar way. I will leave the final implementation to figure out for you, but I would load the whitelist in the JSON configuration file (some lines above: https://github.com/pycom/pycom-micropython-sigfox/blob/Dev/esp32/pygate/lora_pkt_fwd/lora_pkt_fwd.c#L635) (Im not sure of the amount of sensors you are using and how often it changes)Let me know if that works for you!
Gijs