Skip to content
ebiiii edited this page Oct 16, 2014 · 1 revision

##Http GET Wrapper This wrapper polls a sensor data from a web server using http get requests. This can be used with any kind of sensor providing access to its sensor data via a web server. As a sample, we provide a netcam virtual sensor which uses this wrapper to interact with Axis 206W networked camera.

This wrapper has the following parameters :

  • rate is an integer value representing the polling intervals in msec (default value is 2000 which implies polling every 2 seconds).
  • url The URL of the web server serving sensor readings. Be careful about the especial characters in URL/XML (http://en.wikipedia.org/wiki/XML#Correctness).
<address wrapper="http-get">
  <predicate key="url">http://192.168.1.1:8044/axis-cgi/jpg/image.cgi?resolution=320x240</predicate>
  <predicate key="rate">1000</predicate>
</address>
<query>select * from wrapper</query>
Clone this wiki locally