Skip to content

Commit

Permalink
* add dependabot automerge
Browse files Browse the repository at this point in the history
* adjust github action
* add stalebot
* prepare weblate
* update deps
* adjust badges
* update readme
  • Loading branch information
Apollon77 committed Jul 12, 2021
1 parent 856e47b commit 7b63f57
Show file tree
Hide file tree
Showing 21 changed files with 712 additions and 464 deletions.
17 changes: 17 additions & 0 deletions .github/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Configure here which dependency updates should be merged automatically.
# The recommended configuration is the following:
- match:
# Only merge patches for production dependencies
dependency_type: production
update_type: "semver:patch"
- match:
# Except for security fixes, here we allow minor patches
dependency_type: production
update_type: "security:minor"
- match:
# and development dependencies can have a minor update, too
dependency_type: development
update_type: "semver:minor"

# The syntax is based on the legacy dependabot v1 automerged_updates syntax, see:
# https://dependabot.com/docs/config-file/#automerged_updates
78 changes: 78 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Configuration for probot-stale - https://github.com/probot/stale

# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 90

# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: 7

# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
onlyLabels: []

# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels:
- enhancement
- security

# Set to true to ignore issues in a project (defaults to false)
exemptProjects: true

# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: true

# Set to true to ignore issues with an assignee (defaults to false)
exemptAssignees: false

# Label to use when marking as stale
staleLabel: wontfix

# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs within the next 7 days.
Please check if the issue is still relevant in the most current version of the adapter
and tell us. Also check that all relevant details, logs and reproduction steps
are included and update them if needed.
Thank you for your contributions.
Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab.
Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden.
Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist,
und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte
enthalten sind bzw. aktualisiert diese.
Vielen Dank für Eure Unterstützung.
# Comment to post when removing the stale label.
# unmarkComment: >
# Your comment here.

# Comment to post when closing a stale Issue or Pull Request.
closeComment: >
This issue has been automatically closed because of inactivity. Please open a new
issue if still relevant and make sure to include all relevant details, logs and
reproduction steps.
Thank you for your contributions.
Dieses Problem wurde aufgrund von Inaktivität automatisch geschlossen. Bitte öffnet ein
neues Issue, falls dies noch relevant ist und stellt sicher das alle relevanten Details,
Logs und Reproduktionsschritte enthalten sind.
Vielen Dank für Eure Unterstützung.
# Limit the number of actions per hour, from 1-30. Default is 30
limitPerRun: 30

# Limit to only `issues` or `pulls`
only: issues

# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
# pulls:
# daysUntilStale: 30
# markComment: >
# This pull request has been automatically marked as stale because it has not had
# recent activity. It will be closed if no further activity occurs. Thank you
# for your contributions.

# issues:
# exemptLabels:
# - confirmed
22 changes: 22 additions & 0 deletions .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Automatically merge Dependabot PRs when version comparison is within the range
# that is configured in .github/auto-merge.yml

name: Auto-Merge Dependabot PRs

on:
pull_request_target:

jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Check if PR should be auto-merged
uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
# This must be a personal access token with push access
github-token: ${{ secrets.AUTO_MERGE_TOKEN }}
# By default, squash and merge, so Github chooses nice commit messages
command: squash and merge
3 changes: 2 additions & 1 deletion .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [12.x, 14.x]
node-version: [12.x, 14.x, 16.x]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
Expand Down Expand Up @@ -134,4 +134,5 @@ jobs:
export SENTRY_PROJECT=iobroker-hm-rega
export SENTRY_VERSION=iobroker.hm-rega@${{ steps.extract_release.outputs.VERSION }}
sentry-cli releases new $SENTRY_VERSION
sentry-cli releases set-commits $SENTRY_VERSION --auto
sentry-cli releases finalize $SENTRY_VERSION
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
![Logo](admin/homematic.png)
# ioBroker HomeMatic ReGaHSS Adapter

![Build Status](https://github.com/ioBroker/ioBroker.hm-rega/workflows/Test%20and%20Release/badge.svg)
![Number of Installations](http://iobroker.live/badges/hm-rega-installed.svg) ![Number of Installations](http://iobroker.live/badges/hm-rega-stable.svg) [![NPM version](http://img.shields.io/npm/v/iobroker.hm-rega.svg)](https://www.npmjs.com/package/iobroker.hm-rega)
[![Downloads](https://img.shields.io/npm/dm/iobroker.hm-rega.svg)](https://www.npmjs.com/package/iobroker.hm-rega)
![Number of Installations](http://iobroker.live/badges/hm-rega-installed.svg)
![Number of Installations](http://iobroker.live/badges/hm-rega-stable.svg)
[![NPM version](http://img.shields.io/npm/v/iobroker.hm-rega.svg)](https://www.npmjs.com/package/iobroker.hm-rega)

[![NPM](https://nodei.co/npm/iobroker.hm-rega.png?downloads=true)](https://nodei.co/npm/iobroker.hm-rega/)
![Test and Release](https://github.com/ioBroker/ioBroker.hm-rega/workflows/Test%20and%20Release/badge.svg)
[![Translation status](https://weblate.iobroker.net/widgets/adapters/-/hm-rega/svg-badge.svg)](https://weblate.iobroker.net/engage/adapters/?utm_source=widget)
[![Downloads](https://img.shields.io/npm/dm/iobroker.hm-rega.svg)](https://www.npmjs.com/package/iobroker.hm-rega)

Connects HomeMatic CCU "Logic Layer" ("ReGaHSS") to ioBroker.

**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.

## Purpose
This Adapter keeps the HomeMatic CCU variables in sync with ioBroker and provides the possibility to start
HomeMatic CCU programs from within ioBroker. Furthermore, this adapter can be used as a "migration helper": you can sync
Expand Down
32 changes: 32 additions & 0 deletions admin/i18n/de/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"Additional settings": "Zusätzliche Einstellungen",
"CUxD": "CUxD",
"HomeMatic Address": "HomeMatic CCU-Adresse",
"HomeMatic CCU Address": "HomeMatic CCU-Adresse",
"HomeMatic IP": "HomeMatic IP",
"Homematic Rega-Logic adapter settings": "Homematic Rega-Logik Adaptereinstellungen",
"Main settings": "Haupteinstellungen",
"Password": "Passwort",
"Polling": "Polling",
"Reconnection interval(s)": "Wiederverbindungsintervall (s)",
"Setup first according rpc adapter!": "Richten Sie zunächst den entsprechenden RPC-Adapter ein!",
"Sync": "Synchronisiere",
"Sync dutycycle": "DutyCycle",
"Sync favorites": "Favoriten",
"Sync functions": "Gewerke",
"Sync invisible variables": "Unsichtbare Variablen",
"Sync names": "Namen",
"Sync programs": "Programme",
"Sync rooms": "Räume",
"Sync variables": "Variablen",
"Use https": "Nutze https",
"Username": "Nutzername",
"Virtual Devices": "Virtual Devices",
"enabled": "aktiviert",
"enum": "speichere in der Aufzählung",
"hm-rpc instance": "hm-rpc-Instanz",
"hs485d (Wired)": "hs485d (Wired)",
"interval (s)": "Intervalle (s)",
"rfd": "rfd",
"trigger": "Trigger"
}
32 changes: 32 additions & 0 deletions admin/i18n/en/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"Additional settings": "Additional settings",
"CUxD": "CUxD",
"HomeMatic Address": "HomeMatic CCU Address",
"HomeMatic CCU Address": "HomeMatic CCU Address",
"HomeMatic IP": "HomeMatic IP",
"Homematic Rega-Logic adapter settings": "Homematic Rega-Logic adapter settings",
"Main settings": "Main settings",
"Password": "Password",
"Polling": "Polling",
"Reconnection interval(s)": "Reconnection interval(s)",
"Setup first according rpc adapter!": "At first setup the according rpc adapter!",
"Sync": "Synchronize",
"Sync dutycycle": "DutyCycle",
"Sync favorites": "favorites",
"Sync functions": "functions",
"Sync invisible variables": "Invisible variables",
"Sync names": "names",
"Sync programs": "programs",
"Sync rooms": "rooms",
"Sync variables": "variables",
"Use https": "Use https",
"Username": "Username",
"Virtual Devices": "Virtual Devices",
"enabled": "enabled",
"enum": "store in enum",
"hm-rpc instance": "hm-rpc instance",
"hs485d (Wired)": "hs485d (Wired)",
"interval (s)": "interval (s)",
"rfd": "rfd",
"trigger": "trigger"
}
32 changes: 32 additions & 0 deletions admin/i18n/es/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"Additional settings": "Ajustes adicionales",
"CUxD": "CUxD",
"HomeMatic Address": "Dirección de HomeMatic CCU",
"HomeMatic CCU Address": "Dirección de HomeMatic CCU",
"HomeMatic IP": "IP de HomeMatic",
"Homematic Rega-Logic adapter settings": "Ajustes del adaptador Homemático Rega-Logic",
"Main settings": "Ajustes principales",
"Password": "Contraseña",
"Polling": "Votación",
"Reconnection interval(s)": "Intervalo de reconexión (s)",
"Setup first according rpc adapter!": "En la primera configuración el adaptador rpc correspondiente!",
"Sync": "Sincronizar",
"Sync dutycycle": "Ciclo de trabajo",
"Sync favorites": "favoritos",
"Sync functions": "Funciones de sincronización",
"Sync invisible variables": "Variables invisibles",
"Sync names": "nombres",
"Sync programs": "programas",
"Sync rooms": "habitaciones",
"Sync variables": "variables",
"Use https": "usar https",
"Username": "Nombre de usuario",
"Virtual Devices": "Virtual Devices",
"enabled": "habilitado",
"enum": "tienda en enum",
"hm-rpc instance": "instancia de hm-rpc",
"hs485d (Wired)": "hs485d (Wired)",
"interval (s)": "intervalo (s)",
"rfd": "rfd",
"trigger": "desencadenar"
}
32 changes: 32 additions & 0 deletions admin/i18n/fr/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"Additional settings": "Paramètres additionnels",
"CUxD": "CUxD",
"HomeMatic Address": "HomeMatic CCU Adresse",
"HomeMatic CCU Address": "HomeMatic CCU Adresse",
"HomeMatic IP": "IP HomeMatic",
"Homematic Rega-Logic adapter settings": "Paramètres de l'adaptateur Homematic Rega-Logic",
"Main settings": "Réglages principaux",
"Password": "Mot de passe",
"Polling": "Vote",
"Reconnection interval(s)": "Intervalle de reconnexion",
"Setup first according rpc adapter!": "Au début, configurez l'adaptateur correspondant selon RPC!",
"Sync": "Synchroniser",
"Sync dutycycle": "Cycle de service",
"Sync favorites": "favoris",
"Sync functions": "Fonctions de synchronisation",
"Sync invisible variables": "Variables invisibles",
"Sync names": "des noms",
"Sync programs": "programmes",
"Sync rooms": "pièces",
"Sync variables": "variables",
"Use https": "utiliser https",
"Username": "Nom d'utilisateur",
"Virtual Devices": "Virtual Devices",
"enabled": "activée",
"enum": "stocker en enum",
"hm-rpc instance": "instance hm-rpc",
"hs485d (Wired)": "hs485d (Wired)",
"interval (s)": "intervalle(s)",
"rfd": "rfd",
"trigger": "déclencheur"
}
32 changes: 32 additions & 0 deletions admin/i18n/it/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"Additional settings": "Altre impostazioni",
"CUxD": "CUxD",
"HomeMatic Address": "Indirizzo CCU HomeMatic",
"HomeMatic CCU Address": "Indirizzo CCU HomeMatic",
"HomeMatic IP": "HomeMatic IP",
"Homematic Rega-Logic adapter settings": "Impostazioni dell'adattatore Rega-Logica Homematic",
"Main settings": "Impostazioni principali",
"Password": "Parola d'ordine",
"Polling": "Sondaggio",
"Reconnection interval(s)": "Intervallo (i) di riconnessione",
"Setup first according rpc adapter!": "Inizialmente imposta il secondo adattatore rpc!",
"Sync": "Sincronizzare",
"Sync dutycycle": "Ciclo di lavoro",
"Sync favorites": "preferiti",
"Sync functions": "Funzioni di sincronizzazione",
"Sync invisible variables": "Variabili invisibili",
"Sync names": "nomi",
"Sync programs": "programmi",
"Sync rooms": "camere",
"Sync variables": "variabili",
"Use https": "usa https",
"Username": "Nome utente",
"Virtual Devices": "Virtual Devices",
"enabled": "abilitato",
"enum": "conservare in enum",
"hm-rpc instance": "istanza di hm-rpc",
"hs485d (Wired)": "hs485d (Wired)",
"interval (s)": "intervallo/i",
"rfd": "rfd",
"trigger": "innescare"
}
32 changes: 32 additions & 0 deletions admin/i18n/nl/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"Additional settings": "Aanvullende instellingen",
"CUxD": "CUxD",
"HomeMatic Address": "HomeMatic CCU-adres",
"HomeMatic CCU Address": "HomeMatic CCU-adres",
"HomeMatic IP": "HomeMatic IP",
"Homematic Rega-Logic adapter settings": "Homematic Rega-Logic adapterinstellingen",
"Main settings": "Belangrijkste instellingen",
"Password": "Wachtwoord",
"Polling": "peiling",
"Reconnection interval(s)": "Herverbindingsinterval (s)",
"Setup first according rpc adapter!": "Stel eerst de bijbehorende rpc-adapter in!",
"Sync": "Synchroniseren",
"Sync dutycycle": "Arbeidscyclus",
"Sync favorites": "favorieten",
"Sync functions": "Synchroniseer functies",
"Sync invisible variables": "Onzichtbare variabelen",
"Sync names": "namen",
"Sync programs": "programma's",
"Sync rooms": "kamers",
"Sync variables": "variabelen",
"Use https": "gebruik https",
"Username": "Gebruikersnaam",
"Virtual Devices": "Virtual Devices",
"enabled": "ingeschakeld",
"enum": "winkel in enum",
"hm-rpc instance": "hm-rpc instantie",
"hs485d (Wired)": "hs485d (Wired)",
"interval (s)": "interval (s)",
"rfd": "rfd",
"trigger": "op gang brengen"
}
32 changes: 32 additions & 0 deletions admin/i18n/pl/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"Additional settings": "Dodatkowe ustawienia",
"CUxD": "CUxD",
"HomeMatic Address": "Adres HomeMatic CCU",
"HomeMatic CCU Address": "Adres HomeMatic CCU",
"HomeMatic IP": "HomeMatic IP",
"Homematic Rega-Logic adapter settings": "Homematyczne ustawienia adaptera Rega-Logic",
"Main settings": "Ustawienia główne",
"Password": "Hasło",
"Polling": "Ankieta",
"Reconnection interval(s)": "Odstępy między ponownymi połączeniami",
"Setup first according rpc adapter!": "Najpierw skonfiguruj odpowiedni adapter rpc!",
"Sync": "Synchronizować",
"Sync dutycycle": "Cykl pracy",
"Sync favorites": "ulubione",
"Sync functions": "Funkcje synchronizacji",
"Sync invisible variables": "Niewidzialne zmienne",
"Sync names": "nazwy",
"Sync programs": "programy",
"Sync rooms": "pokoje",
"Sync variables": "zmienne",
"Use https": "użyj https",
"Username": "Nazwa Użytkownika",
"Virtual Devices": "Virtual Devices",
"enabled": "włączony",
"enum": "przechowywać w enum",
"hm-rpc instance": "Instancja hm-rpc",
"hs485d (Wired)": "hs485d (Wired)",
"interval (s)": "przedział (y)",
"rfd": "rfd",
"trigger": "cyngiel"
}
Loading

0 comments on commit 7b63f57

Please sign in to comment.