-
Notifications
You must be signed in to change notification settings - Fork 18
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
Switch from RPi.GPIO
to gpiozero
#125
Conversation
c9a1940
to
a1d631d
Compare
@pipiche38 can you test out $ pip install git+https://github.com/zigpy/zigpy-cli.git
$ pip install zigpy-zigate==0.9.1 # new version
$ zigpy -vv radio zigate /dev/ttyAMA0 info |
I can but only next week as I’m away for this week, without access.
Envoyé de mon iPhone
… Le 10 août 2022 à 18:20, puddly ***@***.***> a écrit :
@pipiche38 can you test out zigpy-zigate==0.9.1 with a PiZiGate to confirm this change works? You can use zigpy-cli if you don't want to spin up an entire HA installation:
$ pip install git+https://github.com/zigpy/zigpy-cli.git
$ pip install zigpy-zigate==0.9.1 # new version
$ zigpy -vv radio zigate /dev/ttyAMA0 info
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
|
Test done on a Fedora distribution The Pi ZiGate was already in running mode , so I guess the GPIO config was already good
I force the GPIO to switch the Pi ZiGate into Flash mode, and I expect the zigpy-zigate layer to reset the pi-zigate to run mode
|
And unfortunatly I'm not able to make the pizigate running on a RPI4 with debian |
Can you try with the most recent PR (unmerged) fixing this typo? |
home-assistant/core#75967
gpiozero
is pure-Python and can be installed on any platform, removing the need for the conditional requirements in thesetup.py
file.I don't have a GPIO or DIN ZiGate to test with so this is a blind implementation. It should work but I would appreciate someone testing it out.