Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. (GELÖST) zigbee-herdsmann-converters / wie manuell updaten?

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    (GELÖST) zigbee-herdsmann-converters / wie manuell updaten?

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

      @thomas-braun

      ok kapiert, man lernt viel dazu!

      nach der github installation wohl zigbee neu konfigurieren oder?

      pi4b@pi4b:~$ cd /opt/iobroker
      pi4b@pi4b:/opt/iobroker$ npm uninstall zigbee-herdsman-converters
      
      removed 2 packages in 7s
      
      65 packages are looking for funding
        run `npm fund` for details
      pi4b@pi4b:/opt/iobroker$ npm uninstall zigbee-herdsman
      
      removed 3 packages in 6s
      
      65 packages are looking for funding
        run `npm fund` for details
      pi4b@pi4b:/opt/iobroker$
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Diamand2k22 last edited by

        @diamand2k22 sagte in (GELÖST) zigbee-herdsmann-converters / wie manuell updaten?:

        danach wohl zigbee neu konfigurieren oder?

        Nö, sollte nicht notwendig sein.

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

          @thomas-braun

          ok jetzt sieht es so aus

          pi4b@pi4b:/opt/iobroker$ npm ls --depth=3 | grep zigbee
          └─┬ iobroker.zigbee@1.7.6
            ├─┬ zigbee-herdsman-converters@14.0.575
            │ └── zigbee-herdsman@0.14.46 deduped
            └─┬ zigbee-herdsman@0.14.46
          pi4b@pi4b:/opt/iobroker$
          

          jetzt installiere ich die github version u. hoffentlich klappt es.

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

            @diamand2k22

            Dann sollte dann zigbee-herdsman-converters@14.0.666 installiert sein.
            Die zigbee-herdsman-converters@14.0.667 ist erst zwei Stunden alt, die ist noch nicht drin. Aber ich hoffe deine Thermostate sind nicht ausgerechnet erst da enthalten.

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

              @thomas-braun

              shit...jetzt haben wir es glaub ich geschafft, jetzt läuft der adapter nicht mehr :-/...

              Ah,ok das ist die me167.js seh ich grad

              2022-11-14 22:48:32.397 - error: zigbee.0 (210117) 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().
              2022-11-14 22:48:32.398 - error: zigbee.0 (210117) unhandled promise rejection: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/me167.js'
              2022-11-14 22:48:32.677 - error: zigbee.0 (210117) Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/me167.js'
              at Object.openSync (node:fs:590:3)
              at Object.readFileSync (node:fs:458:35)
              at Zigbee.getExternalDefinition (/opt/iobroker/node_modules/iobroker.zigbee/main.js:221:38)
              at getExternalDefinition.next ()
              at Zigbee.applyExternalConverters (/opt/iobroker/node_modules/iobroker.zigbee/main.js:235:20)
              at Zigbee.onReady (/opt/iobroker/node_modules/iobroker.zigbee/main.js:182:14)
              at Zigbee.emit (node:events:513:28)
              at Zigbee.emit (node:domain:489:12)
              at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:9132:26
              2022-11-14 22:48:32.680 - error: zigbee.0 (210117) Exception-Code: ENOENT: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/me167.js'
              2022-11-14 22:48:32.714 - info: zigbee.0 (210117) cleaned everything up...
              2022-11-14 22:48:32.717 - info: zigbee.0 (210117) terminating
              2022-11-14 22:48:32.722 - warn: zigbee.0 (210117) Terminated (UNCAUGHT_EXCEPTION): Without reason
              2022-11-14 22:48:33.308 - error: host.pi4b Caught by controller[0]: 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(). The promise rejected with the reason:
              2022-11-14 22:48:33.309 - error: host.pi4b Caught by controller[1]: Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/me167.js'
              2022-11-14 22:48:33.309 - error: host.pi4b Caught by controller[1]: at Object.openSync (node:fs:590:3)
              2022-11-14 22:48:33.309 - error: host.pi4b Caught by controller[1]: at Object.readFileSync (node:fs:458:35)
              2022-11-14 22:48:33.309 - error: host.pi4b Caught by controller[1]: at Zigbee.getExternalDefinition (/opt/iobroker/node_modules/iobroker.zigbee/main.js:221:38)
              2022-11-14 22:48:33.309 - error: host.pi4b Caught by controller[1]: at getExternalDefinition.next ()
              2022-11-14 22:48:33.309 - error: host.pi4b Caught by controller[1]: at Zigbee.applyExternalConverters (/opt/iobroker/node_modules/iobroker.zigbee/main.js:235:20)
              2022-11-14 22:48:33.309 - error: host.pi4b Caught by controller[1]: at Zigbee.onReady (/opt/iobroker/node_modules/iobroker.zigbee/main.js:182:14)
              2022-11-14 22:48:33.309 - error: host.pi4b Caught by controller[1]: at Zigbee.emit (node:events:513:28)
              2022-11-14 22:48:33.310 - error: host.pi4b Caught by controller[1]: at Zigbee.emit (node:domain:489:12)
              2022-11-14 22:48:33.310 - error: host.pi4b Caught by controller[1]: at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:9132:26
              2022-11-14 22:48:33.310 - error: host.pi4b instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
              2022-11-14 22:48:33.310 - info: host.pi4b Restart adapter system.adapter.zigbee.0 because enabled
              2022-11-14 22:48:33.310 - warn: host.pi4b Do not restart adapter system.adapter.zigbee.0 because restart loop detected
              
              Thomas Braun 2 Replies Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Diamand2k22 last edited by

                @diamand2k22 sagte in (GELÖST) zigbee-herdsmann-converters / wie manuell updaten?:

                jetzt haben wir es glaub ich geschafft

                Wir? Du!
                Bei mir läuft der Adapter in der github-Version.

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

                  @diamand2k22

                  cd /opt/iobroker && npm ls
                  
                  D 1 Reply Last reply Reply Quote 0
                  • D
                    Diamand2k22 @Thomas Braun last edited by Diamand2k22

                    @thomas-braun

                    es läuft wieder alles.
                    hatte noch einen external converter drin stehen, hab jetzt den Pfad entfernt, weil er mir bei der installation der github version die .js gelöscht hat.

                    0decb607-5a60-435f-8925-be5770506510-image.png

                    pi4b@pi4b:~$ cd /opt/iobroker && npm ls
                    iobroker.inst@3.0.0 /opt/iobroker
                    ├── iobroker.admin@6.2.23
                    ├── iobroker.alexa2@3.21.0
                    ├── iobroker.alias-manager@1.2.6
                    ├── iobroker.backitup@2.5.6
                    ├── iobroker.device-reminder@1.2.9 (git+ssh://git@github.com/xenon-s/ioBroker.device-reminder.git#4162ebc0a96605f103df23e277abcf1b673065dd)
                    ├── iobroker.device-watcher@2.0.2
                    ├── iobroker.discovery@3.1.0
                    ├── iobroker.dwd@2.8.3
                    ├── iobroker.ecovacs-deebot@1.4.8
                    ├── iobroker.fritzdect@2.2.6
                    ├── iobroker.fronius-solarweb@0.0.3 (git+ssh://git@github.com/TA2k/ioBroker.fronius-solarweb.git#cf94c61b368f7ffb99b6d3411d65d4e377f9ef28)
                    ├── iobroker.fronius@1.1.6 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.fronius.git#c644a95d480403a1ef277e822df6232ffc66daf5)
                    ├── iobroker.ical@1.13.2
                    ├── iobroker.icons-mfd-svg@1.1.0
                    ├── iobroker.influxdb@3.2.0
                    ├── iobroker.info@1.9.21
                    ├── iobroker.intex@0.0.7
                    ├── iobroker.javascript@6.1.3
                    ├── iobroker.js-controller@4.0.23
                    ├── iobroker.net-tools@0.2.0
                    ├── iobroker.oilfox@4.1.2
                    ├── iobroker.ping@1.5.3
                    ├── iobroker.rpi2@1.3.2
                    ├── iobroker.shelly@6.2.4
                    ├── iobroker.socketio@6.2.0
                    ├── iobroker.synology@2.1.13
                    ├── iobroker.tr-064@4.2.17
                    ├── iobroker.trashschedule@2.0.3
                    ├── iobroker.vis@1.4.15
                    ├── iobroker.web@5.2.10
                    ├── iobroker.whatsapp-cmb@0.2.3
                    ├── iobroker.ws@2.2.1
                    └── iobroker.zigbee@1.7.6 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#84c9eb7accca10de87143e20c4494413a5a16873)
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Diamand2k22 last edited by

                      @diamand2k22

                      Das ist nicht die vollständige Ausgabe.

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

                        @thomas-braun

                        habs grad gemerkt, habs oben ausgebessert!
                        aber trotzdem noch was schief

                        pi4b@pi4b:/opt/iobroker$ npm ls --depth=3 | grep zigbee
                        └─┬ iobroker.zigbee@1.7.6 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#84c9eb7accca10de87143e20c4494413a5a16873)
                          ├─┬ zigbee-herdsman-converters@14.0.666
                          │ └── zigbee-herdsman@0.14.73 deduped
                          └─┬ zigbee-herdsman@0.14.73
                        npm ERR! code ELSPROBLEMS
                        npm ERR! invalid: @types/node@14.18.33 /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/pi4b/.npm/_logs/2022-11-14T22_07_05_771Z-debug-0.log
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Diamand2k22 last edited by

                          @diamand2k22

                          Kannste überlesen. Ist harmlos, soweit ich das sehe.

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

                            @thomas-braun

                            sieht in Farbe etwas übler aus.

                            121d1aa2-0159-4c1b-a379-cc23bf056bb7-image.png

                            aber jetzt passt die version schon mal. 👍

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

                              @diamand2k22

                              Bei

                              cd /opt/iobroker && npm ls
                              

                              kommen keine Fehlermeldungen? Die tieferen Ebenen sind nicht so wichtig, da ist immer etwas Chaos...

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

                                @thomas-braun

                                bei der Ausgabe kommen keine Fehler!
                                Danke dir!

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

                                  @diamand2k22

                                  Und das Gerät ist auch drin?

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

                                    @thomas-braun

                                    215e89bf-6ad8-4f3a-af45-7820282d106e-image.png

                                    scheint nicht zu klappen 😕

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

                                      @diamand2k22

                                      Hier mal geschaut?
                                      https://forum.iobroker.net/topic/59852/hama-smartes-heizkörper-thermostat?_=1668467039158

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

                                        @thomas-braun

                                        Hallo Thomas,

                                        hab das mal reinkopiert aber dann startet der zigbee adapter nicht mehr 😕

                                        2022-11-15 21:15:17.734 - error: host.pi4b Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman-converters/devices/saswell.js:52
                                        2022-11-15 21:15:17.734 - error: host.pi4b Caught by controller[0]: .withAwayMode()],
                                        2022-11-15 21:15:17.735 - error: host.pi4b Caught by controller[0]: ^
                                        2022-11-15 21:15:17.735 - error: host.pi4b Caught by controller[0]: TypeError: exposes.climate(...).withSetpoint(...).withLocalTemperature(...).withSystemMode(...).withLocalTemperatureCalibration(...).withAwayMode is not a function
                                        2022-11-15 21:15:17.735 - error: host.pi4b Caught by controller[0]: at Object. (/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/saswell.js:52:18)
                                        2022-11-15 21:15:17.735 - error: host.pi4b Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1155:14)
                                        2022-11-15 21:15:17.735 - error: host.pi4b Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
                                        2022-11-15 21:15:17.735 - error: host.pi4b Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1033:32)
                                        2022-11-15 21:15:17.735 - error: host.pi4b Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:868:12)
                                        2022-11-15 21:15:17.735 - error: host.pi4b Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1057:19)
                                        2022-11-15 21:15:17.735 - error: host.pi4b Caught by controller[0]: at require (node:internal/modules/cjs/helpers:103:18)
                                        2022-11-15 21:15:17.736 - error: host.pi4b Caught by controller[0]: at Object. (/opt/iobroker/node_modules/zigbee-herdsman-converters/index.js:118:30)
                                        2022-11-15 21:15:17.736 - error: host.pi4b Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1155:14)
                                        2022-11-15 21:15:17.736 - error: host.pi4b Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
                                        2022-11-15 21:15:17.736 - error: host.pi4b instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Diamand2k22 last edited by

                                          @diamand2k22 sagte in (GELÖST) zigbee-herdsmann-converters / wie manuell updaten?:

                                          hab das mal reinkopiert

                                          Was wo reinkopiert?

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

                                            @thomas-braun

                                            @david-jung said in Hama Smartes Heizkörper-Thermostat:

                                            @david-jung
                                            so, ich habe folgendes gemacht:

                                            die Datei: /opt/iobroker/node_modules/zigbee-herdsman-converters/devices/saswell.js

                                            etwas erweitert, jetzt kann ich die Ist-Temperatur ablesen, so wie die Soll-Temperatur setzen/lesen.
                                            Den Modus (heizen/auto/aus) lesen, setzen.
                                            Ventil Status ablesen.
                                            Und Offset für Temperatur setzen/lesen.

                                            /opt/iobroker/node_modules/zigbee-herdsman-converters/devices/saswell.js

                                            const exposes = require('../lib/exposes');
                                            const fz = {...require('../converters/fromZigbee'), legacy: require('../lib/legacy').fromZigbee};
                                            const tz = require('../converters/toZigbee');
                                            const tuya = require('../lib/tuya');
                                            const reporting = require('../lib/reporting');
                                            const e = exposes.presets;
                                            const ea = exposes.access;
                                            
                                            module.exports = [
                                                {
                                                    fingerprint: [{modelID: 'GbxAXL2\u0000', manufacturerName: '_TYST11_KGbxAXL2'},
                                                        {modelID: 'uhszj9s\u0000', manufacturerName: '_TYST11_zuhszj9s'},
                                                        {modelID: '88teujp\u0000', manufacturerName: '_TYST11_c88teujp'},
                                                        {modelID: 'w7cahqs\u0000', manufacturerName: '_TYST11_yw7cahqs'},
                                                        {modelID: 'w7cahqs', manufacturerName: '_TYST11_yw7cahqs'},
                                                        {modelID: 'TS0601', manufacturerName: '_TZE200_c88teujp'},
                                                        {modelID: 'TS0601', manufacturerName: '_TZE200_yw7cahqs'},
                                                        {modelID: 'TS0601', manufacturerName: '_TZE200_azqp6ssj'},
                                                        {modelID: 'TS0601', manufacturerName: '_TZE200_bvu2wnxz'},
                                                        {modelID: 'TS0601', manufacturerName: '_TZE200_zuhszj9s'},
                                                        {modelID: 'TS0601', manufacturerName: '_TZE200_9gvruqf5'},
                                                        {modelID: 'TS0601', manufacturerName: '_TZE200_zr9c0day'},
                                                    ],
                                                    model: 'SEA801-Zigbee/SEA802-Zigbee',
                                                    vendor: 'Saswell',
                                                    description: 'Thermostatic radiator valve',
                                                    whiteLabel: [{vendor: 'HiHome', model: 'WZB-TRVL'}, {vendor: 'Hama', model: '00176592'},
                                                        {vendor: 'RTX', model: 'ZB-RT1'}],
                                                    fromZigbee: [fz.saswell_thermostat, fz.ignore_tuya_set_time, fz.ignore_basic_report, fz.legacy.tuya_thermostat_weekly_schedule],
                                                    toZigbee: [tz.saswell_thermostat_current_heating_setpoint, tz.saswell_thermostat_mode, tz.saswell_thermostat_away,
                                                        tz.saswell_thermostat_child_lock, tz.saswell_thermostat_window_detection, tz.saswell_thermostat_frost_detection,
                                                        tz.saswell_thermostat_calibration, tz.saswell_thermostat_anti_scaling, tz.tuya_thermostat_weekly_schedule],
                                                    onEvent: tuya.onEventSetTime,
                                                    meta: {
                                                        thermostat: {
                                                            weeklyScheduleMaxTransitions: 4,
                                                            weeklyScheduleSupportedModes: [1], // bits: 0-heat present, 1-cool present (dec: 1-heat,2-cool,3-heat+cool)
                                                            weeklyScheduleConversion: 'saswell',
                                                        },
                                                    },
                                                    configure: async (device, coordinatorEndpoint, logger) => {
                                                        const endpoint = device.getEndpoint(1);
                                                        await reporting.bind(endpoint, coordinatorEndpoint, ['genBasic']);
                                                    },
                                                    exposes: [e.battery_low(), e.window_detection(), e.child_lock(),
                                                        exposes.binary('heating', ea.STATE, 'ON', 'OFF').withDescription('Device valve is open or closed (heating or not)'),
                                                        exposes.climate()
                                                            .withSetpoint('current_heating_setpoint', 5, 30, 0.5, ea.STATE_SET).withLocalTemperature(ea.STATE)
                                                            .withSystemMode(['off', 'heat', 'auto'], ea.STATE_SET)
                                                            // Range is -6 - 6 and step 1: https://github.com/Koenkk/zigbee2mqtt/issues/11777
                                                            .withLocalTemperatureCalibration(-6, 6, 1, ea.STATE_SET)
                                                            .withAwayMode()],
                                                },
                                            	{
                                            		/*added by djung 10.11.2022*/
                                            	fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_h4cgnbzg'}],
                                                    model: 'HZ',
                                                    vendor: 'HAMA',
                                                    description: 'Thermostatic radiator valve',
                                                    whiteLabel: [{vendor: 'Hama', model: 'XXXxxxXXX'},],
                                                    fromZigbee: [fz.saswell_thermostat],
                                                    toZigbee: [tz.saswell_thermostat_current_heating_setpoint, tz.saswell_thermostat_mode, 
                                                        tz.saswell_thermostat_calibration],
                                                    onEvent: tuya.onEventSetTime,
                                                    configure: async (device, coordinatorEndpoint, logger) => {
                                                        const endpoint = device.getEndpoint(1);
                                                        await reporting.bind(endpoint, coordinatorEndpoint, ['genBasic']);
                                                    },
                                                    exposes: [
                                            			e.battery_low(),
                                            			/*e.switch(),*/
                                            			/*e.lock(),*/
                                            			exposes.binary('heating', ea.STATE, 'ON', 'OFF').withDescription('Device valve is open or closed (heating or not)'),
                                            		
                                                        exposes.climate()
                                                            .withSetpoint('current_heating_setpoint', 5, 30, 0.5, ea.STATE_SET).withLocalTemperature(ea.STATE)
                                                            .withSystemMode(['off', 'heat', 'auto'], ea.STATE_SET)
                                                            // Range is -6 - 6 and step 1: https://github.com/Koenkk/zigbee2mqtt/issues/11777
                                                            .withLocalTemperatureCalibration(-6, 6, 1, ea.STATE_SET)
                                                            ],
                                                },
                                            ];
                                            

                                            soll man das irgendwo auf github oder so noch posten? Wenn ja, bitte zeigen wo 😃
                                            Grüße.
                                            David.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            869
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            herdsman zigbee
                                            13
                                            129
                                            15032
                                            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