I'm trying to build a dashboard which will be hosted and updated at regular intervals by a Raspberry Pi.
The Raspberry should ping various devices of an IP surveillance system on his same network to check that all cameras and nvr are online and working. The website needs to be updated according to these values.
I have no problem building the front-end interface and the scripting side on the Raspberry but I really don't know how to make the two "talk" together.
Doing some research I've found out that WebSocket and Ajax could be a solution for my problem but I don't know which is better for my use case.