danimal4326 / homebridge-ecoplug Goto Github PK
View Code? Open in Web Editor NEWHomebridge plugin for the Eco Plug
License: MIT License
Homebridge plugin for the Eco Plug
License: MIT License
I updated to the latest homebridge this morning, and now I'm stuck in a boot loop with the following error:
Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 69970a61-9dd6-4563-93c5-d66e6857cc37
at Bridge.Accessory.addBridgedAccessory (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:268:13)
at Server._configCachedPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:396:18)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:93:8)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:59:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (internal/modules/cjs/loader.js:1156:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47
I tracked down that UUID and it's for the ECO-Plug module - I'm not sure why it's suddenly doing this, I've been running 0.60 on the 0.4.53 version of homebridge for a while now with no issues. I don't know that it makes a difference, but I have 2 plugs, they both previously showed up fine.
Tried removing from config.json and removing the module, and no luck getting back to a working install.
I reset my network, and my eco plugs all changed address. Afterwards everything went unresponsive. Need to look at timeouts and adjusting to devices moving network address.
Hi
First off thank you so much for what you have done with ecoplug.
I was wondering if there is anyway to make the plugin work with Geekbes smart plug
They are the same product and run the same iphone app(Smart Life).
I'm very new at writing and reading code but am trying to learn. It could be i didn't set up my plugs correctly. Any help would be appreciate.
Thanks!
I keep running into the following error when I use the stock eco.js file:
[EcoPlug] Error { Error: send EADDRNOTAVAIL 255.255.255.255:25
at Object.exports._errnoException (util.js:1028:11)
at exports._exceptionWithHostPort (util.js:1051:20)
at SendWrap.afterSend [as oncomplete] (dgram.js:403:11)
code: 'EADDRNOTAVAIL',
errno: 'EADDRNOTAVAIL',
syscall: 'send',
address: '255.255.255.255',
port: 25 }
If I change the '255.255.255.255' to the actual IP address of one of the plugs, it will pick it up fine. However, I am never able to get multiple plugs detected at once.
I am very much a beginner with this kind of stuff, so any additional insight on this set up issue would be greatly appreciated!
Thanks!
I was just updating my version, in order to delete some devices and found that the latest version from spring isn't published on NPM. I was wondering if you could publish it on NPM.
Since one can no longer send private messages on GitHub, I'm opening an "issue" to say thank you for this plugin. I was about to replace my ECO Plug with something that natively supports HomeKit, then I came across this! It was the last piece of my puzzle... now I can control my entire smart home -- inside and out -- with Siri.
Feel free to close this :)
HI
we are getting error in the log (see below) all device can be ping .
do we know why and is a fix exist ?
[11/25/2022, 5:53:51 AM] [EcoPlug] Error: sendStatusMessage ECO-7807BF39 send EHOSTUNREACH 172.16.25.148:80
[11/25/2022, 5:54:01 AM] [EcoPlug] Error: sendStatusMessage ECO-7807BF39 send EHOSTDOWN 172.16.25.148:80
[11/25/2022, 5:55:01 AM] [EcoPlug] Error: sendStatusMessage ECO-7807BF39 send EHOSTUNREACH 172.16.25.148:80
[11/25/2022, 5:55:11 AM] [EcoPlug] Error: sendStatusMessage ECO-7807BF39 send EHOSTDOWN 172.16.25.148:80
[11/25/2022, 5:55:21 AM] [EcoPlug] Error: sendStatusMessage ECO-7807BF39 send EHOSTDOWN 172.16.25.148:80
[11/25/2022, 5:57:41 AM] [EcoPlug] Setting: ECO-780672B4 Cuisine to: OFF
[11/25/2022, 6:13:41 AM] [EcoPlug] Error: sendStatusMessage ECO-78059F69 send EHOSTUNREACH 172.16.25.196:80
[11/25/2022, 6:13:51 AM] [EcoPlug] Error: sendStatusMessage ECO-78059F69 send EHOSTDOWN 172.16.25.196:80
[11/25/2022, 6:14:51 AM] [EcoPlug] Error: sendStatusMessage ECO-78059F69 send EHOSTUNREACH 172.16.25.196:80
[11/25/2022, 6:15:01 AM] [EcoPlug] Error: sendStatusMessage ECO-78059F69 send EHOSTDOWN 172.16.25.196:80
[11/25/2022, 6:37:01 AM] [EcoPlug] Error: sendStatusMessage ECO-7807BF39 send EHOSTUNREACH 172.16.25.148:80
[11/25/2022, 6:37:11 AM] [EcoPlug] Error: sendStatusMessage ECO-7807BF39 send EHOSTDOWN 172.16.25.148:80
[11/25/2022, 6:38:01 AM] [EcoPlug] Error: sendStatusMessage ECO-7807BF39 send EHOSTUNREACH 172.16.25.148:80
[11/25/2022, 6:38:11 AM] [EcoPlug] Error: sendStatusMessage ECO-7807BF39 send EHOSTDOWN 172.16.25.148:80
[11/25/2022, 6:54:12 AM] [EcoPlug] Error: sendStatusMessage ECO-780672B4 send EHOSTUNREACH 172.16.25.150:80
[11/25/2022, 6:54:22 AM] [EcoPlug] Error: sendStatusMessage ECO-780672B4 send EHOSTDOWN 172.16.25.150:80
[11/25/2022, 6:55:02 AM] [EcoPlug] Error: sendStatusMessage ECO-780672B4 send EHOSTUNREACH 172.16.25.150:80
[11/25/2022, 6:55:12 AM] [EcoPlug] Error: sendStatusMessage ECO-780672B4 send EHOSTDOWN 172.16.25.150:80
[11/25/2022, 6:55:22 AM] [EcoPlug] Error: sendStatusMessage ECO-780672B4 send EHOSTDOWN 172.16.25.150:80
[11/25/2022, 6:55:42 AM] [EcoPlug] Error: sendStatusMessage ECO-78059F69 send EHOSTUNREACH 172.16.25.196:80
[11/25/2022, 6:55:52 AM] [EcoPlug] Error: sendStatusMessage ECO-78059F69 send EHOSTDOWN 172.16.25.196:80
[11/25/2022, 7:16:42 AM] [EcoPlug] Error: sendStatusMessage ECO-78076083 send EHOSTUNREACH 172.16.25.118:80
[11/25/2022, 7:16:52 AM] [EcoPlug] Error: sendStatusMessage ECO-78076083 send EHOSTDOWN 172.16.25.118:80
[11/25/2022, 7:17:52 AM] [EcoPlug] Error: sendStatusMessage ECO-78076083 send EHOSTUNREACH 172.16.25.118:80
[11/25/2022, 7:18:02 AM] [EcoPlug] Error: sendStatusMessage ECO-78076083 send EHOSTDOWN 172.16.25.118:80
I have a DENWENWILS Eco Plug controller for my pool - it works fantastic.
I am thinking of adding a DENWENWILS landscape light transformer
https://www.amazon.com/DEWENWILS-Transformer-Compatible-Weatherproof-Landscaping/dp/B08HRJ16HF/ref=sr_1_2
I realize that it's not a tested device, just wondering if there is a known concern? Should I just be able to add it to my home network and it auto-magically shows up in Homekit/Homebridge?
I added a second Eco Plug device. It looks like it should automatically discover it in the scanning.
If I have the device ONLY on the IOT network, it finds the plug.
If I have the LAN on the IOT network, and Wifi on a reasonable network, it finds the plug.
If I have the LAN on my normal network, and Wifi on the IOT, it doesn't find the plugs
So it's NOT finding the new device. It won't find the device (via broadcast) unless the primary network is the IOT device.
Once the device is "discovered" - I can switch the network back on and it won't lose track of it.
Hi all,
I only have one of these devices left, and as it is working well, I have not made any updates to the repo in some time.
I'm thinking of setting the repo to archive mode, unless someone would like to take over development.
I also thought of merging https://github.com/JeffreyStocker/homebridge-ecoplug before this, since @JeffreyStocker has made some newer updates in the last 2 years.
Hello,
This plugin has been working flawlessly for the last 2 years but for some reasons, the accessory is responding and after few minutes the EcoPlug stops responding. Even though the plug-in is still running.
Any idea ?
Thanks!
I have 2 ESW01-USA power outlet switches, both are found in the outlet, but you can't turn on one without the other turning on, same when turning them off. Tried different combinations same result.
In both cases they have a unique serial number, but both i both instances the serial number and name of each are the same
Everyone,
I just received a note saying the these wall switches are being recalled for being a fire hazard. See the link below for details.
http://healthycanadians.gc.ca/recall-alert-rappel-avis/hc-sc/2018/66206r-eng.php.
Hi Danimal4326,
first: Thank you so much for this amazing plugin! Finally a way to implement affordable devices in Homekit.
Unfortunately the plugin is sometimes slowing down my homebridge drastically; even though that it's running on a high power Linux machine. (Happens when one plug is not responding)
Already tried to change the values of:
this.cache_timeout = 10; // seconds
setInterval(that.devicePolling.bind(that), this.cache_timeout * 1000);
setInterval(that.deviceDiscovery.bind(that), this.cache_timeout * 6000);
but it does not seem to help.
Any ideas? Thank you very much in advance!
First of all thanks a lot for this amazing plugin.
I just tested it with the WiOn Outdoor Outlet 50049 and it works perfectly without any modifications. The response time is incredible. Thought you might want to add it to the tested devices list.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.