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

pulseDuration: 0 never turns off the pin #119

Open
philhar88 opened this issue Jun 10, 2021 · 0 comments
Open

pulseDuration: 0 never turns off the pin #119

philhar88 opened this issue Jun 10, 2021 · 0 comments

Comments

@philhar88
Copy link

I have a motorized roof covering that requires a remote control button to be pressed the entire duration of the up/down operation. I have wired the buttons to a relay connected to my rPi3.

This is my configuration

        {
            "accessory": "GPIODevice",
            "name": "Balcony Roof",
            "type": "WindowCovering",
            "pins": [
                22,
                4
            ],
            "shiftDuration": 15,
            "pulseDuration": 0
        }

I was expecting the relay to be turned off after the shiftDuration. Instead it never turns off. If I set the pulseDuration to 15000 it creates strange results with the accessory is not responding etc.

Should the relay turn off after the shiftDuration is complete?

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

No branches or pull requests

1 participant