Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. AlexWest

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 11
    • Best 1
    • Groups 1

    AlexWest

    @AlexWest

    Starter

    1
    Reputation
    9
    Profile views
    11
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    AlexWest Follow
    Starter

    Best posts made by AlexWest

    • RE: Bluetooth Dongle funktioniert nur sporadisch

      @haselchen Hm komisch, ich habe davon auch einen Sensor auf dem Balkon und der hält nicht wesentlich kürzer als der Rest? Aber nun gut, hauptsache es funktioniert bei dir jetzt mittlerweile 🙂 .

      Zum Problem selbst: Ich konnte durch weiteres googlen nur herausfinden, dass die Bluetooth Probleme mit dem Linux Kernel zutun haben können.
      Zum Ausprobieren habe ich eine zweite VM aufgesetzt mit Debian 11 (Kernel 5.10.0-29-amd64). Dort habe ich den Bluetooth Dongle durchgereicht, den gleichen Daemon aufgesetzt und siehe da: Es funktioniert ohne Probleme... Da brat mir doch einer ein Storch!
      Dann scheint das wohl am Kernel meiner IOBroker VM (6.1.0-18-amd64) zu liegen.
      Das mit den zwei VMs ist jetzt bestimmt nicht die beste Lösung, aber nun gut, was will man machen.

      Danke für euern Input!

      posted in Hardware
      A
      AlexWest

    Latest posts made by AlexWest

    • RE: Bluetooth Dongle funktioniert nur sporadisch

      @haselchen Hm komisch, ich habe davon auch einen Sensor auf dem Balkon und der hält nicht wesentlich kürzer als der Rest? Aber nun gut, hauptsache es funktioniert bei dir jetzt mittlerweile 🙂 .

      Zum Problem selbst: Ich konnte durch weiteres googlen nur herausfinden, dass die Bluetooth Probleme mit dem Linux Kernel zutun haben können.
      Zum Ausprobieren habe ich eine zweite VM aufgesetzt mit Debian 11 (Kernel 5.10.0-29-amd64). Dort habe ich den Bluetooth Dongle durchgereicht, den gleichen Daemon aufgesetzt und siehe da: Es funktioniert ohne Probleme... Da brat mir doch einer ein Storch!
      Dann scheint das wohl am Kernel meiner IOBroker VM (6.1.0-18-amd64) zu liegen.
      Das mit den zwei VMs ist jetzt bestimmt nicht die beste Lösung, aber nun gut, was will man machen.

      Danke für euern Input!

      posted in Hardware
      A
      AlexWest
    • RE: Bluetooth Dongle funktioniert nur sporadisch

      @haselchen Noch ein paar Hintergrundinformationen: Den Daemon habe ich schon seit einem knappen Jahr in Betrieb und musste mein komplettes IOBroker/Proxmox Setup nach einem Hardwaredefekt an der SSD neu aufsetzen (hatte leider keine Backups). Damals lief der BT Dongle ohne Probleme. Nur weiß ich eben leider nicht mehr genau wie ich das damals aufgesetzt habe...
      Und zur Akkulaufzeit der Sensoren: Ich habe ein Abfrageintervall von 3h und so halten die Batterien bei mir mehrere Monate.

      Mfg,
      Alex

      posted in Hardware
      A
      AlexWest
    • RE: Bluetooth Dongle funktioniert nur sporadisch

      @thomas-braun Danke für den Hinweis! Habe meine kopierten Treiber gelöscht, dann das Paket installiert, neu gestartet und leider besteht der Fehler weiterhin:

      root@iobrokerVM:~# dmesg |grep -i bluetooth
      [    4.122534] Bluetooth: Core ver 2.22
      [    4.122563] NET: Registered PF_BLUETOOTH protocol family
      [    4.122564] Bluetooth: HCI device and connection manager initialized
      [    4.122576] Bluetooth: HCI socket layer initialized
      [    4.122578] Bluetooth: L2CAP socket layer initialized
      [    4.122581] Bluetooth: SCO socket layer initialized
      [    4.178038] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=dfc6 lmp_ver=0a lmp_subver=d922
      [    4.301606] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
      [    4.301610] Bluetooth: BNEP filters: protocol multicast
      [    4.301613] Bluetooth: BNEP socket layer initialized
      [    4.386075] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
      [    4.387073] Bluetooth: hci0: RTL: rom_version status=0 version=1
      [    4.387077] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
      [    4.388307] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8761bu_fw.bin
      [    4.388333] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
      [    4.388655] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8761bu_config.bin
      [    4.388675] Bluetooth: hci0: RTL: cfg_sz 6, total sz 27814
      [    4.531017] Bluetooth: hci0: RTL: fw version 0x09a98a6b
      [    4.599189] Bluetooth: MGMT ver 1.22
      [ 2137.733668] Bluetooth: hci0: Opcode 0x200e failed: -16
      [ 2169.477923] Bluetooth: hci0: Opcode 0x200e failed: -16
      

      @haselchen Der Daemon bietet mir mehr Konfigurationsmöglichkeiten und spuckt zudem gleich auch noch den Akkustand des Sensors aus 🙂

      posted in Hardware
      A
      AlexWest
    • RE: Bluetooth Dongle funktioniert nur sporadisch

      @haselchen
      Einen Adapter verwende ich hierfür nicht. Ich mache das über diesen Daemon:
      https://github.com/ThomDietrich/miflora-mqtt-daemon

      posted in Hardware
      A
      AlexWest
    • Bluetooth Dongle funktioniert nur sporadisch

      Hallo zusammen,

      Ich betreibe den IOBroker in einer VM in Proxmox (läuft auf einem Intel NUC). Um meine MiFlora Sensoren abzufragen, benötige ich eine Bluetooth Verbindung und deswegen habe ich mir einen Asus USB-BT500 Bluetooth Dongle gekauft. Diesen reiche ich in Proxmox an die VM durch. Die Treiber habe ich mir im Netz zusammengesucht und nach /usr/lib/firmware/rtl_bt kopiert. Soweit so gut.
      Die Sensoren lassen sich abfragen, allerdings wirft es mir dabei manchmal folgende Fehlermeldung aus:

      [   43.221820] Bluetooth: hci0: Opcode 0x200e failed: -16
      

      Hier habe ich den Output von: "dmesg |grep -i bluetooth"

      root@iobrokerVM:~# dmesg |grep -i bluetooth
      [    4.071598] Bluetooth: Core ver 2.22
      [    4.071623] NET: Registered PF_BLUETOOTH protocol family
      [    4.071624] Bluetooth: HCI device and connection manager initialized
      [    4.071627] Bluetooth: HCI socket layer initialized
      [    4.071629] Bluetooth: L2CAP socket layer initialized
      [    4.071632] Bluetooth: SCO socket layer initialized
      [    4.087163] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=dfc6 lmp_ver=0a lmp_subver=d922
      [    4.294157] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
      [    4.295387] Bluetooth: hci0: RTL: rom_version status=0 version=1
      [    4.295391] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
      [    4.297325] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8761bu_fw.bin
      [    4.297341] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
      [    4.298238] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8761bu_config.bin
      [    4.298250] Bluetooth: hci0: RTL: cfg_sz 6, total sz 11670
      [    4.320632] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
      [    4.320636] Bluetooth: BNEP filters: protocol multicast
      [    4.320640] Bluetooth: BNEP socket layer initialized
      [    4.373121] Bluetooth: hci0: RTL: fw version 0x097bec43
      [    4.447420] Bluetooth: MGMT ver 1.22
      [   43.221820] Bluetooth: hci0: Opcode 0x200e failed: -16
      [   64.206191] Bluetooth: hci0: Opcode 0x200e failed: -16
      [   78.795342] Bluetooth: hci0: Opcode 0x200e failed: -16
      [   87.241331] Bluetooth: hci0: Opcode 0x200e failed: -16
      [  121.545682] Bluetooth: hci0: Opcode 0x200e failed: -16
      

      Habt ihr eine Idee woher diese Fehlermeldung kommen kann? Googlen nach dieser Fehlermeldung hat mir leider auch nicht weitergeholfen.
      Vielen Dank im Voraus!

      Mfg,
      Alex

      posted in Hardware
      A
      AlexWest
    • RE: [SOLVED] IoBroker VM startet nach Klonen der SSD nicht mehr

      @sufra Ich habe leider bis zum Auftauchen des Lesefehlers der SSD keine Gedanken an Backups verschwendet. Dieser Nachlässigkeit hab ich nun mein Schlamassel zu verdanken...
      Als ich die VM aber nun per Proxmox backupen wollte, wurde das mit folgendem Fehler quittiert:

      INFO: Starting Backup of VM 111 (qemu)
      INFO: Backup started at 2024-04-04 02:01:33
      INFO: status = running
      INFO: VM Name: iobrokerVM
      INFO: include disk 'scsi0' 'local-lvm:vm-111-disk-0' 20G
      INFO: backup mode: snapshot
      INFO: ionice priority: 7
      INFO: creating vzdump archive '/mnt/pve/Qnap-NAS/dump/vzdump-qemu-111-2024_04_04-02_01_33.vma.zst'
      INFO: started backup task 'bde1f76a-3128-43a6-a279-ee83c2f03886'
      INFO: resuming VM again
      INFO:   2% (565.5 MiB of 20.0 GiB) in 3s, read: 188.5 MiB/s, write: 131.6 MiB/s
      INFO:   4% (982.4 MiB of 20.0 GiB) in 6s, read: 139.0 MiB/s, write: 132.5 MiB/s
      INFO:   6% (1.4 GiB of 20.0 GiB) in 9s, read: 145.2 MiB/s, write: 125.4 MiB/s
      INFO:   9% (1.8 GiB of 20.0 GiB) in 12s, read: 146.0 MiB/s, write: 134.2 MiB/s
      INFO:  11% (2.3 GiB of 20.0 GiB) in 15s, read: 178.8 MiB/s, write: 122.3 MiB/s
      INFO:  14% (2.8 GiB of 20.0 GiB) in 18s, read: 159.5 MiB/s, write: 150.2 MiB/s
      INFO:  15% (3.1 GiB of 20.0 GiB) in 20s, read: 147.6 MiB/s, write: 128.4 MiB/s
      ERROR: job failed with err -5 - Input/output error
      INFO: aborting backup job
      INFO: resuming VM again
      ERROR: Backup of VM 111 failed - job failed with err -5 - Input/output error
      INFO: Failed at 2024-04-04 02:02:07
      

      @crunchip Ein Backup über Backitup konnte ich gerade erzeugen. Ich schau mal ob ich die anderen Container über Proxmox gesichert bekomme. Dann setze ich es komplett neu auf.

      Danke euch schon mal!

      posted in Proxmox
      A
      AlexWest
    • [SOLVED] IoBroker VM startet nach Klonen der SSD nicht mehr

      Hallo,

      Ich hatte vor kurzem ein Hardware Problem mit meiner 256gb SSD (auf welcher Proxmox läuft) und habe sie deshalb nun mittels Clonezilla (samt Rescue Parameter) auf eine neue 512gb geklont. Im Anschluss hab ich mit Gparted die Partition vergrößert/erweitert.
      Nun kriege ich folgende Fehlermeldung in Proxmox wenn ich die Iobroker VM (oder jeden anderen Container) starten möchte:

      ()TASK ERROR: activating LV 'pve/data' failed:   Thin pool pve-data-tpool (253:4) transaction_id is 0, while expected 42.
      

      Hat jemand von euch eine Idee woran das denn liegt bzw. wie ich es abstellen kann? Das wäre super!

      Ich habe mir auch schon eine ProxMox Neuinstallation überlegt, aber dies ist leider keine Option, da ich die Iobroker VM nicht sichern kann aufgrund der I/O Error 😞 ...

      Mfg,
      Alex

      posted in Proxmox
      A
      AlexWest
    • RE: [erledigt] Nach Node.js Updateversuch plötzlich I/O Errors

      @thomas-braun
      Vielen Dank für den Hinweis! Den Befehl habe ich gerade nach dem Stoppen des iobrokers ausgeführt:

      library: loaded
      Library version=2024-01-04
      
      ==========================================================================
      
          Welcome to the ioBroker installation fixer!
          Script version: 2024-01-04
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/5)
      ==========================================================================
      
      Hit:1 http://deb.debian.org/debian bullseye InRelease
      Hit:2 http://security.debian.org/debian-security bullseye-security InRelease   
      Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]        
      Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease                  
      Fetched 44.1 kB in 1s (86.0 kB/s)                            
      Reading package lists... Done
      
      ==========================================================================
          Checking ioBroker user and directory permissions (2/5)
      ==========================================================================
      
      Created /etc/sudoers.d/iobroker
      Fixing directory permissions...
      
      ==========================================================================
          Check and cleanup npm temporary directories (3/5)
      ==========================================================================
      
      Done.
      
      ==========================================================================
          Database maintenance (4/5)
      ==========================================================================
      
      Checking for uncompressed JSONL databases... This might take a while!
      
      Compressing /opt/iobroker/iobroker-data/states.jsonl
      Compressing /opt/iobroker/iobroker-data/objects.jsonl
      Compressed 2 JSONL files. Done
      
      ==========================================================================
          Checking autostart (5/5)
      ==========================================================================
      
      Enabling autostart...
      Autostart enabled!
      
      ==========================================================================
      
          Your installation was fixed successfully
          Run iobroker start to start ioBroker again!
      
      ==========================================================================
      
      posted in Einsteigerfragen
      A
      AlexWest
    • RE: [erledigt] Nach Node.js Updateversuch plötzlich I/O Errors

      @alexwest Das Thema kann als erledigt markiert werden.
      Kurz zu meiner Lösung:
      Ich habe mich per Filezilla auf die VM geschalten und den kompletten iobroker Ordner gesichert. Im Anschluss hab ich den iobroker samt seines Ordners gelöscht. Nach einer Neuinstallation hab ich diese mit dem gesicherten Ordner überbügelt. Das hat überraschenderweise funktioniert und jetzt läuft wieder alles. Ich werde mich nun direkt um die Einrichtung eines automatischen Backups kümmern....
      Viel Dank dir und noch einen schönen Tag!
      Mfg,
      Alex

      posted in Einsteigerfragen
      A
      AlexWest
    • RE: [erledigt] Nach Node.js Updateversuch plötzlich I/O Errors

      @thomas-braun Danke für den Hinweis! Das Nodeupdate hat erfolgreich funktioniert.

      ioBroker nodejs updater 2023-10-13
      You requested to intall latest version from nodejs v18 tree.
      
      Your current setup is:
      /usr/bin/nodejs         v20.12.0
      /usr/bin/node           v20.12.0
      /usr/bin/npm            10.5.0
      /usr/bin/npx            10.5.0
      /usr/bin/corepack       0.25.2
      
      We found these nodejs versions available for installation:
      
      nodejs:
        Installed: 20.12.0-1nodesource1
        Candidate: 20.12.0-1nodesource1
        Version table:
       *** 20.12.0-1nodesource1 600
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
              100 /var/lib/dpkg/status
           20.11.1-1nodesource1 600
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.11.0-1nodesource1 600
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.10.0-1nodesource1 600
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.9.0-1nodesource1 600
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.8.1-1nodesource1 600
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.8.0-1nodesource1 600
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.7.0-1nodesource1 600
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.6.1-1nodesource1 600
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.6.0-1nodesource1 600
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.5.1-1nodesource1 600
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.5.0-1nodesource1 600
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.4.0-1nodesource1 600
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.3.1-1nodesource1 600
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.3.0-1nodesource1 600
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.2.0-1nodesource1 600
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.1.0-1nodesource1 600
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.0.0-1nodesource1 600
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           12.22.12~dfsg-1~deb11u4 500
              500 http://deb.debian.org/debian bullseye/main amd64 Packages
              500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
      
      
      
      Nothing to do - Your installation is using the correct paths.
      
      You are running nodejs v20.12.0. Do you want to install latest version from nodejs v.18 tree? 
      
      Press <y> to continue or any other key to quit
      Trying to update your installation now. Please be patient.
      
      Virtualization: kvm
      Waiting for ioBroker to shut down - Give me a minute...
      ############################################################
      
      *** These repos are active on your system:
      Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
      Hit:2 http://deb.debian.org/debian bullseye InRelease
      Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
      Fetched 44.1 kB in 0s (108 kB/s)    
      Reading package lists... Done
      
      *** Installing ca-certificates, curl and gnupg, just in case they are missing.
      
      *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
      
      deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
      Package: nodejs
      Pin: origin deb.nodesource.com
      Pin-Priority: 1001
      
      *** These repos are active after the adjustments:
      Hit:1 http://deb.debian.org/debian bullseye InRelease
      Hit:2 http://security.debian.org/debian-security bullseye-security InRelease   
      Hit:3 http://deb.debian.org/debian bullseye-updates InRelease                  
      Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]        
      Get:5 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [7731 B]
      Fetched 19.9 kB in 0s (42.8 kB/s)   
      Reading package lists... Done
      
      Installing the recommended nodejs version now!
      
      Exact recommended version unknown, installing a fallback!
      dpkg: warning: downgrading nodejs from 20.12.0-1nodesource1 to 18.0.0-1nodesource1
      (Reading database ... 58252 files and directories currently installed.)
      Preparing to unpack .../nodejs_18.0.0-1nodesource1_amd64.deb ...
      Detected old npm client, removing...
      Unpacking nodejs (18.0.0-1nodesource1) over (20.12.0-1nodesource1) ...
      Setting up nodejs (18.0.0-1nodesource1) ...
      Processing triggers for man-db (2.9.4-2) ...
      
      Updating fallback to latest nodejs v18 release
      (Reading database ... 58539 files and directories currently installed.)
      Preparing to unpack .../nodejs_18.20.0-1nodesource1_amd64.deb ...
      Detected old npm client, removing...
      Unpacking nodejs (18.20.0-1nodesource1) over (18.0.0-1nodesource1) ...
      Setting up nodejs (18.20.0-1nodesource1) ...
      Processing triggers for man-db (2.9.4-2) ...
      v18.20.0 has been installed! You are using the latest version now!
      Installing the recommended nodejs version!
      
      *** You need to manually restart your container/virtual machine now! *** 
      
      We tried our best to update or fix your nodejs. Please run 'iob diag' again to verify.
      

      Dennoch kriege ich nach einem Reboot weiterhin die I/O Errors :(.
      Gibt es eine Möglichkeit ein manuelles Backup vom Iobroker anzustoßen (ohne die Backup Funktion)?
      Vielen Dank im Voraus!

      posted in Einsteigerfragen
      A
      AlexWest
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo