30 Commits

Author SHA1 Message Date
lehanspb
7cc3d1d5a6 Change packege.json and requirements 2023-02-15 10:22:14 +03:00
tsightler
8b532d9df1 v3.0.4
* Fix reconnect failure for some error cases
* Bump tuyapi version to latest
2021-01-27 13:46:55 -05:00
tsightler
02d5124b62 v3.03
* Fix reconnect failure in some disconnect cases
* Remove duplicate republish function
2021-01-12 20:19:42 -05:00
tsightler
a5b344faeb Update to 3.0.2 (#63)
* Update 3.0.2
* Fix (hopefully) uninitialized key values for devices which block get requests for some DPS values based on operating mode (seen with at least one RGBTW light that will not return color DPS key while in white mode).
* Modify HSB/HSBHEX guessing in RGBTW light to attempt to deal with issue above
* Implement automatic reconnect when device disconnects socket on it's side
* Update package dependencies to latest versions
2021-01-05 22:18:19 -05:00
tsightler
aa80270ba2 Update 3.0.1 (#61)
* Script to merge device additions and changes into devices.conf (#49)
* Add republish on reconnect
* Filter additional invalid characters '+','#','/' from topic line (replace with '_')
* Minor bugfixes for parse values
* Include script for merging new devices into existing config
* Update dependency

Co-authored-by: tsightler <tsightler@gmail.com>
Co-authored-by: Doug Krahmer <doug.git@remhark.com>
2020-12-23 20:22:09 -05:00
tsightler
b29b98911a Revert "Dev (#60)"
This reverts commit 44a5c6adbf.
2020-12-23 20:18:39 -05:00
tsightler
44a5c6adbf Dev (#60)
3.0.1 Update
* Script to merge device additions and changes into devices.conf (#49)
* Fix typos in README.md
* Add republish on reconnect
* Filter additional invalid characters '+','#','/' from topic line (replace with '_')
* Minor bugfixes for parse values
* Include script for merging new devices into existing config
* Update dependency

Co-authored-by: tsightler <tsightler@gmail.com>
Co-authored-by: Doug Krahmer <doug.git@remhark.com>
2020-12-23 20:10:29 -05:00
tsightler
d61c1f7cee Release 3.0.0
3.0.0 Release

Major changes from 2.1.0:
* Completely new configuration engine
* Completely new topic structure
* New template engine for creating friendly topic structure from raw DPS values
* Pre-defined templates for some common devices
* Directly control devices via Tuya JSON topic or via DPS key topics
2020-10-18 20:53:58 -04:00
tsightler
60b50c760e 3.0.0-beta4
* Default to generic device
* Improved debugging granularity/increased categories
* Add heartbeat monitoring for availability
* Catch more failure cases with retry (still some missing I'd guess)
* Switch to MathJS evaluate for simple math transforms
* RGBTW: Switch base scale for all friendly topics to 100 (automatic conversion on backend)
* RGBTW: Add color temperature support
* RGBTW: Improve autodetection
* RGBTW: Improved white/color mode handling (still work to do here)
2020-10-12 16:14:22 -04:00
tsightler
d5217ce237 3.0.0-beta3
* Improve RGBTW white/color logic
* Rebase MQTT topic brightess to 100 scale (vs 255/1000)
* Added based auto-discovery for RGBTW light
* Added math functions
2020-10-07 08:26:13 -04:00
tsightler
f598d246cf 3.0.0-beta2
* Implement basic template model
* Generic device can specify template in devices.conf
* Simple switch, dimmer, and RGBTW specific support files
2020-10-02 23:16:53 -04:00
tsightler
d8a24d4e6f Use device.conf 2020-09-21 17:53:46 -04:00
tsightler
670a87e9fb Use devices.json for discovery
* Usese devices.json from "tuya-cli wizard" for device discovery, no topic config required
* Uses device discovery by default, but can manually edit devices.json to add IP address, protocol version, or change
* Creates short topic name using just "friendly name" or "id".
2020-09-21 00:23:31 -04:00
tsightler
89a7bfd04d Release 2.1.0
* Merge protocol 3.3 support
* Update TuyAPI to 5.3.1
* Fixes for color settings issues with some devices
* Support to force device status update with schema query
2020-09-17 21:38:52 -04:00
tsightler
4a605f4536 Bump dependency to tuyapi 5.1.2
tuyapi 5.1.2 includes fix for memory leak so also removed hack for disconnect/reconnecting devices.
2019-07-31 23:55:15 -04:00
tsightler
a554cd3f58 Work around memory leak in tuyapi >5.1.x
Work around memory leak in tuyapi >5.1.x
2019-07-29 08:03:06 -04:00
tsightler
3b72a000c8 tuyapi 5.1.x and protocol 3.3
Initial update to work with tuyapi 5.1.x and support for Tuya protocol ver 3.3 via device discovery.
2019-06-18 22:32:18 -04:00
KarstenSiedentopp
998028fa1c update project informations 2019-04-08 18:24:27 +02:00
KarstenSiedentopp
7637a372f7 updated tuyAPI to version 4.0.4 2019-04-08 17:07:30 +02:00
KarstenSiedentopp
dd2385f6e2 updated TuyAPI to v 4.x 2019-02-20 22:25:28 +01:00
crashdummymch
285b36014e package.json version update (#13)
I kept running into problems with the version of tuyapi set to the original value and kept exiting with exit code 99.  When I updated the version to the latest version in github for tuyapi all issues were resolved.
2019-02-16 16:32:50 +01:00
Gérondal Thibault
1d4a690941 Fix NPM WARN: No repository field
Let's ```npm install``` stop complaining.

Signed-off-by: Gérondal Thibault <contact@tycale.be>
2019-01-01 23:32:49 +01:00
Gérondal Thibault
9c4149c2b5 Update NPM package-*json
With a fresh clone of this repository, doing a 'npm install' on linux and mac
os x result in modified package.json and package-lock.json. I guess we should
then publish them modified.

Signed-off-by: Gérondal Thibault <contact@tycale.be>
2019-01-01 23:31:43 +01:00
KarstenSiedentopp
c78063a15b package cleanup 2018-12-19 18:00:11 +01:00
KarstenSiedentopp
eb531c0388 package updated & added more error messages 2018-12-09 16:22:23 +01:00
KarstenSiedentopp
e1be123c0a update package and code cleanup 2018-11-26 16:12:39 +01:00
KarstenSiedentopp
debe4968d2 updated mqtt script to event based TuyAPI 2018-10-27 18:31:49 +02:00
KarstenSiedentopp
b6ee6b4706 tuya extended class integrated and updated mqtt client 2018-07-26 18:54:27 +02:00
KarstenSiedentopp
2e2d5801d3 tuya mqtt client added and code seperation 2018-06-23 13:25:40 +02:00
K. Siedentopp
1612b97115 initial script 2018-06-11 09:37:52 +02:00