add hacs support, bump version number, update readme
This commit is contained in:
@@ -1,16 +1,16 @@
|
|||||||
# Home Assistant Ecovacs Custom Component with Bumper Support
|
# Home Assistant Ecovacs Custom Component with Bumper Support
|
||||||
Replaces built in ecovacs component. Commit history is a bit of a mess. master branch shows changes from bmartins fork of sucks to v1.3.0 of this custom component. dev branch shows commits from my attempts at testing and getting this to work.
|
Replaces built in ecovacs component. Designed to work with bumper, https://github.com/bmartin5692/bumper, a replacement for Ecovacs servers to truly get local control.
|
||||||
|
|
||||||
Works with bumper with my N79 and should work with at least other XMPP based ecovacs. Don't know if changes will work with MQTT based ones.
|
Works with bumper with my N79 and should work with at least other XMPP based ecovacs. Don't know if changes will work with MQTT based ones.
|
||||||
|
|
||||||
Added additional catches to sucks because my N79 sends some weird payloads, but attributes all pull in now for brush life spans. Couple initial queries it also sends weird that I'm in process of catching atm. As of version 1.3.0 (in the manifest.json) these initial queries and all attributes are working. Was using an implementation completely mine but saw in the MQTT class there were already catches for child payloads without the main payload having the expected td in its payload. Kept comments in giving credit and adapted them to work with xmpp.
|
Should work as regular if bumper is false in config but haven't tested yet, goal was to get it all local. Maybe mess around and test it in future.
|
||||||
|
|
||||||
With bumper and my N79 commands would work but some queries had responses that included errno='', which bumper would flag as an error even though the full response was there. If your debug logs are throwing errors and the errno is '' then my small fork of bumper may help https://github.com/bittles/bumper-fork
|
With bumper, my N79 commands would work but some queries had responses that included errno='', which bumper would flag as an error even though the full response was there. It never created attributes for the filters as one of the results. If your debug logs are throwing errors and the errno is '' then my small fork of bumper may help https://github.com/bittles/bumper-fork
|
||||||
|
|
||||||
Should work as regular if bumper isn't used in config but haven't tested yet, goal was to get it all local. Maybe mess around and test it in future.
|
Based off the regular home assistant ecovacs config and bmartin's fork of sucks, https://github.com/bmartin5692/sucks.
|
||||||
|
I'm using the docker-compose example from my bumper forked from bmartin5692's, https://github.com/bmartin5692/bumper on an odroid-n2+.
|
||||||
I'm using the docker-compose example for bumper by bmartin5692, https://github.com/bmartin5692/bumper on an odroid-n2+.
|
|
||||||
|
|
||||||
|
### DNS
|
||||||
For DNS routing I have an Asus AX88u with asus-merlin installed running Adguard. DNS rewrites in AdGuard for domains:
|
For DNS routing I have an Asus AX88u with asus-merlin installed running Adguard. DNS rewrites in AdGuard for domains:
|
||||||
```
|
```
|
||||||
*.ecouser.net
|
*.ecouser.net
|
||||||
@@ -19,12 +19,17 @@ For DNS routing I have an Asus AX88u with asus-merlin installed running Adguard.
|
|||||||
```
|
```
|
||||||
pointing to my bumper server.
|
pointing to my bumper server.
|
||||||
|
|
||||||
Big credits to bmartin5692 for his fork of sucks to base this off of as well.
|
|
||||||
|
|
||||||
## Home Assistant Install & Config
|
## Home Assistant Install & Config
|
||||||
Drop the ecovacs folder into your custom_components folder. If I polish this up I'll add hacs support.
|
### HACS Install
|
||||||
|
You can add this repository to your HACS: https://github.com/bittles/ha_ecovacs_bumper
|
||||||
|
Then download with HACS, HACS -> Integrations -> Explore & Download Repositories -> EcovacsBumper
|
||||||
Restart HASS.
|
Restart HASS.
|
||||||
|
|
||||||
|
### Manually Install
|
||||||
|
Drop the ecovacs folder into your custom_components folder.
|
||||||
|
Restart HASS.
|
||||||
|
|
||||||
|
### Config
|
||||||
In your configuration.yaml:
|
In your configuration.yaml:
|
||||||
```
|
```
|
||||||
ecovacs:
|
ecovacs:
|
||||||
@@ -49,4 +54,16 @@ ecovacs:
|
|||||||
bumper_server: "192.168.1.55"
|
bumper_server: "192.168.1.55"
|
||||||
verify_ssl: false
|
verify_ssl: false
|
||||||
```
|
```
|
||||||
Just finished getting this working late 12/13/22 so not sure if everything works yet but will commit changes here if I update it or at least document issues.
|
Just finished getting this working late 12/13/22 so not sure if everything works yet but will commit changes here if I update it or at least document issues.
|
||||||
|
|
||||||
|
### Logging
|
||||||
|
```
|
||||||
|
logger:
|
||||||
|
logs:
|
||||||
|
custom_components.ecovacs.sucksbumper: debug # or whatever level you want
|
||||||
|
```
|
||||||
|
|
||||||
|
### Misc Info From Making This
|
||||||
|
Commit history is a bit of a mess. master branch shows changes from bmartins fork of sucks to v1.3.0 of this custom component. dev branch shows commits from my attempts at testing and getting this to work.
|
||||||
|
|
||||||
|
Added additional catches to sucks because my N79 sends some weird payloads, but attributes all pull in now for brush life spans. Couple initial queries it also sends weird that I'm in process of catching atm. As of version 1.3.0 (in the manifest.json) these initial queries and all attributes are working. Was using an implementation completely mine but saw in the MQTT class there were already catches for child payloads without the main payload having the expected td in its payload. Kept comments in giving credit and adapted them to work with xmpp.
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"domain": "ecovacs",
|
"domain": "ecovacs",
|
||||||
"name": "Ecovacs Bumper",
|
"name": "Ecovacs Bumper",
|
||||||
"version": "1.3.0",
|
"version": "1.3.1",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/ecovacs",
|
"documentation": "https://github.com/bittles/ha_ecovacs_bumper",
|
||||||
"requirements": ["sleekxmppfs==1.4.1", "click>=6", "requests>=2.18", "pycryptodome>=3.4", "pycountry-convert>=0.5", "paho-mqtt>=1.4", "stringcase>=1.2"],
|
"requirements": ["sleekxmppfs==1.4.1", "click>=6", "requests>=2.18", "pycryptodome>=3.4", "pycountry-convert>=0.5", "paho-mqtt>=1.4", "stringcase>=1.2"],
|
||||||
"codeowners": ["@OverloadUT", "@mib1185"],
|
"codeowners": ["@OverloadUT", "@mib1185"],
|
||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
|
|||||||
Reference in New Issue
Block a user