Panel message via REST API

General Discussion

Panel message via REST API

Postby cw76 » Tue Apr 26, 2016 8:50 pm

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!
cw76
newt
newt
 
Posts: 15
Joined: Thu Oct 29, 2015 2:32 pm

Re: Panel message via REST API

Postby kevin » Tue Apr 26, 2016 9:10 pm

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.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: Panel message via REST API

Postby cw76 » Wed Apr 27, 2016 8:40 am

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!
cw76
newt
newt
 
Posts: 15
Joined: Thu Oct 29, 2015 2:32 pm


Return to General

Who is online

Users browsing this forum: No registered users and 13 guests

cron