homebridge-ecoplug icon indicating copy to clipboard operation
homebridge-ecoplug copied to clipboard

Thinking of adding a DENWELIS Eco Plug Transformer - any known issues?

Open scorpionmit01 opened this issue 3 years ago • 22 comments

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?

scorpionmit01 avatar Nov 02 '21 14:11 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?

cambalzer avatar Aug 17 '22 02:08 cambalzer

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 :(

lbouriez avatar Aug 27 '22 11:08 lbouriez

Sorry everyone. I don't have any of the newer devices, so I can't debug or decode the new protocol.

Danimal4326 avatar Aug 27 '22 15:08 Danimal4326

If anyone can capture a wireshark dump between the app and the device , it might be useful

Danimal4326 avatar Aug 27 '22 15:08 Danimal4326

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 ?

lbouriez avatar Aug 27 '22 15:08 lbouriez

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

Danimal4326 avatar Aug 27 '22 16:08 Danimal4326

I will try all of that asap, need to buy a wifi dongle first. I will let you know

lbouriez avatar Aug 27 '22 17:08 lbouriez

Some routers/ Wi-Fi base stations also let you do a tcp dump too via ssh access.

Danimal4326 avatar Aug 27 '22 17:08 Danimal4326

For the old switch, I get this image For the new one, I dont. From the app when I turn it off/on I get this: image When I open the app, only the first switch is answering to the boradcast: image But the second switch appears only in this trace: image

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: image And only these with the new switch: image

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

lbouriez avatar Aug 28 '22 14:08 lbouriez

Looks like the new switch is only communicating with the cloud service.
cab you turn that off in the app??

Danimal4326 avatar Aug 28 '22 15:08 Danimal4326

I did, the last 2 screenshot were with the cloud disabled. I will retry tonight to reset it entirely and dump again.

lbouriez avatar Aug 28 '22 15:08 lbouriez

Strange. What do you get when you issue a on/off command?

Danimal4326 avatar Aug 28 '22 15:08 Danimal4326

Will try tonight

  • Reset / discover without cloud/gg home
  • On off command

Let me know if you have other things you wanna see

lbouriez avatar Aug 28 '22 15:08 lbouriez

Hello, Sorry for the delay. I reseted the switch, cloud mode is disabled and now I get this: image image Do you need something else ?

For info: Phone is .123 Old switch is .115 New (not working) switch is .224

lbouriez avatar Sep 01 '22 21:09 lbouriez

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.

lbouriez avatar Sep 02 '22 16:09 lbouriez

I'll take a look later this week. been on vacation and catching up.

Danimal4326 avatar Sep 08 '22 15:09 Danimal4326

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

Danimal4326 avatar Sep 29 '22 16:09 Danimal4326

It's all I got :/

lbouriez avatar Sep 29 '22 16:09 lbouriez

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?

Danimal4326 avatar Sep 29 '22 16:09 Danimal4326

I will check if I saved the trace, I unplugged everything since winter is already coming here in Canada...

lbouriez avatar Sep 29 '22 16:09 lbouriez

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 @.***>

scorpionmit01 avatar Sep 29 '22 18:09 scorpionmit01

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.

Danimal4326 avatar Oct 04 '22 14:10 Danimal4326