From Hentschel
Jump to: navigation, search
(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|500px|left|Raspberry Pi as controller]]<br clear=both>
+
[[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

Ingredients

Raspberry Pi as controller

display and control butttons, found at http://www.emsystech.de/produkt/raspi-lcd/

relay board for outputs

breadboard prototype incl. temp sensor and indicator LED's

Prototype

prototype wired together

the Iphone app for the 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

connector board schematic

connector board wiring

the connector board backside

the connector board frontside

Temp sensor

Onewire threaded 1/2" NPT