ST Hub health check


#1

1) Give a description of the problem
I got 30 ST hubs and each hub is deployed in an apartment room. I would like to create a service to report the status of each hub to my cloud server. So, our PHP developers could go ahead to do things like notifications or analyze collected data. In another words, I’d like to create my own health check of all ST hubs.

2) What is the expected behavior?
The piston should call the restful api, for example: by 10~30 mins, which our cloud server provides.

3) What is happening/not happening?
Hub’s status change. I want to know the status change of all my hubs in the first place.

4) Post a Green Snapshot of the pistonimage
I did not created yet.

5) Attach any logs (From ST IDE and by turning logging level to Full)
No logs yet.


#2

It sounds like you need a piston that calls home? If that is all you require then just set up a timer to make a web request. It can be as simple as this:

Every xx minutes
Make a web request to your api url
End every