User Tools

Site Tools


code:json

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
code:json [2017/01/20 12:04] – added devices types jtellocode:json [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 4: Line 4:
 |change_constraints|change_script|[[#cmd]]|cnst_alt|cnst_alt_v| |change_constraints|change_script|[[#cmd]]|cnst_alt|cnst_alt_v|
 |cnst_time|consts|create_target|dec|[[#devbytype]]| |cnst_time|consts|create_target|dec|[[#devbytype]]|
-|deviceinfo|[[#devices]]|executor|expose|get|+|deviceinfo|[[#devices]]|executor|expose|[[#status|get]]|
 |hasimage|inc|labellist|labels|[[#lastimage]]| |hasimage|inc|labellist|labels|[[#lastimage]]|
-|messages|night|obytid|plan|runscript|+|messages|night|obytid|plan|[[#runscript]]|
 |satisfied|script|selval|[[#set]]|[[#status]]| |satisfied|script|selval|[[#set]]|[[#status]]|
 |sunalt|taltitudes|tbydistance|tbyid|tbylabel| |sunalt|taltitudes|tbydistance|tbyid|tbylabel|
Line 47: Line 47:
 Looking at the status of the camera device will often state the last_image as a value. Looking at the status of the camera device will often state the last_image as a value.
  
 +====== runscript ======
 +Will run script.
 +Example: runscript?d=C0&s=E%201 
 +(in this case the script has a space which is replaced with '%20' to comply with http urls standards).
  
 ====== set ====== ====== set ======
Line 53: Line 57:
  
 ====== status ====== ====== status ======
 +get or status are identical.
 This will give the values of a specific module. Known modifier is: 'd': device This will give the values of a specific module. Known modifier is: 'd': device
  
code/json.1484910268.txt.gz · Last modified: 2017/01/20 00:00 (external edit)