Navigation

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

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 29
    • Best 3
    • Groups 1

    Snigga

    @Snigga

    5
    Reputation
    9
    Profile views
    29
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Snigga Follow
    Starter

    Best posts made by Snigga

    • RE: SONOFF NSPanel mit Lovelace UI

      Reboot hat das Problem gelöst 😀

      posted in Hardware
      S
      Snigga
    • RE: [Neuer Adapter] Homepilot20

      @homecineplexx Danke funktioniert alles und deine Antwortzeiten sind extrem positiv. Bitte mach auch weiter so.

      posted in Tester
      S
      Snigga
    • RE: [Neuer Adapter] Senec Home Adapter

      Hallo ich habe mal eine Frage. Kämpfe mich gerade mit der Senec APP Api rum. Gibt es hier zum Beispiel auch eine Möglichkeit die Daten für einen bestimmten Zeitraum abzufragen zum Beispiel 3.10.2022 bis 31.12.2022.

      Hintergrund ist der. Ich möchte gerne das aktuelle Jahr mit dem letzten Jahr vergleichen, ob der Strombedarf gesunken oder gestiegen ist. Da ich mich aber unter dem Jahr befinde kann ich die Werte nicht vergleichen, da ja die Daten vom heute bis Jahresende ja fehlen. Für den Vergleich würde ich gerne die Werte vom letzten Jahr hernehmen.

      Also eine Art Prognose erstellen.

      Gibt es hier einen Vorschlag wie man das umsetzen kann.

      Danke.

      posted in Entwicklung
      S
      Snigga

    Latest posts made by Snigga

    • RE: SONOFF NSPanel mit Lovelace UI

      Reboot hat das Problem gelöst 😀

      posted in Hardware
      S
      Snigga
    • RE: SONOFF NSPanel mit Lovelace UI

      @armilar Irgendwas funktioniert nicht. Die Alias Wettervorhersage wird alle 10 Sekunden ein bzw. ausgeblendet

      posted in Hardware
      S
      Snigga
    • RE: SONOFF NSPanel mit Lovelace UI

      Hallo Zusammen ich habe mal eine Frage bezüglich den Screensaver. Ich möchte gerne folgendes darstellen. Ich möchte gerne meinen Ladestand visualisieren in dem das Batteriesymbol sich ändert aufgrund
      -Ladestand,
      -ist Auto an der Wallbox angeschlossen und
      -wird das Auto gerade geladen.

      Des Weiteren soll noch die Farbe am Batterie Level sich orientieren.

      Leider funktioniert es nicht so wie ich es will. Entweder funktioniert die Farbe nicht. Oder das Icon wird nicht gewechselt.

      Wie schaffe ich es, dass dieser Punkt auf 2 Datenpunkte reagiert. (Ladestand, Status).

      // indicatorScreensaverEntity 5 (only Advanced Screensaver)
                  
                  {
                      ScreensaverEntity: 'vw-connect.0.VSSZZZK12SP019939.charging.status.battery.currentSOC_pct',
                      ScreensaverEntityFactor: 1,
                      ScreensaverEntityDecimalPlaces: 1,
                      ScreensaverEntityIconOn: Icon_Batterie(),
                      ScreensaverEntityIconOff: Icon_Batterie(),
                      ScreensaverEntityText: 'Auto Batterie',
                      ScreensaverEntityUnitText: '%',
                      ScreensaverEntityIconColor: {'val_min': 0, 'val_max': 100} //getBatteryColor(getState('vw-connect.0.VSSZZZK12SP019939.charging.status.battery.currentSOC_pct').val)
                  }
      
      function Icon_Batterie() {
          const verbunden = getState('mqtt.0.evcc.loadpoints.1.connected').val;
          const laden = getState('vw-connect.0.VSSZZZK12SP019939.status.services.charging.active').val;
          const soc = getState('vw-connect.0.VSSZZZK12SP019939.charging.status.battery.currentSOC_pct').val;
      
          let iconPrefix = 'battery-';
          if (laden && verbunden) {
              iconPrefix = 'battery-charging-';
          } else if (verbunden) {
              iconPrefix = 'battery-charging-wireless-';
          }
      
          const iconLevel = soc === 0 ? 10 : Math.ceil(soc / 10) * 10;
          const fullIcon = iconPrefix + iconLevel;
      
          if (fullIcon === 'battery-100') return 'battery';
          if (fullIcon === 'battery-charging-wireless-100') return 'battery-charging-wireless';
          //console.warn(fullIcon)
          return fullIcon;
      }
      function getBatteryColor(percent) {
          console.warn(percent)
          const level = 10 - Math.round(percent / 10);
          console.warn(level)
           switch (level) {
              case 0: return colorScale0;
              case 1: return colorScale1;
              case 2: return colorScale2;
              case 3: return colorScale3;
              case 4: return colorScale4;
              case 5: return colorScale5;
              case 6: return colorScale6;
              case 7: return colorScale7;
              case 8: return colorScale8;
              case 9: return colorScale9;
              case 10: return colorScale10;
          }
      
      
      posted in Hardware
      S
      Snigga
    • RE: Google Home/Assistant ioBroker einrichten/nutzen

      Hallo zusammen,

      ich versuche, meine Wallbox in den ioBroker IoT-Adapter zu integrieren und dabei die folgenden Traits und Attribute korrekt abzubilden. Mein JSON sieht aktuell so aus:

      {
          "id": "XY",
          "type": "action.devices.types.CHARGER",
          "traits": [
              "action.devices.traits.EnergyStorage",
              "action.devices.traits.Modes"
          ],
          "name": {
              "name": "Wallbox",
              "defaultNames": [],
              "nicknames": []
          },
          "willReportState": true,
          "roomHint": "Firebase",
          "attributes": {
              "queryOnlyEnergyStorage": false,
              "energyStorageDistanceUnitForUX": "KILOMETERS",
              "isRechargeable": true,
              "availableModes": [
                  {
                      "name": "Lademodus",
                      "name_values": [
                          {
                              "lang": "en",
                              "name_synonym": "Lademodus"
                          }
                      ],
                      "ordered": false,
                      "settings": [
                          {
                              "setting_name": "Aus",
                              "setting_values": [
                                  {
                                      "lang": "en",
                                      "setting_synonym": "Aus"
                                  }
                              ]
                          },
                          {
                              "setting_name": "PV",
                              "setting_values": [
                                  {
                                      "lang": "en",
                                      "setting_synonym": "PV"
                                  }
                              ]
                          },
                          {
                              "setting_name": "Min+PV",
                              "setting_values": [
                                  {
                                      "lang": "en",
                                      "setting_synonym": "Min+PV"
                                  }
                              ]
                          },
                          {
                              "setting_name": "Schnell",
                              "setting_values": [
                                  {
                                      "lang": "en",
                                      "setting_synonym": "Schnell"
                                  }
                              ]
                          }
                      ]
                  }
              ],
              "commandOnlyModes": false,
              "queryOnlyModes": false
          },
          "states": {
              "online": true,
              "descriptiveCapacityRemaining": "HIGH",
              "isCharging": false,
              "isPluggedIn": false,
              "capacityRemaining": [
                  {
                      "rawValue": 90,
                      "unit": "PERCENTAGE"
                  }
              ],
              "currentModeSettings": {
                  "Lademodus": "Aus"
              }
          }
      }
      

      Ich möchte, dass ich über den IoT-Adapter die Wallbox steuern und den aktuellen Ladestatus abfragen kann. Besonders wichtig ist mir die Möglichkeit, den "Lademodus" über ioBroker zu setzen.

      Hat jemand Erfahrung damit oder kann mir einen Tipp geben, wie ich das Mapping korrekt umsetze? Gibt es vielleicht eine Vorlage für eine ähnliche Integration?

      Danke schon mal für eure Hilfe! 😊

      posted in ioBroker Allgemein
      S
      Snigga
    • RE: [Neuer Adapter] Homepilot20

      @homecineplexx Danke funktioniert alles und deine Antwortzeiten sind extrem positiv. Bitte mach auch weiter so.

      posted in Tester
      S
      Snigga
    • RE: Test Adapter Lgtv v2.3.x
      pi@iobroker:/opt/iobroker/node_modules $ npm install node-gyp
      
      

      Jetzt kann ich den Adapter wieder installieren

      posted in Tester
      S
      Snigga
    • RE: Test Adapter Lgtv v2.3.x

      @thomas-braun

      pi@iobroker:~ $ dpkg -S /usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py
      nodejs: /usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py
      pi@iobroker:~ $ apt policy node-gyp
      node-gyp:
        Installiert:           (keine)
        Installationskandidat: 9.3.0-2
        Versionstabelle:
           9.3.0-2 500
              500 http://raspbian.raspberrypi.com/raspbian bookworm/main armhf Packages
      
      
      posted in Tester
      S
      Snigga
    • RE: Test Adapter Lgtv v2.3.x

      @thomas-braun ich hab nichts installiert raspi os image geflasht und iobroker installiert, danach backupit und das wars

      posted in Tester
      S
      Snigga
    • RE: Test Adapter Lgtv v2.3.x

      @thomas-braun sagte in Test Adapter Lgtv v2.0.x:

      sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED

      erledigt jedoch problem ist weiterhin da

      $ iobroker add lgtv auto --host iobroker --debug
      
      NPM version: 9.8.1
      
      Installing iobroker.lgtv@2.1.2... (System call)
      
      npm ERR! code 1npm ERR! path /opt/iobroker/node_modules/bufferutilnpm ERR! command failednpm ERR! command sh -c node-gyp-buildnpm ERR! gyp info it worked if it ends with oknpm ERR! gyp info using node-gyp@7.1.2npm ERR! gyp info using node@18.18.2 | linux | armnpm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"npm ERR! (node:3508) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)npm ERR! gyp info spawn /usr/bin/python3npm ERR! gyp info spawn args [npm ERR! gyp info spawn args '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',npm ERR! gyp info spawn args 'binding.gyp',npm ERR! gyp info spawn args '-f',npm ERR! gyp info spawn args 'make',npm ERR! gyp info spawn args '-I',npm ERR! gyp info spawn args '/opt/iobroker/node_modules/bufferutil/build/config.gypi',npm ERR! gyp info spawn args '-I',npm ERR! gyp info spawn args '/opt/iobroker/node_modules/node-gyp/addon.gypi',npm ERR! gyp info spawn args '-I',npm ERR! gyp info spawn args '/home/iobroker/.cache/node-gyp/18.18.2/include/node/common.gypi',npm ERR! gyp info spawn args '-Dlibrary=shared_library',npm ERR! gyp info spawn args '-Dvisibility=default',npm ERR! gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.18.2',npm ERR! gyp info spawn args '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',npm ERR! gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.18.2/<(target_arch)/node.lib',npm ERR! gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/bufferutil',npm ERR! gyp info spawn args '-Dnode_engine=v8',npm ERR! gyp info spawn args '--depth=.',npm ERR! gyp info spawn args '--no-parallel',npm ERR! gyp info spawn args '--generator-output',npm ERR! gyp info spawn args 'build',npm ERR! gyp info spawn args '-Goutput_dir=.'npm ERR! gyp info spawn args ]npm ERR! Traceback (most recent call last):npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>npm ERR! sys.exit(gyp.script_main())npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_mainnpm ERR! return main(sys.argv[1:])npm ERR! ^^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in mainnpm ERR! return gyp_main(args)npm ERR! ^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_mainnpm ERR! [generator, flat_list, targets, data] = Load(npm ERR! ^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Loadnpm ERR! result = gyp.input.Load(npm ERR! ^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Loadnpm ERR! LoadTargetBuildFile(npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFilenpm ERR! build_file_data = LoadOneBuildFile(npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFilenpm ERR! build_file_contents = open(build_file_path, "rU").read()npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gypnpm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28)npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)npm ERR! gyp ERR! System Linux 6.1.0-rpi4-rpi-v8npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/bufferutilnpm ERR! gyp ERR! node -v v18.18.2npm ERR! gyp ERR! node-gyp -v v7.1.2npm ERR! gyp ERR! not oknpm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-03T17_45_47_557Z-debug-0.loghost.iobroker Cannot install iobroker.lgtv@2.1.2: 1
      
      ERROR: Process exited with code 25
      
      posted in Tester
      S
      Snigga
    • RE: Test Adapter Lgtv v2.3.x

      @thomas-braun sagte in Test Adapter Lgtv v2.0.x:

      /usr/lib/python3.11/EXTERNALLY-MANAGED

      existiert

      pi@iobroker:/usr/lib/python3.11 $ dir
      abc.py                           enum.py                  os.py             stat.py
      aifc.py                          EXTERNALLY-MANAGED       _osx_support.py   stringprep.py
      _aix_support.py                  EXTERNALLY-MANAGED.orig  pathlib.py        string.py
      antigravity.py                   filecmp.py               pdb.py            _strptime.py
      argparse.py                      fileinput.py             __phello__        struct.py
      ast.py                           fnmatch.py               pickle.py         subprocess.py
      asynchat.py                      fractions.py             pickletools.py    sunau.py
      asyncio                          ftplib.py                pipes.py          symtable.py
      asyncore.py                      functools.py             pkgutil.py        _sysconfigdata__arm-linux-gnueabihf.py
      base64.py                        __future__.py            platform.py       _sysconfigdata__linux_arm-linux-gnueabihf.py
      bdb.py                           genericpath.py           plistlib.py       sysconfig.py
      bisect.py                        getopt.py                poplib.py         tabnanny.py
      _bootsubprocess.py               getpass.py               posixpath.py      tarfile.py
      bz2.py                           gettext.py               pprint.py         telnetlib.py
      calendar.py                      glob.py                  profile.py        tempfile.py
      cgi.py                           graphlib.py              pstats.py         test
      cgitb.py                         gzip.py                  pty.py            textwrap.py
      chunk.py                         hashlib.py               _py_abc.py        this.py
      cmd.py                           heapq.py                 __pycache__       _threading_local.py
      codecs.py                        __hello__.py             pyclbr.py         threading.py
      codeop.py                        hmac.py                  py_compile.py     timeit.py
      code.py                          html                     _pydecimal.py     tkinter
      collections                      http                     pydoc_data        tokenize.py
      _collections_abc.py              imaplib.py               pydoc.py          token.py
      colorsys.py                      imghdr.py                _pyio.py          tomllib
      _compat_pickle.py                importlib                queue.py          traceback.py
      compileall.py                    imp.py                   quopri.py         tracemalloc.py
      _compression.py                  inspect.py               random.py         trace.py
      concurrent                       io.py                    re                tty.py
      config-3.11-arm-linux-gnueabihf  ipaddress.py             reprlib.py        turtle.py
      configparser.py                  json                     rlcompleter.py    types.py
      contextlib.py                    keyword.py               runpy.py          typing.py
      contextvars.py                   lib2to3                  sched.py          unittest
      copy.py                          lib-dynload              secrets.py        urllib
      copyreg.py                       LICENSE.txt              selectors.py      uuid.py
      cProfile.py                      linecache.py             shelve.py         uu.py
      crypt.py                         locale.py                shlex.py          venv
      csv.py                           logging                  shutil.py         warnings.py
      ctypes                           lzma.py                  signal.py         wave.py
      curses                           mailbox.py               _sitebuiltins.py  weakref.py
      dataclasses.py                   mailcap.py               sitecustomize.py  _weakrefset.py
      datetime.py                      _markupbase.py           site.py           webbrowser.py
      dbm                              mimetypes.py             smtpd.py          wsgiref
      decimal.py                       modulefinder.py          smtplib.py        xdrlib.py
      difflib.py                       multiprocessing          sndhdr.py         xml
      dis.py                           netrc.py                 socket.py         xmlrpc
      dist-packages                    nntplib.py               socketserver.py   zipapp.py
      distutils                        ntpath.py                sqlite3           zipfile.py
      _distutils_system_mod.py         nturl2path.py            sre_compile.py    zipimport.py
      doctest.py                       numbers.py               sre_constants.py  zoneinfo
      email                            opcode.py                sre_parse.py
      encodings                        operator.py              ssl.py
      ensurepip                        optparse.py              statistics.py
      
      
      posted in Tester
      S
      Snigga
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo