tuya-local
pymyq
tuya-local | pymyq | |
---|---|---|
5 | 3 | |
954 | 112 | |
- | - | |
9.9 | 0.0 | |
4 days ago | 6 months ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tuya-local
-
Home Assistant blocked from integrating with Garage Door opener API
> https://github.com/make-all/tuya-local
Just a small warning: make sure to check whether your device needs to be added to the Tuya cloud to get a local API key. I was only able to get "my" lamp working locally after registering it via the app and creating a developer account.
Another option can be flashing it with Tasmota: https://tasmota.github.io/docs/Tuya-Convert/
- Anyone know how to integrate a GeekTale Smart Door Knob w/ Fingerprint reader into HA?
-
Hi, I tested a cheap Moes Smart Zigbee Thermostat
IF you use Home Assistant, this integration (local-tuya) lists the BHT-002 as a supported device for local control. I have NOT tested it though, and in my opinion it is not worth it.
-
Tuya Smart device detected in my new home
Looking at the Home Assistant integration for local network control of Tuya Smart devices, it's a pretty long list. Could be literally any kind of device: https://github.com/make-all/tuya-local
pymyq
-
Home Assistant blocked from integrating with Garage Door opener API
Maybe my security background is shining through here. I guess we used to have "slashdotting" but that doesn't generalize well :)
I did do some napkin math to quantify how much that bad traffic may have been: HA estimates between 6857-25576 intallations of the MyQ integration. Let's say 16k clients. HA makes it really easy to detect and "add" the integration (which counts as an installation even if it's not configured), so, that's definitely not all clients hitting the API. Let's say it's 50%, so 8k actually using it. Most users just notice myQ is broken. Let's say some fraction retry, which would look the same as an extra user from a volume perspective. Call it an even 10k users (including repeat users).
The most recent change is after they broke everything past the OAuth dance. Let's say the OAuth request is 1kB. The retry code retries up to 5 times with exponential backoff. Let's say 5 requests over 10 min.
(5 requests / 10 minutes) * 1 request/user * 10k users = 5k requests/minute, or 83 per second, amounting to 83kB/s inbound.
There's no reason to assume those requests would synchronize, but I'm sure there's something (let's say every single myQ user updated at the same time).
If what they're saying is true, sounds like actually malicious botnet wielders can ransom the living daylights out of them. Given 1Tbs DDoS attacks they'd only need 6E-7 of the full bore ion cannon! ;-)
[1]: https://github.com/arraylabs/pymyq/blob/master/pymyq/request...
- Customizing and unsupported features via the API
- Myq Is Down Again What Should We All Replace It
What are some alternatives?
better_thermostat - This custom component for Home Assistant will add crucial features to your climate-controlling TRV (Thermostatic Radiator Valves) to save you the work of creating automations to make it smart. It combines a room-temperature sensor, window/door sensors, weather forecasts, or an ambient temperature probe to decide when it should call for heat and automatically calibrate your TRVs to fix the imprecise measurements taken in the radiator's vicinity.
ratgdo
HA_harmony_climate_component - ❄ Use a Harmony Hub to control an IR controlled climate device
Ubiquiti
tuya-home-assistant - Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team.
rat-ratgdo - Open source schematics for ratgdo PCB
esphome-ratgdo - ratgdo for ESPHome
secplus - A software implementation of the Security+ system used by garage door openers
OpenGarage-Firmware - OpenGarage: open-source WiFi-enabled garage door opener