Integrating Security Sensors into Smart Home Dashboard

Hey everyone, I’ve been diving into the world of smart home integration lately and it’s been a wild ride! I just got my Hubitat a week or so ago and I’m absolutely loving it. I’ve managed to migrate my z-wave and zigbee devices from Wink and even got my Google Homes working seamlessly. It’s been a bit of a learning curve, but everything works now. However, I’m looking to take it to the next level by integrating some security system sensors into my setup.

The sensors in question are proprietary to my home security system, but I can access their status via JSON by making a web request. The JSON structure looks something like this:

“sensors”: [
{
“name”: “Front Door”,
“text”: “OK”,
“code”: “C”,
“id”: 1,
“date”: “2019-12-01T09:28:28”
},
{
“name”: “Back Door”,
“text”: “OK”,
“code”: “C”,
“id”: 2,
“date”: “2019-12-01T11:07:30”
},

]

The code here is either ‘C’ for Closed or ‘O’ for Open, and the date represents the last time the sensor was activated. My goal is to display these sensors on my dashboard and set up some automated events based on their status. But I’m not entirely sure where to start. Does anyone have experience with parsing JSON data in this context? Any tips or resources would be greatly appreciated!

Additionally, I’d love to hear about how others have integrated their security systems into their smart home setups. Have you encountered similar challenges? How did you overcome them? I’m really excited to see what the community has to offer in terms of solutions and best practices. Let’s brainstorm together! :rocket: