Raspberry Pi Heartbeat Checking Api