ady624 / CoRE

CoRE - Community's own Rule Engine
GNU General Public License v3.0
222 stars 663 forks source link

Problem / error with "Interaction" "Physical" #39

Closed amegn1000 closed 8 years ago

amegn1000 commented 8 years ago

When using "Trigger" using "Comparison" "Changes to" + "Value" "on" + "Interaction" "Physical", piston is not triggering actions.

I get the following error:

babb4c21-cfda-4b3e-aaca-eea07bc3a08b 10:28:00 AM: error ║ ERROR: Error evaluating condition: java.lang.NullPointerException: Cannot get property 'physical' on null object babb4c21-cfda-4b3e-aaca-eea07bc3a08b 10:27:58 AM: debug ║ ♣ Function eval_cond_is_one_of for Home's mode [Morning] is one of '[Awake, Morning]' returned true babb4c21-cfda-4b3e-aaca-eea07bc3a08b 10:27:58 AM: error ║ ERROR: Error evaluating condition: java.lang.NullPointerException: Cannot get property 'physical' on null object babb4c21-cfda-4b3e-aaca-eea07bc3a08b 10:27:58 AM: debug ║ ♠ Function eval_cond_is_less_than for Kitchen Multisensor's illuminance [288] is less than '60' returned false babb4c21-cfda-4b3e-aaca-eea07bc3a08b 10:27:43 AM: debug ║ ♣ Function eval_cond_is_one_of for Home's mode [Morning] is one of '[Awake, Morning]' returned true babb4c21-cfda-4b3e-aaca-eea07bc3a08b 10:27:43 AM: error ║ ERROR: Error evaluating condition: java.lang.NullPointerException: Cannot get property 'physical' on null object

Just to confirm i have physical switches selected in that case.

Thank you for the support!

ady624 commented 8 years ago

Can you please confirm the switch DTH is actually reporting the physical activity? Look up the event in the Location section of the IDE. Not all devices correctly provide physical push information...

amegn1000 commented 8 years ago

Thank,

Here is what I have:

untitled

It looks like no interaction type is registered. Should I use a different DTH?

Thanks again.

Best regards, Arnaud

On Jul 29, 2016, at 1:29 PM, ady624 notifications@github.com wrote:

Can you please confirm the switch DTH is actually reporting the physical activity? Look up the event in the Location section of the IDE. Not all devices correctly provide physical push information...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ady624 commented 8 years ago

Yes, you need to find a DTH that sends the isPhysical correctly.

If it's z-wave, try this: https://community.smartthings.com/t/release-z-wave-dimmer-switch-with-stepper-and-low-med-high/48183