This page last changed on May 18, 2013 by amarquez.

Hi, i'm trying to use the controler REST/API/XML using a C# program to control the sensors and always get SUCCESS but without any change in the sensors, what i'm doing wrong?

Thanks for your help and apologies for my english.

Response from Controller:

<?xml version="1.0" encoding="UTF-8"?>
<openremote xmlns="http://www.openremote.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openremote.org http://www.openremote.org/schemas/controller.xsd">

<error>
<code>200</code>
<message>SUCCESS</message>
</error>
</openremote>

After using webconsole and fiddler to monitor the rest API used by webconsole i can see where is my mistake, i was acting on sensors not on switchs Now works fine!

Posted by amarquez at May 19, 2013 17:45
Document generated by Confluence on Jun 05, 2016 09:31