You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Devices should register their status on boot as "booted" and then provide an endpoint to which we can schedule a health_check job that will update the status to either "online" or "offline".
The health check should be in a separated process, independent of menagerie.
The health check should only need a device's uuid and a way to update the DDBB directly to update instance status.
Above all, we want a consistent way to id devices. Some devices already have a form of unique identification, say RPi serial number or ESP8266 chip id. It would be more logical to use that as an identifier. We should be able to specify what attribute we use in order to figure out if we do an update vs a create- currently we assume uuid.
Implement endpoint for devices to auto-register.
online
by deafaultEndpoint:
/devices/register/{deviceType}
Service should return any configuration that we have for such device instance:
The text was updated successfully, but these errors were encountered: