@tplnet/homebridge-tahoma 0.0.0-stage → 2.3.0

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 (265) hide show
  1. package/.github/ISSUE_TEMPLATE/config.yml +5 -0
  2. package/.github/workflows/ci.yml +21 -0
  3. package/.github/workflows/publish.yml +29 -0
  4. package/.github/workflows/stale-issue.yml +25 -0
  5. package/CHANGELOG.md +18 -0
  6. package/LICENSE +176 -0
  7. package/NOTICE +6 -0
  8. package/README.md +200 -2
  9. package/config.schema.json +275 -0
  10. package/dist/CustomCharacteristics.d.ts +25 -0
  11. package/dist/CustomCharacteristics.js +96 -0
  12. package/dist/CustomCharacteristics.js.map +1 -0
  13. package/dist/Mapper.d.ts +55 -0
  14. package/dist/Mapper.js +263 -0
  15. package/dist/Mapper.js.map +1 -0
  16. package/dist/Platform.d.ts +46 -0
  17. package/dist/Platform.js +238 -0
  18. package/dist/Platform.js.map +1 -0
  19. package/dist/SceneMapper.d.ts +15 -0
  20. package/dist/SceneMapper.js +43 -0
  21. package/dist/SceneMapper.js.map +1 -0
  22. package/dist/colors.d.ts +17 -0
  23. package/dist/colors.js +18 -0
  24. package/dist/colors.js.map +1 -0
  25. package/dist/index.d.ts +6 -0
  26. package/dist/index.js +9 -0
  27. package/dist/index.js.map +1 -0
  28. package/dist/lang/en.json +14 -0
  29. package/dist/mappers/AdjustableSlatsRollerShutter.d.ts +7 -0
  30. package/dist/mappers/AdjustableSlatsRollerShutter.js +39 -0
  31. package/dist/mappers/AdjustableSlatsRollerShutter.js.map +1 -0
  32. package/dist/mappers/AirSensor/CO2Sensor.d.ts +8 -0
  33. package/dist/mappers/AirSensor/CO2Sensor.js +37 -0
  34. package/dist/mappers/AirSensor/CO2Sensor.js.map +1 -0
  35. package/dist/mappers/AirSensor/RelativeHumiditySensor.d.ts +3 -0
  36. package/dist/mappers/AirSensor/RelativeHumiditySensor.js +4 -0
  37. package/dist/mappers/AirSensor/RelativeHumiditySensor.js.map +1 -0
  38. package/dist/mappers/AirSensor.d.ts +10 -0
  39. package/dist/mappers/AirSensor.js +72 -0
  40. package/dist/mappers/AirSensor.js.map +1 -0
  41. package/dist/mappers/Alarm/MyFoxAlarmController.d.ts +6 -0
  42. package/dist/mappers/Alarm/MyFoxAlarmController.js +40 -0
  43. package/dist/mappers/Alarm/MyFoxAlarmController.js.map +1 -0
  44. package/dist/mappers/Alarm/TSKAlarmController.d.ts +6 -0
  45. package/dist/mappers/Alarm/TSKAlarmController.js +61 -0
  46. package/dist/mappers/Alarm/TSKAlarmController.js.map +1 -0
  47. package/dist/mappers/Alarm.d.ts +15 -0
  48. package/dist/mappers/Alarm.js +82 -0
  49. package/dist/mappers/Alarm.js.map +1 -0
  50. package/dist/mappers/Awning/PositionableHorizontalAwningUno.d.ts +4 -0
  51. package/dist/mappers/Awning/PositionableHorizontalAwningUno.js +14 -0
  52. package/dist/mappers/Awning/PositionableHorizontalAwningUno.js.map +1 -0
  53. package/dist/mappers/Awning.d.ts +12 -0
  54. package/dist/mappers/Awning.js +62 -0
  55. package/dist/mappers/Awning.js.map +1 -0
  56. package/dist/mappers/ConsumptionSensor.d.ts +6 -0
  57. package/dist/mappers/ConsumptionSensor.js +10 -0
  58. package/dist/mappers/ConsumptionSensor.js.map +1 -0
  59. package/dist/mappers/ContactSensor.d.ts +9 -0
  60. package/dist/mappers/ContactSensor.js +47 -0
  61. package/dist/mappers/ContactSensor.js.map +1 -0
  62. package/dist/mappers/Curtain.d.ts +3 -0
  63. package/dist/mappers/Curtain.js +4 -0
  64. package/dist/mappers/Curtain.js.map +1 -0
  65. package/dist/mappers/DoorLock.d.ts +11 -0
  66. package/dist/mappers/DoorLock.js +58 -0
  67. package/dist/mappers/DoorLock.js.map +1 -0
  68. package/dist/mappers/ElectricitySensor/CumulativeElectricPowerConsumptionSensor.d.ts +8 -0
  69. package/dist/mappers/ElectricitySensor/CumulativeElectricPowerConsumptionSensor.js +25 -0
  70. package/dist/mappers/ElectricitySensor/CumulativeElectricPowerConsumptionSensor.js.map +1 -0
  71. package/dist/mappers/ElectricitySensor.d.ts +6 -0
  72. package/dist/mappers/ElectricitySensor.js +12 -0
  73. package/dist/mappers/ElectricitySensor.js.map +1 -0
  74. package/dist/mappers/EvoHome/DHWSetPoint.d.ts +3 -0
  75. package/dist/mappers/EvoHome/DHWSetPoint.js +4 -0
  76. package/dist/mappers/EvoHome/DHWSetPoint.js.map +1 -0
  77. package/dist/mappers/EvoHome/EvoHomeController.d.ts +6 -0
  78. package/dist/mappers/EvoHome/EvoHomeController.js +22 -0
  79. package/dist/mappers/EvoHome/EvoHomeController.js.map +1 -0
  80. package/dist/mappers/EvoHome/HeatingSetPoint.d.ts +4 -0
  81. package/dist/mappers/EvoHome/HeatingSetPoint.js +13 -0
  82. package/dist/mappers/EvoHome/HeatingSetPoint.js.map +1 -0
  83. package/dist/mappers/ExteriorHeatingSystem/DimmerExteriorHeating.d.ts +8 -0
  84. package/dist/mappers/ExteriorHeatingSystem/DimmerExteriorHeating.js +36 -0
  85. package/dist/mappers/ExteriorHeatingSystem/DimmerExteriorHeating.js.map +1 -0
  86. package/dist/mappers/ExteriorHeatingSystem.d.ts +6 -0
  87. package/dist/mappers/ExteriorHeatingSystem.js +11 -0
  88. package/dist/mappers/ExteriorHeatingSystem.js.map +1 -0
  89. package/dist/mappers/ExteriorScreen.d.ts +3 -0
  90. package/dist/mappers/ExteriorScreen.js +4 -0
  91. package/dist/mappers/ExteriorScreen.js.map +1 -0
  92. package/dist/mappers/ExteriorVenetianBlind.d.ts +3 -0
  93. package/dist/mappers/ExteriorVenetianBlind.js +4 -0
  94. package/dist/mappers/ExteriorVenetianBlind.js.map +1 -0
  95. package/dist/mappers/GarageDoor.d.ts +15 -0
  96. package/dist/mappers/GarageDoor.js +93 -0
  97. package/dist/mappers/GarageDoor.js.map +1 -0
  98. package/dist/mappers/Gate.d.ts +21 -0
  99. package/dist/mappers/Gate.js +141 -0
  100. package/dist/mappers/Gate.js.map +1 -0
  101. package/dist/mappers/Generic/CyclicGeneric.d.ts +3 -0
  102. package/dist/mappers/Generic/CyclicGeneric.js +4 -0
  103. package/dist/mappers/Generic/CyclicGeneric.js.map +1 -0
  104. package/dist/mappers/Generic/DimmerOnOff.d.ts +3 -0
  105. package/dist/mappers/Generic/DimmerOnOff.js +4 -0
  106. package/dist/mappers/Generic/DimmerOnOff.js.map +1 -0
  107. package/dist/mappers/Generic/RTSGeneric.d.ts +5 -0
  108. package/dist/mappers/Generic/RTSGeneric.js +13 -0
  109. package/dist/mappers/Generic/RTSGeneric.js.map +1 -0
  110. package/dist/mappers/Generic/RTSGeneric4T.d.ts +3 -0
  111. package/dist/mappers/Generic/RTSGeneric4T.js +4 -0
  112. package/dist/mappers/Generic/RTSGeneric4T.js.map +1 -0
  113. package/dist/mappers/HeatingSystem/AtlanticElectricalHeater.d.ts +12 -0
  114. package/dist/mappers/HeatingSystem/AtlanticElectricalHeater.js +116 -0
  115. package/dist/mappers/HeatingSystem/AtlanticElectricalHeater.js.map +1 -0
  116. package/dist/mappers/HeatingSystem/AtlanticElectricalHeaterWithAdjustableTemperatureSetpoint.d.ts +13 -0
  117. package/dist/mappers/HeatingSystem/AtlanticElectricalHeaterWithAdjustableTemperatureSetpoint.js +112 -0
  118. package/dist/mappers/HeatingSystem/AtlanticElectricalHeaterWithAdjustableTemperatureSetpoint.js.map +1 -0
  119. package/dist/mappers/HeatingSystem/AtlanticElectricalTowelDryer.d.ts +17 -0
  120. package/dist/mappers/HeatingSystem/AtlanticElectricalTowelDryer.js +126 -0
  121. package/dist/mappers/HeatingSystem/AtlanticElectricalTowelDryer.js.map +1 -0
  122. package/dist/mappers/HeatingSystem/AtlanticPassAPCBoiler.d.ts +7 -0
  123. package/dist/mappers/HeatingSystem/AtlanticPassAPCBoiler.js +30 -0
  124. package/dist/mappers/HeatingSystem/AtlanticPassAPCBoiler.js.map +1 -0
  125. package/dist/mappers/HeatingSystem/AtlanticPassAPCHeatPump.d.ts +11 -0
  126. package/dist/mappers/HeatingSystem/AtlanticPassAPCHeatPump.js +64 -0
  127. package/dist/mappers/HeatingSystem/AtlanticPassAPCHeatPump.js.map +1 -0
  128. package/dist/mappers/HeatingSystem/AtlanticPassAPCHeatingAndCoolingZone.d.ts +21 -0
  129. package/dist/mappers/HeatingSystem/AtlanticPassAPCHeatingAndCoolingZone.js +161 -0
  130. package/dist/mappers/HeatingSystem/AtlanticPassAPCHeatingAndCoolingZone.js.map +1 -0
  131. package/dist/mappers/HeatingSystem/AtlanticPassAPCHeatingZone.d.ts +12 -0
  132. package/dist/mappers/HeatingSystem/AtlanticPassAPCHeatingZone.js +132 -0
  133. package/dist/mappers/HeatingSystem/AtlanticPassAPCHeatingZone.js.map +1 -0
  134. package/dist/mappers/HeatingSystem/AtlanticPassAPCZoneControl.d.ts +10 -0
  135. package/dist/mappers/HeatingSystem/AtlanticPassAPCZoneControl.js +87 -0
  136. package/dist/mappers/HeatingSystem/AtlanticPassAPCZoneControl.js.map +1 -0
  137. package/dist/mappers/HeatingSystem/ProgrammableAndProtectableThermostatSetPoint.d.ts +3 -0
  138. package/dist/mappers/HeatingSystem/ProgrammableAndProtectableThermostatSetPoint.js +4 -0
  139. package/dist/mappers/HeatingSystem/ProgrammableAndProtectableThermostatSetPoint.js.map +1 -0
  140. package/dist/mappers/HeatingSystem/SomfyHeatingTemperatureInterface.d.ts +13 -0
  141. package/dist/mappers/HeatingSystem/SomfyHeatingTemperatureInterface.js +94 -0
  142. package/dist/mappers/HeatingSystem/SomfyHeatingTemperatureInterface.js.map +1 -0
  143. package/dist/mappers/HeatingSystem/SomfyThermostat.d.ts +16 -0
  144. package/dist/mappers/HeatingSystem/SomfyThermostat.js +111 -0
  145. package/dist/mappers/HeatingSystem/SomfyThermostat.js.map +1 -0
  146. package/dist/mappers/HeatingSystem/ThermostatSetPoint.d.ts +8 -0
  147. package/dist/mappers/HeatingSystem/ThermostatSetPoint.js +32 -0
  148. package/dist/mappers/HeatingSystem/ThermostatSetPoint.js.map +1 -0
  149. package/dist/mappers/HeatingSystem/ValveHeatingTemperatureInterface.d.ts +9 -0
  150. package/dist/mappers/HeatingSystem/ValveHeatingTemperatureInterface.js +65 -0
  151. package/dist/mappers/HeatingSystem/ValveHeatingTemperatureInterface.js.map +1 -0
  152. package/dist/mappers/HeatingSystem.d.ts +33 -0
  153. package/dist/mappers/HeatingSystem.js +154 -0
  154. package/dist/mappers/HeatingSystem.js.map +1 -0
  155. package/dist/mappers/HitachiHeatingSystem/HitachiAirToAirHeatPump.d.ts +11 -0
  156. package/dist/mappers/HitachiHeatingSystem/HitachiAirToAirHeatPump.js +107 -0
  157. package/dist/mappers/HitachiHeatingSystem/HitachiAirToAirHeatPump.js.map +1 -0
  158. package/dist/mappers/HitachiHeatingSystem/HitachiAirToWaterHeatingZone.d.ts +3 -0
  159. package/dist/mappers/HitachiHeatingSystem/HitachiAirToWaterHeatingZone.js +4 -0
  160. package/dist/mappers/HitachiHeatingSystem/HitachiAirToWaterHeatingZone.js.map +1 -0
  161. package/dist/mappers/HitachiHeatingSystem/HitachiAirToWaterMainComponent.d.ts +4 -0
  162. package/dist/mappers/HitachiHeatingSystem/HitachiAirToWaterMainComponent.js +5 -0
  163. package/dist/mappers/HitachiHeatingSystem/HitachiAirToWaterMainComponent.js.map +1 -0
  164. package/dist/mappers/HitachiHeatingSystem/HitachiDHW.d.ts +3 -0
  165. package/dist/mappers/HitachiHeatingSystem/HitachiDHW.js +4 -0
  166. package/dist/mappers/HitachiHeatingSystem/HitachiDHW.js.map +1 -0
  167. package/dist/mappers/HumiditySensor/WaterDetectionSensor.d.ts +4 -0
  168. package/dist/mappers/HumiditySensor/WaterDetectionSensor.js +14 -0
  169. package/dist/mappers/HumiditySensor/WaterDetectionSensor.js.map +1 -0
  170. package/dist/mappers/HumiditySensor.d.ts +7 -0
  171. package/dist/mappers/HumiditySensor.js +18 -0
  172. package/dist/mappers/HumiditySensor.js.map +1 -0
  173. package/dist/mappers/Light.d.ts +17 -0
  174. package/dist/mappers/Light.js +85 -0
  175. package/dist/mappers/Light.js.map +1 -0
  176. package/dist/mappers/LightSensor.d.ts +7 -0
  177. package/dist/mappers/LightSensor.js +18 -0
  178. package/dist/mappers/LightSensor.js.map +1 -0
  179. package/dist/mappers/OccupancySensor.d.ts +9 -0
  180. package/dist/mappers/OccupancySensor.js +40 -0
  181. package/dist/mappers/OccupancySensor.js.map +1 -0
  182. package/dist/mappers/OnOff.d.ts +10 -0
  183. package/dist/mappers/OnOff.js +35 -0
  184. package/dist/mappers/OnOff.js.map +1 -0
  185. package/dist/mappers/Pergola/BioclimaticPergola.d.ts +6 -0
  186. package/dist/mappers/Pergola/BioclimaticPergola.js +19 -0
  187. package/dist/mappers/Pergola/BioclimaticPergola.js.map +1 -0
  188. package/dist/mappers/Pergola/PergolaHorizontalAwningUno.d.ts +4 -0
  189. package/dist/mappers/Pergola/PergolaHorizontalAwningUno.js +22 -0
  190. package/dist/mappers/Pergola/PergolaHorizontalAwningUno.js.map +1 -0
  191. package/dist/mappers/Pergola.d.ts +3 -0
  192. package/dist/mappers/Pergola.js +4 -0
  193. package/dist/mappers/Pergola.js.map +1 -0
  194. package/dist/mappers/RainSensor.d.ts +9 -0
  195. package/dist/mappers/RainSensor.js +39 -0
  196. package/dist/mappers/RainSensor.js.map +1 -0
  197. package/dist/mappers/RemoteController.d.ts +7 -0
  198. package/dist/mappers/RemoteController.js +17 -0
  199. package/dist/mappers/RemoteController.js.map +1 -0
  200. package/dist/mappers/RollerShutter/PositionableRollerShutterUno.d.ts +4 -0
  201. package/dist/mappers/RollerShutter/PositionableRollerShutterUno.js +14 -0
  202. package/dist/mappers/RollerShutter/PositionableRollerShutterUno.js.map +1 -0
  203. package/dist/mappers/RollerShutter/PositionableRollerShutterWithLowSpeedManagement.d.ts +8 -0
  204. package/dist/mappers/RollerShutter/PositionableRollerShutterWithLowSpeedManagement.js +40 -0
  205. package/dist/mappers/RollerShutter/PositionableRollerShutterWithLowSpeedManagement.js.map +1 -0
  206. package/dist/mappers/RollerShutter.d.ts +39 -0
  207. package/dist/mappers/RollerShutter.js +208 -0
  208. package/dist/mappers/RollerShutter.js.map +1 -0
  209. package/dist/mappers/Screen.d.ts +3 -0
  210. package/dist/mappers/Screen.js +4 -0
  211. package/dist/mappers/Screen.js.map +1 -0
  212. package/dist/mappers/Shutter.d.ts +3 -0
  213. package/dist/mappers/Shutter.js +4 -0
  214. package/dist/mappers/Shutter.js.map +1 -0
  215. package/dist/mappers/Siren.d.ts +13 -0
  216. package/dist/mappers/Siren.js +52 -0
  217. package/dist/mappers/Siren.js.map +1 -0
  218. package/dist/mappers/SmokeSensor.d.ts +10 -0
  219. package/dist/mappers/SmokeSensor.js +71 -0
  220. package/dist/mappers/SmokeSensor.js.map +1 -0
  221. package/dist/mappers/SwingingShutter.d.ts +3 -0
  222. package/dist/mappers/SwingingShutter.js +4 -0
  223. package/dist/mappers/SwingingShutter.js.map +1 -0
  224. package/dist/mappers/TemperatureSensor.d.ts +7 -0
  225. package/dist/mappers/TemperatureSensor.js +18 -0
  226. package/dist/mappers/TemperatureSensor.js.map +1 -0
  227. package/dist/mappers/VenetianBlind.d.ts +16 -0
  228. package/dist/mappers/VenetianBlind.js +153 -0
  229. package/dist/mappers/VenetianBlind.js.map +1 -0
  230. package/dist/mappers/VentilationSystem/DimplexVentilationInletOutlet.d.ts +5 -0
  231. package/dist/mappers/VentilationSystem/DimplexVentilationInletOutlet.js +15 -0
  232. package/dist/mappers/VentilationSystem/DimplexVentilationInletOutlet.js.map +1 -0
  233. package/dist/mappers/VentilationSystem.d.ts +12 -0
  234. package/dist/mappers/VentilationSystem.js +57 -0
  235. package/dist/mappers/VentilationSystem.js.map +1 -0
  236. package/dist/mappers/WaterHeatingSystem/AtlanticPassAPCDHW.d.ts +11 -0
  237. package/dist/mappers/WaterHeatingSystem/AtlanticPassAPCDHW.js +116 -0
  238. package/dist/mappers/WaterHeatingSystem/AtlanticPassAPCDHW.js.map +1 -0
  239. package/dist/mappers/WaterHeatingSystem/DomesticHotWaterProduction/AtlanticDomesticHotWaterProductionV2_SPLIT_IOComponent.d.ts +13 -0
  240. package/dist/mappers/WaterHeatingSystem/DomesticHotWaterProduction/AtlanticDomesticHotWaterProductionV2_SPLIT_IOComponent.js +101 -0
  241. package/dist/mappers/WaterHeatingSystem/DomesticHotWaterProduction/AtlanticDomesticHotWaterProductionV2_SPLIT_IOComponent.js.map +1 -0
  242. package/dist/mappers/WaterHeatingSystem/DomesticHotWaterProduction.d.ts +17 -0
  243. package/dist/mappers/WaterHeatingSystem/DomesticHotWaterProduction.js +179 -0
  244. package/dist/mappers/WaterHeatingSystem/DomesticHotWaterProduction.js.map +1 -0
  245. package/dist/mappers/WaterHeatingSystem/DomesticHotWaterTank.d.ts +8 -0
  246. package/dist/mappers/WaterHeatingSystem/DomesticHotWaterTank.js +18 -0
  247. package/dist/mappers/WaterHeatingSystem/DomesticHotWaterTank.js.map +1 -0
  248. package/dist/mappers/WaterHeatingSystem.d.ts +8 -0
  249. package/dist/mappers/WaterHeatingSystem.js +17 -0
  250. package/dist/mappers/WaterHeatingSystem.js.map +1 -0
  251. package/dist/mappers/WaterSensor.d.ts +7 -0
  252. package/dist/mappers/WaterSensor.js +18 -0
  253. package/dist/mappers/WaterSensor.js.map +1 -0
  254. package/dist/mappers/Window.d.ts +4 -0
  255. package/dist/mappers/Window.js +21 -0
  256. package/dist/mappers/Window.js.map +1 -0
  257. package/dist/mappers/WindowHandle.d.ts +4 -0
  258. package/dist/mappers/WindowHandle.js +30 -0
  259. package/dist/mappers/WindowHandle.js.map +1 -0
  260. package/dist/settings.d.ts +8 -0
  261. package/dist/settings.js +9 -0
  262. package/dist/settings.js.map +1 -0
  263. package/eslint.config.mjs +52 -0
  264. package/package.json +59 -4
  265. package/platform.schema.json +103 -0
@@ -0,0 +1,5 @@
1
+ blank_issues_enabled: true
2
+ contact_links:
3
+ - name: Local API token (upstream service)
4
+ url: https://dev.duboc.pro/homebridge-tahoma
5
+ about: Generate credentials for the Somfy local API (service run by the original author)
@@ -0,0 +1,21 @@
1
+ name: CI
2
+ on:
3
+ push:
4
+ branches: [master]
5
+ pull_request:
6
+
7
+ jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ strategy:
11
+ matrix:
12
+ node: [22, 24, 26]
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: actions/setup-node@v4
16
+ with:
17
+ node-version: ${{ matrix.node }}
18
+ cache: npm
19
+ - run: npm ci
20
+ - run: npm run lint
21
+ - run: npm run build
@@ -0,0 +1,29 @@
1
+ name: Publish to npm
2
+ # Triggered by pushing a version tag, e.g. `npm version patch && git push --follow-tags`
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+
8
+ permissions:
9
+ contents: write # create the GitHub release
10
+ id-token: write # npm Trusted Publishing (OIDC) + provenance
11
+
12
+ jobs:
13
+ publish:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - uses: actions/setup-node@v4
18
+ with:
19
+ node-version: 24
20
+ registry-url: https://registry.npmjs.org
21
+ - run: npm install -g npm@latest # Trusted Publishing needs npm >= 11.5.1
22
+ - name: Check tag matches package.json version
23
+ run: test "v$(node -p "require('./package.json').version")" = "${GITHUB_REF_NAME}"
24
+ - run: npm ci
25
+ - run: npm publish
26
+ - name: Create GitHub release
27
+ env:
28
+ GH_TOKEN: ${{ github.token }}
29
+ run: gh release create "$GITHUB_REF_NAME" --generate-notes --verify-tag
@@ -0,0 +1,25 @@
1
+ name: Mark stale issues and pull requests
2
+
3
+ on:
4
+ schedule:
5
+ - cron: "30 1 * * *"
6
+
7
+ jobs:
8
+ stale:
9
+ runs-on: ubuntu-latest
10
+
11
+ steps:
12
+ - uses: actions/stale@v3
13
+ with:
14
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
15
+ stale-issue-message: >
16
+ There hasn't been any activity on this issue recently.
17
+
18
+ Please make sure to update to the latest Homebridge TaHoma version to see
19
+ if that solves the issue.
20
+
21
+ This issue will be closed in case of inactivity.
22
+ days-before-stale: 90
23
+ days-before-close: 120
24
+ stale-issue-label: "inactive"
25
+ exempt-issue-labels: "blocked,waiting"
package/CHANGELOG.md ADDED
@@ -0,0 +1,18 @@
1
+ ## 2.3.0 (2026-11-12) – fork
2
+
3
+ * Forked from dubocr/homebridge-tahoma 2.2.64, published as `@tplnet/homebridge-tahoma`
4
+ * Uses forked API client `@tplnet/overkiz-client` (npm alias, imports unchanged)
5
+ * Platform name `Tahoma` unchanged – drop-in replacement
6
+ * Release via GitHub Actions + npm Trusted Publishing; no automatic version bump on publish
7
+ * Fix: discovery retry delay is capped at 5 minutes (was doubling forever; upstream PR #572)
8
+ * Fix: commands no longer get overwritten by a stale server state right after sending (in-flight tracking for `isIdle`), no EventEmitter leak warnings on batched commands (from maximekduval/homebridge-tahoma)
9
+ * Fix: process-wide error handlers are installed only once
10
+ * Feature: one full-state refresh after startup; `refreshPeriod: 0` disables the periodic refresh (from maximekduval/homebridge-tahoma)
11
+ * Includes client fixes of `@tplnet/overkiz-client` 1.1.0 (lost batched commands, reconnect after network error, 429 re-login)
12
+ * Node.js 26 supported (`engines`, CI matrix); tested with Homebridge 2.5.0
13
+
14
+ ## 2.2.54 (2022-12-20)
15
+
16
+ ### Bug Fixes
17
+
18
+ * Fix nodejs compatibility to node v12.4.0
package/LICENSE ADDED
@@ -0,0 +1,176 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
package/NOTICE ADDED
@@ -0,0 +1,6 @@
1
+ @tplnet/homebridge-tahoma
2
+ Copyright Romain DUBOC and contributors (original work: https://github.com/dubocr/homebridge-tahoma)
3
+ Modifications Copyright 2026 tplnet
4
+
5
+ This is a modified fork of dubocr/homebridge-tahoma, licensed under the Apache License 2.0.
6
+ Changes compared to the original are recorded in the Git history and CHANGELOG.
package/README.md CHANGED
@@ -1,3 +1,201 @@
1
- # Temporary Holding Version
1
+ > **Fork notice:** This is a maintained fork of [dubocr/homebridge-tahoma](https://github.com/dubocr/homebridge-tahoma), published as `@tplnet/homebridge-tahoma`.
2
+ > It uses the forked API client [`@tplnet/overkiz-client`](https://github.com/tplnet/overkiz-client).
3
+ > The platform name stays `Tahoma`, so existing `config.json` entries and cached accessories keep working.
2
4
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
5
+ # Overkiz (Somfy) - Homebridge-TaHoma
6
+
7
+ Homebridge plugin supporting Overkiz based platforms :
8
+
9
+ | Service code | Vendor | Product compatibility |
10
+ |---------------------------|---------------------------|-------------------------------------------------------------------|
11
+ | `local` | Somfy local API | TaHoma, TaHoma Switch ([configure local API](#configure-local-api)) |
12
+ | `somfy_europe` | Somfy Europe | TaHoma, TaHoma Switch, Connexoon IO, Kit de connectivité Orange |
13
+ | `somfy_australia` | Somfy Australia | Connexoon RTS and other products in Australia |
14
+ | `somfy_north_america` | Somfy North America | TaHoma and other product in North America |
15
+ | `cozytouch` | Atlantic, Thermor, Sauter | Cozytouch |
16
+ | `flexom` | Bouygues | Flexom |
17
+ | `hi_kumo` | Hitachi | Hi hi_kumo |
18
+ | `rexel` | Rexel | Energeasy connectivité |
19
+
20
+
21
+ # Installation
22
+
23
+ 1. Install homebridge using: `npm install -g homebridge`
24
+ 2. Install this plugin using: `npm install -g @tplnet/homebridge-tahoma` (or search for `@tplnet/homebridge-tahoma` in the Homebridge UI)
25
+ 3. Update your configuration file. See bellow for a sample.
26
+
27
+ # Configuration
28
+
29
+ Minimal configuration sample:
30
+ ```
31
+ {
32
+ "bridge": {
33
+ ...
34
+ },
35
+
36
+ "description": "...",
37
+
38
+ "accessories": [],
39
+
40
+ "platforms":[
41
+ {
42
+ "platform": "Tahoma",
43
+ "name": "My TaHoma Box",
44
+
45
+ "service": "somfy_europe",
46
+ "user": "user@me.com",
47
+ "password": "MyPassw0rd",
48
+ }
49
+ ]
50
+ }
51
+ ```
52
+
53
+ Configuration parameters:
54
+
55
+ | Parameter | Type | Default | Note |
56
+ |---------------------------|---------------|-------------------|-----------------------------------------------|
57
+ | `service` | String | 'somfy_europe' | optional, service name (see above) |
58
+ | `user` | String | null | mandatory, your service account username (or [gateway PIN / IP address](#configure-local-api)) |
59
+ | `password` | String | null | mandatory, your service account password (or [API token](#configure-local-api)) |
60
+ | `pollingPeriod` | Integer | 30 | optional, bridge polling period in seconds |
61
+ | `refreshPeriod` | Integer | 30 | optional, device states refresh period in minutes |
62
+ | `exclude` | String[] | [] | optional, protocol, ui, widget or device name to exclude |
63
+ | `exposeScenarios` | Boolean | false | optional, expose scenarios as HomeKit switches. Could also specify a list of string corresponding to scenarios names to expose |
64
+ | `devicesConfig` | Object[] | [] | optional list of device specific configuration (see below) |
65
+
66
+ ### Configure Local API
67
+ Local API service is available on TaHoma and TaHoma switch gateways.
68
+
69
+ **WARNING: Switching to local API will break your HomeKit configuration (automations) as local API device identifiers actually differs.**
70
+
71
+ #### Newer approach
72
+ The current way to active the developer mode on your gateway is to described in the official-looking developer GitHub [Somfy-Developer/Somfy-TaHoma-Developer-Mode](https://github.com/Somfy-Developer/Somfy-TaHoma-Developer-Mode):
73
+
74
+ 1. Open the TaHoma By Somfy application on your device.
75
+ 2. Navigate to the Configure the installation > Access the parameters of your TaHoma box in the application.
76
+ 3. Activate Developer Mode by tapping 7 times on the PIN of your gateway (like 2001-1234-5678) in a fast pace.
77
+ 4. The app will show you a dialog with T&Cs and once confirmed, you'll be offered a screen to generate the token.
78
+ 5. Configure the plugin service to Local API: `"service":"local"` with PIN of your gateway as `user` and the generated token as `password`.
79
+
80
+ Note you do not need to use the online API credentials service anymore as you'll be given the token right away in the app.
81
+
82
+ #### Older approach
83
+ *Please note the Activate developer mode button in My Account appears to be not available anymore as of 08/2026 and the developer.somfy.com domain does not exist either.*
84
+
85
+ To use Local API you will have to:
86
+ 1. Activate `developer mode` ([www.somfy.com](https://www.somfy.com) > My Account > Activate developer mode)
87
+ 2. Generate API credentials at [https://dev.duboc.pro/homebridge-tahoma](https://dev.duboc.pro/homebridge-tahoma)
88
+ 3. Configure the plugin service to Local API: `"service":"local"`
89
+
90
+ When using Local API service, please fill `user` with your gateway PIN number or IPv4 address and `password` with the token generated at [step 2](https://dev.duboc.pro/homebridge-tahoma)
91
+
92
+ For more information, browse [https://developer.somfy.com/developer-mode](https://developer.somfy.com/developer-mode)
93
+
94
+
95
+
96
+ # Specific device configuration
97
+
98
+ This option allows you to apply a specific configuation to device or group of device.
99
+ One configuration is composed of a `key` attribute containing device name, widget, uiClass, protocol or unique identifier and as many parameter depending of device type.
100
+
101
+ ```
102
+ {
103
+ "key": "Bedroom door",
104
+ "param1": "value1"
105
+ ...
106
+ }
107
+ ```
108
+
109
+ | Alarm parameters | Type | Default | Note |
110
+ |-------------------|-----------|---------------|-----------------------|
111
+ | `stayZones` | String | 'A' | optional, active zones (A,B,C) in 'Stay' mode |
112
+ | `nightZones` | String | 'B' | optional, active zones (A,B,C) in 'Night' mode |
113
+ | `occupancySensor` | Boolean | false | optional, add an occupancy widget linked to the alarm |
114
+
115
+ | WindowCovering parameters | Type | Default | Note |
116
+ |---------------------------|-----------|---------------|---------------|
117
+ | `defaultPosition` | Integer | 0 | optional, final position for UpDown rollershutter after any command |
118
+ | `reverse` | Boolean | false | optional, reverse up/down in case of bad mounting |
119
+ | `lowSpeed` | Boolean / String | false | optional, use low speed for roller shutter supporting it. If string, specify slot time with format "HH:MM-HH:MM". Low speed will be enabled between them. |
120
+ | `blindMode` | String | null | optional, change main slider action to orientation. By default, both closure and orientation will be set. When setting ``blindMode: true`` the blinds work in the following way: Opening the blinds or setting them to 100% will fully open them. Closing the blinds or setting them to 0% will fully close them. Setting the blinds to a value between 1% and 99% will first close the blinds and then adjust thier horizontal tilt in a way that 99% means fully horizonal = more light, and 1% means nearly closed = less light. |
121
+ | `blindsOnRollerShutter` | Boolean | false | optional, when blinds are installed on roller shutter motors allow slats to stay horizontal (opened) at intermediate position |
122
+ | `movementDuration` | Integer | 0 | optional, duration of a full shutter movement from 'open' to 'close' in seconds. Will be used to approximate shutter intermediate position. (0 = disable feature) |
123
+
124
+ | GarageDoorOpener parameters | Type | Default | Note |
125
+ |-------------------------------|---------------|---------------|-------------------|
126
+ | `cyclic` | Boolean | false | optional, restore closed state after `cycleDuration` seconds for stateless devices with cyclic behaviour |
127
+ | `cycleDuration` | Integer | false | optional, cycle duration (in seconds) for cyclic mode (default: 5 sec) |
128
+ | `reverse` | Boolean | false | optional, reverse up/down in case of bad mounting |
129
+ | `pedestrianDuration` | Integer | 0 | optional, duration for pedestrian position for RTS gates |
130
+
131
+ | HeatingSystem parameters | Type | Default | Note |
132
+ |-------------------------------|---------------|---------------|-------------------|
133
+ | `derogationDuration` | Integer | 1 | optional, duration (in hours) for derogation orders |
134
+ | `comfort` | Integer | 19 | optional, comfort temperature used as display for heaters controled by pilot wire |
135
+ | `eco` | Integer | 17 | optional, comfort temperature used as display for heaters controled by pilot wire |
136
+
137
+
138
+ Full configuration example:
139
+ ```
140
+ {
141
+ "bridge": {
142
+ ...
143
+ },
144
+
145
+ "description": "...",
146
+
147
+ "accessories": [],
148
+
149
+ "platforms":[
150
+ {
151
+ "platform": "Tahoma",
152
+ "name": "My Tahoma Bridge",
153
+
154
+ "user": "user@me.com",
155
+ "password": "MyPassw0rd",
156
+ "service": "somfy_europe",
157
+ "exclude": ["hue", "rts", "Main door", "Main door", "PositionableHorizontalAwning"],
158
+
159
+ "devicesConfig": [
160
+ {
161
+ "key": "Alarm",
162
+ "stayZones": "A,C"
163
+ },
164
+ {
165
+ "key": "Bedroom blind",
166
+ "blindMode": true
167
+ },
168
+ {
169
+ "key": "GarageDoor",
170
+ "reverse": true
171
+ },
172
+ {
173
+ "key": "UpDownRollerShutter",
174
+ "defaultPosition": 50
175
+ }
176
+ ]
177
+ }
178
+ ]
179
+ }
180
+ ```
181
+
182
+ # Contribute
183
+
184
+ You are welcome to contribute to this plugin development by opening an issue in case of unexpected behaviour or unsupported device.
185
+
186
+ I do not expect any reward concerning this plugin, however, some users ask me for a [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=L4X489MG7FUCN) button as sign of contribution. Feel free to use it.
187
+
188
+
189
+ # Migrating from `homebridge-tahoma`
190
+
191
+ 1. Back up Homebridge (Homebridge UI → Settings → Backup).
192
+ 2. Uninstall `homebridge-tahoma`, then install `@tplnet/homebridge-tahoma`. Keep the existing `Tahoma` platform block in `config.json`.
193
+ 3. Restart Homebridge. Cached accessories registered by the old plugin are taken over because the platform name is unchanged.
194
+
195
+ # Releasing (maintainers)
196
+
197
+ ```
198
+ npm version patch # or minor / major – bumps package.json and creates tag vX.Y.Z
199
+ git push --follow-tags
200
+ ```
201
+ The `Publish to npm` workflow publishes the tag via npm Trusted Publishing and creates a GitHub release.