__ __ __
/ /_ ____ _/ /_____ ____ __ __/ /_
/ __ \/ __ `/ //_/ _ \ / __ \/ / / / __/
/ /_/ / /_/ / ,< / __/ / /_/ / /_/ / /_
/_.___/\__,_/_/|______/ \____/\__,_/\__/
_____/ /______/ /
/ ___/ __/ ___/ /
/ /__/ /_/ / / /
\___/\__/_/ /_/
Quick start
Set:
H="Content-Type: application/json"
URL=http://localhost:9009/
and make sure the switch on the front of the panel is set to rw.
Init:
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"init\n"}' -H "$H" -X POST "$URL"
Set holdhours:
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"holdhours=136\n"}' -H "$H" -X POST "$URL"
Check holdhours:
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"holdhours\n"}' -H "$H" -X POST "$URL"
Start bake out:
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"run\n"}' -H "$H" -X POST "$URL"
^
|
| Alarm D10, R1
T in C |
|--- MAXTEMP ----------------------------- MAXTEMP ----------
|
|
| xxxxxxxxxxxxxxxxxxxx TARGETTEMPHIGH
| xx | xx
| xx | xx
| xxx | xx
| xx| TEMPSLOPE xx
| xx | +-------xx TARGETTEMPEND
| xx |
| xx |
| xx |
| xx TEMPSLOPE
| xx |
| xx----------+
| x
|
|
|--- BREAKTEMP --------------------------- BREAKTEMP ---------
|
| Alarm DO0, R0
|
+|--t0--------------t1--------------------t2-----t3-------------------->
+
t in h
state indicators (D0 ... D4)
D0 D1 D2 D3 D4
waiting 1 0 0 0 0
ramp_up 0 1 0 0 0
bakeout 0 0 1 0 0
ramp_down 0 0 0 1 0
hold_end 0 0 0 0 1
temperature indicators (D5, D6, D7)
- maximum temperature difference: MTD
- target temperature: TT
- current temperature: CT
- upper limit (TT+MTD): UL
- lower limit (TT-MTD): LL
D5 D6 D7
CT <= UL & CT > TT 0 0 1
CT >= LL & CT < TT 0 1 0
CT < LL 1 1 0
CT > UL 1 0 1
TCP cmd
overview
- state
- runtime
- t1
- t2
- t3
- remaining
- heatpower
- current_temp
- target_temp
- run
- init
- off
- target_temp_hold (get/ set with =val)
- target_temp_end (get/ set with =val)
- holdhours (get/ set with =val)
- voltage (get/ set with =val)
get current heat power
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"heatpower\n"}' -H "$H" -X POST "$URL"
get temperature info
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"current_temp\n"}' -H "$H" -X POST "$URL"
get temperature info
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"target_temp\n"}' -H "$H" -X POST "$URL"
set hold temperature
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"target_temp_hold=180.0\n"}' -H "$H" -X POST "$URL"
set end temperature
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"target_temp_end=100.0\n"}' -H "$H" -X POST "$URL"
set voltage
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"voltage=0.1\n"}' -X PUT -H "$H" -X POST "$URL"
set/get hold time
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"holdhours=40\n"}' -H "$H" -X POST "$URL"
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"holdhours\n"}' -H "$H" -X POST "$URL"
general time info
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"t1\n"}' -H "$H" -X POST "$URL"
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"t2\n"}' -H "$H" -X POST "$URL"
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"t3\n"}' -H "$H" -X POST "$URL"
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"runtime\n"}' -H "$H" -X POST "$URL"
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"remaining\n"}' -H "$H" -X POST "$URL"
init bakeout
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"init\n"}' -H "$H" -X POST "$URL"
run bakeout
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"run\n"}' -H "$H" -X POST "$URL"
off
- open R0 and R1
- set start time to 0.0
curl -d '{"Action":"TCP","Host":"192.168.98.134","Port":"9009", "Value":"off\n"}' -H "$H" -X POST "$URL"