RaspberryMatic as a Home Assistant OS (in VMware Workstation Player) Add-on and HmIP-RFUSB on Windows #1705
Replies: 5 comments 17 replies
-
The answer is "if the guest OS on the VM has access to the USB device(s) on the host, it should just work. I did simple lsusb commands to see if the device was recognized, using the SSH and terminal add-in. On the SSH container, the lsusb DID show the USB device, 1B1F:c020, so my assumption that the device was not getting to the container turned out to be false.
It looks like when I disabled protection for the RM add-on, it started working. (note I have not double-checked this, but I don't remember doing anything else). Now I have this in my startup log:
But everytime the VM reboots, one has to manually reconnect the USB device. In the .vmx file for the VM (in my case
So now the VM guest OS connects to the USB device and removes it from the host on each boot. Next, seeing an incredibly long pause during the startup of the VM, I decided I should change the boot order on the VM. This considerably sped up the boot of my VM. I'll report back any further progress. |
Beta Was this translation helpful? Give feedback.
-
Understood. Is there a test on any platform that will test the RFUSB stick’s RF operation, in order to verify it was assembled successfully?
Thanks!
|
Beta Was this translation helpful? Give feedback.
-
If I could have one more second…
The RFUSB is in two parts and has to be assembled. The part that is connected to the USB connector is working, that’s for sure, but I don’t think anything you mentioned proves the RF section is working. From what I understand (and please correct), if the RF section isn’t working, then the teach-in mode will just count down and, receiving no signal from the device, it will time out.
It is this hypothetical mode I think I’m in now, so that’s why I’m looking specifically for an RF test.
I do know my devices are fine because they are currently being used in HomeAssistant and Smartha app, etc, using the gateway. I’m just trying to transition to RaspberryMatic.
Is there a debug flag I can turn on that will maybe show the packets to-from the device?
|
Beta Was this translation helpful? Give feedback.
-
Read/Check again: https://github.com/home-assistant/operating-system/releases/latest 7.3 is the latest one and definitly required here in the game you are trying to play in here :) |
Beta Was this translation helpful? Give feedback.
-
I'm running the snapshot mentioned in that issue after I found it searching for help with the HMIPserver problem
the error is gone but I cannot teach in my HmIP radiator thermostat using key and ID it's a TRV-B to be more precise.
|
Beta Was this translation helpful? Give feedback.
-
Hey, and thanks for creating all this wonderful software. I'm looking forward to using it.
I'm trying to get the configuration shown in the Title to work on Windows, and I'm not sure how to get the Docker contains containing the RaspberryMatic CCU Add-in for Home Assistant to see the USB device I have plugged into my Windows Hardware.
I have previously plugged in the device on my Windows hardware, and then in VMWare Workstation Player, have taken control of the device in the Settings. My VM's settings are set to USB 2.0.
So now my VM sees the USB device. How does the docker container with RM in it see the device? or should that "just work"?
I'm asking here because after doing some pretty exhaustive searches, I have not found an answer. If it turns out there is no direct answer to that question, it seems that an article should be written to troubleshoot the event should it happen, and add a link to that in the RM Add-in installation for Home Assistant.
I have seen some articles on the RPi4 installation for the HmIP-RFUSB, but that obviously isn't the same thing as the RM within the docker container within the VM environment I'm using.
Sorry if this is already answered, but my web search prowess has failed me ;)
Beta Was this translation helpful? Give feedback.
All reactions