Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter PSA v0.0.x Peugeot Opel Citroen

    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

    Test Adapter PSA v0.0.x Peugeot Opel Citroen

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @RaspiUser last edited by Thomas Braun

      @raspiuser sagte in Test Adapter PSA v0.0.x Peugeot Opel Citroen:

      Was muss ich hier (als ahnungsloser Linux-User) tun nachdem ich den Adapter gelöscht hatte?

      Nix. Aber du solltest einen eigenen user verwenden. Der 'iobroker' ist als Systemuser vorgesehen und nicht als regulärer Login. Der user gehört dann auch in die Gruppe 'adm' rein.

      Boot Target: graphical.target

      sudo systemctl set-default multi-user.target
      

      HINT:

      Your zigbee.0 COM-Port is NOT matching 'by-id'. Please check your setting:

      /dev/ttyUSB0

      Stell das richtig ein.

      Bring nodejs auf v20.

      iob nodejs-update
      
      RaspiUser 1 Reply Last reply Reply Quote 1
      • RaspiUser
        RaspiUser @Thomas Braun last edited by

        @thomas-braun Danke, wie sooft hast Du Antworten ...

        Ich habe beide Befehle ausgeführt (wobei ich nicht wirklich weiss, was ich da eigentlich tue ...), hier das Ergebnis:

        ```bash
        Skript v.2024-08-12
        
        *** BASE SYSTEM ***
         Static hostname: VM-ioBroker
               Icon name: computer-vm
                 Chassis: vm 🖴
          Virtualization: kvm
        Operating System: Debian GNU/Linux 12 (bookworm)
                  Kernel: Linux 6.1.0-25-amd64
            Architecture: x86-64
         Hardware Vendor: QEMU
          Hardware Model: Standard PC _i440FX + PIIX, 1996_
        Firmware Version: e0d6339-dirty-20220919_024111-d528eb931742
        OS is similar to:
        
        model name      : Westmere E56xx/L56xx/X56xx (Nehalem-C)
        Docker          : false
        Virtualization  : kvm
        Kernel          : x86_64
        Userland        : 64 bit
        
        Systemuptime and Load:
         14:18:01 up 3 min,  2 users,  load average: 0.71, 0.91, 0.42
        CPU threads: 4
        
        
        *** Time and Time Zones ***
                       Local time: Thu 2024-10-03 14:18:01 CEST
                   Universal time: Thu 2024-10-03 12:18:01 UTC
                         RTC time: Thu 2024-10-03 12:18:01
                        Time zone: Europe/Berlin (CEST, +0200)
        System clock synchronized: yes
                      NTP service: active
                  RTC in local TZ: no
        
        *** Users and Groups ***
        User that called 'iob diag':
        iobroker
        HOME=/home/iobroker
        GROUPS=iobroker tty dialout cdrom floppy sudo audio dip video plugdev users netdev
        
        User that is running 'js-controller':
        iobroker
        HOME=/home/iobroker
        GROUPS=iobroker tty dialout cdrom floppy sudo audio dip video plugdev users netdev
        
        *** Display-Server-Setup ***
        Display-Server: false
        Desktop:
        Terminal:       tty
        Boot Target:    multi-user.target
        
        *** MEMORY ***
                       total        used        free      shared  buff/cache   available
        Mem:            8.3G        1.9G        6.3G        598K        362M        6.4G
        Swap:           1.0G          0B        1.0G
        Total:          9.3G        1.9G        7.3G
        
        Active iob-Instances:   26
        
                 7940 M total memory
                 1817 M used memory
                  198 M active memory
                 1562 M inactive memory
                 6010 M free memory
                   31 M buffer memory
                  314 M swap cache
                  974 M total swap
                    0 M used swap
                  974 M free swap
        
        *** top - Table Of Processes  ***
        top - 14:18:02 up 3 min,  2 users,  load average: 0.71, 0.91, 0.42
        Tasks: 142 total,   1 running, 141 sleeping,   0 stopped,   0 zombie
        %Cpu(s):  0.0 us, 25.0 sy,  0.0 ni, 75.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
        MiB Mem :   7940.7 total,   6010.7 free,   1817.4 used,    346.5 buff/cache
        MiB Swap:    975.0 total,    975.0 free,      0.0 used.   6123.3 avail Mem
        
        *** FAILED SERVICES ***
        
          UNIT LOAD ACTIVE SUB DESCRIPTION
        0 loaded units listed.
        
        *** FILESYSTEM ***
        Filesystem     Type      Size  Used Avail Use% Mounted on
        udev           devtmpfs  3.9G     0  3.9G   0% /dev
        tmpfs          tmpfs     795M  584K  794M   1% /run
        /dev/sda1      ext4       48G  8.0G   38G  18% /
        tmpfs          tmpfs     3.9G     0  3.9G   0% /dev/shm
        tmpfs          tmpfs     5.0M     0  5.0M   0% /run/lock
        tmpfs          tmpfs     795M     0  795M   0% /run/user/1000
        
        Messages concerning ext4 filesystem in dmesg:
        [sudo] password for iobroker:
        [Thu Oct  3 14:14:08 2024] EXT4-fs (sda1): mounted filesystem with ordered data mode. Quota mode: none.
        [Thu Oct  3 14:14:10 2024] EXT4-fs (sda1): re-mounted. Quota mode: none.
        
        Show mounted filesystems:
        TARGET SOURCE    FSTYPE OPTIONS
        /      /dev/sda1 ext4   rw,relatime,errors=remount-ro
        
        Files in neuralgic directories:
        
        /var:
        2.0G    /var/
        1.3G    /var/log/journal/27bb2095ba2b41ccb088ec3ad41fc1f5
        1.3G    /var/log/journal
        1.3G    /var/log
        544M    /var/cache
        
        Hint: You are currently not seeing messages from other users and the system.
              Users in groups 'adm', 'systemd-journal' can see all messages.
              Pass -q to turn off this notice.
        Archived and active journals take up 216.4M in the file system.
        
        /opt/iobroker/backups:
        20M     /opt/iobroker/backups/
        
        /opt/iobroker/iobroker-data:
        717M    /opt/iobroker/iobroker-data/
        589M    /opt/iobroker/iobroker-data/files
        441M    /opt/iobroker/iobroker-data/files/javascript.admin
        409M    /opt/iobroker/iobroker-data/files/javascript.admin/static
        408M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js
        
        The five largest files in iobroker-data are:
        27M     /opt/iobroker/iobroker-data/objects.jsonl
        24M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map
        14M     /opt/iobroker/iobroker-data/files/backitup.admin/static/js/main.2cca4954.js
        8.7M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/838.0aa41cb0.chunk.js.map
        8.6M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/310.89a60ae1.chunk.js.map
        
        USB-Devices by-id:
        USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
        
        /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_c421aa81b69ded118718d3a5a7669f5d-if00-port0
        
        HINT:
        Your zigbee.0 COM-Port is NOT matching 'by-id'. Please check your setting:
        /dev/ttyUSB0
        
        
        
        *** NodeJS-Installation ***
        
        /usr/bin/nodejs         v20.17.0
        /usr/bin/node           v20.17.0
        /usr/bin/npm            10.8.2
        /usr/bin/npx            10.8.2
        /usr/bin/corepack       0.29.3
        
        
        nodejs:
          Installed: 20.17.0-1nodesource1
          Candidate: 20.17.0-1nodesource1
          Version table:
         *** 20.17.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                100 /var/lib/dpkg/status
             20.16.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.15.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.15.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.14.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.13.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.13.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.12.2-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.12.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.12.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.11.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.11.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.10.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.9.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.8.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.8.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.7.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.6.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.6.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.5.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.5.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.4.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.3.1-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.3.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.2.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.1.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             20.0.0-1nodesource1 1001
                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             18.19.0+dfsg-6~deb12u2 500
                500 http://deb.debian.org/debian bookworm/main amd64 Packages
             18.19.0+dfsg-6~deb12u1 500
                500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
        
        Temp directories causing npm8 problem: 0
        No problems detected
        
        Errors in npm tree:
        
        *** ioBroker-Installation ***
        
        ioBroker Status
        iobroker is running on this host.
        
        
        Objects type: jsonl
        States  type: jsonl
        
        Core adapters versions
        js-controller:  6.0.11
        admin:          7.1.5
        javascript:     8.7.6
        
        nodejs modules from github:     1
        +-- iobroker.go-e@1.0.38 (git+ssh://git@github.com/MK-2001/ioBroker.go-e.git#68cec3c4c103f9fdcefd67295193823041c88a5c)
        
        Adapter State
        + system.adapter.admin.0                  : admin                 : VM-ioBroker                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          system.adapter.alias-manager.0          : alias-manager         : VM-ioBroker                              - disabled
        + system.adapter.alpha-ess.0              : alpha-ess             : VM-ioBroker                              -  enabled
        + system.adapter.awtrix-light.0           : awtrix-light          : VM-ioBroker                              -  enabled
        + system.adapter.backitup.0               : backitup              : VM-ioBroker                              -  enabled
        + system.adapter.canbus.0                 : canbus                : VM-ioBroker                              -  enabled
        + system.adapter.cloud.0                  : cloud                 : VM-ioBroker                              -  enabled
        + system.adapter.discovery.0              : discovery             : VM-ioBroker                              -  enabled
          system.adapter.esphome.0                : esphome               : VM-ioBroker                              - disabled
          system.adapter.feiertage.0              : feiertage             : VM-ioBroker                              -  enabled
        + system.adapter.frontier_silicon.0       : frontier_silicon      : VM-ioBroker                              -  enabled
          system.adapter.go-e.0                   : go-e                  : VM-ioBroker                              - disabled
        + system.adapter.hm-rega.0                : hm-rega               : VM-ioBroker                              -  enabled
        + system.adapter.hm-rpc.0                 : hm-rpc                : VM-ioBroker                              -  enabled, port: 0
        + system.adapter.hm-rpc.1                 : hm-rpc                : VM-ioBroker                              -  enabled, port: 0
        + system.adapter.iqontrol.0               : iqontrol              : VM-ioBroker                              -  enabled
        + system.adapter.javascript.0             : javascript            : VM-ioBroker                              -  enabled
        + system.adapter.klf200.0                 : klf200                : VM-ioBroker                              -  enabled
        + system.adapter.lgtv.0                   : lgtv                  : VM-ioBroker                              -  enabled
          system.adapter.luftdaten.0              : luftdaten             : VM-ioBroker                              -  enabled
        + system.adapter.mqtt.0                   : mqtt                  : VM-ioBroker                              -  enabled, port: 1883, bind: 0.0.0.0
        + system.adapter.onkyo.0                  : onkyo                 : VM-ioBroker                              -  enabled
        + system.adapter.sainlogic.0              : sainlogic             : VM-ioBroker                              -  enabled, port: 1030, bind: 0.0.0.0
        + system.adapter.shuttercontrol.0         : shuttercontrol        : VM-ioBroker                              -  enabled
        + system.adapter.simple-api.0             : simple-api            : VM-ioBroker                              -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
        + system.adapter.sonoff.0                 : sonoff                : VM-ioBroker                              -  enabled, port: 1885, bind: 0.0.0.0
        + system.adapter.telegram.0               : telegram              : VM-ioBroker                              -  enabled, port: 8443, bind: 0.0.0.0
        + system.adapter.tr-064.0                 : tr-064                : VM-ioBroker                              -  enabled
          system.adapter.vw-connect.0             : vw-connect            : VM-ioBroker                              - disabled
        + system.adapter.web.0                    : web                   : VM-ioBroker                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
        + system.adapter.zigbee.0                 : zigbee                : VM-ioBroker                              -  enabled, port: /dev/ttyUSB0
        
        + instance is alive
        
        Enabled adapters with bindings
        + system.adapter.admin.0                  : admin                 : VM-ioBroker                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
        + system.adapter.hm-rpc.0                 : hm-rpc                : VM-ioBroker                              -  enabled, port: 0
        + system.adapter.hm-rpc.1                 : hm-rpc                : VM-ioBroker                              -  enabled, port: 0
        + system.adapter.mqtt.0                   : mqtt                  : VM-ioBroker                              -  enabled, port: 1883, bind: 0.0.0.0
        + system.adapter.sainlogic.0              : sainlogic             : VM-ioBroker                              -  enabled, port: 1030, bind: 0.0.0.0
        + system.adapter.simple-api.0             : simple-api            : VM-ioBroker                              -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
        + system.adapter.sonoff.0                 : sonoff                : VM-ioBroker                              -  enabled, port: 1885, bind: 0.0.0.0
        + system.adapter.telegram.0               : telegram              : VM-ioBroker                              -  enabled, port: 8443, bind: 0.0.0.0
        + system.adapter.web.0                    : web                   : VM-ioBroker                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
        + system.adapter.zigbee.0                 : zigbee                : VM-ioBroker                              -  enabled, port: /dev/ttyUSB0
        
        ioBroker-Repositories
        ┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐
        │ (index) │ name     │ url                                                     │ auto upgrade │
        ├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤
        │ 0       │ 'stable' │ 'http://download.iobroker.net/sources-dist.json'        │ false        │
        │ 1       │ 'beta'   │ 'http://download.iobroker.net/sources-dist-latest.json' │ false        │
        └─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘
        
        Active repo(s): stable
        Upgrade policy: none
        
        Installed ioBroker-Instances
        Used repository: stable
        Adapter    "admin"        : 7.1.5    , installed 7.1.5
        Adapter    "alias-manager": 1.2.6    , installed 1.2.6
        Adapter    "alpha-ess"    : 2.1.4    , installed 2.1.4
        Adapter    "awtrix-light" : 1.3.0    , installed 1.3.0
        Adapter    "backitup"     : 3.0.22   , installed 3.0.22
        Adapter    "canbus"       : 1.3.1    , installed 1.3.1
        Adapter    "cloud"        : 5.0.1    , installed 5.0.1
        Adapter    "discovery"    : 5.0.0    , installed 5.0.0
        Adapter    "feiertage"    : 1.2.0    , installed 1.2.0
        Adapter    "frontier_silicon": 0.3.0 , installed 0.3.0
        Adapter    "go-e"         : 1.0.29   , installed 1.0.38
        Adapter    "hm-rega"      : 5.0.0    , installed 5.0.0
        Adapter    "hm-rpc"       : 1.17.0   , installed 1.17.0
        Adapter    "iqontrol"     : 2.3.0    , installed 2.3.0
        Adapter    "javascript"   : 8.7.6    , installed 8.7.6
        Controller "js-controller": 6.0.11   , installed 6.0.11
        Adapter    "klf200"       : 1.3.1    , installed 1.3.1
        Adapter    "lgtv"         : 2.2.0    , installed 2.2.0
        Adapter    "luftdaten"    : 4.0.0    , installed 4.0.0
        Adapter    "mqtt"         : 5.2.0    , installed 5.2.0
        Adapter    "onkyo"        : 2.1.2    , installed 2.1.2
        Adapter    "sainlogic"    : 0.11.4   , installed 0.11.4
        Adapter    "shuttercontrol": 1.7.3   , installed 1.7.3
        Adapter    "simple-api"   : 2.8.0    , installed 2.8.0
        Adapter    "socketio"     : 6.7.1    , installed 6.7.1
        Adapter    "sonoff"       : 3.1.0    , installed 3.1.0
        Adapter    "telegram"     : 3.9.0    , installed 3.9.0
        Adapter    "tr-064"       : 4.3.0    , installed 4.3.0
        Adapter    "web"          : 6.2.5    , installed 6.2.5
        Adapter    "ws"           : 2.6.2    , installed 2.6.2
        Adapter    "zigbee"       : 1.10.3   , installed 1.10.3
        
        Objects and States
        Please stand by - This may take a while
        Objects:        5974
        States:         4368
        
        *** OS-Repositories and Updates ***
        Hit:1 http://deb.debian.org/debian bookworm InRelease
        Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
        Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
        Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
        Reading package lists...
        Pending Updates: 0
        
        *** Listening Ports ***
        Active Internet connections (only servers)
        Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
        tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          16521      534/sshd: /usr/sbin
        tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          14610      1/init
        tcp        0      0 0.0.0.0:1030            0.0.0.0:*               LISTEN      1000       19616      1282/io.sainlogic.0
        tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1000       16534      473/iobroker.js-con
        tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1000       15048      473/iobroker.js-con
        tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      1000       16009      1090/io.mqtt.0
        tcp        0      0 0.0.0.0:1885            0.0.0.0:*               LISTEN      1000       16058      1157/io.sonoff.0
        tcp        0      0 192.168.178.120:42001   0.0.0.0:*               LISTEN      1000       18751      1008/io.hm-rpc.0
        tcp        0      0 192.168.178.120:42010   0.0.0.0:*               LISTEN      1000       18779      1019/io.hm-rpc.1
        tcp6       0      0 :::8082                 :::*                    LISTEN      1000       20611      1297/io.web.0
        tcp6       0      0 :::8081                 :::*                    LISTEN      1000       15712      717/io.admin.0
        tcp6       0      0 :::8087                 :::*                    LISTEN      1000       19642      1312/io.simple-api.
        tcp6       0      0 :::22                   :::*                    LISTEN      0          16523      534/sshd: /usr/sbin
        tcp6       0      0 :::111                  :::*                    LISTEN      0          13672      1/init
        udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          17744      389/dhclient
        udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          12759      1/init
        udp        0      0 0.0.0.0:20000           0.0.0.0:*                           65534      16532      547/cannelloni
        udp6       0      0 :::111                  :::*                                0          12762      1/init
        
        *** Log File - Last 25 Lines ***
        
        2024-10-03 14:16:48.599  - info: klf200.0 (1327) Setup objects for product Fenster Bad OG.
        2024-10-03 14:16:49.018  - info: klf200.0 (1327) Setup objects for product Rollo Bad OG.
        2024-10-03 14:16:49.978  - info: klf200.0 (1327) Setup objects for product Rollo Zimmer OG.
        2024-10-03 14:16:50.614  - info: klf200.0 (1327) Setting up notification handlers for removal...
        2024-10-03 14:16:50.615  - info: klf200.0 (1327) Setting up notification handlers for discovering new objects...
        2024-10-03 14:16:50.615  - info: klf200.0 (1327) Adapter is ready for use.
        2024-10-03 14:16:50.615  - info: klf200.0 (1327) Starting background state refresher...
        2024-10-03 14:16:50.616  - info: klf200.0 (1327) Automatic reboot enabled in configuration. Planning reboot job.
        2024-10-03 14:17:17.378  - info: admin.0 (717) <== Disconnect system.user.admin from ::ffff:192.168.178.20 admin
        
        

        Es bleiben noch 2 Fragen ...

        @thomas-braun sagte in Test Adapter PSA v0.0.x Peugeot Opel Citroen:

        Der user gehört dann auch in die Gruppe 'adm' rein.

        Aha ... wie ?!

        @thomas-braun sagte in Test Adapter PSA v0.0.x Peugeot Opel Citroen:

        Stell das richtig ein.

        Aha ... wie ?!

        Entschuldigung für die, wahrscheinlich dämlichen, Fragen ...
        (Ich bin in einem Alter, in dem ich sehr langsam lerne, dafür aber seeeeehr schnell vergesse ....)

        Thomas Braun 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @RaspiUser last edited by Thomas Braun

          @raspiuser

          sudo adduser NEUER_USERNAME
          sudo usermod -aG adm,dialout,sudo,audio,video,plugdev,users,iobroker NEUER_USERNAME
          sudo reboot
          

          Und dann nur noch als NEUER_USERNAME anmelden und mit dem System agieren. NICHT als root und NICHT als iobroker anmelden.

          RaspiUser 1 Reply Last reply Reply Quote 1
          • RaspiUser
            RaspiUser @Thomas Braun last edited by

            @thomas-braun
            OK ...

            ... Zigbee Thema ... sieht bei mir so aus ...
            ecf20cfa-1be1-4d49-bd1f-bebf9b9f0421-grafik.png

            1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @RaspiUser last edited by

              @raspiuser sagte in Test Adapter PSA v0.0.x Peugeot Opel Citroen:

              /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_c421aa81b69ded118718d3a5a7669f5d-if00-port0

              Und um es rund zu machen:

              Trag statt /dev/ttyUSB0 im Zigbee-Adapter besser

              /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_c421aa81b69ded118718d3a5a7669f5d-if00-port0
              

              als Port ein.

              RaspiUser 1 Reply Last reply Reply Quote 1
              • RaspiUser
                RaspiUser @Thomas Braun last edited by

                @thomas-braun sagte in Test Adapter PSA v0.0.x Peugeot Opel Citroen:

                als Port ein

                erl.

                Aber einen (typischen) Fehler habe ich noch ... sorry ...

                iobroker@VM-ioBroker:~$ iobroker@VM-ioBroker:~$ usermod -aG adm,dialout,sudo,audio,video,plugdev,users,iobroker raspiuser
                -bash: usermod: Kommando nicht gefunden.
                iobroker@VM-ioBroker:~$
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @RaspiUser last edited by

                  @raspiuser

                  Kan sein, dass usermod nicht im $PATH eines einfachen users liegt.

                  sudo usermod -aG adm,dialout,sudo,audio,video,plugdev,users,iobroker raspiuser
                  
                  RaspiUser 1 Reply Last reply Reply Quote 1
                  • RaspiUser
                    RaspiUser @Thomas Braun last edited by

                    @thomas-braun
                    ... das mit "sudo" vorn dran habe ich (eigenverantwortlich) vorher schon probiert und dann lief der Befehl durch ...
                    Das "iob diag" mit dem neuen User dann nicht funktioniert ist dann wohl richtig, oder?

                    login as: raspiuser
                    raspiuser@192.168.178.120's password:
                    Linux VM-ioBroker 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-0                 8-26) x86_64
                    
                    The programs included with the Debian GNU/Linux system are free software;
                    the exact distribution terms for each program are described in the
                    individual files in /usr/share/doc/*/copyright.
                    
                    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                    permitted by applicable law.
                    Last login: Thu Oct  3 15:01:14 2024 from 192.168.178.20
                    raspiuser@VM-ioBroker:~$ iob diag
                    [sudo] Passwort für raspiuser:
                    bash: /home/iobroker/.diag.sh: Keine Berechtigung
                    raspiuser@VM-ioBroker:~$
                    
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @RaspiUser last edited by

                      @raspiuser sagte in Test Adapter PSA v0.0.x Peugeot Opel Citroen:

                      Das "iob diag" mit dem neuen User dann nicht funktioniert ist dann wohl richtig, oder?

                      Da fehlen Rechte in das fremde /home einzusteigen.

                      ls -l /home/
                      

                      sagt?

                      RaspiUser 1 Reply Last reply Reply Quote 0
                      • RaspiUser
                        RaspiUser @Thomas Braun last edited by

                        @thomas-braun sagte in Test Adapter PSA v0.0.x Peugeot Opel Citroen:

                        ls -l /home/

                        raspiuser@VM-ioBroker:~$ ls -l /home/
                        insgesamt 8
                        drwx------ 8 iobroker  iobroker  4096  3. Okt 13:53 iobroker
                        drwx------ 2 raspiuser raspiuser 4096  3. Okt 15:01 raspiuser
                        raspiuser@VM-ioBroker:~$
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @RaspiUser last edited by

                          @raspiuser

                          sudo chmod g+rx /home/iobroker
                          
                          RaspiUser 1 Reply Last reply Reply Quote 1
                          • RaspiUser
                            RaspiUser @Thomas Braun last edited by RaspiUser

                            @thomas-braun

                            raspiuser@VM-ioBroker:~$ sudo chmod g+rx /home/iobroker
                            [sudo] Passwort für raspiuser:
                            raspiuser@VM-ioBroker:~$ ls -l /home/
                            insgesamt 8
                            drwxr-x--- 8 iobroker  iobroker  4096  3. Okt 13:53 iobroker
                            drwx------ 2 raspiuser raspiuser 4096  3. Okt 15:01 raspiuser
                            raspiuser@VM-ioBroker:~$
                            

                            ... und iob diag läuft ...

                            Aber das ist jetzt schon ganz schön weit weg vom ursprünglichen Thread ... 😉 ... vielen Dank !!!!

                            Thomas Braun 2 Replies Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @RaspiUser last edited by

                              @raspiuser

                              Sollte jetzt passen.

                              1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @RaspiUser last edited by

                                @raspiuser sagte in Test Adapter PSA v0.0.x Peugeot Opel Citroen:

                                Aber das ist jetzt schon ganz schön weit weg vom ursprünglichen Thread

                                Stimmt. Hatte nicht gesehen das der Thread eigentlich ein anderes Thema hatte. Vielleicht kann das ein Mod hier rauslösen und in einen eigenen Thread überführen.

                                RaspiUser 1 Reply Last reply Reply Quote 0
                                • RaspiUser
                                  RaspiUser @Thomas Braun last edited by

                                  @thomas-braun
                                  ... aber es hat heute angefangen mit dem löschen des PSA Adapters (#317) .... also doch irgendwie mit dem ursprüngleichen Thema ... 🙄

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post

                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  388
                                  Online

                                  31.8k
                                  Users

                                  79.9k
                                  Topics

                                  1.3m
                                  Posts

                                  citroen corsa corsa-e e208 opel peugeot psa
                                  44
                                  334
                                  45421
                                  Loading More Posts
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  Community
                                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                  The ioBroker Community 2014-2023
                                  logo