@tplnet/homebridge-tahoma 0.0.0-stage → 2.3.1
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.
- package/.github/ISSUE_TEMPLATE/config.yml +5 -0
- package/.github/workflows/ci.yml +21 -0
- package/.github/workflows/publish.yml +29 -0
- package/.github/workflows/stale-issue.yml +25 -0
- package/CHANGELOG.md +25 -0
- package/LICENSE +176 -0
- package/NOTICE +6 -0
- package/README.md +201 -2
- package/config.schema.json +281 -0
- package/dist/CustomCharacteristics.d.ts +25 -0
- package/dist/CustomCharacteristics.js +96 -0
- package/dist/CustomCharacteristics.js.map +1 -0
- package/dist/Mapper.d.ts +55 -0
- package/dist/Mapper.js +263 -0
- package/dist/Mapper.js.map +1 -0
- package/dist/Platform.d.ts +46 -0
- package/dist/Platform.js +243 -0
- package/dist/Platform.js.map +1 -0
- package/dist/SceneMapper.d.ts +15 -0
- package/dist/SceneMapper.js +43 -0
- package/dist/SceneMapper.js.map +1 -0
- package/dist/colors.d.ts +17 -0
- package/dist/colors.js +18 -0
- package/dist/colors.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/lang/en.json +14 -0
- package/dist/mappers/AdjustableSlatsRollerShutter.d.ts +7 -0
- package/dist/mappers/AdjustableSlatsRollerShutter.js +39 -0
- package/dist/mappers/AdjustableSlatsRollerShutter.js.map +1 -0
- package/dist/mappers/AirSensor/CO2Sensor.d.ts +8 -0
- package/dist/mappers/AirSensor/CO2Sensor.js +37 -0
- package/dist/mappers/AirSensor/CO2Sensor.js.map +1 -0
- package/dist/mappers/AirSensor/RelativeHumiditySensor.d.ts +3 -0
- package/dist/mappers/AirSensor/RelativeHumiditySensor.js +4 -0
- package/dist/mappers/AirSensor/RelativeHumiditySensor.js.map +1 -0
- package/dist/mappers/AirSensor.d.ts +10 -0
- package/dist/mappers/AirSensor.js +72 -0
- package/dist/mappers/AirSensor.js.map +1 -0
- package/dist/mappers/Alarm/MyFoxAlarmController.d.ts +6 -0
- package/dist/mappers/Alarm/MyFoxAlarmController.js +40 -0
- package/dist/mappers/Alarm/MyFoxAlarmController.js.map +1 -0
- package/dist/mappers/Alarm/TSKAlarmController.d.ts +6 -0
- package/dist/mappers/Alarm/TSKAlarmController.js +61 -0
- package/dist/mappers/Alarm/TSKAlarmController.js.map +1 -0
- package/dist/mappers/Alarm.d.ts +15 -0
- package/dist/mappers/Alarm.js +82 -0
- package/dist/mappers/Alarm.js.map +1 -0
- package/dist/mappers/Awning/PositionableHorizontalAwningUno.d.ts +4 -0
- package/dist/mappers/Awning/PositionableHorizontalAwningUno.js +14 -0
- package/dist/mappers/Awning/PositionableHorizontalAwningUno.js.map +1 -0
- package/dist/mappers/Awning.d.ts +12 -0
- package/dist/mappers/Awning.js +62 -0
- package/dist/mappers/Awning.js.map +1 -0
- package/dist/mappers/ConsumptionSensor.d.ts +6 -0
- package/dist/mappers/ConsumptionSensor.js +10 -0
- package/dist/mappers/ConsumptionSensor.js.map +1 -0
- package/dist/mappers/ContactSensor.d.ts +9 -0
- package/dist/mappers/ContactSensor.js +47 -0
- package/dist/mappers/ContactSensor.js.map +1 -0
- package/dist/mappers/Curtain.d.ts +3 -0
- package/dist/mappers/Curtain.js +4 -0
- package/dist/mappers/Curtain.js.map +1 -0
- package/dist/mappers/DoorLock.d.ts +11 -0
- package/dist/mappers/DoorLock.js +58 -0
- package/dist/mappers/DoorLock.js.map +1 -0
- package/dist/mappers/ElectricitySensor/CumulativeElectricPowerConsumptionSensor.d.ts +8 -0
- package/dist/mappers/ElectricitySensor/CumulativeElectricPowerConsumptionSensor.js +25 -0
- package/dist/mappers/ElectricitySensor/CumulativeElectricPowerConsumptionSensor.js.map +1 -0
- package/dist/mappers/ElectricitySensor.d.ts +6 -0
- package/dist/mappers/ElectricitySensor.js +12 -0
- package/dist/mappers/ElectricitySensor.js.map +1 -0
- package/dist/mappers/EvoHome/DHWSetPoint.d.ts +3 -0
- package/dist/mappers/EvoHome/DHWSetPoint.js +4 -0
- package/dist/mappers/EvoHome/DHWSetPoint.js.map +1 -0
- package/dist/mappers/EvoHome/EvoHomeController.d.ts +6 -0
- package/dist/mappers/EvoHome/EvoHomeController.js +22 -0
- package/dist/mappers/EvoHome/EvoHomeController.js.map +1 -0
- package/dist/mappers/EvoHome/HeatingSetPoint.d.ts +4 -0
- package/dist/mappers/EvoHome/HeatingSetPoint.js +13 -0
- package/dist/mappers/EvoHome/HeatingSetPoint.js.map +1 -0
- package/dist/mappers/ExteriorHeatingSystem/DimmerExteriorHeating.d.ts +8 -0
- package/dist/mappers/ExteriorHeatingSystem/DimmerExteriorHeating.js +36 -0
- package/dist/mappers/ExteriorHeatingSystem/DimmerExteriorHeating.js.map +1 -0
- package/dist/mappers/ExteriorHeatingSystem.d.ts +6 -0
- package/dist/mappers/ExteriorHeatingSystem.js +11 -0
- package/dist/mappers/ExteriorHeatingSystem.js.map +1 -0
- package/dist/mappers/ExteriorScreen.d.ts +3 -0
- package/dist/mappers/ExteriorScreen.js +4 -0
- package/dist/mappers/ExteriorScreen.js.map +1 -0
- package/dist/mappers/ExteriorVenetianBlind.d.ts +3 -0
- package/dist/mappers/ExteriorVenetianBlind.js +4 -0
- package/dist/mappers/ExteriorVenetianBlind.js.map +1 -0
- package/dist/mappers/GarageDoor.d.ts +15 -0
- package/dist/mappers/GarageDoor.js +93 -0
- package/dist/mappers/GarageDoor.js.map +1 -0
- package/dist/mappers/Gate.d.ts +21 -0
- package/dist/mappers/Gate.js +141 -0
- package/dist/mappers/Gate.js.map +1 -0
- package/dist/mappers/Generic/CyclicGeneric.d.ts +3 -0
- package/dist/mappers/Generic/CyclicGeneric.js +4 -0
- package/dist/mappers/Generic/CyclicGeneric.js.map +1 -0
- package/dist/mappers/Generic/DimmerOnOff.d.ts +3 -0
- package/dist/mappers/Generic/DimmerOnOff.js +4 -0
- package/dist/mappers/Generic/DimmerOnOff.js.map +1 -0
- package/dist/mappers/Generic/RTSGeneric.d.ts +5 -0
- package/dist/mappers/Generic/RTSGeneric.js +13 -0
- package/dist/mappers/Generic/RTSGeneric.js.map +1 -0
- package/dist/mappers/Generic/RTSGeneric4T.d.ts +3 -0
- package/dist/mappers/Generic/RTSGeneric4T.js +4 -0
- package/dist/mappers/Generic/RTSGeneric4T.js.map +1 -0
- package/dist/mappers/HeatingSystem/AtlanticElectricalHeater.d.ts +12 -0
- package/dist/mappers/HeatingSystem/AtlanticElectricalHeater.js +116 -0
- package/dist/mappers/HeatingSystem/AtlanticElectricalHeater.js.map +1 -0
- package/dist/mappers/HeatingSystem/AtlanticElectricalHeaterWithAdjustableTemperatureSetpoint.d.ts +13 -0
- package/dist/mappers/HeatingSystem/AtlanticElectricalHeaterWithAdjustableTemperatureSetpoint.js +112 -0
- package/dist/mappers/HeatingSystem/AtlanticElectricalHeaterWithAdjustableTemperatureSetpoint.js.map +1 -0
- package/dist/mappers/HeatingSystem/AtlanticElectricalTowelDryer.d.ts +17 -0
- package/dist/mappers/HeatingSystem/AtlanticElectricalTowelDryer.js +126 -0
- package/dist/mappers/HeatingSystem/AtlanticElectricalTowelDryer.js.map +1 -0
- package/dist/mappers/HeatingSystem/AtlanticPassAPCBoiler.d.ts +7 -0
- package/dist/mappers/HeatingSystem/AtlanticPassAPCBoiler.js +30 -0
- package/dist/mappers/HeatingSystem/AtlanticPassAPCBoiler.js.map +1 -0
- package/dist/mappers/HeatingSystem/AtlanticPassAPCHeatPump.d.ts +11 -0
- package/dist/mappers/HeatingSystem/AtlanticPassAPCHeatPump.js +64 -0
- package/dist/mappers/HeatingSystem/AtlanticPassAPCHeatPump.js.map +1 -0
- package/dist/mappers/HeatingSystem/AtlanticPassAPCHeatingAndCoolingZone.d.ts +21 -0
- package/dist/mappers/HeatingSystem/AtlanticPassAPCHeatingAndCoolingZone.js +161 -0
- package/dist/mappers/HeatingSystem/AtlanticPassAPCHeatingAndCoolingZone.js.map +1 -0
- package/dist/mappers/HeatingSystem/AtlanticPassAPCHeatingZone.d.ts +12 -0
- package/dist/mappers/HeatingSystem/AtlanticPassAPCHeatingZone.js +132 -0
- package/dist/mappers/HeatingSystem/AtlanticPassAPCHeatingZone.js.map +1 -0
- package/dist/mappers/HeatingSystem/AtlanticPassAPCZoneControl.d.ts +10 -0
- package/dist/mappers/HeatingSystem/AtlanticPassAPCZoneControl.js +87 -0
- package/dist/mappers/HeatingSystem/AtlanticPassAPCZoneControl.js.map +1 -0
- package/dist/mappers/HeatingSystem/ProgrammableAndProtectableThermostatSetPoint.d.ts +3 -0
- package/dist/mappers/HeatingSystem/ProgrammableAndProtectableThermostatSetPoint.js +4 -0
- package/dist/mappers/HeatingSystem/ProgrammableAndProtectableThermostatSetPoint.js.map +1 -0
- package/dist/mappers/HeatingSystem/SomfyHeatingTemperatureInterface.d.ts +13 -0
- package/dist/mappers/HeatingSystem/SomfyHeatingTemperatureInterface.js +94 -0
- package/dist/mappers/HeatingSystem/SomfyHeatingTemperatureInterface.js.map +1 -0
- package/dist/mappers/HeatingSystem/SomfyThermostat.d.ts +16 -0
- package/dist/mappers/HeatingSystem/SomfyThermostat.js +111 -0
- package/dist/mappers/HeatingSystem/SomfyThermostat.js.map +1 -0
- package/dist/mappers/HeatingSystem/ThermostatSetPoint.d.ts +8 -0
- package/dist/mappers/HeatingSystem/ThermostatSetPoint.js +32 -0
- package/dist/mappers/HeatingSystem/ThermostatSetPoint.js.map +1 -0
- package/dist/mappers/HeatingSystem/ValveHeatingTemperatureInterface.d.ts +9 -0
- package/dist/mappers/HeatingSystem/ValveHeatingTemperatureInterface.js +65 -0
- package/dist/mappers/HeatingSystem/ValveHeatingTemperatureInterface.js.map +1 -0
- package/dist/mappers/HeatingSystem.d.ts +33 -0
- package/dist/mappers/HeatingSystem.js +154 -0
- package/dist/mappers/HeatingSystem.js.map +1 -0
- package/dist/mappers/HitachiHeatingSystem/HitachiAirToAirHeatPump.d.ts +11 -0
- package/dist/mappers/HitachiHeatingSystem/HitachiAirToAirHeatPump.js +107 -0
- package/dist/mappers/HitachiHeatingSystem/HitachiAirToAirHeatPump.js.map +1 -0
- package/dist/mappers/HitachiHeatingSystem/HitachiAirToWaterHeatingZone.d.ts +3 -0
- package/dist/mappers/HitachiHeatingSystem/HitachiAirToWaterHeatingZone.js +4 -0
- package/dist/mappers/HitachiHeatingSystem/HitachiAirToWaterHeatingZone.js.map +1 -0
- package/dist/mappers/HitachiHeatingSystem/HitachiAirToWaterMainComponent.d.ts +4 -0
- package/dist/mappers/HitachiHeatingSystem/HitachiAirToWaterMainComponent.js +5 -0
- package/dist/mappers/HitachiHeatingSystem/HitachiAirToWaterMainComponent.js.map +1 -0
- package/dist/mappers/HitachiHeatingSystem/HitachiDHW.d.ts +3 -0
- package/dist/mappers/HitachiHeatingSystem/HitachiDHW.js +4 -0
- package/dist/mappers/HitachiHeatingSystem/HitachiDHW.js.map +1 -0
- package/dist/mappers/HumiditySensor/WaterDetectionSensor.d.ts +4 -0
- package/dist/mappers/HumiditySensor/WaterDetectionSensor.js +14 -0
- package/dist/mappers/HumiditySensor/WaterDetectionSensor.js.map +1 -0
- package/dist/mappers/HumiditySensor.d.ts +7 -0
- package/dist/mappers/HumiditySensor.js +18 -0
- package/dist/mappers/HumiditySensor.js.map +1 -0
- package/dist/mappers/Light.d.ts +17 -0
- package/dist/mappers/Light.js +85 -0
- package/dist/mappers/Light.js.map +1 -0
- package/dist/mappers/LightSensor.d.ts +7 -0
- package/dist/mappers/LightSensor.js +18 -0
- package/dist/mappers/LightSensor.js.map +1 -0
- package/dist/mappers/OccupancySensor.d.ts +9 -0
- package/dist/mappers/OccupancySensor.js +40 -0
- package/dist/mappers/OccupancySensor.js.map +1 -0
- package/dist/mappers/OnOff.d.ts +10 -0
- package/dist/mappers/OnOff.js +35 -0
- package/dist/mappers/OnOff.js.map +1 -0
- package/dist/mappers/Pergola/BioclimaticPergola.d.ts +6 -0
- package/dist/mappers/Pergola/BioclimaticPergola.js +19 -0
- package/dist/mappers/Pergola/BioclimaticPergola.js.map +1 -0
- package/dist/mappers/Pergola/PergolaHorizontalAwningUno.d.ts +4 -0
- package/dist/mappers/Pergola/PergolaHorizontalAwningUno.js +22 -0
- package/dist/mappers/Pergola/PergolaHorizontalAwningUno.js.map +1 -0
- package/dist/mappers/Pergola.d.ts +3 -0
- package/dist/mappers/Pergola.js +4 -0
- package/dist/mappers/Pergola.js.map +1 -0
- package/dist/mappers/RainSensor.d.ts +9 -0
- package/dist/mappers/RainSensor.js +39 -0
- package/dist/mappers/RainSensor.js.map +1 -0
- package/dist/mappers/RemoteController.d.ts +7 -0
- package/dist/mappers/RemoteController.js +17 -0
- package/dist/mappers/RemoteController.js.map +1 -0
- package/dist/mappers/RollerShutter/PositionableRollerShutterUno.d.ts +4 -0
- package/dist/mappers/RollerShutter/PositionableRollerShutterUno.js +14 -0
- package/dist/mappers/RollerShutter/PositionableRollerShutterUno.js.map +1 -0
- package/dist/mappers/RollerShutter/PositionableRollerShutterWithLowSpeedManagement.d.ts +8 -0
- package/dist/mappers/RollerShutter/PositionableRollerShutterWithLowSpeedManagement.js +40 -0
- package/dist/mappers/RollerShutter/PositionableRollerShutterWithLowSpeedManagement.js.map +1 -0
- package/dist/mappers/RollerShutter.d.ts +39 -0
- package/dist/mappers/RollerShutter.js +208 -0
- package/dist/mappers/RollerShutter.js.map +1 -0
- package/dist/mappers/Screen.d.ts +3 -0
- package/dist/mappers/Screen.js +4 -0
- package/dist/mappers/Screen.js.map +1 -0
- package/dist/mappers/Shutter.d.ts +3 -0
- package/dist/mappers/Shutter.js +4 -0
- package/dist/mappers/Shutter.js.map +1 -0
- package/dist/mappers/Siren.d.ts +13 -0
- package/dist/mappers/Siren.js +52 -0
- package/dist/mappers/Siren.js.map +1 -0
- package/dist/mappers/SmokeSensor.d.ts +10 -0
- package/dist/mappers/SmokeSensor.js +71 -0
- package/dist/mappers/SmokeSensor.js.map +1 -0
- package/dist/mappers/SwingingShutter.d.ts +3 -0
- package/dist/mappers/SwingingShutter.js +4 -0
- package/dist/mappers/SwingingShutter.js.map +1 -0
- package/dist/mappers/TemperatureSensor.d.ts +7 -0
- package/dist/mappers/TemperatureSensor.js +18 -0
- package/dist/mappers/TemperatureSensor.js.map +1 -0
- package/dist/mappers/VenetianBlind.d.ts +16 -0
- package/dist/mappers/VenetianBlind.js +153 -0
- package/dist/mappers/VenetianBlind.js.map +1 -0
- package/dist/mappers/VentilationSystem/DimplexVentilationInletOutlet.d.ts +5 -0
- package/dist/mappers/VentilationSystem/DimplexVentilationInletOutlet.js +15 -0
- package/dist/mappers/VentilationSystem/DimplexVentilationInletOutlet.js.map +1 -0
- package/dist/mappers/VentilationSystem.d.ts +12 -0
- package/dist/mappers/VentilationSystem.js +57 -0
- package/dist/mappers/VentilationSystem.js.map +1 -0
- package/dist/mappers/WaterHeatingSystem/AtlanticPassAPCDHW.d.ts +11 -0
- package/dist/mappers/WaterHeatingSystem/AtlanticPassAPCDHW.js +116 -0
- package/dist/mappers/WaterHeatingSystem/AtlanticPassAPCDHW.js.map +1 -0
- package/dist/mappers/WaterHeatingSystem/DomesticHotWaterProduction/AtlanticDomesticHotWaterProductionV2_SPLIT_IOComponent.d.ts +13 -0
- package/dist/mappers/WaterHeatingSystem/DomesticHotWaterProduction/AtlanticDomesticHotWaterProductionV2_SPLIT_IOComponent.js +101 -0
- package/dist/mappers/WaterHeatingSystem/DomesticHotWaterProduction/AtlanticDomesticHotWaterProductionV2_SPLIT_IOComponent.js.map +1 -0
- package/dist/mappers/WaterHeatingSystem/DomesticHotWaterProduction.d.ts +17 -0
- package/dist/mappers/WaterHeatingSystem/DomesticHotWaterProduction.js +179 -0
- package/dist/mappers/WaterHeatingSystem/DomesticHotWaterProduction.js.map +1 -0
- package/dist/mappers/WaterHeatingSystem/DomesticHotWaterTank.d.ts +8 -0
- package/dist/mappers/WaterHeatingSystem/DomesticHotWaterTank.js +18 -0
- package/dist/mappers/WaterHeatingSystem/DomesticHotWaterTank.js.map +1 -0
- package/dist/mappers/WaterHeatingSystem.d.ts +8 -0
- package/dist/mappers/WaterHeatingSystem.js +17 -0
- package/dist/mappers/WaterHeatingSystem.js.map +1 -0
- package/dist/mappers/WaterSensor.d.ts +7 -0
- package/dist/mappers/WaterSensor.js +18 -0
- package/dist/mappers/WaterSensor.js.map +1 -0
- package/dist/mappers/Window.d.ts +4 -0
- package/dist/mappers/Window.js +21 -0
- package/dist/mappers/Window.js.map +1 -0
- package/dist/mappers/WindowHandle.d.ts +4 -0
- package/dist/mappers/WindowHandle.js +30 -0
- package/dist/mappers/WindowHandle.js.map +1 -0
- package/dist/settings.d.ts +8 -0
- package/dist/settings.js +9 -0
- package/dist/settings.js.map +1 -0
- package/eslint.config.mjs +52 -0
- package/package.json +59 -4
- package/platform.schema.json +103 -0
|
@@ -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,25 @@
|
|
|
1
|
+
## 2.3.1 (2026-11-12)
|
|
2
|
+
|
|
3
|
+
* Requires `@tplnet/overkiz-client` ^1.2.0: cloud rate limits respected (default `refreshPeriod` 1440 min in the cloud, no re-login on 429), local API: TLS verified with the Overkiz root CA (`tlsInsecure` as fallback), discovery via mDNS `gateway_pin`, high priority/scenarios/refresh fall back gracefully
|
|
4
|
+
* Fix: a failing scenario list no longer aborts device discovery
|
|
5
|
+
* Startup state refresh only on cloud services
|
|
6
|
+
* Config schema/README: `refreshPeriod` defaults, new `tlsInsecure` option; issue template points to the Somfy Developer Mode
|
|
7
|
+
|
|
8
|
+
## 2.3.0 (2026-11-12) – fork
|
|
9
|
+
|
|
10
|
+
* Forked from dubocr/homebridge-tahoma 2.2.64, published as `@tplnet/homebridge-tahoma`
|
|
11
|
+
* Uses forked API client `@tplnet/overkiz-client` (npm alias, imports unchanged)
|
|
12
|
+
* Platform name `Tahoma` unchanged – drop-in replacement
|
|
13
|
+
* Release via GitHub Actions + npm Trusted Publishing; no automatic version bump on publish
|
|
14
|
+
* Fix: discovery retry delay is capped at 5 minutes (was doubling forever; upstream PR #572)
|
|
15
|
+
* 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)
|
|
16
|
+
* Fix: process-wide error handlers are installed only once
|
|
17
|
+
* Feature: one full-state refresh after startup; `refreshPeriod: 0` disables the periodic refresh (from maximekduval/homebridge-tahoma)
|
|
18
|
+
* Includes `@tplnet/overkiz-client` 1.1.x fixes: lost batched commands, reconnect after network error
|
|
19
|
+
* Node.js 26 supported (`engines`, CI matrix); tested with Homebridge 2.5.0
|
|
20
|
+
|
|
21
|
+
## 2.2.54 (2022-12-20)
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* 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,202 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
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 | 1440 (cloud) / 30 (local) | optional, device states refresh period in minutes, `0` disables it. The Somfy cloud allows only one state refresh per day and session; lower values cause `429 QUOTA_EXCEEDED` errors |
|
|
62
|
+
| `tlsInsecure` | Boolean | false | optional, local API only: disable the gateway certificate check (by default verified against the [Overkiz root CA](https://ca.overkiz.com/overkiz-root-ca-2048.crt)) |
|
|
63
|
+
| `exclude` | String[] | [] | optional, protocol, ui, widget or device name to exclude |
|
|
64
|
+
| `exposeScenarios` | Boolean | false | optional, expose scenarios as HomeKit switches. Could also specify a list of string corresponding to scenarios names to expose |
|
|
65
|
+
| `devicesConfig` | Object[] | [] | optional list of device specific configuration (see below) |
|
|
66
|
+
|
|
67
|
+
### Configure Local API
|
|
68
|
+
Local API service is available on TaHoma and TaHoma switch gateways.
|
|
69
|
+
|
|
70
|
+
**WARNING: Switching to local API will break your HomeKit configuration (automations) as local API device identifiers actually differs.**
|
|
71
|
+
|
|
72
|
+
#### Newer approach
|
|
73
|
+
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):
|
|
74
|
+
|
|
75
|
+
1. Open the TaHoma By Somfy application on your device.
|
|
76
|
+
2. Navigate to the Configure the installation > Access the parameters of your TaHoma box in the application.
|
|
77
|
+
3. Activate Developer Mode by tapping 7 times on the PIN of your gateway (like 2001-1234-5678) in a fast pace.
|
|
78
|
+
4. The app will show you a dialog with T&Cs and once confirmed, you'll be offered a screen to generate the token.
|
|
79
|
+
5. Configure the plugin service to Local API: `"service":"local"` with PIN of your gateway as `user` and the generated token as `password`.
|
|
80
|
+
|
|
81
|
+
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.
|
|
82
|
+
|
|
83
|
+
#### Older approach
|
|
84
|
+
*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.*
|
|
85
|
+
|
|
86
|
+
To use Local API you will have to:
|
|
87
|
+
1. Activate `developer mode` ([www.somfy.com](https://www.somfy.com) > My Account > Activate developer mode)
|
|
88
|
+
2. Generate API credentials at [https://dev.duboc.pro/homebridge-tahoma](https://dev.duboc.pro/homebridge-tahoma)
|
|
89
|
+
3. Configure the plugin service to Local API: `"service":"local"`
|
|
90
|
+
|
|
91
|
+
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)
|
|
92
|
+
|
|
93
|
+
For more information, browse [https://developer.somfy.com/developer-mode](https://developer.somfy.com/developer-mode)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
# Specific device configuration
|
|
98
|
+
|
|
99
|
+
This option allows you to apply a specific configuation to device or group of device.
|
|
100
|
+
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.
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
{
|
|
104
|
+
"key": "Bedroom door",
|
|
105
|
+
"param1": "value1"
|
|
106
|
+
...
|
|
107
|
+
}
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
| Alarm parameters | Type | Default | Note |
|
|
111
|
+
|-------------------|-----------|---------------|-----------------------|
|
|
112
|
+
| `stayZones` | String | 'A' | optional, active zones (A,B,C) in 'Stay' mode |
|
|
113
|
+
| `nightZones` | String | 'B' | optional, active zones (A,B,C) in 'Night' mode |
|
|
114
|
+
| `occupancySensor` | Boolean | false | optional, add an occupancy widget linked to the alarm |
|
|
115
|
+
|
|
116
|
+
| WindowCovering parameters | Type | Default | Note |
|
|
117
|
+
|---------------------------|-----------|---------------|---------------|
|
|
118
|
+
| `defaultPosition` | Integer | 0 | optional, final position for UpDown rollershutter after any command |
|
|
119
|
+
| `reverse` | Boolean | false | optional, reverse up/down in case of bad mounting |
|
|
120
|
+
| `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. |
|
|
121
|
+
| `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. |
|
|
122
|
+
| `blindsOnRollerShutter` | Boolean | false | optional, when blinds are installed on roller shutter motors allow slats to stay horizontal (opened) at intermediate position |
|
|
123
|
+
| `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) |
|
|
124
|
+
|
|
125
|
+
| GarageDoorOpener parameters | Type | Default | Note |
|
|
126
|
+
|-------------------------------|---------------|---------------|-------------------|
|
|
127
|
+
| `cyclic` | Boolean | false | optional, restore closed state after `cycleDuration` seconds for stateless devices with cyclic behaviour |
|
|
128
|
+
| `cycleDuration` | Integer | false | optional, cycle duration (in seconds) for cyclic mode (default: 5 sec) |
|
|
129
|
+
| `reverse` | Boolean | false | optional, reverse up/down in case of bad mounting |
|
|
130
|
+
| `pedestrianDuration` | Integer | 0 | optional, duration for pedestrian position for RTS gates |
|
|
131
|
+
|
|
132
|
+
| HeatingSystem parameters | Type | Default | Note |
|
|
133
|
+
|-------------------------------|---------------|---------------|-------------------|
|
|
134
|
+
| `derogationDuration` | Integer | 1 | optional, duration (in hours) for derogation orders |
|
|
135
|
+
| `comfort` | Integer | 19 | optional, comfort temperature used as display for heaters controled by pilot wire |
|
|
136
|
+
| `eco` | Integer | 17 | optional, comfort temperature used as display for heaters controled by pilot wire |
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
Full configuration example:
|
|
140
|
+
```
|
|
141
|
+
{
|
|
142
|
+
"bridge": {
|
|
143
|
+
...
|
|
144
|
+
},
|
|
145
|
+
|
|
146
|
+
"description": "...",
|
|
147
|
+
|
|
148
|
+
"accessories": [],
|
|
149
|
+
|
|
150
|
+
"platforms":[
|
|
151
|
+
{
|
|
152
|
+
"platform": "Tahoma",
|
|
153
|
+
"name": "My Tahoma Bridge",
|
|
154
|
+
|
|
155
|
+
"user": "user@me.com",
|
|
156
|
+
"password": "MyPassw0rd",
|
|
157
|
+
"service": "somfy_europe",
|
|
158
|
+
"exclude": ["hue", "rts", "Main door", "Main door", "PositionableHorizontalAwning"],
|
|
159
|
+
|
|
160
|
+
"devicesConfig": [
|
|
161
|
+
{
|
|
162
|
+
"key": "Alarm",
|
|
163
|
+
"stayZones": "A,C"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"key": "Bedroom blind",
|
|
167
|
+
"blindMode": true
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"key": "GarageDoor",
|
|
171
|
+
"reverse": true
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"key": "UpDownRollerShutter",
|
|
175
|
+
"defaultPosition": 50
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
}
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
# Contribute
|
|
184
|
+
|
|
185
|
+
You are welcome to contribute to this plugin development by opening an issue in case of unexpected behaviour or unsupported device.
|
|
186
|
+
|
|
187
|
+
I do not expect any reward concerning this plugin, however, some users ask me for a [](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=L4X489MG7FUCN) button as sign of contribution. Feel free to use it.
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
# Migrating from `homebridge-tahoma`
|
|
191
|
+
|
|
192
|
+
1. Back up Homebridge (Homebridge UI → Settings → Backup).
|
|
193
|
+
2. Uninstall `homebridge-tahoma`, then install `@tplnet/homebridge-tahoma`. Keep the existing `Tahoma` platform block in `config.json`.
|
|
194
|
+
3. Restart Homebridge. Cached accessories registered by the old plugin are taken over because the platform name is unchanged.
|
|
195
|
+
|
|
196
|
+
# Releasing (maintainers)
|
|
197
|
+
|
|
198
|
+
```
|
|
199
|
+
npm version patch # or minor / major – bumps package.json and creates tag vX.Y.Z
|
|
200
|
+
git push --follow-tags
|
|
201
|
+
```
|
|
202
|
+
The `Publish to npm` workflow publishes the tag via npm Trusted Publishing and creates a GitHub release.
|