#after 15 minutes it disconnected again
1 messages · Page 1 of 1 (latest)
can you try running an energy scan using zigpy-cli - it will run until there is a problem or you kill it with control-c. I';d like to see if the same crash happens to isolate if this is more of a z2m problem or hardware issue.
And how do I run it ?
similar to how you ran the flash with python
do the pip install commands
then run the energy scan, shut down z2m
and you can address the coordinator just as you did for the flash: socket://IP_ADDRESS:6638
yes but when i do the pip command it says pip is a invalid command
that's why i asked how do i run it
do it like you did the pre-reqs for the flasher wit py -3 -m pip install
it does not work in a windows terminal or python terminal
ERROR: You must give at least one requirement to install (see "pip help install")
so you ran py -3 -m pip install git+https://github.com/zigpy/zigpy-cli.git?
there shouldn't be a folder as far as I know
you should just be able to run zigpy from the commandline
Collecting git+https://github.com/zigpy/zigpy-cli.git
Cloning https://github.com/zigpy/zigpy-cli.git to c:\users\nigel\appdata\local\temp\pip-req-build-hbpbfcj_
ERROR: Error [WinError 2] Het systeem kan het opgegeven bestand niet vinden while executing command git version
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?
ERROR: Could not find a version that satisfies the requirement git (from versions: none)
ERROR: No matching distribution found for git
can you google how to install git on windows?
sure thing
or git commandline
what do you run HA on? it might be easier to do this there.
windows. looks like a pain
HA OS on a mini pc
thats already installed
okay can you ssh into it or open it from the web (may not be able to paste things in the web).
im in the terminal
run this:
docker exec -it homeassistant bash
then you should be able to just run
pip install git+https://github.com/zigpy/zigpy-cli.git
sec the terminal is acting funny
i'm using putty to connect thats oke right or should i use a terminal
[core-ssh ~]$ docker exec -it homeassistant bash
-bash: docker: command not found
i'm using root user on my HA os to connect in the terminal
oke done and done
pip installed and updated it in the progress
i turned off z2m and brokker
ran
zigpy radio znp socket://192.168.0.15:6638 energy-scan
atleast i think that's the right commanbd
i got a wall of text
so not the chart like shown here https://github.com/zigpy/zigpy-cli#performing-an-energy-scan
nope
2023-01-09 16:20:46.868 homeassistant zigpy.application ERROR Couldn't start app lication
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 145, in startup
await self.connect(
if this didn't work, it's the wrong terminal/ssh addon
and it gows on for quite a bit
yes it worked 🙂 had to disable safe mode
that's why it didn't work
are you sure z2m is shut down and can you ping the coordinator from the same commandline, that error is basically it couldn't be reached.
il ping it now
64 bytes from 192.168.0.15: seq=2 ttl=64 time=0.151 ms
--- 192.168.0.15 ping statistics ---
31 packets transmitted, 31 packets received, 0% packet loss
round-trip min/avg/max = 0.087/0.170/0.213 ms
ping works fine
reset the device and now its working i think
https://paste.debian.net/1266665/ resulkts
seems best zigbee channel to use would be 12
if i'm reading this correctly
currently on 15 ad indicated with the brackets
let it run see if it dies same time period z2m has issues
okay ill keep it running
just the reasoning here.. the energy scan starts up the coordinator network to do the scan. it is using he zigpy python libs instead of z2m. so just want to see if the same type of crash occurs.
also the higher bars mean more traffic. 20 looks the best if you wanted to change. but 15 not horrible and some of that noise is likely your existing network.
running 1 hour no errors
did z2m normally crash out with that error in this time span?
2 hours running no problem
can't really say
once it crashed after 10 minutes once 17 minutes and then mostly a couple of hours
mostly when i go to sleep and wake up then it would be offline
thats about §-8 hours
6 - 8
oh I thought it was smaller increments. Can you send me a dm or an email at the store @ tubeszb .com so i can look up your order. thanks.
not always small
okay done and done whats next
just wait I guess see if it is more stable
i started the energy scan again
and it replies good
guess it's time to hook it on z2m again
yeah try z2m again and see how it goes