Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Philips Hue Motion Sensor works even {"on": false} #5826

Closed
marc965 opened this issue Feb 22, 2022 · 4 comments
Closed

Philips Hue Motion Sensor works even {"on": false} #5826

marc965 opened this issue Feb 22, 2022 · 4 comments

Comments

@marc965
Copy link

marc965 commented Feb 22, 2022

Describe the bug

I tried one Philips Hue Indoor Motion Sensor with deCONZ integration and it works well except when setting {"on": false} with

deconz.configure: { "field": "/sensors/33/config", "data": {"on": false} }
the Motion Sensor is still working, but i want to disable it.

If i look on deCONZ Api /sensors/33/config is set correctly on: false
Trying with:

platform: command_line
switches:
bad_motion:
friendly_name: 'BadMotion'
command_on: curl -X PUT -d '{"on":true}' "http://192.168.133.41:40850/api/XXXXXXX/sensors/33/config"
command_off: curl -X PUT -d '{"on":false}' "http://192.168.133.41:40850/api/XXXXXXX/sensors/33/config"
command_state: 'curl http://192.168.133.41:40850/api/XXXXXXXX/sensors/33'
value_template: '{{ value_json.config.on }}'
is working too, but no change on sensors behavior.

With Philips Hue Integration this is working properly.

Steps to reproduce the behavior

Expected behavior

If {"on": false} the motion sensor had to do nothing.

Screenshots

image
image

Environment

  • Host system: (Raspberry Pi / PC / NAS)
    NAS: Synology VMM, Home Assistant core-2022.2.9, supervisor-2022.01.1, Home Assistant OS 7.4

  • Running method: (Raspbian / Ubuntu / Home Assistent deCONZ Add-on / Marthoc Docker container / Windows / Virtual Machine)
    Home Assistant deCONZ Add-on 6.12.0

  • Firmware version: (26xxyy00)
    266B0700

  • deCONZ version: (2.xx.yy)
    2.14.01 / 6.2.2022

  • Device: (ConBee I / ConBee II / RaspBee I / RaspBee II)
    Conbee II

  • Do you use an USB extension cable: (yes / no) -- only relevant for ConBee I/II
    yes

  • Is there any other USB or serial devices connected to the host system? If so: Which?
    no

deCONZ Logs

Additional context

@SwoopX
Copy link
Collaborator

SwoopX commented Feb 22, 2022

This setting is just to disable event processing within rules, not to discard any events from the device itself.

@SwoopX SwoopX closed this as completed Feb 22, 2022
@marc965
Copy link
Author

marc965 commented Feb 23, 2022

This setting is just to disable event processing within rules, not to discard any events from the device itself.

Hi SwoopX. I dont agree. With my Philips Hue i have directly effect on Sensor behaviour with this param.
What can i do to persuade you thats not only a disabling processing parameter?

Within the Home Assistant Philips Hue integration this parameter is used to directly disable and enable Sensor as switch entity.
grafik

@ebaauw
Copy link
Collaborator

ebaauw commented Feb 23, 2022

See #90.

@marc965
Copy link
Author

marc965 commented Feb 23, 2022

thx for helping.
can you tell me if this "issue" is considered?
any information when it could be fixed?

not entirely understand...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants