Open SamuelCarson opened 4 years ago
Hi @SamuelCarson, if you find you want/need the ability to restart your Wyze integration separately from HA, you might want to look into one of the various projects that has the Wyze pieces running separately via an MQTT integration. I have one project for this, WyzeSense2MQTT, but there are a few others including ha-gosense, and wyze-mqtt. There may also be others that I'm not aware of. They would benefit from having the bridge dongle directly attached to whatever is running them. Though USB/IP can work, it does create a number of potential issues, race conditions being one of the biggest.
Any of those do require having MQTT running somewhere, which isn't for everyone. But it's a nice way to keep the HA system clean and fast, while still allowing integration to other types of environments. And if you are already using it for something like Z-Wave or Zigbee, then Wyze just becomes another similar sensor platform.
The reason for running the Wyze dongle on a separate RPi is to get the dongle away from the very considerable RF interference generated by the USB 3.0 hardware on the RPi 4B. This interference is a known USB 3.0 problem (not specific to the RPi) and substantially reduces the range of the dongle. This is true for the zigbee dongle also. As I am already using zigbee2MQTT your WyzeSense2MQTT running on a separate RPi would appear to solve the problem of remoting the dongle. Unfortunately it also requires learning Docker something I know nothing about. As time permits I may try it.
Your name does not appear on the WyzeSense2MQTT github. Where should I address on questions?
From: Elias Hunt Sent: Sunday, July 26, 2020 11:03 AM To: kevinvincent/ha-wyzesense Cc: SamuelCarson ; Mention Subject: Re: [kevinvincent/ha-wyzesense] Restart Wyzesense without restarting Home Assistant (#152)
Hi @SamuelCarson, if you find you want/need the ability to restart your Wyze integration separately from HA, you might want to look into one of the various projects that has the Wyze pieces running separately via an MQTT integration. I have one project for this, WyzeSense2MQTT, but there are a few others including ha-gosense, and wyze-mqtt. There may also be others that I'm not aware of. They would benefit from having the bridge dongle directly attached to whatever is running them. Though USB/IP can work, it does create a number of potential issues, race conditions being one of the biggest.
Any of those do require having MQTT running somewhere, which isn't for everyone. But it's a nice way to keep the HA system clean and fast, while still allowing integration to other types of environments. And if you are already using it for something like Z-Wave or Zigbee, then Wyze just becomes another similar sensor platform.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
You should be able to follow the Linux Systemd instructions rather than using Docker. I personally love Docker, but it can take a little to get going on an RPi the first time. I've had success running things in both models, but use Docker myself. If you decide to try Docker, just make sure to use their install script to install it, rather than the packages that come with Raspbian, those are out of date.
As for any issues or hiccups you may have, just log an issue on the project. There are a few folks that have been helping me with various things, so it's a good way to get help and make sure more than one person might see it. And the right repository you want is raetha/wyzesense2mqtt. There are a few forks, but most of those are behind, or are contributing to the root.
Use the Docker install script? Please point me in the correct direction toget started
From: Elias Hunt Sent: Sunday, July 26, 2020 12:49 PM To: kevinvincent/ha-wyzesense Cc: SamuelCarson ; Mention Subject: Re: [kevinvincent/ha-wyzesense] Restart Wyzesense without restarting Home Assistant (#152)
You should be able to follow the Linux Systemd instructions rather than using Docker. I personally love Docker, but it can take a little to get going on an RPi the first time. I've had success running things in both models, but use Docker myself. If you decide to try Docker, just make sure to use their install script to install it, rather than the packages that come with Raspbian, those are out of date.
As for any issues or hiccups you may have, just log an issue on the project. There are a few folks that have been helping me with various things, so it's a good way to get help and make sure more than one person might see it. And the right repository you want is raetha/wyzesense2mqtt. There are a few forks, but most of those are behind, or are contributing to the root.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
For Docker: See this page: https://docs.docker.com/engine/install/debian/#install-using-the-convenience-script That is how to install on Raspbian, however, read the section up top about uninstalling old versions as well, in case you've installed them via apt or whatever package manager your version of Raspbian uses.
As for the Systemd install of WS2MQTT, those instructions are at: https://github.com/raetha/wyzesense2mqtt#linux-systemd You don't need Docker if you just use Systemd, but I've done less troubleshooting there.
Please follow either the Docker or Systemd instructions, and if you have issues, log a new issue on the WS2MQTT repo. We shouldn't be stepping through install help on this repo since it is unrelated, but can move over there.
Running Wyze dongle on remote system via USB-over-IP. There is a race condition that prevents the dongle being recognized when rebooting Home Assistant server. This leads to restarting Home Assistant. Restarting Wyzesense without restarting home assistant would fix the problem of HA automation unavailability during restart. Perhaps Wysesense could be made into an official add-on with restart capability.
This is an enhancement request.