Ankündigung

Einklappen
Keine Ankündigung bisher.

SmarthomeNG v1.11.0 Image für Raspberry Pi

Einklappen
Das ist ein wichtiges Thema.
X
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    #16
    Fazit:
    • Dein Kernel erkennt den Adapter korrekt, aber owserver 3.2p4 kann unter Kernel 6.x direkt über USB mit dem DS9490R nicht stabil kommunizieren.
    • Das Problem liegt also nicht an defekter Hardware oder falschen Rechten, sondern an Inkompatibilität zwischen owserver/libow und dem neuen Kernel-USB-Stack.

    Lösungsansätze:
    1. OWFS über owserver mit --i2c oder --net laufen lassen → Umgehung der direkten USB-Kommunikation.
    2. Alten Kernel nutzen (z. B. 5.x) → stabilere Unterstützung für DS2490/DS9490.
    3. Patched-Version von OWFS / libow → Manche User im OWFS-Forum haben Patches für Kernel 6.x veröffentlicht.
    Zapft ihr Narren der König hat Durst

    Kommentar


      #17
      Ich habe jetzt viel versucht 1-wire auf dem Raspi_SmarthomeNG_public_12.1.11.img zum laufen zu bekommen. Ich gebs auf. owserver stützt mit Segmentation fault ab. Mit Raspi_SmarthomeNG_public_12.1.10.img funktioniert es noch. Das ich zu blöde bin kann ich natürlich auch nicht ausschließen.
      ChatGPT hat auch das Zusammenspiel mit dem neueren Kernel in Verdacht und hat keine Lösung wie man es zum Laufen bekommt.
      Bin jetzt auf dem alten Image und habe SHNG und Smartvisu von Hand auf den neuesten Stand gebracht.
      Vielleicht geht es mit Trixie ja wieder. Wenn es wer am hinbekommen hat wäre ich für Tipps dankbar.
      Zapft ihr Narren der König hat Durst

      Kommentar


        #18
        Da würde ich ChatGPT nicht folgen. Ich habe das 1-wire Plugin (mit owserver) im aktuellen SmartHomeNG unter Debian 13 laufen, allerdings nutze ich das Image nicht, da ich keinen Pi einsetze. Bei mir läuft das auf einem NUC mit Intel Prozessor.
        Zuletzt geändert von bmx; Gestern, 14:16.
        Viele Grüße
        Martin

        There is no cloud. It's only someone else's computer.

        Kommentar


          #19
          Hast du's mit dem Trixie Pre-Release schon mal probiert? Wäre super, wenn das helfen würde..
          https://github.com/smarthomeNG/raspb...image/releases

          Kommentar


            #20
            So, ich habe jetzt das Trixie Image nochmal komplett neu auf die ssd geschrieben, im raspi 4b 4gb gestartet und anschließend direkt setup_all ausgeführt und alles mitgeschrieben bis zur Fehlermeldung reverse proxy:

            Code:
            swap -> 0
            Swapping is disabled.
            sudo: dphys-swapfile: Befehl nicht gefunden
            Failed to disable unit: Unit dphys-swapfile.service does not exist
            Swap File is not-found.
            
            knxd -> 1
            nginx -> 3 Skip (enabled)
            
            nginx reverse Proxy -> 1
            Country -> set
            City -> Set
            EMail -> Set
            domain name -> set
            
            Move-on
            
            Server Certifikat:
            no-pass
            
            Notice
            ------
            Certificate created at:
            * /etc/ssl/easy-rsa/pki/issued/server.crt
            
            Notice
            ------
            Inline file created:
            * /etc/ssl/easy-rsa/pki/inline/server.inline
            
            Export Password -> vergeben
            
            Kein weiteres Zertifikat
            
            Folder content of /home/smarthome:
            ca.crt  openvpn_client_example.conf  rustup-init.sh  smarthomeng.private  ta.key  update-nodejs-and-nodered
            
            Finished certificate setup.
            Domain can not be read from the file /etc/ssl/easy-rsa/domain_name.
            Please provide domain name -> angegeben....
            
            lua script password -> eingegeben
            Alexa Benutzer -> eingegeben
            Alexa Password -> eingegeben
            
            Creating Letsencrypt certificate
            1 -> yes
            
            Dann:
            Going on with creating the SSL certificate
            
            Please provide your mail address in the next step.
            An unexpected error occurred:
            OSError: [Errno 74] Bad message: '/usr/lib/python3/dist-packages/fail2ban-1.1.0.egg-info/entry_points.txt'
            Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-yre_7tl8/log or re-run Certbot with -v for more details.
            Done:
            
            Now change the port forwarding from 80 to 443 on your router! Restarting nginx now.
            
            Copy certificates to your client.
            If you also want to use OpenVPN, just import the copied conf file to your favourite OpenVPN client (Tunnelblick, OpenVPN, etc.)
            Start and enable openvpn (later in the setup process)
            Job for nginx.service failed because the control process exited with error code.
            See "systemctl status nginx.service" and "journalctl -xeu nginx.service" for details.
            
            journalctl -xeu nginx.service:
            
             A start job for unit nginx.service has begun execution.
            ░░
            ░░ The job identifier is 15014.
            Nov 18 19:56:26 SmartHomeNG nginx[4349]: 2025/11/18 19:56:25 [warn] 4349#4349: the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/conf.d/https.c>
            Nov 18 19:56:26 SmartHomeNG nginx[4349]: 2025/11/18 19:56:25 [warn] 4349#4349: the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/conf.d/https.c>
            Nov 18 19:56:26 SmartHomeNG nginx[4349]: 2025/11/18 19:56:25 [emerg] 4349#4349: cannot load certificate "/etc/letsencrypt/live/---------.-----.---/fullchain.pem": BIO_new_file() failed (SS>
            Nov 18 19:56:26 SmartHomeNG nginx[4349]: nginx: configuration file /etc/nginx/nginx.conf test failed
            Nov 18 19:56:26 SmartHomeNG systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
            ░░ Subject: Unit process exited
            ░░ Defined-By: systemd
            ░░ Support: https://www.debian.org/support
            ░░
            ░░ An ExecStartPre= process belonging to unit nginx.service has exited.
            ░░
            ░░ The process' exit code is 'exited' and its exit status is 1.
            Nov 18 19:56:26 SmartHomeNG systemd[1]: nginx.service: Failed with result 'exit-code'.
            ░░ Subject: Unit failed
            ░░ Defined-By: systemd
            ░░ Support: https://www.debian.org/support
            ░░
            ░░ The unit nginx.service has entered the 'failed' state with result 'exit-code'.
            Nov 18 19:56:26 SmartHomeNG systemd[1]: Failed to start nginx.service - A high performance web server and a reverse proxy server.
            ░░ Subject: A start job for unit nginx.service has failed
            ░░ Defined-By: systemd
            ░░ Support: https://www.debian.org/support
            ░░
            ░░ A start job for unit nginx.service has finished with a failure.
            ░░
            ░░ The job identifier is 15014 and the job result is failed.
            ​
            Und da geht es dann nicht mehr weiter, da nginx nicht mehr startet....
            Zuletzt geändert von schuma; Gestern, 20:05.

            Kommentar


              #21
              Was kommt bei systemctl status nginx.service

              und was bei certbot -v

              Kommentar

              Lädt...
              X