Skip to content

Question on water sensor -> event listener #116

@nipsgur

Description

@nipsgur

I was playing a little with publishing events from the event listener to an mqtt server (very basic so far). It works quite nice for outlets, motion sensors and environment sensors (This are the devices I have)

Now, I have come to the water sensor. What I can see if I put it into some water is that the sensor changes to
water_leak_detected=True
when I query the device like:

water_sensors = dirigera_hub.get_water_sensors()
for water_sensor in water_sensors:
        print('water_sensor:\n')
        print(water_sensor)

But what I don't see is an event for that device. Is this because the hub does not trigger an event for the detection of water?

In the the app, you can also connect water sensors to notifications but not any actions/devices. Maybe that is the reason, there are no events?

Would be glad for some help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions