ArjanKranenburg / virtual-devices

Homey-app to add Virtual Devices that can trigger your flows.
Other
25 stars 17 forks source link

V2: fibaro alarm_generic.contact2 cannot set value virtual contact #93

Closed eelco2k closed 5 years ago

eelco2k commented 5 years ago

I'm having trouble setting a value for a virtual contact sensor based on the current value of my "homey:app:com.fibaro — FGBS-001" (binairy sensor)

virtual devices version: v0.8.5

fibaro device --> class: sensor

Capability | Type | Value | Edit value | Last Updated
-- | -- | -- | -- | --
alarm_generic.contact1 | boolean | false |   | 14 minutes ago
alarm_generic.contact2 | boolean | false |   | 14 minutes ago
measure_temperature.sensor1 | number | null |   | 3 days ago
measure_temperature.sensor2 | number | null |   | 3 days ago
measure_temperature.sensor3 | number | null |   | 3 days ago
measure_temperature.sensor4 | number | null |   | 3 days ago

When i create a new Flow: IF: Fibaro alarm_generic.contact2 is opened (true)

THEN: "put value of virtual sensor"

The test runs fine but no value is changed. The virual contact alarm gets no new status.

eelco2k commented 5 years ago

fix it by manually set "alarm_contact" in the tag. perhaps it can be easier to configure if you can detect the tag or select from a list. so you don't have to lookup in de documentation which tag to use.