Open austinpray opened 9 years ago
The bot should be able to get https://liveplant.herokuapp.com/current_action and then respond to whatever is in the action field. It should only respond if the unixTimestamp is newer than what the bot has in its memory.
For more information on this endpoint: https://github.com/liveplant/liveplant-server/tree/master/schema/current_action/GET
Edit: it seems really really easy to do with an Arduino http://www.arduino.cc/en/Tutorial/HttpClient
The bot should be able to get https://liveplant.herokuapp.com/current_action and then respond to whatever is in the action field. It should only respond if the unixTimestamp is newer than what the bot has in its memory.
For more information on this endpoint: https://github.com/liveplant/liveplant-server/tree/master/schema/current_action/GET
Edit: it seems really really easy to do with an Arduino http://www.arduino.cc/en/Tutorial/HttpClient