Open source community created dashboard solution Open-Dash.com - Alpha Version in Testing

Hi Guys. I’m working on my own Home automation project using the open Dash API and a soft PLC using codesys and a raspberry Pi. Link to the post is here.

I have a question on the open dash API and best use of the endpoints or more importantly the most efficient way of reducing polling and getting a faster response from all my devices. Currently i’m polling for each device using the end point: /devices/UUID/events/. This will give me the device status but takes up one request per device. Ideally I would make one request that returned status of more than one or all devices.

I’ve tried: /devices/UUID 1/UUID 2/events/ but this does not work. I’m looking into the /update/ endpoint but my PLC is having a hard time dealing with really large responses.

Any advice on how you are implementing the API in the most efficient manner would be really helpful.

Thanks in advance guys.