iot1:
In that case router or AP is just useless. I haven’t seen the
Gateway code yet, but is there any possibility that we can run
Gateway on server and feed the sensor data from AP to server using
MQTT or something else.
That would defeat the object of building a Web of Things
gateway. The purpose of the gateway project is to bridge non-web
and non-Internet devices to the Web of Things using HTTP and
WebSockets. One of the requirements being that it should still work
locally without an Internet connection. The gateway therefore has
to act as a web server.
You could certainly build an IoT gateway which bridged those
devices to MQTT instead, and even have an MQTT cloud service which
then proxies those devices to the Web of Things. But that isn’t
this project.
The gateway software is not intended to run on the kind of low
end hardware found in traditional home routers, but it could run on
a “smart router” which has a lot more processing power and RAM.