For a ST multi-sensor, where can I find the different events and status values


#1

1) Give a description of the problem
I have ST multisensor configured for a garage door. ST app reports open/closed correctly, but actiontiles does not. I was thinking of linking to a virtual switch and use webcore to turn on/off based on the sensor. But, I can’t find how that status is reported to webcore. Currently, I don’t have the garage door opener connected to ST, that’s a project for later this summer.

So question is, where can I find the status, event, etc, values for a ST multisensor?

2) What is the expected behavior?
The garage door open, the virtual switch is on
The garage door closed, the virtual switch is off


#2

I have the same device. A good way to see what is happening is to import this piston, and then open/close your door, and take note. I suspect Vector will change a LOT while the door is moving, so you may want to disable that section in most of your testing.

Actually, for better testing, I would only test one block at a time.

For this piston to work, every place you see “Computer Temp” you will have to edit & replace with the exact name of your contact sensor. (I just tested with one I had laying around) The “Contact Sensor” written in purple will be the same sensor.

Here is a small sample of my log after moving it around a bit:

temp

If your family is the type that open or close the garage door (but never stop it partway) then I think orientation will be the most helpful to you. Depending on how high up you installed your sensor, a partially closed door may still show up as closed. The higher you install it (top panel preferred), the more accurate it is.

If your household is known to leave the garage door partially open on occasions, then vector might be the way to go, but even the wind moves my Vector numbers, so the piston would have to be more complex to account for that.


#3

This is a ST multi sensor, there is an option in the ST app to set it as a garage door sensor, It reports open and closed correctly in the app, I just need to know what webcore sees.


#4

Right, then follow my steps in my last post.

Do you know how to disable sections of code in webCoRE?


#5

If you are like me, and only used the large half of the sensor on the garage door, then these are the changes that webCoRE detects when the door opens or closes:

  • acceleration
  • orientation
  • threeAxis (or Vector)

and possibly ‘status’ as well

acceleration has 2 possibilities
orientation has 6 possibilities
threeAxis/vector has millions of possibilities

Again, running the test I suggest, will let you know which ones that you want to monitor, but “orientation” will be the easiest IF your family never pauses the door partway open. If someone in your family often leaves the door partway open, please say so, because the code will need to be much more complex to account for that.

For your reference: The 90° orientation usually changes when it crosses approximately 45 degrees. Installing the sensor on the highest panel of your garage door, gives the highest probability that the door is indeed closed (or at least almost closed), since the top panel stays horizontal the longest. To say this another way, if your sensor was installed on the bottom panel, then the door could be 75% open, yet the orientation sensor would think it is closed.

You can test this to see what I mean by watching the orientation in the log while slowly closing the door manually. You will see it switches before it fully closes. (as soon as the panel it is attached to crosses 45°)

I installed my sensor on a one inch wedge (about 35°) to solve that issue. My orientation changes when my door is 2-3 inches away from being fully closed. Normal top panel install typically will trigger at 12-18 inches. Second panel from the top can be 2-3 feet open. And it gets worse the lower the sensor is.