Page 1 of 1

Panel message via REST API

PostPosted: Tue Apr 26, 2016 8:50 pm
by cw76
Hello,

I am interested in using the REST API to integrate a little bit with OpenRemote. Although the REST API allows sending of key presses, I can't see any way to retrieve the panel display message (e.g., ARMED STAY, DISARMED, etc.) to see the actual status.

I was hoping that the GET /alarmdecoder API would include this in the response, but it doesn't.

Is there any way to get this or is it in the works?

Thanks!

Re: Panel message via REST API

PostPosted: Tue Apr 26, 2016 9:10 pm
by kevin
Guess we just didn't think it was necessary as all the information is translated into the fields produced, but I'll add it to the list to add the "raw" message if applicable to the status at the time of request.

Re: Panel message via REST API

PostPosted: Wed Apr 27, 2016 8:40 am
by cw76
Hi, Kevin,

Thanks for the quick response. I can understand your thinking there. I think there is some value in seeing things like the arming countdown. So, if the API can track and just return whatever the last panel message was, that'd be great.

In the mean time, you're right, I can just use the panel_armed flag for most of what I need.

Thanks!