From Hentschel
(Created page with "== Ingredients == Raspberry Pi as controller<br clear=both> image:Hottub controller display and Pi.jpg|thumb|500px|left|display...") |
(→Ingredients) |
||
Line 1: | Line 1: | ||
== Ingredients == | == Ingredients == | ||
− | [[image:Raspberry Pi.jpg|thumb| | + | [[image:Raspberry Pi.jpg|thumb|600px|left|Raspberry Pi as controller]]<br clear=both> |
[[image:Hottub controller display and Pi.jpg|thumb|500px|left|display and control butttons, found at http://www.emsystech.de/produkt/raspi-lcd/]]<br clear=both> | [[image:Hottub controller display and Pi.jpg|thumb|500px|left|display and control butttons, found at http://www.emsystech.de/produkt/raspi-lcd/]]<br clear=both> | ||
[[image:Hottub relay board.jpg|thumb|500px|left|relay board for outputs]]<br clear=both> | [[image:Hottub relay board.jpg|thumb|500px|left|relay board for outputs]]<br clear=both> |
Revision as of 23:11, 14 December 2016
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