Commit Graph

49 Commits

Author SHA1 Message Date
Alex M
59d1131db5 Update README.md 2023-02-13 17:04:58 +03:00
tsightler
36f3854ca9 Update README.md 2021-06-01 13:12:35 -04:00
tsightler
c179282393 Update README.md 2021-02-09 12:07: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
48dd1c64b0 Update README.md 2020-10-19 21:40:16 -04:00
tsightler
51bbd612f2 3.0.0 Documentation update 2020-10-17 17:21:38 -04:00
tsightler
5219c94cd7 3.0.0 Documentation update 2020-10-17 16:38:57 -04:00
tsightler
66541558dd 3.0.0 Documentation updates 2020-10-17 14:13:35 -04:00
tsightler
535b6edecf 3.0.0 Documentation updates 2020-10-17 13:53:22 -04:00
tsightler
45a26f84de 3.0.0 Documentation updates 2020-10-17 13:32:50 -04:00
tsightler
1147b9e8c1 3.0.0 Documentation updates 2020-10-16 22:03:45 -04:00
tsightler
1033e129de 3.0.0 Documentation update 2020-10-16 21:52:18 -04:00
tsightler
4a0a167863 3.0.0 Documentation updates 2020-10-16 21:43:59 -04:00
tsightler
b4942dffa1 3.0.0 documentation updates 2020-10-16 21:42:10 -04:00
tsightler
1abcdb02dc 3.0.0 Documentation Update 2020-10-16 21:32:27 -04:00
tsightler
b0549bf392 Merge branch 'master' into dev 2020-09-17 22:02:06 -04:00
tsightler
989834821a Update README.md 2020-09-17 21:58:17 -04:00
tsightler
9944f326c5 Update README.md 2020-09-17 21:57:38 -04:00
tsightler
df08c6fc8a Update README.md 2020-09-17 21:52:15 -04:00
tsightler
d05ac857d8 Update README.md 2020-09-17 21:50:10 -04:00
tsightler
868b0977b0 Update README.md 2020-09-17 21:47:21 -04:00
tsightler
82faeff78e Update README.md 2020-09-17 21:40:28 -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
01fd5abcff Merge branch 'dev' into master 2020-09-17 20:41:12 -04:00
Viktor Koop
14fc702041 fix missing string escaping in documentation 2019-12-23 17:54:37 +01:00
tsightler
6f0e03d3f2 Update README.md 2019-06-18 23:04:18 -04:00
tsightler
c6e88ac08b Update README.md 2019-06-18 22:53:56 -04:00
tsightler
a747e122c6 Update README.md 2019-06-18 22:52:34 -04:00
tsightler
604256709a Update README.md 2019-06-18 22:48:59 -04:00
GadgetAngel
54745c4f8b 1. This update allows for an essential TuyAPI command to be implemented via the tuya-mqtt.exe MQTT server. {"schema": true} is the ONLY COMMAND that the TuyAPI GET method implements. Also fixes a problem with the setColor method of TuyaColorLight.
2. This update does not set dps 3 and dps 4 when setting the bulb in colour mode because some tuya bulbs ignore the dps 5 setting if you set either dps 3 or dps 4
3. This update uses the correct format for dps 5: if the bulb is in colour mode than the dps 3 and dps 4 are ignored but if you set it now some tuya bulbs will ignore dps 5 because you set dps 3 or dps 4
   A. So, FOR colour mode the bulb looks at dps 1, dps 2, and dps 5.
	i.   DPS 5 is in the following format:
	ii.  HSL to HEX format are the leftmost hex digits (hex digits 14 - 9)
	iii. hex digits 8 - 5 are the HSB/HSL Hue value in HEX format
    iv.  hex digits 4 - 3 are the HSB/HSL Saturation percentage as a value (converted to 0-255 scale) in HEX format
    v.   hex digits 2 - 1 are the HSB Brightness percentage as a value (converted to 25-255 scale) in HEX format

   B. if the bulb is in white mode then the dps 5 value is ignored by the bulb, FOR white mode the bulb looks at dps 1, dps 2, dps 3 and dps 4
	i.	 DPS 3 is the HSB/HSL Brightness percentage converted to a value from 25 to 255 in decimal format
    ii.  DPS 4 is the HSB/HSL Saturation percentage converted to a value from 0 to 255 in decimal format

{"schema": true} allows the user to establish that proper communications with the tuya device can occur WITHOUT actually changing the present STATE of the device.  This is the only command that will query the tuya device.

The current documentation says that you can query the tuya device over the "dps" TOPIC but from what I see the present state of the software does not force the tuya device to respond when using the "dps" TOPIC.

Since {"schema": true} is a command that forces a response from the tuya device, this command has been implemented under the "command" TOPIC. So "command" is the action and '{"schema": true}' becomes the command.  The response is returned just like all other commands.  I, use this command to guarantee communications has been established with the tuya device.  If this "schema" command fails, tuya-mqtt will indicate the result in the openhab.log file and then I, can find out what is physically wrong with the communications.  If this command fails the first time due to "socket" error and then goes through on the second attempt then I know that the error was due to TCP communications problem on initial startup.  This command helps as a work-a-round for the "ERROR: socket problem"
2019-04-26 04:46:15 -04:00
KarstenSiedentopp
7a9dde716c UPD: README and CHANGELOG 2019-04-09 18:20:03 +02:00
Karsten Siedentopp
b0c84bb7b7 added contributor crashdummymch 2019-02-16 16:40:59 +01:00
KarstenSiedentopp
5381137684 added Contributors to readme 2019-01-24 18:22:05 +01:00
tsightler
2c7ed22e14 Update to work with OpenHAB 2.4 MQTT Bindings (#8)
* Update tuya-mqtt.js

* Update tuya-mqtt.js

* Revert "Update tuya-mqtt.js"

This reverts commit 2ecd4260b163093a5886ced280ec57dc6d9f5145.

* Revert "Update tuya-mqtt.js"

This reverts commit 9f093db868c0af6cedbd98762f5885cdd844cd53.

* Updates for OpenHAB 2.4 MQTT binding

Update for OpenHAB 2.4 MQTT binding to act on message in addition to topic

* Update README.md

* Update README.md
2019-01-10 09:22:28 +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
2310302907 Move configuration file
Configuration file should not be versioned, let's give an example one to copy.

Signed-off-by: Gérondal Thibault <contact@tycale.be>
2018-12-29 19:34:06 +01:00
KarstenSiedentopp
e89f691fb8 new dps topics type error fixed
fixes #3
2018-12-19 19:01:14 +01:00
KarstenSiedentopp
c499a20d74 update documenation of dps values 2018-12-19 18:20:34 +01:00
TheAgentK
b466a3a9f9 Update README.md 2018-12-10 14:21:16 +01:00
TheAgentK
756e94d5cf Update README.md 2018-12-10 13:24:10 +01:00
TheAgentK
8048474cf7 Added examples for change color 2018-12-10 13:22:50 +01:00
TheAgentK
bfee13126d Update README.md 2018-12-10 13:15:42 +01:00
TheAgentK
86a693741c Update README.md 2018-12-10 13:14:55 +01:00
KarstenSiedentopp
d6f4df3e97 update documentation 2018-11-26 16:31:09 +01:00
K. Siedentopp
09f6ad7f7f changed path variables 2018-06-11 10:19:40 +02:00
K. Siedentopp
f5d9db4d1c spelling correction 2018-06-11 10:18:19 +02:00
K. Siedentopp
2b388cd212 added documentation and openhabitems 2018-06-11 10:17:20 +02:00