GithubHelp home page GithubHelp logo

webthingsio / etekcity-adapter Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 4.0 32 KB

Etekcity smart plug/switch adapter for WebThings Gateway

License: Mozilla Public License 2.0

Python 94.68% Shell 5.32%

etekcity-adapter's People

Contributors

mrstegeman avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

etekcity-adapter's Issues

Intermittent connectivity to EtekCity devices

I couple of weeks ago I began to notice intermittent connectivity to my Etekcity devices from my webthings gateway and my Vesync app on my phone. After some testing, I have found that the problem goes away if I disable wifi on my phone and use my Verizon connection for data. I have also found that if I disable the etekcity adapter in my gateway, I can control the devices with no issues from my phone's Vesync app regardless of how the phone is connected to the internet. I have logged out and back into the adapter with no change in behavior.
It almost appears that something is preventing or at least confusing traffic from the webthings gateway to the Etekcity servers if both the gateway and my phone are trying to connect from within the same network. Or perhaps it's the gateway and the devices themselves that are having issues being on the same public IP.
I initially reached out to Etekcity but they indicate that they have made no changes to their systems recently and suggested it could be a "wifi glitch".

ESWD16

I am using hass.io and it the add-on is not finding the ESWD16

Official ESW15 Firmware

Hello. perhaps Imposting in the wrong section....sorry bout that.
but Im looking for the official ESW15-usa firmware..

Right now Im on tasmota and want to flash back to riginal.
do you know the diredt link or have a dump file or something?

thanks

ESWD16 Dimmer Switch not found when adding devices

I recently added an Etekcity dimmer switch to my webthings. My Etekcity switch and outlets are working fine, but it cannot find the new dimmer switch. The log shows the error: 020-03-08 12:46:59.882 ERROR : etekcity-adapter: 2020-03-08 12:46:59,880 - WARNING - Unknown device ESWD16.
I understand that not all devices are supported, but wondered if / how this device could be added. I'm new to the github community, so I don't know if I am expected or encouraged to attempt this myself. Any help and guidance you can provide is appreciated.

Unable to Remove

I am currently getting a bunch of errors from this adapter, and my devices are not operable via the gateway right now. Typical error from the logs looks like this:

Killing etekcity-adapter plugin.
2020-12-20 11:33:59.010 INFO   : Loading add-on: etekcity-adapter
2020-12-20 11:34:04.121 ERROR  : etekcity-adapter: Traceback (most recent call last):
2020-12-20 11:34:04.124 ERROR  : etekcity-adapter:   File "/home/pi/.webthings/addons/etekcity-adapter/main.py", line 31, in <module>
2020-12-20 11:34:04.127 ERROR  : etekcity-adapter:     _ADAPTER = EtekcityAdapter(verbose=_DEBUG)
2020-12-20 11:34:04.129 ERROR  : etekcity-adapter:   File "/home/pi/.webthings/addons/etekcity-adapter/pkg/etekcity_adapter.py", line 41, in __init__
2020-12-20 11:34:04.131 ERROR  : etekcity-adapter:     self.start_pairing(_TIMEOUT)
2020-12-20 11:34:04.134 ERROR  : etekcity-adapter:   File "/home/pi/.webthings/addons/etekcity-adapter/pkg/etekcity_adapter.py", line 71, in start_pairing
2020-12-20 11:34:04.136 ERROR  : etekcity-adapter:     device = EtekcitySwitch(self, _id, dev)
2020-12-20 11:34:04.138 ERROR  : etekcity-adapter:   File "/home/pi/.webthings/addons/etekcity-adapter/pkg/etekcity_device.py", line 207, in __init__
2020-12-20 11:34:04.141 ERROR  : etekcity-adapter:     if vesync_dev.is_dimmable():
2020-12-20 11:34:04.143 ERROR  : etekcity-adapter:   File "/home/pi/.webthings/addons/etekcity-adapter/lib/pyvesync/vesyncswitch.py", line 29, in is_dimmable
2020-12-20 11:34:04.146 ERROR  : etekcity-adapter:     if 'dimmable' in feature_dict.get(self.device_type):
2020-12-20 11:34:04.148 ERROR  : etekcity-adapter: TypeError: argument of type 'NoneType' is not iterable
2020-12-20 11:34:27.982 INFO   : Unloading EtekcityAdapter

This is after trying to remove the adapter. It looks to me like maybe the API updated and no longer supports the dimmable() property, since the error is coming from inside the pyvesync module.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.