Question - how do I query the state of home/alarm/state?
I’m using node-red. I’m new to mqtt, not node-red, but I don’t know how to or what the best way is to trigger the output of “home/alarm/state” I have the mqtt nodes in and out setup, with the debug node, but what string do I use?
Hi folks,
Version 0.2.2.7 is out. @digitalcraig contributed an optional config field for the folks who like to use MQTT urls directly. mqtt_host still works. Also the added a docker-build.sh.
Give it a spin let us know if there are any issues.
I don’t know how I missed this thread before, and didn’t see the MQTT version. I have been using my own ADT Pulse sensor integration for Home Assistant and just posted it, in case someone wants to use it. I’ve only ever used it within my environment so your mileage may vary.
Is there any way I could use this as a docker container? I’m in the process of moving my hass over and this is the one add-on that keeps me on hass.io since it is the backbone of most of my automations. Thanks for all of your hard work on this.
Yes, I migrated from hassio to Docker myself. Normally you would have a repo on Docker Hub that would build the images from the github repo, but the hassio buid system allows for local builds so it’s not required.
Use docker-build.sh to build a local image of adt-pulse-mqtt
Create the container (I use docker compose so everything comes up in the right order)
If you don’t use docker-build.sh, run this docker command from the directory containing the Dockerfile (change amd64 to your architecture is different) :
The downside is you have to pull down the git updates, remove the container, and repeat the build whenever there is an update. If there is enough interest, getting an automated build on Docker Hub set up shouldn’t be too difficult.
I have this addon installed and it seems to be working. Thank you so much for this!!
I do have a question though. I am trying to get motion detection from the camera but the output from the camera events isn’t very clear to understand. Specifically they look like pretty much the exact same message for camera detect motion and camera stop motion. In the trace below the first time the camera message comes up it is detecting motion. The second time it comes up the motion stopped. The website interprets this and shows the correct event information but I am not sure how to get this into Hass. Any help?
I’ve set up an automated build on Docker Hub (digitalcraig/adt-pulse-mqtt/) that occurs whenever commits are made to my github repository. It was relatively easy to do once I set a default base image in the Dockerfile. Just needs to be test to make sure that doesn’t break the Hassio add-on.
For any device/zone, you would need to determine the status messages for when the binary sensor is “on” and “off”. I have a camera as well and I haven’t been able to determine the correct payload either. I think what you’re saying is that there was motion and it did publish a message, but the status was the same?
Here is an example of the configuration that I use:
Thanks for this, so I’m going to admit that I’m totally clueless when it comes to the finer points of docker. What type of commands would I need to do to pull this build and make sure it has the proper settings besides giving it a name, etc…
Thanks for this, so I’m going to admit that I’m totally clueless when it comes to the finer points of docker. What type of commands would I need to do to pull this build and make sure it has the proper settings besides giving it a name, etc…
What I’ve found to be the work best is to create a docker-compose.yml file which defines all of the containers and their dependencies. Then you run “docker-compose up -d” in the directory with docker-compose.yml to bring up all of the services. If the containers don’t exist, it will create them. When I need to upgrade to a new version of Home Assistant, I change image version number, remove the existing containers, and re-run docker-compose.