Open scorpionmit01 opened 3 years ago
Just bought a Dewenwils Transformer after reading that this plugin would "probably" work. Unfortunately it doesn't. Found this reddit post where the issue seems to be that newer devices don't respond in discovery mode:
"I added a second Eco Plug based device to my network. The older one, running v1.7.1 works fine. The newer one, running v2.5.2 works in the Eco Plugs app, but not on the Homebridge device.
I have attempted to recreate the broadcast discovery/response cycle in a dev environment. The newer device simply does not respond." https://www.reddit.com/r/homebridge/comments/tr6qrt/eco_plug_newer_devices_not_working/
Were you able to get it working @scorpionmit01?
Just bought a Dewenwils Transformer after reading that this plugin would "probably" work. Unfortunately it doesn't. Found this reddit post where the issue seems to be that newer devices don't respond in discovery mode:
"I added a second Eco Plug based device to my network. The older one, running v1.7.1 works fine. The newer one, running v2.5.2 works in the Eco Plugs app, but not on the Homebridge device.
I have attempted to recreate the broadcast discovery/response cycle in a dev environment. The newer device simply does not respond." https://www.reddit.com/r/homebridge/comments/tr6qrt/eco_plug_newer_devices_not_working/
Were you able to get it working @scorpionmit01?
I am in the same case, older version works, the newer doesn't. I was actually using the python version of the script and was hoping the node version could be the solution... Before to see your answer :(
Sorry everyone. I don't have any of the newer devices, so I can't debug or decode the new protocol.
If anyone can capture a wireshark dump between the app and the device , it might be useful
I tried with tPacketCapture (https://play.google.com/store/apps/details?id=jp.co.taosoftware.android.packetcapture)... but as soon as I start it, i dont see my switches in the eco plug app. I am not rooted, do you know how can i easily capture a dump of the traffic ?
When I was doing the initial discovery I used a wifi dongle on my computer set up in station mode. Connect the eco plugs to that network. Then I ran wireshark on the computer to grab all the packets.
Are your devices connected to the cloud? Make sure they are “local” only when you try
I will try all of that asap, need to buy a wifi dongle first. I will let you know
Some routers/ Wi-Fi base stations also let you do a tcp dump too via ssh access.
For the old switch, I get this
For the new one, I dont. From the app when I turn it off/on I get this:
When I open the app, only the first switch is answering to the boradcast:
But the second switch appears only in this trace:
Is it possible that the switch is now registering itself on the eco plug server and that the app is asking the server to get the device ?
Edit: I did it directly on the router instead of the ap and I got one more line:
And only these with the new switch:
Old switch is 192.168.10.115 New switch is 192.168.10.224 Phone is 192.168.10.146
Let me know if it helps
Looks like the new switch is only communicating with the cloud service.
cab you turn that off in the app??
I did, the last 2 screenshot were with the cloud disabled. I will retry tonight to reset it entirely and dump again.
Strange. What do you get when you issue a on/off command?
Will try tonight
Let me know if you have other things you wanna see
Hello, Sorry for the delay. I reseted the switch, cloud mode is disabled and now I get this:
Do you need something else ?
For info: Phone is .123 Old switch is .115 New (not working) switch is .224
I also noticed something, in the app, when I open it, the new switch appears immediately while the old one needs like 1/2sec to appears.
I'll take a look later this week. been on vacation and catching up.
It looks like its communicating on new ports. Also I'm not seeing the discovery packets going out on your traces. They should be going out on port 9000
It's all I got :/
The old devices receive commands on port 80, Looks like new devices work on port 1022 and the protocol is different.
Can you try to capture a On and Off command being sent to the new switch?
I will check if I saved the trace, I unplugged everything since winter is already coming here in Canada...
I'm in Florida. We don't have winter.
I've been following this very nominally. Tell me what you need and I'll do it.
Alex
On Thu, Sep 29, 2022 at 12:31 PM Laurent Bouriez @.***> wrote:
I will check if I saved the trace, I unplugged everything since winter is already coming here in Canada...
— Reply to this email directly, view it on GitHub https://github.com/Danimal4326/homebridge-ecoplug/issues/22#issuecomment-1262523427, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYN4VKOGHOQK72IEJYWO73WAW76ZANCNFSM5HGSEHGQ . You are receiving this because you were mentioned.Message ID: @.***>
-- Book a meeting with me @.***>
I would need a Wireshark/TCP pcap of communication between your phone (or whatever device your run your app on) to the device. Ideally from a state where you have deleted the device, so that I can see the searching/pairing process. Then sending on and off commands, etc.
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?