Can someone help me, I am new to this and don’t know a lot about this. My device is Z-Wave Shield Razberry 7 (ZME_RAZBERRY7)
This is with home assistant, however before I get home assistant loaded, I see this:
Cannot start Z-Wave binding: Error: Invalid port
I looked into the logs and it said this:
[2023-06-25 17:32:14.669] [C] [i/o] Failed to open device /dev/ttyACM0: No such file or directory
[2023-06-25 17:32:14.669] [D] [i/o] Closing port
[2023-06-25 17:32:14.669] [zway] SaveData will not save data since it wasn't loaded. This is to prevent data loss.
[2023-06-25 17:32:14.676] [core] Error: Invalid port
[2023-06-25 17:32:14.683] [core] Tried 5 times without success. Stopping tries.
[2023-06-25 17:32:14.684] [core] Notification: critical (z-wave): Cannot start Z-Wave binding: Error: Invalid port
So I looked into my port options
~ $ ls -l /dev/tty*
crw-rw-rw- 1 root tty 5, 0 Jun 25 17:24 /dev/tty
crw--w---- 1 root tty 4, 0 Jun 25 17:24 /dev/tty0
crw--w---- 1 root tty 4, 1 Jun 25 17:24 /dev/tty1
crw--w---- 1 root tty 4, 10 Jun 25 17:24 /dev/tty10
crw--w---- 1 root tty 4, 11 Jun 25 17:24 /dev/tty11
crw--w---- 1 root tty 4, 12 Jun 25 17:24 /dev/tty12
crw--w---- 1 root tty 4, 13 Jun 25 17:24 /dev/tty13
crw--w---- 1 root tty 4, 14 Jun 25 17:24 /dev/tty14
crw--w---- 1 root tty 4, 15 Jun 25 17:24 /dev/tty15
crw--w---- 1 root tty 4, 16 Jun 25 17:24 /dev/tty16
crw--w---- 1 root tty 4, 17 Jun 25 17:24 /dev/tty17
crw--w---- 1 root tty 4, 18 Jun 25 17:24 /dev/tty18
crw--w---- 1 root tty 4, 19 Jun 25 17:24 /dev/tty19
crw--w---- 1 root tty 4, 2 Jun 25 17:24 /dev/tty2
crw--w---- 1 root tty 4, 20 Jun 25 17:24 /dev/tty20
crw--w---- 1 root tty 4, 21 Jun 25 17:24 /dev/tty21
crw--w---- 1 root tty 4, 22 Jun 25 17:24 /dev/tty22
crw--w---- 1 root tty 4, 23 Jun 25 17:24 /dev/tty23
crw--w---- 1 root tty 4, 24 Jun 25 17:24 /dev/tty24
crw--w---- 1 root tty 4, 25 Jun 25 17:24 /dev/tty25
crw--w---- 1 root tty 4, 26 Jun 25 17:24 /dev/tty26
crw--w---- 1 root tty 4, 27 Jun 25 17:24 /dev/tty27
crw--w---- 1 root tty 4, 28 Jun 25 17:24 /dev/tty28
crw--w---- 1 root tty 4, 29 Jun 25 17:24 /dev/tty29
crw--w---- 1 root tty 4, 3 Jun 25 17:24 /dev/tty3
crw--w---- 1 root tty 4, 30 Jun 25 17:24 /dev/tty30
crw--w---- 1 root tty 4, 31 Jun 25 17:24 /dev/tty31
crw--w---- 1 root tty 4, 32 Jun 25 17:24 /dev/tty32
crw--w---- 1 root tty 4, 33 Jun 25 17:24 /dev/tty33
crw--w---- 1 root tty 4, 34 Jun 25 17:24 /dev/tty34
crw--w---- 1 root tty 4, 35 Jun 25 17:24 /dev/tty35
crw--w---- 1 root tty 4, 36 Jun 25 17:24 /dev/tty36
crw--w---- 1 root tty 4, 37 Jun 25 17:24 /dev/tty37
crw--w---- 1 root tty 4, 38 Jun 25 17:24 /dev/tty38
crw--w---- 1 root tty 4, 39 Jun 25 17:24 /dev/tty39
crw--w---- 1 root tty 4, 4 Jun 25 17:24 /dev/tty4
crw--w---- 1 root tty 4, 40 Jun 25 17:24 /dev/tty40
crw--w---- 1 root tty 4, 41 Jun 25 17:24 /dev/tty41
crw--w---- 1 root tty 4, 42 Jun 25 17:24 /dev/tty42
crw--w---- 1 root tty 4, 43 Jun 25 17:24 /dev/tty43
crw--w---- 1 root tty 4, 44 Jun 25 17:24 /dev/tty44
crw--w---- 1 root tty 4, 45 Jun 25 17:24 /dev/tty45
crw--w---- 1 root tty 4, 46 Jun 25 17:24 /dev/tty46
crw--w---- 1 root tty 4, 47 Jun 25 17:24 /dev/tty47
crw--w---- 1 root tty 4, 48 Jun 25 17:24 /dev/tty48
crw--w---- 1 root tty 4, 49 Jun 25 17:24 /dev/tty49
crw--w---- 1 root tty 4, 5 Jun 25 17:24 /dev/tty5
crw--w---- 1 root tty 4, 50 Jun 25 17:24 /dev/tty50
crw--w---- 1 root tty 4, 51 Jun 25 17:24 /dev/tty51
crw--w---- 1 root tty 4, 52 Jun 25 17:24 /dev/tty52
crw--w---- 1 root tty 4, 53 Jun 25 17:24 /dev/tty53
crw--w---- 1 root tty 4, 54 Jun 25 17:24 /dev/tty54
crw--w---- 1 root tty 4, 55 Jun 25 17:24 /dev/tty55
crw--w---- 1 root tty 4, 56 Jun 25 17:24 /dev/tty56
crw--w---- 1 root tty 4, 57 Jun 25 17:24 /dev/tty57
crw--w---- 1 root tty 4, 58 Jun 25 17:24 /dev/tty58
crw--w---- 1 root tty 4, 59 Jun 25 17:24 /dev/tty59
crw--w---- 1 root tty 4, 6 Jun 25 17:24 /dev/tty6
crw--w---- 1 root tty 4, 60 Jun 25 17:24 /dev/tty60
crw--w---- 1 root tty 4, 61 Jun 25 17:24 /dev/tty61
crw--w---- 1 root tty 4, 62 Jun 25 17:24 /dev/tty62
crw--w---- 1 root tty 4, 63 Jun 25 17:24 /dev/tty63
crw--w---- 1 root tty 4, 7 Jun 25 17:24 /dev/tty7
crw--w---- 1 root tty 4, 8 Jun 25 17:24 /dev/tty8
crw--w---- 1 root tty 4, 9 Jun 25 17:24 /dev/tty9
crw-rw---- 1 root dialout 204, 64 Jun 25 17:24 /dev/ttyAMA0
crw------- 1 root root 5, 3 Jun 25 17:24 /dev/ttyprintk
crw-rw---- 1 root dialout 4, 64 Jun 25 17:24 /dev/ttyS0
As you can see I don’t even have a ttyACM0 as an option
The z-wave is attached to my serial port, I believe to be GPIO pins (AMA0?) first 10 ports as per Razberry7 directions. Ideas how can I fix this error?
Cannot start Z-Wave binding: Error: Invalid port
Re: Cannot start Z-Wave binding: Error: Invalid port
AMA0 is the correct port. Are you using Ubuntu build? The default port for Ubuntu is ACM0 because usually a USB dongle is used with a PC. Please go in Smart Home→Menu→Apps→Active→Z-Wave Network and change the port
Re: Cannot start Z-Wave binding: Error: Invalid port
Choice! That's great, works perfectly. Thank you very much! As an aside, I don't 'think' I used the Ubuntu build? I used the build in this post:
https://help.z-wave.me/en/knowledge_bas ... ore-64-bit
Besides having to upgrade to python 3.10 now, it worked well. Thanks again!
https://help.z-wave.me/en/knowledge_bas ... ore-64-bit
Besides having to upgrade to python 3.10 now, it worked well. Thanks again!