Ilovegym66/iobroker-Devices-Scripts
Javascript replacements for iobroker Adapters
ioBroker Devices Scripts
JavaScript-based adapter replacements & device integrations for ioBroker.
This repository contains standalone scripts (primarily for the ioBroker JavaScript adapter) that replace or complement classic ioBroker adapters by talking directly to vendor APIs, MQTT, or local services. The goal is: portable, inspectable, script-first integrations that fit well into custom dashboards and automations.
Repo:
Ilovegym66/iobroker-Devices-Scripts(MIT)
What’s inside
The repository is organized as modules (one folder = one integration). Current top-level modules include: MELK_BLE_Stripe, lg-thinq-connect, synologyDSM, technitium, viessmann, zigbee2mqtt.
| Module | Folder | What it does |
|---|---|---|
| LG ThinQ Connect | lg-thinq-connect |
ThinQ Connect PAT-based integration (e.g., fridge / washer / dryer). |
| Synology DSM | synologyDSM |
Synology DSM API: monitoring/control and (often) dashboard helpers. |
| Technitium API | technitium |
Technitium DNS Server API: monitoring/control. |
| Viessmann | viessmann |
Viessmann-related integration scripts (cloud/API oriented). |
| Zigbee2MQTT bridge | zigbee2mqtt |
MQTT → ioBroker state bridge for Zigbee2MQTT (script-based replacement approach). |
| MELK BLE Stripe | MELK_BLE_Stripe |
BLE-based LED/stripe control/monitoring (project-specific). |
Note: Some folders may contain
README.md/Reader.mdwith detailed setup and state mappings.
Requirements
Typical baseline (varies per module):
- ioBroker with JavaScript adapter (modern 9.x recommended)
- Network access from the ioBroker host to the target service (NAS, DNS server, MQTT broker, cloud API, …)
- For MQTT-based modules: a working MQTT broker and permissions for the configured topics
- Optional but recommended: a Secrets namespace like
0_userdata.0.Secrets.*for credentials (never hardcode in scripts)
Installation (generic)
- Open ioBroker Admin → Scripts.
- Create a new JavaScript file (or copy from the module folder).
- Adjust the configuration block at the top of the script:
- endpoints/hosts/ports
- credentials (preferably via
0_userdata.0.Secrets.*) - base paths (e.g.,
0_userdata.0.Geraete.*)
- Start the script and watch the log for first-run object/state creation.
Security & secrets
Do not commit secrets into this repository:
- Use ioBroker states like
0_userdata.0.Secrets.<service>.<key>for:- usernames/passwords
- API tokens
- client secrets
- Keep logs in mind: avoid printing tokens and session cookies.
Contribution
- PRs are welcome (bugfixes, new devices, better state-role typing, docs).
- If you found a bug, open an issue with:
- ioBroker version / JS-adapter version
- logs (sanitized)
- sample payloads (sanitized)
License
MIT License.