webthingsio / etekcity-adapter Goto Github PK
View Code? Open in Web Editor NEWEtekcity smart plug/switch adapter for WebThings Gateway
License: Mozilla Public License 2.0
Etekcity smart plug/switch adapter for WebThings Gateway
License: Mozilla Public License 2.0
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".
I am using hass.io and it the add-on is not finding the ESWD16
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
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.