6.9
Communication with module using HTTP.
NANO TEMP modules can be controlled using HTTP. To read current state of the
module inputs/outputs access this address -
http://192.168.111.15/stat.php
– in web
browser.
XML file consist all of the information
<response>
<prod_name>PE-DS</prod_name>
<out>00000000</out>
<on>00000000</on>
<in>00000000</in>
<counter1>0</counter1>
<temp1>21.3</temp1>
</response>
Section
Description
<prod_name>PE-DS</prod_name>
Type of module
In this case PE_DS.
<out>00000000</out>
Output state (enabled/disabled).
N/A in NANO TEMP
<on>00000000</on>
Output state - N/A in NANO TEMP
<in>00000000</in>
Input state (Active/Inactive)
N/A in NANO TEMP
<counter1>0</counter1>
Counter inputs
N/A in NANO TEMP
<temp1>21.3</temp1>
Temperature sensor reading
Temperature is 21.3 degrees
User manuald NANO TEMP
Page
16
of
21
Summary of Contents for NANO TEMP
Page 21: ...Notes...