@ilovegym thank You !!! Mein Gott ich Trottel. Hab alles nach der Anleitung fΓΌr Debian 12 reingehauen aber das dann geskipt. LΓ€uft
NEWS
Best posts made by varg
-
RE: Asterisk lΓ€sst sich nicht installieren
-
RE: Erfarhungen mit dem Eurotronic Z-Wave Thermostat Spirit?
EDIT: ok moment habe nach erneutem Interview jetzt die Config Datenpunkte erhalten. Namen zeigt es auch korrekt an. Sorry ich dachte ich hΓ€tte das beim ersten GerΓ€t bereits einmal gemacht. Danke fΓΌr Deine UnterstΓΌtzung
-
RE: Radiosender Proton Radio auf Alexa wiedergeben
funktioniert einwandfrei. habe bei einem gerΓ€t eingestellt dass es gleich auf mehreren wiedergibt.
ΓΌber iot -> text2command -> multiroom
einfach geil
-
RE: [iot] Fragen und Probleme Migration Cloud->iot
@apollon77 ok issue erstellt. teste es via cloud heute abend. Danke
Latest posts made by varg
-
RE: Blink Camera System
moin, vielleicht weisst Du wie ich das gerade biege. Dieses Problem verfolgt mich schon seit dem ersten Versuch (s.o).
pi@iobroker:~ $ sudo -H -u iobroker pip3 install blinkpy error: externally-managed-environment Γ This environment is externally managed β°β> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install. If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed. For more information visit http://rptl.io/venv note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification.
pi@iobroker:/home/iobroker $ python3 --version Python 3.11.2 pi@iobroker:/home/iobroker $ pip3 --version pip 23.0.1 from /usr/lib/python3/dist-packages/pip (python 3.11) pi@iobroker:/home/iobroker $
pi@iobroker:/home/iobroker $ nodejs -v v20.19.0 pi@iobroker:/home/iobroker $ npm -v 10.8.2 pi@iobroker:/home/iobroker $
Beim letzten mal habe ich dann den "override" Befehl genutzt.
pi@iobroker:~ $ pip install blinkpy --break-system-packages Defaulting to user installation because normal site-packages is not writeable Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting blinkpy Downloading https://www.piwheels.org/simple/blinkpy/blinkpy-0.23.0-py3-none-an y.whl (30 kB) Collecting python-dateutil>=2.8.1 Downloading https://www.piwheels.org/simple/python-dateutil/python_dateutil-2. 9.0.post0-py2.py3-none-any.whl (229 kB) βββββββββββββββββββββββββββββββββββββββ 229.9/229.9 kB 2.7 MB/s eta 0:00:00 Requirement already satisfied: requests>=2.24.0 in /usr/lib/python3/dist-package s (from blinkpy) (2.28.1) Collecting python-slugify>=4.0.1 Downloading https://www.piwheels.org/simple/python-slugify/python_slugify-8.0. 4-py3-none-any.whl (10 kB) Collecting sortedcontainers~=2.4.0 Downloading https://www.piwheels.org/simple/sortedcontainers/sortedcontainers- 2.4.0-py2.py3-none-any.whl (29 kB) Collecting aiohttp>=3.8.4 Downloading aiohttp-3.11.14-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_a arch64.whl (1.7 MB) ββββββββββββββββββββββββββββββββββββββββ 1.7/1.7 MB 5.8 MB/s eta 0:00:00 Collecting aiofiles>=23.1.0 Downloading https://www.piwheels.org/simple/aiofiles/aiofiles-24.1.0-py3-none- any.whl (15 kB) Collecting aiohappyeyeballs>=2.3.0 Downloading https://www.piwheels.org/simple/aiohappyeyeballs/aiohappyeyeballs- 2.6.1-py3-none-any.whl (15 kB) Collecting aiosignal>=1.1.2 Downloading https://www.piwheels.org/simple/aiosignal/aiosignal-1.3.2-py2.py3- none-any.whl (7.6 kB) Collecting attrs>=17.3.0 Downloading https://www.piwheels.org/simple/attrs/attrs-25.3.0-py3-none-any.wh l (63 kB) ββββββββββββββββββββββββββββββββββββββββ 63.8/63.8 kB 1.4 MB/s eta 0:00:00 Collecting frozenlist>=1.1.1 Downloading frozenlist-1.5.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_ aarch64.whl (276 kB) βββββββββββββββββββββββββββββββββββββββ 276.4/276.4 kB 5.0 MB/s eta 0:00:00 Collecting multidict<7.0,>=4.5 Downloading multidict-6.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_a arch64.whl (135 kB) βββββββββββββββββββββββββββββββββββββββ 135.7/135.7 kB 4.1 MB/s eta 0:00:00 Collecting propcache>=0.2.0 Downloading propcache-0.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_a arch64.whl (232 kB) βββββββββββββββββββββββββββββββββββββββ 232.4/232.4 kB 5.0 MB/s eta 0:00:00 Collecting yarl<2.0,>=1.17.0 Downloading yarl-1.18.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch 64.whl (340 kB) βββββββββββββββββββββββββββββββββββββββ 340.6/340.6 kB 4.6 MB/s eta 0:00:00 Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil>=2.8.1->blinkpy) (1.16.0) Collecting text-unidecode>=1.3 Downloading https://www.piwheels.org/simple/text-unidecode/text_unidecode-1.3- py2.py3-none-any.whl (78 kB) ββββββββββββββββββββββββββββββββββββββββ 78.2/78.2 kB 1.1 MB/s eta 0:00:00 Requirement already satisfied: idna>=2.0 in /usr/lib/python3/dist-packages (from yarl<2.0,>=1.17.0->aiohttp>=3.8.4->blinkpy) (3.3) Installing collected packages: text-unidecode, sortedcontainers, python-slugify, python-dateutil, propcache, multidict, frozenlist, attrs, aiohappyeyeballs, aio files, yarl, aiosignal, aiohttp, blinkpy WARNING: The script slugify is installed in '/home/pi/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warn ing, use --no-warn-script-location. Successfully installed aiofiles-24.1.0 aiohappyeyeballs-2.6.1 aiohttp-3.11.14 ai
Das haut dann aber mit den Berechtigungen bestimmt alles nicht hin. Ja evtl. hast Du ja kurz Zeit fΓΌr nen "kleinen" workarround
-
RE: Blink Camera System
@dr-bakterius ok danke aber das folgende machts auch nicht besser ;(
pi@iobroker:~ $ pip install blinkpy --break-system-packages Defaulting to user installation because normal site-packages is not writeable Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting blinkpy Downloading https://www.piwheels.org/simple/blinkpy/blinkpy-0.23.0-py3-none-an y.whl (30 kB) Collecting python-dateutil>=2.8.1 Downloading https://www.piwheels.org/simple/python-dateutil/python_dateutil-2. 9.0.post0-py2.py3-none-any.whl (229 kB) βββββββββββββββββββββββββββββββββββββββ 229.9/229.9 kB 2.7 MB/s eta 0:00:00 Requirement already satisfied: requests>=2.24.0 in /usr/lib/python3/dist-package s (from blinkpy) (2.28.1) Collecting python-slugify>=4.0.1 Downloading https://www.piwheels.org/simple/python-slugify/python_slugify-8.0. 4-py3-none-any.whl (10 kB) Collecting sortedcontainers~=2.4.0 Downloading https://www.piwheels.org/simple/sortedcontainers/sortedcontainers- 2.4.0-py2.py3-none-any.whl (29 kB) Collecting aiohttp>=3.8.4 Downloading aiohttp-3.11.14-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_a arch64.whl (1.7 MB) ββββββββββββββββββββββββββββββββββββββββ 1.7/1.7 MB 5.8 MB/s eta 0:00:00 Collecting aiofiles>=23.1.0 Downloading https://www.piwheels.org/simple/aiofiles/aiofiles-24.1.0-py3-none- any.whl (15 kB) Collecting aiohappyeyeballs>=2.3.0 Downloading https://www.piwheels.org/simple/aiohappyeyeballs/aiohappyeyeballs- 2.6.1-py3-none-any.whl (15 kB) Collecting aiosignal>=1.1.2 Downloading https://www.piwheels.org/simple/aiosignal/aiosignal-1.3.2-py2.py3- none-any.whl (7.6 kB) Collecting attrs>=17.3.0 Downloading https://www.piwheels.org/simple/attrs/attrs-25.3.0-py3-none-any.wh l (63 kB) ββββββββββββββββββββββββββββββββββββββββ 63.8/63.8 kB 1.4 MB/s eta 0:00:00 Collecting frozenlist>=1.1.1 Downloading frozenlist-1.5.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_ aarch64.whl (276 kB) βββββββββββββββββββββββββββββββββββββββ 276.4/276.4 kB 5.0 MB/s eta 0:00:00 Collecting multidict<7.0,>=4.5 Downloading multidict-6.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_a arch64.whl (135 kB) βββββββββββββββββββββββββββββββββββββββ 135.7/135.7 kB 4.1 MB/s eta 0:00:00 Collecting propcache>=0.2.0 Downloading propcache-0.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_a arch64.whl (232 kB) βββββββββββββββββββββββββββββββββββββββ 232.4/232.4 kB 5.0 MB/s eta 0:00:00 Collecting yarl<2.0,>=1.17.0 Downloading yarl-1.18.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch 64.whl (340 kB) βββββββββββββββββββββββββββββββββββββββ 340.6/340.6 kB 4.6 MB/s eta 0:00:00 Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil>=2.8.1->blinkpy) (1.16.0) Collecting text-unidecode>=1.3 Downloading https://www.piwheels.org/simple/text-unidecode/text_unidecode-1.3- py2.py3-none-any.whl (78 kB) ββββββββββββββββββββββββββββββββββββββββ 78.2/78.2 kB 1.1 MB/s eta 0:00:00 Requirement already satisfied: idna>=2.0 in /usr/lib/python3/dist-packages (from yarl<2.0,>=1.17.0->aiohttp>=3.8.4->blinkpy) (3.3) Installing collected packages: text-unidecode, sortedcontainers, python-slugify, python-dateutil, propcache, multidict, frozenlist, attrs, aiohappyeyeballs, aio files, yarl, aiosignal, aiohttp, blinkpy WARNING: The script slugify is installed in '/home/pi/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warn ing, use --no-warn-script-location. Successfully installed aiofiles-24.1.0 aiohappyeyeballs-2.6.1 aiohttp-3.11.14 ai osignal-1.3.2 attrs-25.3.0 blinkpy-0.23.0 frozenlist-1.5.0 multidict-6.2.0 propc ache-0.3.0 python-dateutil-2.9.0.post0 python-slugify-8.0.4 sortedcontainers-2.4 .0 text-unidecode-1.3 yarl-1.18.3 pi@iobroker:~ $ await Blink.start() -bash: syntax error near unexpected token `(' pi@iobroker:~ $ import asyncio -bash: import: command not found pi@iobroker:~ $ cd blinkpy -bash: cd: blinkpy: No such file or directory
-
RE: Blink Camera System
@dr-bakterius klar auch die build essentials sind drauf. Kann aber in dem Ordner nix installieren. Konnte auch keinen Alternativbefehl finden.
-
RE: Blink Camera System
Frickel schon bei der Installation seit ner Stunde rum
pi@iobroker:~ $ pip install blinkpy error: externally-managed-environment Γ This environment is externally managed β°β> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install. If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed. For more information visit http://rptl.io/venv note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification. pi@iobroker:~ $ ^C
Egal was ich mache ich kann das ding nicht installieren. Evtl. hat mir jemand einen Tip ?
-
RE: Asterisk lΓ€sst sich nicht installieren
@ilovegym thank You !!!
Mein Gott ich Trottel. Hab alles nach der Anleitung fΓΌr Debian 12 reingehauen aber das dann geskipt. LΓ€uft
-
RE: Asterisk lΓ€sst sich nicht installieren
Klinke mich hier mal ein, nach mehrfachem rumprobieren erfolgt zwar der Anruf, aber eben nur PieptΓΆne.
Ich poste hier mal die logs der asterisk installation und die debug logs vom Adapter
Scheinbar wird die Audio Datei erzeugt, aber egal was ich an der Config rumfrickel es piept nur ^^. Anruf selbst ist ja schonmal nicht schlecht, aber irgendwie halt doch nur halb fertig.
Das Fix Skript lΓ€uft auch
on({id: 'asterisk.0.dialout.call'}, function (obj) { let msg = getState('asterisk.0.dialout.text').val; let tnr = getState('asterisk.0.dialout.telnr').val; let cid = getState('asterisk.0.dialout.callerid').val; exec('pico2wave -w /tmp/ttsdatei.wav -l de-DE "' + msg + '"', function (error, stdout, stderr) { /* wav erstellt */ exec('sox /tmp/ttsdatei.wav -r 8000 -c 1 /tmp/ttsdatei.gsm', function (error, stdout, stderr) { /* gsm erstellt */ exec('rm /tmp/ttsdatei.wav', function (error, stdout, stderr) { /* wav gelΓΆscht, sonst wurde beim folgenden Anruf ggf. die falsche Datei aufgerufen... */ sendTo('asterisk.0', "dial", { telnr: tnr , callerid: cid, audiofile: '/tmp/ttsdatei.gsm'}, (res) => { console.log('Result: ' + JSON.stringify(res)); exec('cp /tmp/ttsdatei.gsm /tmp/asterisk_dtmf.gsm', function (error, stdout, stderr) { /* Die asterisk_dtmf.gsm wird fΓΌr Dial-In Anrufe verwendet... Hier wird dann einfach der letzte Anruf nochmal wiedergegeben */ /* Das folgende LΓΆschen fΓΌhrte bei mir zu Problemen, also bleibt die Datei liegen.. wird ja eh ΓΌberschrieben */ /* exec('rm /tmp/ttsdatei.gsm', function (error, stdout, stderr) { console.log('Telefonalamierung: gsm gelΓΆscht'); }); */ }); }); }); }); }); });
asterisk.0 2024-09-09 08:34:46.039 debug stateChange asterisk.0.dialout.text {"val":"Hallo Test","ack":false,"ts":1725863686036,"q":0,"c":"script.js.common.smarthome.telefonie.asterisk","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1725788494351} asterisk.0 2024-09-09 08:34:41.202 debug Calling callback function: (res, err) => { adapter.sendTo(msg.from, msg.command, { result: res, error: err }, msg.callback); } asterisk.0 2024-09-09 08:34:41.201 info Dialing completed. Result: {"parameter":{"telnr":"xxxxxx","callerid":"0","audiofile":"/tmp/ttsdatei","extension":"123456789"},"options":{"action":"originate","channel":"SIP/123456789/xxxxxxxx","context":"ael-ansage","exten":"xxxxxx","priority":1,"timeout":60000,"variable":{"repeat":5,"file":"/tmp/ttsdatei","del":""},"callerid":"0"},"guid":"28dd3821-1b9b-af82-11a6-0445ac61994c","result":{"response":"Success","actionid":"28dd3821-1b9b-af82-11a6-0445ac61994c","message":"Originate successfully queued"}} asterisk.0 2024-09-09 08:34:36.134 error Error while dialing (2). Error: {} asterisk.0 2024-09-09 08:34:36.025 info Start dialing asterisk.0 2024-09-09 08:34:36.025 debug Got GSM audio file /tmp/ttsdatei.gsm asterisk.0 2024-09-09 08:34:36.025 debug Parameter: {"telnr":"xxxxxx","callerid":"0","audiofile":"/tmp/ttsdatei","extension":"123456789"} asterisk.0 2024-09-09 08:34:36.024 debug Dial Command asterisk.0 2024-09-09 08:34:36.024 debug Message: {"telnr":"xxxxx","callerid":"0","audiofile":"/tmp/ttsdatei.gsm"} asterisk.0 2024-09-09 08:34:36.024 debug Connected to Asterisk asterisk.0 2024-09-09 08:34:36.011 debug Start converting text message (Hallo Test) to GSM audio βfile /opt/iobroker/asterisk/audio_1725863674003 asterisk.0 2024-09-09 08:34:36.011 debug Parameter: {"callerid":"0","telnr":"xxxxx","text":"Hallo Test","extension":"123456789","audiofile":"/opt/iobroker/asterisk/audio_1725863674003","delete":"delete"} asterisk.0 2024-09-09 08:34:36.011 debug Dial Command asterisk.0 2024-09-09 08:34:36.010 debug Message: {"callerid":"0","telnr":"xxxxx","text":"Hallo Test"} asterisk.0 2024-09-09 08:34:36.005 debug stateChange asterisk.0.dialout.call {"val":true,"ack":false,"ts":1725863676003,"q":0,"c":"script.js.common.smarthome.telefonie.asterisk","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1725785392666} asterisk.0 2024-09-09 08:34:34.009 debug stateChange asterisk.0.dialout.callerid {"val":"0","ack":false,"ts":1725863674003,"q":0,"c":"script.js.common.smarthome.telefonie.asterisk","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1725785390666} asterisk.0 2024-09-09 08:34:34.008 debug stateChange asterisk.0.dialout.telnr {"val":"xxxxx","ack":false,"ts":1725863674003,"q":0,"c":"script.js.common.smarthome.telefonie.asterisk","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1725785390666} asterisk.0 2024-09-09 08:34:34.006 debug stateChange asterisk.0.dialout.text {"val":"Hallo Test","ack":false,"ts":1725863674003,"q":0,"c":"script.js.common.smarthome.telefonie.asterisk","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1725788494351} asterisk.0 2024-09-09 08:34:22.670 error Error while Converting File: {} asterisk.0 2024-09-09 08:34:22.466 info Connected to Asterisk Manager
Connected to Asterisk 16.30.1 currently running on iobroker (pid = 108053) == Using SIP RTP CoS mark 5 [Sep 9 08:10:20] WARNING[108829][C-00000002]: file.c:824 ast_openstream_full: File /tmp/ttsdatei does not exist in any format [Sep 9 08:10:20] WARNING[108829][C-00000002]: file.c:1303 ast_streamfile: Unable to open /tmp/ttsdatei (format (ulaw)): No such file or directory **usw meldet mehrfach /tmp/ttsdatei nicht vorhanden**
-
RE: Razberry2 Zwave mit PI5 Keine Serialverbindung
Sorry nein bitte lΓΆschen war der brainbug leider
-
RE: Razberry2 Zwave mit PI5 Keine Serialverbindung
@varg OK hab's gefunden.dank des Forums hier. Serielle Schnittstelle in der raspi config aktivieren ohh man
-
Razberry2 Zwave mit PI5 Keine Serialverbindung
Versuche gerade die Razberry2 Zwave Aufsteckplatine vom Pi4 auf den Pi5(Bookworm)(Node18) umzusiedeln.
Klappt natΓΌrlich leider nicht.Folgendes habe ich bereits versucht.
- disable wifi and bluetooth ΓΌber rfkill
sudo nano /boot/cmdline.txt remove console=serial0,115200 save the file and close it sudo nano /boot/config.txt Look for each of the following lines. If they are commented out with a #, remove that. If they don't exist, add them to the end of the file: dtoverlay=pi3-miniuart-bt enable_uart=1 force_turbo=1 reboot
pi@iobroker:~ $ ls -l /dev/serial/by-id total 0 lrwxrwxrwx 1 root root 13 Jan 6 12:41 usb-Texas_Instruments_CC2538_USB_CDC-if00 -> ../../ttyACM0 pi@iobroker:~ $
Gefunden wird aber nur Zigbee
Hat die Platine jemand bereits am Pi5 getestet oder weiss wo hier das Problem liegen kΓΆnnte ?
zwave2.0 2024-01-06 12:44:16.599 error Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200) at Driver.sendMessage (/opt/iobroker/node_modules/zwave-js/src/lib/driver/Driver.ts:4360:23) at ZWaveController.identify (/opt/iobroker/node_modules/zwave-js/src/lib/controller/Controller.ts:915:33) at Driver.initializeControllerAndNodes (/opt/iobroker/node_modules/zwave-js/src/lib/driver/Driver.ts:1365:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/zwave-js/src/lib/driver/Driver.ts:1171:16) (ZW0100)
dtoverlay=disable-bt dtoverlay=disable-wifi enable_uart=1 force_turbo=1
hilft auch nicht, die config ist gleich wie beim Pi4, das teil wird aber einfach nicht erkannt.
Hat noch jemand eine Idee ?