@homebridge-plugins/homebridge-tado 6.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/CHANGELOG.md +152 -0
  2. package/LICENSE +21 -0
  3. package/README.md +560 -0
  4. package/config.schema.json +878 -0
  5. package/homebridge-ui/public/css/style.css +25 -0
  6. package/homebridge-ui/public/images/tado_logo.png +0 -0
  7. package/homebridge-ui/public/index.html +118 -0
  8. package/homebridge-ui/public/js/main.js +1582 -0
  9. package/homebridge-ui/public/js/modules/compareVersions.min.js +1 -0
  10. package/homebridge-ui/public/js/modules/jquery.min.js +2 -0
  11. package/homebridge-ui/public/js/modules/progressbar.min.js +6 -0
  12. package/homebridge-ui/public/js/progressbars.js +48 -0
  13. package/homebridge-ui/public/js/schema.js +864 -0
  14. package/homebridge-ui/server.js +80 -0
  15. package/images/tado_logo.png +0 -0
  16. package/index.js +14 -0
  17. package/package.json +66 -0
  18. package/src/accessories/airquality.js +56 -0
  19. package/src/accessories/contact.js +124 -0
  20. package/src/accessories/faucet.js +63 -0
  21. package/src/accessories/heatercooler.js +333 -0
  22. package/src/accessories/humidity.js +90 -0
  23. package/src/accessories/lightbulb.js +59 -0
  24. package/src/accessories/lightsensor.js +40 -0
  25. package/src/accessories/motion.js +79 -0
  26. package/src/accessories/occupancy.js +45 -0
  27. package/src/accessories/security.js +79 -0
  28. package/src/accessories/switch.js +261 -0
  29. package/src/accessories/temperature.js +95 -0
  30. package/src/accessories/thermostat.js +337 -0
  31. package/src/helper/handler.js +1467 -0
  32. package/src/helper/logger.js +51 -0
  33. package/src/helper/telegram.js +60 -0
  34. package/src/platform.js +337 -0
  35. package/src/tado/tado-api.js +404 -0
  36. package/src/tado/tado-config.js +1032 -0
  37. package/src/types/custom.js +264 -0
  38. package/src/types/eve.js +337 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,152 @@
1
+ # Changelog
2
+
3
+ ## v6.0.14 - 2021-05-19
4
+ - Fixed an issue where the thermostat displayed wrong room temperature due to wrong celsius/fahrenheit calculation
5
+ - Bump dependencies
6
+
7
+ ## v6.0.13 - 2021-05-16
8
+ - Fix [#79](https://github.com/SeydX/homebridge-tado-platform/issues/79), [#80](https://github.com/SeydX/homebridge-tado-platform/issues/80)
9
+ - Minor bugfixes and improvements
10
+
11
+ ## v6.0.12 - 2021-04-26
12
+ - Fixed a bug with windowSwitchAccessory
13
+ - Less error messages
14
+
15
+ ## v6.0.11 - 2021-03-22
16
+ - Fixed a bug with an empty temperature value which threw an error during setting up with config-ui-x
17
+ - Fixed minValue for LightSensor
18
+ - Fixed a bug with "easyMode" enabled heater
19
+
20
+ ## v6.0.10 - 2021-03-22
21
+ - Changed dummySwitch to stateful
22
+
23
+ ## v6.0.9 - 2021-03-22
24
+ - Added "Dummy Switch" option to Central Switch
25
+ - Added new accessory type option (LightSensor) to Solar Intensity Accessory
26
+ - Added new mode (CUSTOM) to HOT_WATER devices
27
+ - Fixed current state of HeaterCooler if temperature is reached
28
+ - Fixed AUTO mode for HOT_WATER devices
29
+ - Bugfixes
30
+ - Bump deps
31
+
32
+ ## v6.0.8 - 2021-03-19
33
+ - Bugfixes
34
+
35
+ ## v6.0.7 - 2021-03-18
36
+ - Bugfixes
37
+
38
+ ## v6.0.6 - 2021-03-16
39
+ - Added minValue, maxValue, minStep options to config
40
+ - Fixed target temperature for HOT_WATER if power = "ON"
41
+ - Other little bugfixes & improvements
42
+
43
+ ## v6.0.5 - 2021-03-16
44
+ - Hot Water auto mode bugfixes
45
+
46
+ ## v6.0.4 - 2021-03-16
47
+ - Removed "CoolingThresholdTemperature" from HeaterCooler Accessory
48
+ - Changed target state to auto when switching on HeaterCooler if mode = "AUTO"
49
+
50
+ ## v6.0.3 - 2021-03-16
51
+ - Removed unnecessary log
52
+
53
+ ## v6.0.2 - 2021-03-16
54
+ - Fixed zoneOverlay (temperature)
55
+
56
+ ## v6.0.1 - 2021-03-15
57
+ - Fixed a bug with faucet accessory appearing as air quality sensor
58
+ - Fixed a bug for HOT_WATER devices without temperature support
59
+ - Improvements
60
+
61
+ **Note:**
62
+
63
+ Hot water devices show 0° when they are first started in HomeKit if they are in "OFF" mode. The reason for this is that in "OFF" mode there is no temperature value in the API. When you turn on the device, the plugin saves the value for the further use case.
64
+
65
+
66
+ **IMPORTANT:**
67
+
68
+ If you previously used your "HOT_WATER" device/zone as a faucet, then disable the zone after the update and restart Homebridge pls. After the restart, you can enable the zone with the faucet again.
69
+
70
+
71
+ ## v6.0.0 - 2021-03-14
72
+
73
+
74
+ **<u>NOTE:</u>** Updating from **<= v5.x** to **v6.x** will crash your homebridge, please **REMOVE** the old version first and check also the new [example-config.json](https://github.com/SeydX/homebridge-tado-platform/blob/master/example-config.json)
75
+
76
+ - Config UI X support (config.schema.json)
77
+ - Custom UI
78
+ - Support for non config ui x user
79
+ - Auto-fill config for non config ui x user
80
+ - HB 1.3 support
81
+ - Support new onGet/onSet event
82
+ - Refactored code
83
+ - Multiple tado accounts
84
+ - Possibility to control multiple homes
85
+ - Customizable temperature unit via HomeKit
86
+ - Customizable Modes (AUTO | HEAT | COOL | OFF) or (ON | OFF)
87
+ - Deactivatable battery indicator (support for old gen thermostats)
88
+ - Customizable zone termination, separate for each zone
89
+ - Delay Switch
90
+ - Delay as switch characteristic with adjustable timer characteristic for automations
91
+ - Auto turn off options
92
+ - Separate humidity sensor
93
+ - Separate temperature sensor
94
+ - Boiler with adjustable accessory type
95
+ - Switch (if no temperature is supported)
96
+ - Faucet (if no temperature supported)
97
+ - HeaterCooler (if temperature supported)
98
+ - Grouped Central Switch with custom characteristics
99
+ - Overall heat in h for day/month/year
100
+ - Thermostat/Boiler states (manual, auto, off)
101
+ - Boost trigger switch
102
+ - Resume shedule trigger switch
103
+ - Turn off trigger switch
104
+ - OpenWindow
105
+ - Grouped Switch: Enables open window and trigger open window detection
106
+ - Contact: Read-only open window state as contact sensor
107
+ - Presence Lock
108
+ - As Security System
109
+ - As Grouped Switch Accessory
110
+ - Air Quality
111
+ - Weather
112
+ - Zones
113
+ - FakeGato
114
+ - Thermostats
115
+ - HeaterCooler
116
+ - Temperature sensors
117
+ - Humidity sensors
118
+ - Contact sensors (window)
119
+ - Telegram
120
+ - Presence
121
+ - OpenWindow
122
+ - Child Lock Switches as Grouped Switch Accessory
123
+ - Better error handling
124
+
125
+ ## v5.1.5 - 2019-04-27
126
+ - Refactored HOTWATER Accessory (*)
127
+ - Bugfixes
128
+ - Cleanup code
129
+
130
+
131
+ ## v5.1.4 - 2019-04-25
132
+ - Bugfixes
133
+
134
+
135
+ ## v5.1.2 - 2019-04-22
136
+ - [NEW] Added Valve (Faucet Type) for Hotwater without temp adjustment possibility
137
+ - Bugfixes
138
+ - Code Cleanup
139
+
140
+
141
+ ## v5.0.5 - 2019-04-22
142
+ - Code cleanup
143
+ - Bugfixes
144
+
145
+
146
+ ## v5.0.3 - 2019-04-17
147
+ - Bugfixes
148
+ - Added new parameter into config.json (overrideMode) to set up the mode after temperature changement (manual or auto)
149
+ - Cleanup code
150
+
151
+ ## v5.0.0 -
152
+ - Initial release
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018-2021 SeydX
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.