Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ nbproject
# npm package files
iobroker.*.tgz

# release-script commit information
.commitinfo

# ioBroker dev-server
.dev-server/

Expand Down
12 changes: 10 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@
"fileMatch": [
"io-package.json"
],
"url": "https://json.schemastore.org/io-package"
"url": "https://raw.githubusercontent.com/ioBroker/ioBroker.js-controller/master/schemas/io-package.json"
},
{
"fileMatch": [
"admin/jsonConfig.json",
"admin/jsonCustom.json",
"admin/jsonTab.json"
],
"url": "https://raw.githubusercontent.com/ioBroker/ioBroker.admin/master/packages/jsonConfig/schemas/jsonConfig.json"
}
]
}
}
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ This adapter allows you to control your all devices connected to your SwitchBot
<span style="color:red">**** Beta status at 0.1.x, only install for development/testing purposes !
</span>

## Sentry
**This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers.** For more details and for information how to disable the error reporting see [Sentry-Plugin Documentation](https://github.com/ioBroker/plugin-sentry#plugin-sentry)! Sentry reporting is used starting with js-controller 3.0.

## Getting Started
Please follow these steps to get your Open Token!
1. Download the SwitchBot app on App Store or Google Play Store
Expand Down Expand Up @@ -92,24 +95,20 @@ Virtual infrared remote devices refer to virtual devices that are used to simula
| Vacuum Cleaner | No | No | No |
| Others | No | No | No |

## Changelog
<!--
Placeholder for the next version (at the beginning of the line):
### __WORK IN PROGRESS__
-->

## Support me
If you like my work, please feel free to provide a personal donation
(this is a personal Donate link for DutchmanNL, no relation to the ioBroker Project !)
[![Donate](https://raw.githubusercontent.com/DrozmotiX/ioBroker.switchbot-hub/main/admin/button.png)](http://paypal.me/DutchmanNL)


## Changelog
<!--
Placeholder for the next version (at the beginning of the line):
### __WORK IN PROGRESS__
-->
### __WORK IN PROGRESS__
* (arteck) api V1.1
* (DutchmanNL) Maintenance: raise Node.js to 22, modernise CI and release tooling, update dependencies, resolve repository checker findings

### coming soon
* (arteck) api V1.1

### 0.1.2 (2021-09-03)
* (Dutchman) Sentry error reporting implemented

Expand Down
3 changes: 2 additions & 1 deletion admin/i18n/de/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"Refresh Plug values": "Plug-Werte aktualisieren",
"Refresh Smart Fan values": "Smart Fan-Werte aktualisieren",
"Refresh all devices and values": "Alle Geräte und Werte aktualisieren",
"Secret Key": "Geheimer Schlüssel",
"number": "Nummer",
"switchbot-hub adapter settings": "Adaptereinstellungen für Switchbot-Hub"
}
}
3 changes: 2 additions & 1 deletion admin/i18n/en/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"Refresh Plug values": "Refresh Plug values",
"Refresh Smart Fan values": "Refresh Smart Fan values",
"Refresh all devices and values": "Refresh all devices and values",
"Secret Key": "Secret Key",
"number": "number",
"switchbot-hub adapter settings": "Adapter settings for Switchbot-Hub"
}
}
3 changes: 2 additions & 1 deletion admin/i18n/es/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"Refresh Plug values": "Actualizar los valores de Plug",
"Refresh Smart Fan values": "Actualizar los valores de Smart Fan",
"Refresh all devices and values": "Actualizar todos los dispositivos y valores",
"Secret Key": "Clave secreta",
"number": "número",
"switchbot-hub adapter settings": "Configuración del adaptador para Switchbot-Hub"
}
}
3 changes: 2 additions & 1 deletion admin/i18n/fr/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"Refresh Plug values": "Rafraîchir les valeurs du plug",
"Refresh Smart Fan values": "Actualiser les valeurs Smart Fan",
"Refresh all devices and values": "Actualiser tous les appareils et valeurs",
"Secret Key": "Clé secrète",
"number": "numéro",
"switchbot-hub adapter settings": "Paramètres de l'adaptateur pour Switchbot-Hub"
}
}
3 changes: 2 additions & 1 deletion admin/i18n/it/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"Refresh Plug values": "Aggiorna i valori della spina",
"Refresh Smart Fan values": "Aggiorna i valori della ventola intelligente",
"Refresh all devices and values": "Aggiorna tutti i dispositivi e i valori",
"Secret Key": "Chiave segreta",
"number": "numero",
"switchbot-hub adapter settings": "Impostazioni dell'adattatore per Switchbot-Hub"
}
}
3 changes: 2 additions & 1 deletion admin/i18n/nl/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"Refresh Plug values": "Plug-waarden vernieuwen",
"Refresh Smart Fan values": "Vernieuw Smart Fan-waarden",
"Refresh all devices and values": "Alle apparaten en waarden vernieuwen",
"Secret Key": "Geheime sleutel",
"number": "nummer",
"switchbot-hub adapter settings": "Adapterinstellingen voor Switchbot-Hub"
}
}
3 changes: 2 additions & 1 deletion admin/i18n/pl/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"Refresh Plug values": "Odśwież wartości wtyczki",
"Refresh Smart Fan values": "Odśwież wartości inteligentnego wentylatora",
"Refresh all devices and values": "Odśwież wszystkie urządzenia i wartości",
"Secret Key": "Klucz tajny",
"number": "numer",
"switchbot-hub adapter settings": "Ustawienia adaptera dla Switchbot-Hub"
}
}
3 changes: 2 additions & 1 deletion admin/i18n/pt/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"Refresh Plug values": "Atualizar valores do plug",
"Refresh Smart Fan values": "Atualizar os valores do Smart Fan",
"Refresh all devices and values": "Atualize todos os dispositivos e valores",
"Secret Key": "Chave secreta",
"number": "número",
"switchbot-hub adapter settings": "Configurações do adaptador para Switchbot-Hub"
}
}
3 changes: 2 additions & 1 deletion admin/i18n/ru/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"Refresh Plug values": "Обновить значения Plug",
"Refresh Smart Fan values": "Обновить значения Smart Fan",
"Refresh all devices and values": "Обновить все устройства и значения",
"Secret Key": "Секретный ключ",
"number": "количество",
"switchbot-hub adapter settings": "Настройки адаптера для Switchbot-Hub"
}
}
16 changes: 16 additions & 0 deletions admin/i18n/uk/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"Admin < 5 not supported, please update to use this adapter.": "Admin < 5 не підтримується, будь ласка, оновіть його, щоб використовувати цей адаптер.",
"Choose your preferred refresh intervall times in minutes, please note the API limit ! (See Readme)": "Виберіть бажані інтервали оновлення у хвилинах, зверніть увагу на обмеження API! (див. Readme)",
"Generate an Open Token within the app": "Згенеруйте Open Token у застосунку",
"Please provide your token": "Будь ласка, вкажіть ваш токен",
"Please use the Switchbot App to get your token, got to settings and tap 10 times on app version to generate it!": "Скористайтеся застосунком SwitchBot, щоб отримати токен: перейдіть у налаштування та натисніть 10 разів на версію застосунку, щоб згенерувати його!",
"Refresh Curtain values": "Оновлювати значення штор",
"Refresh Humidifier values": "Оновлювати значення зволожувача",
"Refresh Meter values": "Оновлювати значення метеодатчика",
"Refresh Plug values": "Оновлювати значення розетки",
"Refresh Smart Fan values": "Оновлювати значення розумного вентилятора",
"Refresh all devices and values": "Оновлювати всі пристрої та значення",
"Secret Key": "Секретний ключ",
"number": "число",
"switchbot-hub adapter settings": "Налаштування адаптера Switchbot-Hub"
}
3 changes: 2 additions & 1 deletion admin/i18n/zh-cn/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"Refresh Plug values": "刷新插头值",
"Refresh Smart Fan values": "刷新智能风扇值",
"Refresh all devices and values": "刷新所有设备和值",
"Secret Key": "密钥",
"number": "数字",
"switchbot-hub adapter settings": "Switchbot-Hub 的适配器设置"
}
}
80 changes: 0 additions & 80 deletions admin/index_m.html

This file was deleted.

12 changes: 6 additions & 6 deletions admin/jsonConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"intervallAll": {
"newLine": true,
"sm": 3,
"sm": 6,
"type": "number",
"label": "Refresh all devices and values",
"min": 1,
Expand All @@ -57,7 +57,7 @@
},
"intervallHumidifier": {
"newLine": true,
"sm": 3,
"sm": 6,
"type": "number",
"label": "Refresh Humidifier values",
"min": 1,
Expand All @@ -69,7 +69,7 @@
"xl": 2
},
"intervallMeter": {
"sm": 3,
"sm": 6,
"type": "number",
"label": "Refresh Meter values",
"min": 1,
Expand All @@ -82,7 +82,7 @@
},
"intervallCurtain": {
"newLine": true,
"sm": 3,
"sm": 6,
"type": "number",
"label": "Refresh Curtain values",
"min": 1,
Expand All @@ -94,7 +94,7 @@
"xl": 2
},
"intervallPlug": {
"sm": 3,
"sm": 6,
"type": "number",
"label": "Refresh Plug values",
"min": 1,
Expand All @@ -106,7 +106,7 @@
"xl": 2
},
"intervallSmartFan": {
"sm": 3,
"sm": 6,
"type": "number",
"label": "Refresh Smart Fan values",
"min": 1,
Expand Down
32 changes: 0 additions & 32 deletions admin/style.css

This file was deleted.

Loading