Piston Not Subscribing


#1

1) Give a description of the problem
Piston isn’t subscribed to events. I get this message:
This piston does not subscribe to any events. Unless executed by other means, it will never run on its own.

2) What is the expected behaviour?
Should be triggered by two different events. Motion sensor 7 is a Zooz 4-1 sensor.
Switch 30 is a child switch device from a Zooz ZEN30 Dimmer/Relay.

3) What is happening/not happening?
No Trigger showing

4) Post a Green Snapshot of the pistonimage

5) Attach logs after turning logging level to Full

2/28/2020, 2:38:22 PM +299ms
+3238ms ║Failed subscribing to null.motion, device not found
+3261ms ║Failed subscribing to null.switch, device not found


#2

Motion sensor 7 is a Zooz 4-1 sensor. If I switch to a different motion sensor as a test, then the trigger shows up.
Switch 30 is a child switch device from a Zooz ZEN30 Dimmer/Relay. If I change it to try to trigger on another switch, a trigger shows up

Are there any known problems in related to the way a DTH is written that can keep WebCore from subscribing to events? These are both custom DTHs and the ZEN30 is very new but the 4-1 sensor DTH was originally created in 2017 and last updated January 2019.


#3

HI,
That seems strange. Try duplicating it to a new piston & see if that ones ok.

Has this ever been ok, or is it a new piston?

I had a piston the other day which was not runiing, it had been fine. Copying it to a new piston seemed to resolve the issue, by using the copy. I then deleted the original.


#4

New Piston
Tried duplicating and it had the same lack of trigger.


#5

Pared it down to its simplest form and it still shows no trigger


#6

It seems to not really know enough about those devices. You could go perhaps go into the webCoRE smartapp settings and remove them from the Available Devices, then put them back in again.


#7

I loaded your simplified piston above and input my motion sensor and light switch. It subscribed properly. I agree with @orangebucket, it may be a Device issue.


#8

I went into the Available Devices in WebCore to remove them and found that the sensor was not there at all. Not sure how I was able to select it. Also, the switch was there as a switch but not a sensor, so I added them both as sensors and it is subscribing properly now.
Thanks for the suggestion.
I didn’t know that if you added a device as an actuator it didn’t necessarily add as a sensor.