Feature #883
Updated by Hammel 5 months ago
PiSentry devices will send a multicast query to ask for pistore addresses. The request comes with a unique uuid. This query will be on a different port than Ironman multicast queries. PiStore devices will respond with an Ack to the uuid used in the request. PiStore picks the first response for session storage. PiStore then calls an API on PiSentry's mongoose server to hand PiSentry a place to store its files. See piboxd for how to receive multicast messages (from IoT devices). PiStore will create a device ID and session id under it's name and save files to <mount>/pisentry/<device id>/<session id>/<files>. A unique name assigned by the user may be used instead of the device ID (see /etc/monitor for the DESCRIPTOR entered in imwww web UI).