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

Set ventilation off does not work #123

Closed
arkadicolson opened this issue Jan 19, 2022 · 7 comments
Closed

Set ventilation off does not work #123

arkadicolson opened this issue Jan 19, 2022 · 7 comments
Assignees

Comments

@arkadicolson
Copy link

Hi

I have a ventilation unit which I control with cmd4. The set from 0% to 100% does work well!. However when I shutdown (or 0%) the ventilation button in Homekit the script is not triggered. I can see "[1/19/2022, 8:55:44 AM] [Cmd4] Setting (Cached) Ventilatie On false" in the Homebridge logs. Is this something related to a cache setting?

v1.3.9
Timezone GMT+0100
OS Raspbian GNU/Linux Buster (10)
Node.js Version v14.18.3
Npm Version v6.14.15

{ "platform": "Cmd4", "name": "Cmd4", "outputConstants": false, "accessories": [ { "type": "Fan", "displayName": "Ventilatie", "on": "TRUE", "rotationDirection": "CLOCKWISE", "rotationSpeed": 100, "name": "Ventilatie", "manufacturer": "VENTRO", "model": "VENTRO-275", "polling": [ { "characteristic": "rotationSpeed", "interval": 10, "timeout": 9000 } ], "serialNumber": "2894745", "outputConstants": true, "stateChangeResponseTime": 3, "state_cmd": "/opt/ventilatie.sh" } }

@arkadicolson
Copy link
Author

Never mind. The on characteristic should be defined...

@arkadicolson
Copy link
Author

Hmmmm
Now I see
[1/19/2022, 10:24:45 AM] [Cmd4] getValue: On function for: Ventilatie returned an empty string "". Perhaps your device is busy?
in the logs. I indeed do not return anything on this because the only relevant char is rotationSpeed. When setting rotationSpeed to 0 it is off. Is there a way to handle this?

@arkadicolson
Copy link
Author

Never mind again ;-) Fixed it, bug in my script

@arkadicolson arkadicolson reopened this Jan 19, 2022
@arkadicolson
Copy link
Author

closed

@ztalbot2000
Copy link
Owner

ztalbot2000 commented Feb 9, 2022 via email

@ztalbot2000
Copy link
Owner

ztalbot2000 commented Feb 9, 2022 via email

@arkadicolson
Copy link
Author

arkadicolson commented Feb 10, 2022 via email

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

2 participants