Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add the Doorbell device to the plugin (category 'wxml') #348

Open
wants to merge 499 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
499 commits
Select commit Hold shift + click to select a range
fc105ea
1.7.0-beta.1
0x5e Dec 3, 2022
725ba26
Reuse `LockPhysicalControls`, `SwingMode` Characteristics.
0x5e Dec 4, 2022
25d1df0
Fix crash by virtual device's dirty data.
0x5e Dec 4, 2022
893b71f
Add Fan's LightService only when light schema exists
0x5e Dec 4, 2022
4eac6b2
Reuse `RotationSpeed` Characteristics.
0x5e Dec 4, 2022
35ead9b
Add Wireless Switch support (`wxkg`). (#136)
0x5e Dec 7, 2022
c003b3d
1.7.0-beta.2
0x5e Dec 7, 2022
290fd7c
Reuse `ProgrammableSwitchEvent` Characteristics.
0x5e Dec 8, 2022
1ce4a86
1.7.0-beta.3
0x5e Dec 8, 2022
f42af7f
Update docs
0x5e Dec 8, 2022
99242a6
Add Solar Light support (`tyndj`).
0x5e Dec 8, 2022
2cdfbd1
Add Dehumidifier support (`cs`). (#139)
0x5e Dec 9, 2022
b7d627e
Fix `RotationSpeed` issue on `Humidifier`.
0x5e Dec 9, 2022
7561bdf
Add Scene Switch support (`cjkg`). (#140)
0x5e Dec 9, 2022
1f81b30
1.7.0-beta.4
0x5e Dec 9, 2022
49589bb
Add device override config. (#119)
0x5e Dec 12, 2022
64cd11a
1.7.0-beta.5
0x5e Dec 12, 2022
5a36886
Update README.md
0x5e Dec 12, 2022
ca8636f
Update README.md
0x5e Dec 13, 2022
673799a
Update docs.
0x5e Dec 13, 2022
7c9f2e5
Add initial Camera support (`sp`). (#137)
0x5e Dec 14, 2022
6687f83
1.7.0-beta.6
0x5e Dec 14, 2022
7d2883b
Fix Cannot find module 'hap-nodejs' issue
0x5e Dec 14, 2022
6dd5651
1.7.0-beta.7
0x5e Dec 14, 2022
152f8a3
Update camera code
0x5e Dec 14, 2022
558333b
Update CHANGELOG.md
0x5e Dec 14, 2022
f3b20a0
Fix props cannot be undefined when setting props (#150)
0x5e Dec 15, 2022
09044e7
1.7.0-beta.8
0x5e Dec 15, 2022
d711f53
Remove video stream for virtual device
0x5e Dec 15, 2022
19dd04c
Adjust humidity range of dehumidifier and humidifier
0x5e Dec 15, 2022
89e5e2a
Print scene id in log
0x5e Dec 15, 2022
5d12bdd
Optimize status update when mqtt message wrong order
0x5e Dec 15, 2022
767ac91
Update README
0x5e Dec 16, 2022
13e3d6f
Update support for RGB Power Switch
0x5e Dec 16, 2022
05b0056
Update README.md
0x5e Dec 16, 2022
ee4eeb6
This fixes issues where doorbell rings were not being reported (#153)
ErrorErrorError Dec 17, 2022
b052549
Update docs
0x5e Dec 17, 2022
1b7e44f
1.7.0-beta.9
0x5e Dec 17, 2022
fb544d3
Remove limitation of 0~25 for HeatingThresholdTemperature.
0x5e Dec 17, 2022
309802a
Check both `doorbell_pic` and `alarm_message` for the doorbell event
0x5e Dec 17, 2022
5b59055
Pass lint issue
0x5e Dec 17, 2022
766f4e3
Accept 'alarm_message' of String type
0x5e Dec 17, 2022
bb116d2
Optimize mqtt message wrong order workaround (#157)
0x5e Dec 17, 2022
564c761
1.7.0-beta.10
0x5e Dec 17, 2022
b5bb28f
Add discord badge
0x5e Dec 17, 2022
3aba981
Fix ProgrammableSwitchEvent compare condition
0x5e Dec 18, 2022
299a237
1.7.0-beta.11
0x5e Dec 18, 2022
50e34b7
Update warning logs.
0x5e Dec 19, 2022
47f2f8c
Update package.json
0x5e Dec 19, 2022
7331724
Fix `RotationSpeedLevel` missing one level. (#170)
0x5e Dec 25, 2022
d5740d5
Add Air Conditioner support (`kt`). (#160)
0x5e Dec 25, 2022
3fd273d
Fix `bright_value` not sent for the `C/CW` lights who doesn't have `w…
0x5e Dec 25, 2022
5e8e2d9
1.7.0-beta.12
0x5e Dec 25, 2022
6dc20fd
Update CHANGELOG.md
0x5e Dec 25, 2022
c234660
Fix `RotationSpeedLevel` error
0x5e Dec 25, 2022
b6bfd96
Fix valve `InUse` characteristic.
0x5e Dec 25, 2022
ead3b5e
Change accessory initialize order.
0x5e Dec 25, 2022
ea44d26
Revert "Fix `RotationSpeedLevel` error"
0x5e Dec 25, 2022
037f57c
Back to use old props, props changing cause error during plugin upgrade.
0x5e Dec 25, 2022
e11ef4b
1.7.0-beta.13
0x5e Dec 25, 2022
9e12b1b
Update CurrentHumidifierDehumidifierState and TargetHumidifierDehumid…
0x5e Dec 25, 2022
5f1cd7c
Support device online status (`StatusActive`). (#172)
0x5e Dec 25, 2022
926b0f3
Update CHANGELOG.md
0x5e Dec 25, 2022
2b39b84
Update logs.
0x5e Dec 25, 2022
07cddd6
Add `device` argument for `onGet` and `onSet` handlers in config.
0x5e Dec 26, 2022
89f38c9
Change range and unit of `RotationSpeedLevel`. (#174)
0x5e Dec 26, 2022
20e91f7
Update CHANGELOG.md
0x5e Dec 26, 2022
3efa431
Remove sending command of `RotationSpeedOn`
0x5e Dec 26, 2022
40e0c0f
1.7.0-beta.14
0x5e Dec 26, 2022
9db1e48
Add Diffuser support (`xxj`). (#175)
0x5e Dec 26, 2022
007d6fa
1.7.0-beta.15
0x5e Dec 26, 2022
ff7e59f
Fix crash when camera sends an invalid status message
0x5e Dec 27, 2022
f7c2886
Fix incorrect curtain state (#178)
0x5e Dec 27, 2022
dde0cdb
1.7.0-beta.16
0x5e Dec 27, 2022
dd7508f
Update CHANGELOG.md
0x5e Dec 27, 2022
bdaf397
Support Door and Window Controller motor reverse mode. (#180)
0x5e Dec 28, 2022
88ac8f1
1.7.0-beta.17
0x5e Dec 28, 2022
f15c94a
Silence unused mqtt event log
0x5e Dec 29, 2022
6b79558
Remove Diffuser `switch` requirement
0x5e Dec 29, 2022
752dc76
Reuse light characteristics. (#184)
0x5e Dec 29, 2022
4b048d1
1.7.0-beta.18
0x5e Dec 29, 2022
3d7ee56
Bump json5 from 2.2.1 to 2.2.2 (#185)
dependabot[bot] Dec 29, 2022
9fe0c9d
Fix crash for lights without "work_mode".
0x5e Dec 30, 2022
1b6106d
1.7.0-beta.19
0x5e Dec 30, 2022
6222fb7
Revert "Support Door and Window Controller motor reverse mode".
0x5e Dec 31, 2022
24ab8d5
Support old curtain.
0x5e Dec 31, 2022
1535a45
Expose energy usage for outlets/switches (#190)
lstrojny Jan 1, 2023
dd9146b
Update CHANGELOG.md
0x5e Jan 1, 2023
c5b749e
1.7.0-beta.20
0x5e Jan 1, 2023
88fb6ba
Add detail logs.
0x5e Jan 5, 2023
f348414
Skip send command when device is offline.
0x5e Jan 5, 2023
e1a8e60
Add `pm2.5`, `pm25cgq` support.
0x5e Jan 8, 2023
e82d1c4
Add `cocgq`, `co2cgq` support.
0x5e Jan 8, 2023
1863fa1
Add Temperature Control Socket support (`wkcz`). (#200)
0x5e Jan 8, 2023
978eeb7
Update AirQualitySensor temperature schema
0x5e Jan 8, 2023
3b6bd1f
1.7.0-beta.21
0x5e Jan 8, 2023
fd087a9
Update api error logs.
0x5e Jan 8, 2023
41cf4da
Silent warnings.
0x5e Jan 9, 2023
eb07ec3
Update temp schema
0x5e Jan 9, 2023
bac0d95
Filter invalid command
0x5e Jan 13, 2023
3ad4330
Skip send on/off command when touching brightness/speed slider
0x5e Jan 13, 2023
1a9f49c
1.7.0-beta.22
0x5e Jan 13, 2023
18498ae
Optimize light brightness process logic
0x5e Jan 15, 2023
15cb6fa
Support device uuid in advanced options.
0x5e Jan 16, 2023
fe00304
Add support for md5 salted password.
0x5e Jan 16, 2023
2dd8068
Add battery info and online status for unsupported device.
0x5e Jan 16, 2023
5d824b0
Add `dsd` Light support.
0x5e Jan 21, 2023
256e427
Optimize light brightness process logic
0x5e Jan 22, 2023
dff34c8
Fix energy usage unit issue.
0x5e Jan 22, 2023
5e2bce6
1.7.0-beta.23
0x5e Jan 22, 2023
cd4e8bb
Update README.md
0x5e Jan 22, 2023
42cdfcc
Add `hjjcy` Environmental Detector support.
0x5e Jan 28, 2023
94542f0
Update docs.
0x5e Jan 29, 2023
29afc9c
add switch command only if needed (#229)
hpstuff Feb 6, 2023
5465417
Update docs.
0x5e Jan 29, 2023
f00d006
Add `sfkzq` Water Valve Controller support.
0x5e Feb 6, 2023
d5724da
Update ADVANCED_OPTIONS.md
0x5e Feb 6, 2023
c37a4af
[AirConditioner] Add extra sensors for home automation use.
0x5e Feb 6, 2023
3288e25
1.7.0-beta.24
0x5e Feb 6, 2023
4d381c2
tidy the code.
0x5e Feb 6, 2023
ae77e19
Update SUPPORTED_DEVICES.md
0x5e Feb 7, 2023
177937e
Update ADVANCED_OPTIONS.md
0x5e Feb 9, 2023
45f512d
Rename `oldCode` `code` to `code` `newCode`, and `newCode` is optiona…
0x5e Feb 8, 2023
db22041
Optimize docs using ChatGPT.
0x5e Feb 12, 2023
2ffce34
Update
0x5e Feb 12, 2023
cbf1293
Support schema hidden.
0x5e Feb 14, 2023
48322a2
Merge branch 'feature/advanced_options' into develop_1.7.0
0x5e Feb 14, 2023
8d117eb
Add IR/RF device support. (#191)
0x5e Feb 14, 2023
0afdb70
1.7.0-beta.26
0x5e Feb 14, 2023
938fdc1
Update SUPPORTED_DEVICES.md
0x5e Feb 15, 2023
6435732
Migrate old config
0x5e Feb 15, 2023
92cedfb
1.7.0-beta.27
0x5e Feb 15, 2023
258ef82
Add `hwktwkq` IR AC Controller support.
0x5e Feb 15, 2023
e5011f7
Update category override code order
0x5e Feb 15, 2023
4b844cc
Update README.md
0x5e Feb 15, 2023
bf21ae4
1.7.0-beta.28
0x5e Feb 15, 2023
d2925c2
Update ADVANCED_OPTIONS.md
0x5e Feb 15, 2023
60b0483
Update ADVANCED_OPTIONS.md
0x5e Feb 15, 2023
44e230f
Update docs.
0x5e Feb 16, 2023
5f88c9f
Add `szjqr` Fingerbot support.
0x5e Feb 17, 2023
516476c
Add optional endpoint param.
0x5e Feb 20, 2023
f2154b6
Fix Thermostat cold mode not working. (#242)
0x5e Feb 22, 2023
6efdff8
Update docs.
0x5e Feb 22, 2023
85c6671
Update dp codes for AirQualitySensor.
0x5e Feb 23, 2023
53d355d
Update docs.
0x5e Feb 23, 2023
da08568
Add `ms`, `jtmspro ` Smart Lock support. (#120)
0x5e Feb 24, 2023
e7816f1
Add Total Consumption (kWh) support for outlets/switches. (#244)
0x5e Feb 24, 2023
4437d1e
Update docs.
0x5e Feb 24, 2023
0747cbe
1.7.0-beta.29
0x5e Feb 24, 2023
1db6c82
Fix typo.
0x5e Feb 24, 2023
29bab37
Remove energy usage unit validation.
0x5e Feb 26, 2023
c1845f9
Update ISSUE_TEMPLATE
0x5e Feb 26, 2023
90db4f0
Add 'mal' SecuritySystem support. (#246)
bFollon Feb 26, 2023
8571735
Update docs.
0x5e Feb 26, 2023
8faa331
Fix endpoint empty crash.
0x5e Feb 27, 2023
b116388
1.7.0-beta.31
0x5e Feb 27, 2023
632daec
Fix country code not exist on default map.
0x5e Feb 28, 2023
2e6e5cd
1.7.0-beta.32
0x5e Feb 28, 2023
1a9f4ed
Update SUPPORTED_DEVICES.md
0x5e Feb 28, 2023
29de94d
Update issue template
0x5e Mar 1, 2023
25112f6
Update SUPPORTED_DEVICES.md
0x5e Mar 1, 2023
97781d1
Update IR sub device support (#261)
0x5e Mar 16, 2023
2fb159a
Add `zd` Vibration Sensor support. (#262)
0x5e Mar 16, 2023
75beaf4
1.7.0-beta.33
0x5e Mar 16, 2023
ed2b157
Update SUPPORTED_DEVICES.md
0x5e Mar 17, 2023
6b49bff
Add adaptive lighting support. (#272)
0x5e Apr 3, 2023
4a0222f
Update fan dp code and light service. (#273)
0x5e Apr 3, 2023
9f63c3f
Update docs.
0x5e Apr 3, 2023
1016ae8
1.7.0-beta.34
0x5e Apr 3, 2023
b7f656b
Manually trigger normal state for vibration sensor.
0x5e Apr 13, 2023
5ce46a0
Add `wxml` Wireless Doorbell support. (#277)
0x5e Apr 13, 2023
059b08d
Strict config validate for `deviceOverrides` (#278)
0x5e Apr 13, 2023
e4117c4
1.7.0-beta.35
0x5e Apr 13, 2023
41a7bf0
Update docs.
0x5e Apr 13, 2023
868cf8f
fix deviceOverrides not iterable
0x5e Apr 13, 2023
f54cb5b
1.7.0-beta.36
0x5e Apr 13, 2023
da1ebdd
Update `wxml` doorbell call event logic.
0x5e Apr 17, 2023
a86ce42
Update lock device schema code.
0x5e Apr 17, 2023
cb1be5c
Support AirPurifier air quality.
0x5e Apr 17, 2023
6962bf9
Update config.schema.json (#282)
donavanbecker Apr 17, 2023
8aa97de
Update config.schema.json (#283)
donavanbecker Apr 19, 2023
a753de0
Add option to make accessory and unbridged accessory (#285)
donavanbecker Apr 19, 2023
511d0e5
Update docs.
0x5e Apr 19, 2023
dc66692
Add `wsdykq` IR Remote Control support.
0x5e Apr 19, 2023
5bca01e
1.7.0-beta.37
0x5e Apr 19, 2023
d8f7f52
fix
0x5e Apr 19, 2023
a15dded
1.7.0-beta.38
0x5e Apr 19, 2023
8b9ae38
Update docs.
0x5e Apr 19, 2023
b24e35a
Update air quality schema code.
0x5e Apr 19, 2023
5466d4c
1.7.0-beta.39
0x5e Apr 19, 2023
e8bd446
Fix camera floodlight not get hidden correctly.
0x5e Apr 19, 2023
4ecdc75
Added Additional Conditional Formatting (#287)
donavanbecker Apr 20, 2023
3b505e6
1.7.0-beta.40
0x5e Apr 20, 2023
6695f9f
Update docs.
0x5e Apr 22, 2023
866cb47
Update ISSUE_TEMPLATE
0x5e Apr 26, 2023
b4aa91a
Fix scale issue.
0x5e Apr 30, 2023
d08c7c0
Get temperature & humidity from parent device.
0x5e Apr 21, 2023
a10cada
fix
0x5e May 1, 2023
30befc0
1.7.0-beta.41
0x5e May 1, 2023
f5ead13
Bump xml2js and @homebridge/dbus-native (#296)
dependabot[bot] May 2, 2023
5fe7cc2
Fix unlocked state on Lock Mechanism (#297)
felipehjcosta May 3, 2023
e455d70
Disable Adaptive Lighting by default.
0x5e May 4, 2023
c6c2e08
1.7.0-beta.42
0x5e May 4, 2023
19e8f5e
Fix crash when IR AirConditioner couldn't get status.
0x5e May 5, 2023
ec6cf69
Fix crash for some invalid IR devices.
0x5e May 6, 2023
50b7bb4
1.7.0-beta.43
0x5e May 6, 2023
bc2f3fd
Fix IR devices creating >100 services per accessory (#239)
bimusiek May 7, 2023
6ed36a0
1.7.0-beta.44
0x5e May 7, 2023
8195776
throw HapStatusError when device is offline.
0x5e May 10, 2023
2befadb
Update lock schema code.
0x5e May 11, 2023
c4c7d29
Add inching button for switches
0x5e May 11, 2023
94865ac
fix
0x5e May 11, 2023
7964bbe
1.7.0-beta.45
0x5e May 11, 2023
b15ea22
Remove `wireless_powermode` for those are not doorbell.
0x5e May 14, 2023
91386aa
Update docs.
0x5e Jun 16, 2023
1d32f13
Add `debug` and `debugLevel` options.
0x5e Jul 11, 2023
957a25e
1.7.0-beta.46
0x5e Jul 11, 2023
578337a
Add Debug and DebugLevel to Config UI (#334)
donavanbecker Jul 12, 2023
8004353
1.7.0-beta.47
0x5e Jul 12, 2023
d6eafe9
fix Homebridge UI
0x5e Jul 12, 2023
238120b
1.7.0-beta.48
0x5e Jul 12, 2023
331ec6d
DebugLevel Condition (#337)
donavanbecker Jul 13, 2023
fb02cf7
Added support to 2ch windows covering (#339)
CryptoIR Jul 17, 2023
88fa57a
Update CHANGELOG.md
0x5e Jul 17, 2023
fd48de4
1.7.0-beta.49
0x5e Jul 17, 2023
63ff35f
Bump word-wrap from 1.2.3 to 1.2.4 (#350)
dependabot[bot] Jul 20, 2023
bf6f551
Use overrides for ValveAccessory (#376)
monkeycatdog Sep 30, 2023
b427ddf
Bump systeminformation from 5.16.3 to 5.21.8 (#377)
dependabot[bot] Sep 30, 2023
de36d58
1.7.0-beta.50
0x5e Sep 30, 2023
4277ff8
add 'dlq' switch (WiFi Din Rail Switch with metering) (#385)
gambit66 Oct 6, 2023
35e790a
Merge branch 'develop_1.7.0' of github.com:0x5e/tuya-homebridge into …
0x5e Oct 6, 2023
567d644
1.7.0-beta.51
0x5e Oct 6, 2023
0c1d40b
Add retry when network error happend.
0x5e Oct 20, 2023
a40d706
Bump @babel/traverse from 7.20.5 to 7.23.2 (#393)
dependabot[bot] Oct 20, 2023
f4b6a88
1.7.0-beta.52
0x5e Oct 20, 2023
610d315
Add DisplayName (#413)
donavanbecker Dec 4, 2023
4c2655a
Order temp before get the min and max for IRAirConditionerAccessory (…
tuliocll Jan 12, 2024
b0c7dc2
Bump crypto-js from 4.1.1 to 4.2.0 (#396)
dependabot[bot] Jan 13, 2024
a90ad53
Fix enerage usage not updated after homebridge restart (#268)
0x5e Jan 13, 2024
c752223
Update CHANGELOG.md
0x5e Jan 13, 2024
06a821a
1.7.0-beta.53
0x5e Jan 13, 2024
14cd32c
Update README.md
0x5e Jan 14, 2024
db6794e
Update TuyaOpenAPI.ts
0x5e Feb 20, 2024
b63ace8
fixed mispelling (#461)
gmanucci May 16, 2024
93b1c97
Added device support for Pet Feeder "cwwsq" (#483)
aselekoglu Jul 21, 2024
8c72af9
Update docs.
0x5e Jul 21, 2024
87b6dca
1.7.0-beta.54
0x5e Jul 21, 2024
db51db3
Add yyj extraction hood device support (#487)
JobDoesburg Aug 21, 2024
4427ad1
Weather station support (#495)
TristanBrotherton Sep 2, 2024
b07a6c0
Feature: Add "bzyd" White Noise Night Light (#510)
ollief87 Dec 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended" // uses the recommended rules from the @typescript-eslint/eslint-plugin
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"ignorePatterns": [
"dist"
],
"rules": {
"quotes": ["warn", "single"],
"indent": ["warn", 2, { "SwitchCase": 1 }],
"semi": ["off"],
"comma-dangle": ["warn", "always-multiline"],
"dot-notation": "off",
"eqeqeq": "warn",
"curly": ["warn", "all"],
"brace-style": ["warn"],
"prefer-arrow-callback": ["warn"],
"max-len": ["warn", 140],
"no-console": ["warn"], // use the provided Homebridge log method instead
"no-non-null-assertion": ["off"],
"comma-spacing": ["error"],
"no-multi-spaces": ["warn", { "ignoreEOLComments": true }],
"no-trailing-spaces": ["warn"],
"lines-between-class-members": ["warn", "always", {"exceptAfterSingleLine": true}],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/semi": ["warn"],
"@typescript-eslint/member-delimiter-style": ["warn"]
}
}
13 changes: 13 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# These are supported funding model platforms

github: ['0x5e']
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
106 changes: 0 additions & 106 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

55 changes: 55 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Bug report
description: Create a report to help us improve
labels: ['bug']
body:
- type: checkboxes
id: prerequisite
attributes:
label: Prerequisite
description: Have you read the [Readme - FAQ](https://github.com/0x5e/homebridge-tuya-platform#faq) and [Readme - Troubleshooting](https://github.com/0x5e/homebridge-tuya-platform#troubleshooting) section?
options:
- label: Yes, I've read the readme completely.
required: true
- type: checkboxes
id: cache
attributes:
label: Cache
description: Have you tried clean homebridge accessory cache and restart the service?
options:
- label: Yes, I've cleaned accessory cache and the issue still exists.
required: true
- type: input
id: version
attributes:
label: Version
description: The version of this plugin you are using.
placeholder: 1.7.0-beta.xx
validations:
required: true
- type: textarea
id: devide-info
attributes:
label: Device Infomation JSON File
description: If it's related to a device, please paste `TuyaDeviceInfo.{uid}.json` content here.
render: json
- type: dropdown
id: control-mode
attributes:
label: Device Control Mode
description: If it's related to a device, please select the device control mode.
options:
- Standard Instruction
- DP Instruction
- type: textarea
id: logs
attributes:
label: Logs
description: Please paste homebridge logs with debug mode on.
render: shell
- type: textarea
id: infos
attributes:
label: Other Infomations
description: Also tell us, what did you expect to happen.
validations:
required: true
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Homebridge Discord Community
url: https://discord.gg/homebridge-432663330281226270
about: 'Ask your questions in the #tuya channel'
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Feature request
description: Suggest an idea for this project
labels: ['enhancement']
body:
- type: textarea
id: devide-info
attributes:
label: Device Infomation JSON File
description: If it's related to a device, please paste `TuyaDeviceInfo.{uid}.json` content here.
render: json
- type: textarea
id: infos
attributes:
label: Detail Informations
validations:
required: true
28 changes: 0 additions & 28 deletions .github/ISSUE_TEMPLATE/login_error_code.md

This file was deleted.

54 changes: 54 additions & 0 deletions .github/ISSUE_TEMPLATE/login_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Login issue
description: Failed to login Tuya Cloud
labels: ['login issue']
body:
- type: checkboxes
id: prerequisite
attributes:
label: Prerequisite
description: Have you read the [Readme - FAQ](https://github.com/0x5e/homebridge-tuya-platform#faq) and [Readme - Troubleshooting](https://github.com/0x5e/homebridge-tuya-platform#troubleshooting) section?
options:
- label: 'Yes'
required: true
- type: checkboxes
id: accounts
attributes:
label: Accounts
description: Do you know Tuya IoT Platform and Tuya App are using different account?
options:
- label: 'Yes'
required: true
- type: input
id: country-code
attributes:
label: Country Code
description: The country code of your app account.
placeholder: ex. 1
validations:
required: true
- type: dropdown
id: region-code
attributes:
label: Region Code
description: The region code from app network diagnosis result.
options:
- AY (China)
- AZ (West US)
- EU (Central Europe)
- IN (India)
validations:
required: true
- type: textarea
id: logs
attributes:
label: Logs
description: Please post homebridge logs. Logs with debug mode on will be better.
render: shell
validations:
required: true
- type: textarea
id: infos
attributes:
label: Other Infomations
description: Any information might relate to this issue.

Loading