arupex / etekcity-smartplug

The Unlicense
18 stars 5 forks source link

Support for Etekcity dimmer switches #7

Open ero589 opened 4 years ago

ero589 commented 4 years ago

Wondering if dimmer support can be added. For switches like this https://www.amazon.com/dp/B07MLP4TND/ref=cm_sw_em_r_mt_dp_U_LpFOEbVB4AC1W

dirwin517 commented 4 years ago

Unfortunately

  1. Requires Physical devices to add support due to reverse engineering method ( I don't have a dimmer)
  2. Need to packet sniff mobile app (no open documentation) a. Android prior to Oreo? (for VPN middleman ssl reasons) recommend app.greyshirts.sslcapture
  3. This npm module is currently unfortunately v1, and etekcity released a v2 api (app uses v2 now)

I believe the following module uses the v2 api, but I dont know about dimmer support, and its for homebridge so YMMV https://www.npmjs.com/package/homebridge-vesync-v2

Goodluck!