Added heartbeat functionality for the connected RPi devices to report their online status to the deviceregistry