Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Ladesteckdose abhängig von aktuellen Solarertrag einschalten

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    5
    1
    112

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    8
    1
    154

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    865

Ladesteckdose abhängig von aktuellen Solarertrag einschalten

Scheduled Pinned Locked Moved Skripten / Logik
2 Posts 2 Posters 730 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    thomassch
    wrote on last edited by
    #1

    Hallo Ihr,

    bevor ich mich daran mache ein eigenen Script zu erstellen, frage ich mal in die Runde ob jemand so was schon gemacht hat.

    Ich lade beim E-Auto über eine Schaltsteckdose. Bisher gab es hier keine Automatik, d.h. es wurde geladen unabhängig ob die Solaranlage Leistung erzeugt oder nicht.

    Jetzt würde ich gerne die Steckdose nur dann einschalten wenn die Solaranlage einen Ertrag > 3 KW hat.

    Damit das nicht immer ein- und ausschaltet, natürlich mit einer Verzögerung.

    Die ELV Steckdose habe ich an der CCU und die Leistung der Solaranlage (Sunny Webbbox) als Variable im iobroker.

    Falls jemand hierzu schon ein nettes Script hat oder mir in etwa sagen könnte wie ich das am besten anfrage wäre klasse!

    Gruss

    Thomas

    ******* iobroker auf Intel PC, Raspberry PI4 + Homematic CCU *******

    1 Reply Last reply
    0
    • P Offline
      P Offline
      pix
      wrote on last edited by
      #2

      Hallo thomassch,

      habe leider keine Zeit für das ganze Skript, aber ich würde das so angehen:

      Solarleistung überwachen und nach Hysterese eine Variable "Solarstrom_nutzen" einschalten oder verzögert ausschalten

      on(solarleistung, function (data) {

      if (data.state.val > 3kW) setState(Solarstrom_nutzen, true);

      if (data.state.val < 1kW && getState(Solarstrom_nutzen).val) setStateDelayed(Solarstrom_nutzen, false, 10 * 60 * 1000); // 10minuten

      }

      Dann Variable Solarstrom_nutzen überwachen und Schaltsteckdose oder/und andere Geräte/Anzeigen damit schalten

      on(idSolastrom_nutzen, idSchaltsteckdose);

      "Hysterese" einfach mal hier im Forum suchen. Paul53 hat dazu Spitzenbeispiele!

      Die Zeitverzögerung ist sinnvoll, kann auch noch verfeinert werden.

      Gruß

      Pix

      ioBroker auf Ubuntu in Proxmox (früher Mac mini (bis OS X 10.12.6 Sierra), VIS via iOS; angeschlossen: Homematic CCU2, Homepilot 1, ConBee II, einige Wemos, Sonos, Unifi CK+Protect, Homekit, Homebridge; KEIN blockly! Github-Profil

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      Support us

      ioBroker
      Community Adapters
      Donate

      495

      Online

      32.8k

      Users

      82.7k

      Topics

      1.3m

      Posts
      Community
      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
      ioBroker Community 2014-2025
      logo
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Home
      • Recent
      • Tags
      • Unread 0
      • Categories
      • Unreplied
      • Popular
      • GitHub
      • Docu
      • Hilfe