From Hentschel
Contents
Ingredients
Prototype
Rest interface
The rest interface is at http://hottub/htmobile/rest/hottub. The requestor needs to use the correct http method for setting values (HTTP PUT)
For getting REST values use HTTP GET
curl http://hottub.home.hentschel.net/htmobile/rest/hottub/blower
which gets
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><blower state="ON"/>
To set the value, use HTTP PUT
curl -X PUT http://hottub.home.hentschel.net/htmobile/rest/hottub/blower/ON
which results in
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ok succeeded="true"><status>200</status></ok>
curl http://hottub.home.hentschel.net/htmobile/rest/hottub/ curl -X PUT http://hottub.home.hentschel.net/htmobile/rest/hottub/pump/ON curl -X PUT http://hottub.home.hentschel.net/htmobile/rest/hottub/setpoint/98 curl -X PUT http://hottub.home.hentschel.net/htmobile/rest/hottub/blower/ON
Target Development
Final version
Hardware
- 433MHz wireless temp sensor https://www.tindie.com/products/DORJI_COM/ds18b20-sht11-sht12-sht21-sht25-wireless-sensor-transmitter-receiver-module/
- 3.3V step up board for battery operated sensors https://www.sparkfun.com/products/10967