esp8266,Raspberry Pi and WHATSAPP

I have an application running on ESP8266, and a local server on Raspberry Pi.
I also have the possibility of sending Whatsapp messages from the raspberry using yowsup.

I would like to get whatsapp notifications on certain conditions happening on the ESP8266 hardware.
So the question is:
Is it easily possible to retrieve the status of the hardware from the server itself? In that case, I could have a script on the Raspberry to trigger the whatsapp notification.

Thank you

We have an HTTP REST API, so you can do anything :wink: Including getting pin states from the server.

It’s still in beta, but you are welcome to try it out: