IO-Broker: Unterschied zwischen den Versionen
Stefan (Diskussion | Beiträge) (→ZigBee) |
Stefan (Diskussion | Beiträge) (→ZigBee) |
||
| Zeile 149: | Zeile 149: | ||
zigbee.0 2021-08-27 09:23:47.784 error (17463) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). | zigbee.0 2021-08-27 09:23:47.784 error (17463) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). | ||
zigbee.0 2021-08-27 09:23:47.777 info (17463) Zigbee started | zigbee.0 2021-08-27 09:23:47.777 info (17463) Zigbee started | ||
| + | |||
| + | === ConBee 2 === | ||
| + | |||
| + | === CC2652RB === | ||
Version vom 27. August 2021, 10:32 Uhr
Willkommen auf unserer IO-Broker Wiki Seite
Inhaltsverzeichnis
Installieren
sudo curl -sLf https://iobroker.net/install.sh | bash -
sudo su curl -sL https://deb.nodesource.com/setup_12.x | bash - apt install -y nodejs
node --version npm --version
Info
iobroker status iobroker version
Update
sudo iobroker stop sudo iobroker update sudo iobroker upgrade self sudo iobroker start
my IO-Broker
https://192.168.0.89:8081 https://192.168.0.89:8090 nicht aktiviert https://178.254.41.94:8081 http://178.254.41.94:8090
http://192.168.0.83:8081
Administration auf Konsole
ioBroker läuft nicht mehr
https://www.iobroker.net/docu/index-26.htm?page_id=3928&lang=de
Command line interface
https://www.iobroker.net/docu/index-98.htm?page_id=3971&lang=de
Hilfreiches
iobroker list instances iobroker start admin.1 iobroker stop admin.1
iobroker set admin.1 --secure true iobroker set admin.1 --secure false
iobroker add admin --port 8090 --enabled
Datenpunkte steuern, aktualisieren, bestätigen und richtig triggern
https://www.machs-smart.de/datenpunkte-steuern-aktualisieren-ack-bestaetigt/
Blockly-Scripte optimieren und Logik-Kurzformen anwenden
https://www.machs-smart.de/blockly-scripte-optimieren-und-logik-kurzformen/
Home
https://www.iobroker.net/?lang=de
Wiki
Forum
haus-automatisierung.com
https://haus-automatisierung.com/ https://haus-automatisierung.com/iobroker-tutorial-reihe/
Adapter Entwicklung
https://github.com/ioBroker/create-adapter https://adapter-creator.iobroker.in/ https://github.com/ioBroker/ioBroker.docs/blob/master/docs/en/dev/adapterdev.md https://herwig.de/anleitungen/smarthome/iobroker/adapter-entwicklung.html https://forum.iobroker.net/topic/17200/aufruf-iobroker-adapter-creator-testen
https://docs.npmjs.com/cli/v7/configuring-npm/package-json
https://adapter-creator.iobroker.in/
https://www.iobroker.net/#de/documentation/dev/adapterdev.md
https://gist.github.com/selbstgemacht/5e33a691627540add6f6101dec931ce3
https://forum.iobroker.net/topic/8538/zugriff-auf-werte-in-einem-json-objekt
https://forum.iobroker.net/topic/3813/json-verarbeiten
https://forum.iobroker.net/topic/15505/http-request-json/6
https://forum.iobroker.net/topic/6165/temperatur-aus-json-auslesen/6
https://forum.iobroker.net/topic/6107/gel%C3%B6st-frage-json-datei-auslesen/9
https://forum.iobroker.net/topic/14169/json-daten-auslesen/4
Docker
docker run -p 8081:8081 --name iobroker-1 -v iobrokerdata:/opt/iobroker-1 buanet/iobroker:latest docker run -p 8082:8081 --name iobroker-2 -v iobrokerdata:/opt/iobroker-2 buanet/iobroker:latest docker run -p 8083:8081 --name iobroker-3 -v iobrokerdata:/opt/iobroker-3 buanet/iobroker:latest
docker run -p 9081:8081 --name iobroker-Master -v iobrokerdata:/opt/iobroker-4 buanet/iobroker:latest docker run -p 9082:8081 --name iobroker-Slave -v iobrokerdata:/opt/iobroker-5 buanet/iobroker:latest
Multihost
https://www.iobroker.net/docu/index-24.htm?page_id=3068&lang=de
IOB_MULTIHOST master IOB_OBJECTSDB_TYPE file IOB_STATESDB_TYPE file IOB_OBJECTSDB_HOST 0.0.0.0 IOB_OBJECTSDB_PORT 9001 IOB_STATESDB_HOST 0.0.0.0 IOB_STATESDB_PORT 9000
OB_MULTIHOST slave IOB_OBJECTSDB_TYPE file IOB_STATESDB_TYPE file IOB_OBJECTSDB_HOST 172.17.0.7
IOB_OBJECTSDB_PORT 9001 IOB_STATESDB_HOST 172.17.0.7 IOB_STATESDB_PORT 9000
ZigBee
CC2531
lsusb ttyACM1 / ttyACM0 ls -l /dev/serial/by-id usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B001CDE5891-if00 -> ../../ttyACM1
IOBroker /dev/serial/by-id usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B001CDE5891-if00
(17412) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B001
zigbee.0 2021-08-27 09:24:25.450 info (17481) Zigbee started
zigbee.0 2021-08-27 09:24:25.448 info (17481) Currently no devices.
zigbee.0 2021-08-27 09:24:25.438 info (17481) --> transmitPower : normal
zigbee.0 2021-08-27 09:24:25.429 info (17481) Coordinator firmware version: {"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20201127}}
zigbee.0 2021-08-27 09:24:23.431 info (17481) Installed Version: iobroker.zigbee@1.6.0
zigbee.0 2021-08-27 09:24:23.060 info (17481) Starting Zigbee npm ...
zigbee.0 2021-08-27 09:24:22.927 info (17481) starting. Version 1.6.0 in /opt/iobroker/node_modules/iobroker.zigbee, node: v12.22.4, js-controller: 3.3.15
zigbee.0 2021-08-27 09:23:48.341 warn (17463) Terminated (UNCAUGHT_EXCEPTION): Without reason
zigbee.0 2021-08-27 09:23:48.339 info (17463) terminating
zigbee.0 2021-08-27 09:23:47.851 info (17463) Zigbee: disabling joining new devices.
zigbee.0 2021-08-27 09:23:47.847 info (17463) cleaned everything up...
zigbee.0 2021-08-27 09:23:47.816 error (17463) SRSP - SYS - osalNvRead after 0,2ms
zigbee.0 2021-08-27 09:23:47.815 error (17463) Error: SRSP - SYS - osalNvRead after 0,2ms at Timeout._onTimeout (/opt/iobroker/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35) at listOnTimeout (internal/timers.js:554:17)
zigbee.0 2021-08-27 09:23:47.785 error (17463) unhandled promise rejection: SRSP - SYS - osalNvRead after 0,2ms
zigbee.0 2021-08-27 09:23:47.784 error (17463) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
zigbee.0 2021-08-27 09:23:47.777 info (17463) Zigbee started