EasyManua.ls Logo

Tinycontrol Lan Controller v3 - Page 34

Tinycontrol Lan Controller v3
36 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
34
manual LAN Controller V3.0 – LANKON-008
www.tinycontrol.eu
Reading XML data
Reading is possible or if the authorization is disabled and we are already logged in.
If not, you should specify before your username and password, for example:
admin:admin@192.168.1.100/xml/(...)
The basic list of positions XML les to read data from:
basic sensors: 192.168.1.100/xml/ix.xml
an array of events: 192.168.1.100/xml/eve , 192.168.1.100/xml/eve2.xml
mqtt settings: 192.168.1.100/xml/mqtt.xml
Scheduler: 192.168.1.100/xml/sched.xml
conguration settings: 192.168.1.100/xml/st.xml
setting names: 192.168.1.100/xml/stat.xml
Watchdoga setting: 192.168.1.100/xml/wdog.xml
More XML les will be published in a special document describing how to create your own
website using the generator Web and XML les.
Switching sockets http request
The current version allows you to control via http commands with browser bar or other
device used for the following commands:
IP/outs.cgi?out=xxxxx – switches specic output to the opposite of the present
IP/outs.cgi?outx=x – enable or disable the specic output
When password authentication is enabled, the commands have the following form:
user:password@IP/outs.cgi?out=xxxxx
user:password@IP/outs.cgi?outx=x
Examples:
http://192.168.1.100/outs.cgi?out=0 – changes the state out0 to the opposite (ON/OFF)
http://192.168.1.100/outs.cgi?out0=0 – turn o out0
http://192.168.1.100/outs.cgi?out0=1 – turn on out0
dla PWM
http://192.168.1.100/outs.cgi?pwm=0 – changes the state pwm0 to the opposite (ON/
OFF)
http://192.168.1.100/outs.cgi?pwm0=0 – turn o pwm0
http://192.168.1.100/outs.cgi?pwm0=1 – turn on pwm0