Rails backend and local script to report if your devices are alive