Parcourir la source

Bump tinytuya lib to 1.7.1

- Rearrange README.md.  Separate long list of devices into separate file, and move links to top.
Jason Rumney il y a 3 ans
Parent
commit
8c0861bef3
5 fichiers modifiés avec 190 ajouts et 188 suppressions
  1. 179 0
      DEVICES.md
  2. 8 185
      README.md
  3. 1 1
      custom_components/tuya_local/manifest.json
  4. 1 1
      requirements-dev.txt
  5. 1 1
      requirements.txt

+ 179 - 0
DEVICES.md

@@ -0,0 +1,179 @@
+# Supported devices
+
+
+### Heaters
+
+- Goldair heater models beginning with the code GPPH, GCPV, GECO
+- Kogan Wi-Fi convection panel heaters - KAHTP and KAWFHTP models
+- Andersson GSH heater
+- Eurom Mon Soleil 300,600,800, 350,601,720 and 300,450,720 Verre heaters
+- Eurom Wall Designheat 2000 heater
+- Purline Hoti M100 heater
+- Wetair WCH-750 heater
+- Kogan flame effect heater - KAWHMFP20BA model
+- Nedis convection heater - WIFIHTPL20F model
+- Ecostrad Accent iQ heating panels
+- Ecostrad iQ ceramic radiators
+- Devola patio heater
+- Betterlife BT1500 IR heater
+- Kogan tower heater - KASTHFP2KWA model
+
+### Air Conditioners / Heatpumps
+
+- ElectriQ 12WMINV
+- ElectriQ Airflex 15W
+- ElectriQ EcoSilent 14HPW
+- Tadiran Wind 65/3P
+- Fersk Vind 2
+- Carson CB PA280
+- Kogan 2.6kW portable air conditioner
+- Eberg Qubo Q40HD
+- Eberg Cooly C35HD
+- Star-Light air conditioner
+- TroniTechnik Hellnar Klimagerät
+- Be Cool BC14KL2101F
+- Sendo air conditioner
+
+### Pool heaters / heatpumps
+
+- Garden PAC pool heatpump (also works with Summerwave Si Series)
+- Madimack Elite V3 pool heatpump
+- Madimack(model unknown) pool heatpump (seems to match Fairland IPH45 as well)
+- Remora pool heatpump
+- BWT FI 45 heatpump
+- Poolex Silverline, Q-line and Vertigo heatpumps
+- IPS Pro pool-systems heatpump (seems to match Fairland Inver-X as well)
+- W'eau pool heatpump
+- Fairland IPHCR15 pool heatpump (matches others above, but allows control of heat/cool modes while others seem to be fixed to auto only)
+
+- these seem to use a small number of common controllers with minor variations, and many other Pool heatpumps will work using the above configurations.
+  Report issues if there are any differences in presets or other features,
+  or if any of the "unknown" values that are returned as attributes can
+  be figured out.
+
+### Thermostats
+- Inkbird ITC306A thermostat smartplug
+- Inkbird ITC308 thermostat smartplug
+- Beca BHP-6000 room heat pump control thermostat
+- Beca BHT-6000/8000 floor heating thermostat
+- Beca BHT-002/3000 floor heating thermostat (with external temp sensor)
+- Moes BHT-002 thermostat (without external temp sensor)
+- Beca BAC-002 thermostat
+- Awow/Mi-heat TH213 thermostat (two variants)
+- Siswell T29UTW thermostat
+- Siswell C16 thermostat _(rebadged as Warmme, Klima and others)_
+- Minco MH-1823D thermostat
+- Owon PCT513 thermostat
+- Beok TR9B thermostat _(rebadged as Vancoo and perhaps others)_
+- Hysen HY08WE-2 thermostat
+- Nashone MTS-700-WB thermostat smartplug
+- Jiahong ET-72W thermostat
+- Moes MS-103 temperature and humidity switch (partial functions, temperature only)
+- Beok TGR81 thermostat
+- T5E-WF thermostat
+
+### Fans
+- Goldair GCPF315 fan
+- Anko HEGSM40 fan
+- Lexy F501 fan
+- Deta fan controller
+- Arlec Grid Connect smart ceiling fan (with and without light)
+- Stirling FS1-40DC pedestal fan
+- Aspen ASP 200 fan
+- TMWF02 fan controller
+- Ledkia fan and light controller
+
+### Air Purifiers
+- Renpho RP-AP001S air purifier
+- Poiema One air purifier
+- Himox H05 and H06 air purifiers
+- Tesla Pro and Mini air purifiers
+- Vork VK6067AW air purifier
+- essentials portable air purifier
+
+### Dehumidifiers
+- Goldair GPDH420 dehumidifier
+- ElectriQ CD12PW dehumidifier
+- ElectriQ CD12PWv2 dehumidifier
+- ElectriQ CD20PRO-LE-V2 dehumidifier
+- ElectriQ CD25PRO-LE-V2 dehumidifier
+- ElectriQ DESD9LW dehumidifier
+- Kogan SmarterHome 7L desiccant dehumidifier
+- JJPro JPD01 dehumidifer
+- JJPro JPD02 dehumidifier
+- Eesee Adam dehumidifier
+- Hyundai Sahara dehumidifier
+- AlecoAir D14 purifying dehumidifier
+
+### Humidifiers
+- Eanons QT-JS2014 purifying humidifier
+- Wetair WAW-H1210LW humidifier
+- Wilfa Haze HU400BC humidifier
+
+### Kitchen Appliances
+- Kogan glass 1.7L smart kettle
+- Inkbird sous vide cooker
+
+### Smart Meter/Circuit Breaker
+- SmartMCB SMT006 energy meter
+- PC321-TY 3 phase power clamp meter
+- Compteur digital electric (single phase)
+
+### Battery Charger
+- Parkside PLGS 2012 A1 smart charger for powertools
+
+### SmartPlugs/Wall sockets
+- Generic smartplug with energy monitoring (older models)
+  _confirmed as working with Kogan and Blitzwolf single smartplugs_
+- Generic smartplug with energy monitoring (newer models)
+  _confirmed working with Kogan single smartplug with USB and Rillpac smartplugs_
+- Generic smartplug with more advanced energy monitoring
+  _confirmed working with CBE smartplugs_
+- Generic smartplug with some additional encoded schedule info.
+  _confirmed working as a simple switch and timer with Kashimura KJ-173_
+- Mirabella Genio smartplug with USB
+- Grid Connect double outlet with Energy Monitoring, Master and Individual switches and Child Lock.
+- DIGOO DG-SP202 dual smartplug with energy monitoring and timers.
+- DIGOO DG-SP01 USB smartplug with night light.
+- Grid Connect double outlet wall socket
+- Woox R4028/DIGOO DG-PS01 3 outlet + USB powerstrip with individual timers.
+- ES01 3 outlet + USB powerstrip with individual timers.
+Other brands may work with the above configurations
+- MoesHouse smartplug with RGBW nightlight
+- Logicom Strippy 4 way power strip with USB
+- 4 way power monitoring strip
+- Arlec PB88UHA 4 way powerstrip with child lock
+
+- Simple switch - a switch only, can be a fallback for many other unsupported devices, to allow just power to be switched on/off.
+- Simple switch with timer - a single switch and timer, will probably work for a lot of smart switches that are not covered by the more advanced configs above.
+- Simple switch with timer v2 - the above with timer moved from dp 11 to 9, confirmed with a Nexxt 220V smart switch. 
+
+### Lights
+- Generic RGBCW/RGBWW lightbulb (confirmed with Lijun branded bulb, expected to match others also)
+
+### Covers
+- Simple garage door
+- Simple blind controller
+- Dongguan garage door
+- Kogan garage door with tilt sensor
+- QS-WIFI-C01(BK) curtain module
+- M027 curtain module (sold under several brands, including zemismart, meterk and others)
+- Avatto roller blinds controller
+- Wistar roller blinds controller
+
+### Vacuum Cleaners
+- Lefant M213 vacuum cleaner (also works for Lefant M213S and APOSEN A550)
+- Kyvol E30 vacuum cleaner
+
+### Locks
+- Orion Grid Connect smart lock
+
+### Sirens
+- Orion Grid Connect outdoor siren
+
+### Miscellaneous
+- Qoto 03 smart water valve / sprinkler controller
+- SD123 HPR01 human presence radar
+- Universal remote control (supports sensors only)
+- Catit Pixi smart fountain
+- Bresser smart 7-in-1 weather station

+ 8 - 185
README.md

@@ -6,6 +6,11 @@
 [![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=make-all_tuya-local&metric=ncloc)](https://sonarcloud.io/dashboard?id=make-all_tuya-local)
 [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=make-all_tuya-local&metric=coverage)](https://sonarcloud.io/dashboard?id=make-all_tuya-local)
 
+Please report any [issues](https://github.com/make-all/tuya-local/issues) and feel free to raise [pull requests](https://github.com/make-all/tuya-local/pulls).
+[Many others](https://github.com/make-all/tuya-local/blob/main/ACKNOWLEDGEMENTS.md) have contributed their help already.
+
+[![BuyMeCoffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/jasonrumney)
+
 This is a Home Assistant add-on to support Wi-fi devices running Tuya
 firmware without going via the Tuya cloud.  Currently only WiFi
 devices are supported, Tuya also makes Zigbee, BLE and other devices
@@ -36,7 +41,9 @@ easier to set up using that as an alternative.
 
 Note that devices sometimes get firmware upgrades, or incompatible
 versions are sold under the same model name, so it is possible that
-the device will not work despite being listed below.
+the device will not work despite being listed.
+
+A list of currently supported devices can be found in the [DEVICES.md](https://github.com/make-all/tuya-local/blob/main/DEVICES.md) file.
 
 If your device is not listed, you can find the information required to add a
 configuration for it in the following locations:
@@ -58,184 +65,6 @@ If you file an issue to request support for a new device, please include the fol
 
 If you submit a pull request, please understand that the config file naming and details of the configuration may get modified before release - for example if your name was too generic, I may rename it to a more specific name, or conversely if the device appears to be generic and sold under many brands, I may change the brand specific name to something more general.  So it may be necessary to remove and re-add your device once it has been integrated into a release.
 
-
-### Heaters
-
-- Goldair heater models beginning with the code GPPH, GCPV, GECO
-- Kogan Wi-Fi convection panel heaters - KAHTP and KAWFHTP models
-- Andersson GSH heater
-- Eurom Mon Soleil 300,600,800, 350,601,720 and 300,450,720 Verre heaters
-- Eurom Wall Designheat 2000 heater
-- Purline Hoti M100 heater
-- Wetair WCH-750 heater
-- Kogan flame effect heater - KAWHMFP20BA model
-- Nedis convection heater - WIFIHTPL20F model
-- Ecostrad Accent iQ heating panels
-- Ecostrad iQ ceramic radiators
-- Devola patio heater
-- Betterlife BT1500 IR heater
-- Kogan tower heater - KASTHFP2KWA model
-
-### Air Conditioners / Heatpumps
-
-- ElectriQ 12WMINV
-- ElectriQ Airflex 15W
-- ElectriQ EcoSilent 14HPW
-- Tadiran Wind 65/3P
-- Fersk Vind 2
-- Carson CB PA280
-- Kogan 2.6kW portable air conditioner
-- Eberg Qubo Q40HD
-- Eberg Cooly C35HD
-- Star-Light air conditioner
-- TroniTechnik Hellnar Klimagerät
-- Be Cool BC14KL2101F
-- Sendo air conditioner
-
-### Pool heaters / heatpumps
-
-- Garden PAC pool heatpump (also works with Summerwave Si Series)
-- Madimack Elite V3 pool heatpump
-- Madimack(model unknown) pool heatpump (seems to match Fairland IPH45 as well)
-- Remora pool heatpump
-- BWT FI 45 heatpump
-- Poolex Silverline, Q-line and Vertigo heatpumps
-- IPS Pro pool-systems heatpump (seems to match Fairland Inver-X as well)
-- W'eau pool heatpump
-- Fairland IPHCR15 pool heatpump (matches others above, but allows control of heat/cool modes while others seem to be fixed to auto only)
-
-- these seem to use a small number of common controllers with minor variations, and many other Pool heatpumps will work using the above configurations.
-  Report issues if there are any differences in presets or other features,
-  or if any of the "unknown" values that are returned as attributes can
-  be figured out.
-
-### Thermostats
-- Inkbird ITC306A thermostat smartplug
-- Inkbird ITC308 thermostat smartplug
-- Beca BHP-6000 room heat pump control thermostat
-- Beca BHT-6000/8000 floor heating thermostat
-- Beca BHT-002/3000 floor heating thermostat (with external temp sensor)
-- Moes BHT-002 thermostat (without external temp sensor)
-- Beca BAC-002 thermostat
-- Awow/Mi-heat TH213 thermostat (two variants)
-- Siswell T29UTW thermostat
-- Siswell C16 thermostat _(rebadged as Warmme, Klima and others)_
-- Minco MH-1823D thermostat
-- Owon PCT513 thermostat
-- Beok TR9B thermostat _(rebadged as Vancoo and perhaps others)_
-- Hysen HY08WE-2 thermostat
-- Nashone MTS-700-WB thermostat smartplug
-- Jiahong ET-72W thermostat
-- Moes MS-103 temperature and humidity switch (partial functions, temperature only)
-- Beok TGR81 thermostat
-- T5E-WF thermostat
-
-### Fans
-- Goldair GCPF315 fan
-- Anko HEGSM40 fan
-- Lexy F501 fan
-- Deta fan controller
-- Arlec Grid Connect smart ceiling fan (with and without light)
-- Stirling FS1-40DC pedestal fan
-- Aspen ASP 200 fan
-- TMWF02 fan controller
-- Ledkia fan and light controller
-
-### Air Purifiers
-- Renpho RP-AP001S air purifier
-- Poiema One air purifier
-- Himox H05 and H06 air purifiers
-- Tesla Pro and Mini air purifiers
-- Vork VK6067AW air purifier
-- essentials portable air purifier
-
-### Dehumidifiers
-- Goldair GPDH420 dehumidifier
-- ElectriQ CD12PW dehumidifier
-- ElectriQ CD12PWv2 dehumidifier
-- ElectriQ CD20PRO-LE-V2 dehumidifier
-- ElectriQ CD25PRO-LE-V2 dehumidifier
-- ElectriQ DESD9LW dehumidifier
-- Kogan SmarterHome 7L desiccant dehumidifier
-- JJPro JPD01 dehumidifer
-- JJPro JPD02 dehumidifier
-- Eesee Adam dehumidifier
-- Hyundai Sahara dehumidifier
-- AlecoAir D14 purifying dehumidifier
-
-### Humidifiers
-- Eanons QT-JS2014 purifying humidifier
-- Wetair WAW-H1210LW humidifier
-- Wilfa Haze HU400BC humidifier
-
-### Kitchen Appliances
-- Kogan glass 1.7L smart kettle
-- Inkbird sous vide cooker
-
-### Smart Meter/Circuit Breaker
-- SmartMCB SMT006 energy meter
-- PC321-TY 3 phase power clamp meter
-- Compteur digital electric (single phase)
-
-### Battery Charger
-- Parkside PLGS 2012 A1 smart charger for powertools
-
-### SmartPlugs/Wall sockets
-- Generic smartplug with energy monitoring (older models)
-  _confirmed as working with Kogan and Blitzwolf single smartplugs_
-- Generic smartplug with energy monitoring (newer models)
-  _confirmed working with Kogan single smartplug with USB and Rillpac smartplugs_
-- Generic smartplug with more advanced energy monitoring
-  _confirmed working with CBE smartplugs_
-- Generic smartplug with some additional encoded schedule info.
-  _confirmed working as a simple switch and timer with Kashimura KJ-173_
-- Mirabella Genio smartplug with USB
-- Grid Connect double outlet with Energy Monitoring, Master and Individual switches and Child Lock.
-- DIGOO DG-SP202 dual smartplug with energy monitoring and timers.
-- DIGOO DG-SP01 USB smartplug with night light.
-- Grid Connect double outlet wall socket
-- Woox R4028/DIGOO DG-PS01 3 outlet + USB powerstrip with individual timers.
-- ES01 3 outlet + USB powerstrip with individual timers.
-Other brands may work with the above configurations
-- MoesHouse smartplug with RGBW nightlight
-- Logicom Strippy 4 way power strip with USB
-- 4 way power monitoring strip
-- Arlec PB88UHA 4 way powerstrip with child lock
-
-- Simple switch - a switch only, can be a fallback for many other unsupported devices, to allow just power to be switched on/off.
-- Simple switch with timer - a single switch and timer, will probably work for a lot of smart switches that are not covered by the more advanced configs above.
-- Simple switch with timer v2 - the above with timer moved from dp 11 to 9, confirmed with a Nexxt 220V smart switch. 
-
-### Lights
-- Generic RGBCW/RGBWW lightbulb (confirmed with Lijun branded bulb, expected to match others also)
-
-### Covers
-- Simple garage door
-- Simple blind controller
-- Dongguan garage door
-- Kogan garage door with tilt sensor
-- QS-WIFI-C01(BK) curtain module
-- M027 curtain module (sold under several brands, including zemismart, meterk and others)
-- Avatto roller blinds controller
-- Wistar roller blinds controller
-
-### Vacuum Cleaners
-- Lefant M213 vacuum cleaner (also works for Lefant M213S and APOSEN A550)
-- Kyvol E30 vacuum cleaner
-
-### Locks
-- Orion Grid Connect smart lock
-
-### Sirens
-- Orion Grid Connect outdoor siren
-
-### Miscellaneous
-- Qoto 03 smart water valve / sprinkler controller
-- SD123 HPR01 human presence radar
-- Universal remote control (supports sensors only)
-- Catit Pixi smart fountain
-- Bresser smart 7-in-1 weather station
-
 ---
 
 ## Installation
@@ -451,9 +280,3 @@ You can find these keys the same way as you would for any Tuya local integration
 1. This component is mosty unit-tested thanks to the upstream project, but there are a few more to complete. Feel free to use existing specs as inspiration and the Sonar Cloud analysis to see where the gaps are.
 2. Once unit tests are complete, the next task is to complete the Home Assistant quality checklist before considering submission to the HA team for inclusion in standard installations.
 3. Discovery seems possible with the new tinytuya library, though the steps to get a local key will most likely remain manual.  Discovery also returns a productKey, which might help make the device detection more reliable where different devices use the same dps mapping but different names for the presets for example.
-
-Please report any issues and feel free to raise pull requests.
-[Many others](https://github.com/make-all/tuya-local/blob/main/ACKNOWLEDGEMENTS.md) have contributed their help already.
-
-
-[![BuyMeCoffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/jasonrumney)

+ 1 - 1
custom_components/tuya_local/manifest.json

@@ -7,6 +7,6 @@
     "issue_tracker": "https://github.com/make-all/tuya-local/issues",
     "dependencies": [],
     "codeowners": ["@make-all"],
-    "requirements": ["pycryptodome~=3.15.0","tinytuya==1.7.0"],
+    "requirements": ["pycryptodome~=3.15.0","tinytuya==1.7.1"],
     "config_flow": true
 }

+ 1 - 1
requirements-dev.txt

@@ -5,4 +5,4 @@ pytest
 pytest-asyncio
 pytest-cov
 pycryptodome~=3.15.0
-tinytuya~=1.7.0
+tinytuya~=1.7.1

+ 1 - 1
requirements.txt

@@ -1,2 +1,2 @@
 pycryptodome~=3.15.0
-tinytuya~=1.7.0
+tinytuya~=1.7.1