howanghk / homebridge-ewelink

Homebridge plugin to control Sonoff relays with OEM firmware
MIT License
81 stars 46 forks source link

Sonoff Slampher issue #68

Closed febriyan1302 closed 4 years ago

febriyan1302 commented 4 years ago

Please help bro, sonoff slampher support ?

Screen Shot 2019-12-19 at 01 56 12
howanghk commented 4 years ago

Hi @febriyan1302, the logs looks fine, would you please elaborate the issue in more detail?

febriyan1302 commented 4 years ago

Hi @febriyan1302, the logs looks fine, would you please elaborate the issue in more detail?

Hi, thank you for your reply, if you see carefully it's not fine, Problem device name : [TypeError: Cannot read property '-1' of undefined]

once i pair with homekit, they don't recognize device name (sonoff slampher).

howanghk commented 4 years ago

Hi @febriyan1302, that "error" won't do any harm. It was part of metarutaiga's pull request https://github.com/howanghk/homebridge-ewelink/pull/58 which add support for device names returned from ewelink api.

https://github.com/howanghk/homebridge-ewelink/commit/5b5697d3945c57111547aa026729b4d97e53b555#diff-168726dbe96b3ce427e7fedce31bb0bcR540-R546

howanghk commented 4 years ago

Closing due to inactivity.