Comet system forum

Discussion forum about Comet system products

Temperature, Humdity,

Pressure Transmitters

and Data Loggers

You are not logged in.

#1 11-08-2016 22:31:59

Roland
Member
Registered: 11-08-2016
Posts: 2

P8511

hi all

P8511 / seven embedded

I use the Navori CMS that reads the xml files via a URL http://website/fichier.xml
I wish I could send the 192.168.1.213/values.xml file on a web site to appeal with Navori. Is it possible ? How should I do it ?

Offline

 

#2 12-08-2016 07:40:30

HonzaD
Administrator
Registered: 11-08-2008
Posts: 294

Re: P8511

Hi,

Sorry, we are not able help you with this third party CMS, because we haven't any experience with it.

Generally in web-based environment can be used two ways how to read values from P8511 device. You can use XML or SOAP protocol.
- XML - your CMS will send GET requests to values.xml file, read response and parse values from this response
- SOAP - device automatically send values via POST to webserver, example of PHP code you find at this manual - page 25

Jan

Offline

 

#3 14-08-2016 10:35:50

Roland
Member
Registered: 11-08-2016
Posts: 2

Re: P8511

I thank you for the time you give me.

I do not understand the functioning of SAOP but it seems I have to go through him.
For security reasons, I can not access the information of the probe from the outside, but even if it initiates communication. I want this to be the sensor that sends data.
Do I have to put the link to my php file on the probe in the section SAOP?

Offline

 

#4 15-08-2016 08:33:21

HonzaD
Administrator
Registered: 11-08-2008
Posts: 294

Re: P8511

Hi,

SOAP protocol is one part of Web Services. For their usage you need implement into server code which "catch" and store incoming data from device. This code depends on type of your server (PHP, ASP.NET, etc.). Example of PHO code you find above. Of course this code only read values, you need there implement saving values into your database, etc. This depends on you...

In your device you configure path for script on your server and sending interval. And device will send itself values to your server.

Jan

Offline

 

Board footer

Powered by PunBB | CZ / SK
© Copyright 2002–2005 Rickard Andersson