Hey @gbealmer - I just wanted to say thanks for getting this working! I installed a Woods/WiOn outdoor wifi smart box today for my pool pump, and your custom component allowed me to control it via Home Assistant - which also allows me to control it via a Insteon keypad in my main hallway. Thanks for all your hard work in getting this working - you should submit a pull request and make it official!
@gbealmer @drooff I’m having problems installing this. I followed the instructions exactly, but I get the following error:
Platform error switch.ecoplug - Integration ‘ecoplug’ not found.
The instructions don’t mention what to do with the pyecoplug folder… perhaps that’s the problem? Any help would be much appreciated…
Ecoplug has a problem in that it is missing the version in the manifest.json. It is a new requirement as of 2021.6. I am working on it right now. If I fix it I will let you know.
Good luck, @reylas ! I just installed this Ecoplug compatible switch on my sauna- DEWENWILS Outdoor Smart Wi-Fi Outlet Box. Can’t wait to get it integrated with HA!
You still having issues? I was able to fix mine. I found another github repository where someone forked it and added the proper version information in the manifest.
Let me know and I will write up what I did.
No - still no luck! Please, please, please tell me how you did it!
Sorry, got a little busy.
So, the error that you are receiving points to the new flag that must be in the manifest.json. Problem is, I tried to just edit the manifest by hand, but that never worked. Here is what did for me.
First, clear out all files in your custom_components/ecoplug (or whatever you called it) folder and make sure it is empty. Then download the zip file from dbecknel/ecoplug (github.com). It has three files in it.
Place those three files in your empty custom_components/ecoplug folder. In your configuration.yaml, make sure you have:
- platform: ecoplug
scan_interval: 10
Now, what was important to me was to reboot homeassistant. A total vm reboot (I run hass supervised in a vm). Once I did that, my devices reappeared. I did not have to put pyecoplug anywhere.
Let me know if that helps and I will try to get back quicker next time
Thank you so much! I will try tomorrow and let you know how it goes. I am in the process of moving my sauna and it will now be at the back of my property, so I really want integration with HA so I can 1)turn it on, and 2)have home assistant announce over all my cast devices once it’s hot as measured by my sonoff temp sensor. Thanks for your help - it’s truly going to make my life better!
It works! I had to restart several times before it took.
Does this component run locally? Can I need to set the switch to “local-only” in the ECO plugs app? I already connected their cloud service to my google account (which by the way is buggy as hell and has significant latency - when it works - sometimes google and the eco plugs app fall out of sync.)
Great! Not sure on the local question. I just firewall them all off, so they work without a cloud connection.
I had studied the code to help someone else before and it keeps the local IP address of each device. So I think it would probably work.
Wanted to say thank you for the integration. Just installed a new smart pool pump that uses the ecoplug app and have now got a switch for it working in my HA!
I do have one question if possible is there a way to see/change timers?
Would like to get rid of this horrid ecoplugs app completely lol
I’ve done all that was mentioned here, and I’m still getting “Platform error switch.ecoplug - Integration ‘ecoplug’ not found” when I do a “Check Configuration”. I removed the ecoplug directory from custom_components, downloaded the zip file from Github and unzipped. Placed the 3 files into the custom_components/ecoplug directory.
It won’t let me restart the core until I delete the lines from the configuration.yaml.
I added this to my configuration.yaml
switch:
- platform: ecoplug
scan_interval: 10
Any thoughts would be greatly appreciated.
Can you separately control the two different relays?
Yes having same issue
I did this and I’m no longer getting the error with the YAML. However, it still isn’t discovering my devices. I’ve rebooted several times. I tried using the restart option in the server controls page and also tried doing sudo reboot
from the terminal. I also attempted these reboots with the plugs turned on and turned off. Didn’t seem to matter.
If anyone has any idea what I’m doing wrong, I would love some help. I’m still new to HA and this is my first time installing a custom component.
Well, I’m going to blame this on being a noob. Didn’t touch HA for a couple hours while I was doing some work. Went back and looked and my 2 WiOnn devices were there. I’m not sure when they showed up but I think I expected to have a notification saying that HA discovered a new device or something. They just showed up and had the correct name and everything. Thank you to everyone who’s put work and time into making this work with Home Assistant!!!
Good afternoon HA community!
I have been using the ECO plug script successfully for the past couple of years for my pool pump. I just turned my pool pump breaker back on after shutting it off for the winter and my plug is no long showing up. Has the integration been broken in recent updates? I am running the latest build of HA.
Thanks!
Update: found the fix on another thread.
A link would be great!