-
Notifications
You must be signed in to change notification settings - Fork 13
Unable to install packages #57
Comments
Are you using hass.io ? |
No, I did manual installation with python environnement : https://www.home-assistant.io/docs/installation/raspberry-pi/ Cause hass.io is not yet available for rpi4 |
Good, could you provide log in debug mode ? |
I add debug mode in configuration.yaml, but I didn't find log file. The file home-assistant.log stay empty even after HA reboot, or Rpi Reboot (I gave full access to the file with chmod 777). However, on admin dashboard (in /dev-info path), I had this following logs (I dont know where logs are stored) :
Moreover, following this step (https://zigate.fr/documentation/parametrer-la-pizigate/), I add procedure to enable GPIO in production mode. In the Zigate's forum, the user : zigate (owner) told to avoid this procedure if we use domotic assistant cause plugin (so like yours) may already enable the right GPIOs inputs. Because actually, it seems to have a conflict. The blue led move to low light some times (I think after HA boot). Thank you doudz ;) PS : Would you prefer to speak french ? |
Hey, I have the same issue. Configuration check and logs give me this: |
@Gesfenlir the error is about automation, not zigate |
@Quentintin Could you click on the error to have the full traceback ?
The following means the zigate lib hasn't loaded
|
@Quentintin Did you follow the instructions ?
If you're using Rpi3, you can have some trouble trying to use PiZiGate. If needed, add the following line into config.txt (If you're using Hass.io you have to access that on the SD card directly. Simply plug it into your PC and edit it there. The config.txt is not accessible from your Hass.io system, you may need to open the SD card on a Windows or Linux system.): dtoverlay=pi3-miniuart-bt |
Hey @doudz , I did install new Hassio 0.96.5 for Rpi4 (32bits) with a fresh clean installation. I follow instructions to install plugin, but it still doesn't work. Here's my files configuration.yaml
config.txt (at the end)
The logs :
I noticed that when I plug out then plug in pizigate inside gpio, here's my logs :
It may help you to understand something. I really want to make it work, so dont hesitate to ask me more informations. |
I think about a baudrate issue or something like that. |
So the solution is to double baudrate (in your source code) or firmware update (how should I do this on Hassos ?) |
Could you try dtoverlay=pi3-disable-bt ? |
You could also find some help on HA communauty since there's same problem for people who use razberry board (zwave gpio board) |
Ok i will try all this options this afternoon. Thk you. |
Nothing seems to work !
With Raspbian Buster Lite installed on other SD Card, I try :
All updates has done perfectly, but my problem is still here ! @doudz Did you try your plugin on Rpi 4 with Hass.io (HassOS) |
PS : The blue led (on PiZigate) stay solid state and LOW brightness |
No not tested on rpi 4 , only 2 and 3 |
The problem can me related to GPIO ,I don't know ... |
Since I have no Rpi4, If you want, you can give me a ssh access to your raspbian to make test |
similar to doudz/zigate#139 |
My Rpi 4 is on the way... |
After test it works like a charm
That's all folks :) |
What's your environement ? Did you try on Hass.io ? or Alternative/manual install ? I'm on Hassio 0.97 and I dont find how should i check this point :
But others 3 points are checked, and here's my log
|
Following this tutorial : https://developers.home-assistant.io/docs/en/hassio_debugging.html#ssh-access-to-the-host I'm over container now, |
Sorry but I can't test HASSIO yet because HASSIO for pi4 doesn't have Wifi because of a driver problem I'm running a fresh raspbian buster on Pi4 2G and using venv
|
@Quentintin you said you're using container, do you mean docker ? |
Hmmm I know, as you see I comment this issue. Just have to wait now ... Now I start to understand complexity of HA, I really thing about a fresh installation of HA on Raspbian. Is it possible to restore snapshot from HassIO on it ? |
I dont use docker by myself. Talking about hassio running HA + Supervisor on ResinOS. https://developers.home-assistant.io/docs/en/architecture_hassio.html |
By far I prefer a manual installation in raspbian rather than docker or HASSIO Installing raspbian takes few |
I did new install on other SD card with Raspbian Buster + Python env, and ... IT WORKS FINE 🍾 ! Just one thing : "Your zigate firmware is outdated, Please upgrade to 3.1a or later !" |
For your information I had the same issue on a Pi 3. The problem was solved after I did this : Sauvegardez puis tapez les commandes suivantes :
|
Hi, i'm just passing by to say I had exactly the same problem and solved it. My configuration is HassOS 3.7 on a Raspberry 4 Model B You can see that when you go in your "Hass.io "menu then "System" tab and "Hardware". Not sure why it changed for me. Maybe the README should be updated to reflect that ? |
Hi doudz, I followed the way you installed HA on RPI4/PiZiGate : I am facing the followin errors : Do you have any idea where this is coming from ? Thanks for yout time. |
Did you copy manifest.json ? |
Yes, manifest.json is in custom_components/zigate diectory. |
I also noticed this in the traces of hass : |
@hmargera I think the ZiGate is working because you're able to see the firmware version in the admin Panel. |
Thank you for your feed back. On my way to erase the PiZiGate EEPROM, il found that may be the Zigate python module is not correctly installed. pi@raspberrypi:~ $ python3 -m zigate -h pi@raspberrypi:~ $ ls /usr/bin/python* pi@raspberrypi:~ $ ls /usr/bin/python3.7 pi@raspberrypi:~ $ ls /srv/homeassistant/lib/python3.7/site-packages/zigate |
@hmargera no, don't try to use the zigate module outside of Home Assistant it wouldn't work because Home Assistant install the dependencies in it's own folder If the admin Panel is working and the Firmware version is visible : the component is fine. To erase the EEPROM, use the HA service |
Here is what happened after I use the zigate.raw_command : Same issue present after restarting HA. |
Hello,
Firstly, i want to say I use Raspberry Pi 4 (4Go) with Raspbian buster + Pizigate freshly ordered
I'm not sure Pizigate works fine because test script is not developped yet for Rpi4, but control of blue led seems to work. (https://zigate.fr/documentation/parametrer-la-pizigate/)
I followed instruction about installation, but configuration.yaml doesn't accept this part :
When I use configuration validator, here's the response :
Moreover I didn't succeed to use developer/services and call 'zigate.permit_join'.
I've got fail response too :
Do you have any idea to fix my problem ?
Thank you
The text was updated successfully, but these errors were encountered: