Open goliatone opened 8 years ago
Goals:
If the sensor pi is running inside a docker container, we might lack the introspective capabilities to get an updated IP when we want to. It might be that we can get it through a env
var on boot but then we can't update- unless we provide a http/tcp endpoint.
One way would be to register the RPi as it's own device, then have an agent that would keep the information about the device up to date. Then, we would have (virtual) devices for each rpi-sensor.
We do not want to access the docker instance remotely, we want to access the pi :)
Currently we are using a POST request against menagerie's
ThingController.register
. We could use an auto-discovery system like zeroconf.