https://www.opensourcerers.org/2016/01/08/building-a-rasperry-pi-based-smart-gateway-for-iot/
Building a Raspberry Pi based Smart Gateway for IoT