Comming soon, for now You can investigate source codes:
https://github.com/remoteme/RemoteMeWebPageLibrary
https://github.com/remoteme/RemoteMeArduinoLibrary
https://github.com/remoteme/remoteme/tree/master/leafDevices/base
Or use variables to communicate with Your device