HASSOS in Hyper-V - Is it possible to install USB Rediector or something similar for USB support?

aceindy, it seems you got this to work and its prompting me to start down the HA path to replace ST.

To be clear, which software did you use from Eltima? ( Virtual Serial Port Driver, Serial over Ethernet Connector, or USB Network Gate) It seems all three of these could work.

I’m also looking at com0com which it seems Eltima took the free version of, changed some stuff, and started charging for.

I use Eltima’s virtual serial port (I just happened to have a license laying around) If i remember correctly, it is also possible to use netburner virtual port for free (which is eltima) it is only stuck at 9600 baud
But yeah, any serial over tcp interface would do :wink:

Also see earlier post

I think VSP3 is still free :wink:

I think I’ve run into a wall created by the dongle I bought. I have the [HUSBZB-1 (Z-Wave & Zigbee USB Adapter) which is not compatible with zigbee2mqtt. It looks like the new Zigbee implementation might support this, but I haven’t figured out how to even install that yet.

And there is no mention of getting z-wave to work.

I’m starting to think this isn’t worth the effort

@Jared_Heath I came to the same conclusion… since I also have a HUSBZB-1 as well. I also ran into a similar wall when trying to do this via WSL2 on Windows 10. WSL2 doesn’t support USB devices yet. I’m currently using the Home Assistant VM on Virtualbox… passing my HUSBZB-1 via the Virtualbox USB Filter. I may give WSL2 a shot once they have official support for USB devices.

Thanks to everyone contributed to this thread (especially @aceindy ), I can confirm the Netburner works.

A couple of tips if you want to go down this route:

1_ The port that you are trying to communicate on with the Netburner should be opened on windows firewall. This is one of those simple tasks that you do not pay attention to and it gives you a painful headache :slight_smile:

2_ As it has been mentioned above the virtual port should be created as a server. Also make sure that you use the correct USB Com port. In my case it was on Com4 .I attached a screenshot of mine. Hope that helps

3_ Most definitely you will see some issues with regards to communication between different components, make sure you look at this URL before anywhere else (well, I am talking about the zigbee2mqtt to be more specific): https://www.zigbee2mqtt.io/information/FAQ.html#help-zigbee2mqtt-fails-to-start

1 Like

@aryankids Great to hear it works.

Btw…you can also use telnet on the TCP port to monitor any activity; nice for testing :wink:

Still working stable with Netburner?

For me yes…no stability issues whatsoever :yum:

How did you find which COM port to use? By me also by devices it says by other devices, no drivers installed. Is that normal?

Guys do i need to install first some drivers for CC2531 on Windows before use netburner or other apps like that?

@Himdola Yes, if I remember correctly, the CC2531 needs to be flashed --> https://www.zigbee2mqtt.io/information/flashing_the_cc2531.html

After that it will be visible as an ordinary serial port in the device list:
image

So I shared com8 with netburn over tcp port 5008,
and configured zigbee2mqtt’s serial port as:

  "serial": {
    "port": "tcp://192.168.1.18:5008"
  },

(share/zigbee2mqtt/configuration.yaml)

I did already flashed that but windows can’t find any drivers for it.

afbeelding

Hmm…yeah I remember vaguely some people having issues…
I believe my drivers came along with the flashing software, but maybe try one of these ??

For anyone trying to flash a CC2531 with TI SmartRF Flash programmer software and a smartRF04 programmer, you may need the updated 64-bit windows drivers (swrc212a.zip):
SWRC212 Driver or library | TI.com
(how to flash the CC2531 · Issue #3 · zigbeer/zigbee-shepherd · GitHub)

or

or
CC2531EMK: windows 10 creators update driver - Zigbee & Thread forum - Zigbee & Thread - TI E2E support forums

1 Like

see…i did answer this question before :yum:

Yes, but found different sensors drop frequently when they are a bit far away from the USB stick. So I changed the plan as of last night and put a tasmotised Zigbee-wifi hub. Now ALL the sensors provide their data happily without any interruption!

Thank you very much! I know this is an old thread, but i’m new to HA. Now i’m able to connect my Sonoff Zigbee USB device (cost me only 8 EUR, pretty cheap IMO). My initial fault was creating virtual COM port instead of real. Now i must think of a way to passthrough bluetooth to my Hyper-V HASS installation. Maybe anyone succeded with that? I mean, i could use ESP32 as a bridge but at the moment i’m unable to purchase one, but i do have full Windows Server installation with Hyper-V running. Maybe there is a windows bluetooth to mqtt software? So far i didn’t find any.

Hello Guys,
i cant get this to work with netburner.
The Connection is up and running but i get an error while starting zigbee2mqtt.

Ports on Windows Firewall are opened.
COM 4 is the correct one.

Im using a Shaesh’s CC2652RB.

Any suggestions ?



image

1- how does you configuration in zigbee2mqtt look like? Please paste your config…
2- Can you connect with telnet from another machine?
telnet <ip address of host> 5656

im not that familiar with telnet.
if i try to connect my shell looks like that


and netburner shows 2 connections.

data_path: /share/zigbee2mqtt
external_converters:
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: mqtt://10.0.0.249:1883
user: xxxxxx
password: xxxxxxxx
serial:
port: tcp://10.0.0.250:5656
advanced:
log_level: info
pan_id: 6754
channel: 11
network_key:
- 1
- 3
- 5
- 7
- 9
- 11
- 13
- 15
- 0
- 2
- 4
- 6
- 8
- 10
- 12
- 13
availability_blocklist:
availability_passlist:
device_options: {}
blocklist:
passlist:
queue: {}
frontend:
port: 8099
experimental:
new_api: true
socat:
enabled: false
master: pty,raw,echo=0,link=/dev/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
restartdelay: 1
initialdelay: 1
options: ‘-d -d’
log: false
input:

  • ImExPS/2 Generic Explorer Mouse
  • AT Translated Set 2 keyboard
  • QEMU QEMU USB Tablet
  • Power Button
    disk:
    gpio:
    usb:
  • /dev/bus/usb/001/001
  • /dev/bus/usb/001/002
  • /dev/bus/usb/002/001
  • /dev/bus/usb/002/002
  • /dev/bus/usb/003/001
    audio: {}

apparently it looks ok…but yaml indentation is wrong, in fact there is no indentation at all :thinking:

It should have 2 spaces in front of tcp:

serial:
  port: tcp://10.0.0.250:5656

I am also a little confused about the input section? What is the part below log doing?
I don’t have that….

This is mine:

data_path: /share/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://192.168.1.2
  user: xxxxxx
  password: xxxxxx
serial:
  port: tcp://192.168.1.8:5005
advanced:
  log_level: debug
  pan_id: 6754
  channel: 11
  network_key:
    - 1
    - 3
    - 5
    - 7
    - 9
    - 11
    - 13
    - 15
    - 0
    - 2
    - 4
    - 6
    - 8
    - 10
    - 12
    - 13
  availability_blocklist: []
  availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
  port: 8099
experimental:
  new_api: true
socat:
  enabled: false
  master: pty,raw,echo=0,link=/dev/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: '-d -d'
  log: false

oh, btw, telnet looks :+1:t4: