a PATCH for appid unauthorized error on homebridge-ewelink@8.15

Related issue from bwp91/homebridge-ewelink

Original plugin

homebridge-ewelink plugin by @bwp91
latest release available with node v12, homebridge-ewelink@8.15

  • Which can be installed using command below:
    npm install -g homebridge-ewelink@8.15
    

Description

  • This is a patch for appid unauthorized error which occurs since 7/6/2022
  • Tested on version homebridge-ewelink@8.15 which is lastest release compatible with node v12
  • Tested on homebridge-ewelink@8.15 ONLY, cannot sure any version below is compatible
  • Please use it at your own risk

How-to

  • Install your plugin, move into your global node_modules directory. I will call it A
    • It was /usr/lib/node_modules for me
  • copy node_modules directory in patch
  • paste(and overwrite) it over A
  • test it by running homebridge
  • read this which is about logged out issue before continue, and you are good to go

Tested on

  • iPhone 7
  • iOS 14.8.1 jailbroken with checkra1n
  • using Node from bingner
  • homebridge@1.4.1 & homebridge@1.5.0(latest) (both tested)

References

Modification of these commits