# Listen to all change events

**URL:** <https://community.homey.app/t/listen-to-all-change-events/11655>\
**Category:** Developers\
**Created:** [April 9, 2019, 5:27pm UTC](https://community.homey.app/t/listen-to-all-change-events/11655 "2019-04-09T17:27:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Markus\_Backman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/markus_backman/32/8019_2.png) [@Markus\_Backman](https://community.homey.app/u/Markus_Backman)\
**Post date:** [April 9, 2019, 5:27pm UTC](https://community.homey.app/t/listen-to-all-change-events/11655/1 "2019-04-09T17:27:17Z")

</div>

Hi

I have a lot of my custom automation things on AWS so I would like to simple stream (simple POST to a endpoint on AWS) all events changes. That is everytime a sensor gets a new value, everytime a button is pressed, etc then I would like to create a app listening to these events and do a HTTP call out and then I can act on it (send it to my Alexa spot, a LaMetric, etc).

Is there anyway to listen on all devices events changes from an App? There is not a problem to create a simple Cron task that runs every minute or so but I just like the whole thing with acting only when there is a change and act on it as fast as possible.

Any pointers if it is possible or should I go the cron task route?

/Markus

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [April 9, 2019, 5:45pm UTC](https://community.homey.app/t/listen-to-all-change-events/11655/2 "2019-04-09T17:45:23Z")

</div>

Check out @HarriedeGroot [MQTT Hub/Gateway](https://github.com/harriedegroot/nl.hdg.mqtt) app, which publishes all device changes to an MQTT broker.

FWIW, creating an HTTP request for each change seems rather resource-unfriendly to me, using MQTT or even a WebSocket is much more “streaming” that separate HTTP requests.
