The repository with demo Java applications is available at: https://bitbucket.org/jerboaa/thermostat-demo-programs. See README.md for details.
The custom Thermostat plugin example is available at: https://bitbucket.org/jerboaa/thermostat-custom-metrics-demo. See README.md for details.
Please also consider visiting the Thermostat homepage.