Home Assistant Community Store support#1
Conversation
rsnodgrass
commented
Mar 16, 2020
- Added Home Assistant Community Store (HACS) support for installation and automatic updates
- Updated README with HACS installation information, consistent titles, MIT license shield, etc
|
This has also been updated to meet HA's new manifest requirements, and switch from the deprecated SwitchDevice. |
|
Thanks for doing this, was worried about this component breaking with upcoming versions of HA. |
kunalkhosla
left a comment
There was a problem hiding this comment.
This would be really useful if merged.
|
How do I install this through HACS? I can't get HACS to see it. |
|
@Godis1coolguy this has to be merged by @gbealmer for you to be able to add it. Then you just need to add the repository to HACS: https://github.com/gbealmer/pyecoplug |
|
Hi! We've been working on getting this to work with 240v plug that runs on the IOS ECO Plugs app. We used this git with both the HACS and Manual method but can't get it to show up as a device or integration on the integration page. With the HACS method, we added the repo and installed the Ecoplugs, but nothing shows up after this. With the manual method, when we add the following the configuration.yaml, we get an error when request to restart the system that it cannot be restarted due to the ecoplugs integration. `switch:
|
|
Hi there, same here. platform: ecoplug |
|
I am running this version and it's working perfectly for me. (Pool is open so I can pull logs, compare setup, etc.) |
|
Trying to delete the custom_component, reboot, re-install, reboot :) Old same way ! |
|
NOTE: This is not supported by me. This needs to be merged by @gbealmer. OR someone can do a new fork of this and start supporting it. |
|
I'll Open an issue. |
Perhaps because you're on a Pi, I'm on Unraid running HA in Docker with a 64 bit CPU. Can maybe try this (shot in the dark) root@CRAIG-PC:~# pip3 install pyecoplug EDIT: See comment below mine for a working fork. https://github.com/zvaligura/pyecoplug |
|
I was able to fork off it and get it stable and working. https://community.home-assistant.io/t/ecoplug-integration/83854/96 |
Ah, I see what you did ... CLEVER! homeassistant-projects/pyecoplug@master...zvaligura:pyecoplug:master |
|
Just a question, where the packages are installed ? |
BTW, if in the switch.py script, calling discovery function is by importing this : Shoulnd'nt have been the same in the discovery.py to import EcoPlug? just saying ;) |
In my Home Assistant Docker container: |
I’m a total noob as well. I had to add in the config.yaml lines, (platform: switch etc) to get it to load each time my rasp pi started up. The switch just showed up in my entities with the name I set in the eco plug app itself (iOS). |
|
I will try to merge some code and give feedback here. |
|
Ok, I don't know how, but after multiple test, install uninstall, change code, reboot... I found some answers and automagically my eco plug devices appeared with @zvaligura code https://github.com/zvaligura/pyecoplug . below what I understood. The python package is outside the docker container, thus there is no network interface between the py package and the eco plug switches. Inside the docker container, the docker networking should block the discovery (not the same subnet). That's why you need the package basically. Made some tests to import correctly the plug.py in the discovery.py without success. @zvaligura, you have a good workaround by merging the 2 files. I have Eco Plug TM-050B devices, and now they are manageable in HomeAssistant and in HomeKit |


