Giter Club home page Giter Club logo

Comments (10)

pvizeli avatar pvizeli commented on June 15, 2024

Hass config?

from supervisor.

jaredjensen avatar jaredjensen commented on June 15, 2024

Did you ever get this working? I'm having the same issue with the same setup.

from supervisor.

ryan-durbin avatar ryan-durbin commented on June 15, 2024

from supervisor.

jaredjensen avatar jaredjensen commented on June 15, 2024

It's encouraging that yours worked. Following the instructions, I created /etc/udev/rules.d/99-usb-serial.rules:

SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="8a2a", SYMLINK+="zwave"
SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="8a2a", SYMLINK+="zigbee"

And updated my configuration.yaml:

zwave:
  usb_path: /dev/zwave

zigbee:
  device: /dev/zigbee

But the HA dashboard still reports "The following components and platforms could not be set up: zigbee, zwave" after a restart. I'll keep futzing with it.

from supervisor.

jaredjensen avatar jaredjensen commented on June 15, 2024

I got it working without aliases by modifying my configuration.yaml:

zwave:
  usb_path: /dev/ttyUSB0

zha:
  usb_path: /dev/ttyUSB1
  database_path: zigbee.db

from supervisor.

ryan-durbin avatar ryan-durbin commented on June 15, 2024

from supervisor.

marc-gist avatar marc-gist commented on June 15, 2024

this ever get fixed? i can't get it to work... z-wave appears to be, but no zigbee

from supervisor.

ryan-durbin avatar ryan-durbin commented on June 15, 2024

from supervisor.

bradfitz avatar bradfitz commented on June 15, 2024

@jaredjensen, your udev rules aren't doing what you expect. They were both matching and ending up with the symlinks both pointing to the same node (the last configuration presented by the USB device).

I ended up with a /etc/udev/rules.d/99-usb-serial.rules of:

# For Linear HUSBZB-1. Creates:
#      /dev/zwave0zig1_00  (for zwave)
#      /dev/zwave0zig1_01   (for zigbee)
SUBSYSTEMS=="usb", ENV{.LOCAL_ifNum}="$attr{bInterfaceNumber}"
SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="8a2a", SYMLINK+="zwave0zig1_%E{.LOCAL_ifNum}"

I used a verbose name as a hint to myself in the future about which config is zwave (0) vs zigbee (1).

I additionally have two other Z-Wave USB sticks, which I match more simply with:

# Z-Stick Gen2
SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", ATTRS{serial}=="0001", SYMLINK+="zwavegen2"

# Z-Stick Gen5
SUBSYSTEM=="tty", ATTRS{idVendor}=="0658", ATTRS{idProduct}=="0200", SYMLINK+="zwavegen5"

from supervisor.

frenck avatar frenck commented on June 15, 2024

Closing this issue, reasoning: This issue predates HassOS.
If this is still an issue, feel free to open a new one with some recent logs.

Thanks 👍

from supervisor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.