Navigation

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

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 2
    • Best 0
    • Groups 0

    redoced

    @redoced

    0
    Reputation
    5
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    redoced Follow

    Latest posts made by redoced

    • RE: [gelöst] Falsche Uhrzeit in Thermostaten durch Funkmodul

      Oh man, endlich!!!

      Danke, funktioniert wunderbar!

      posted in Hardware
      R
      redoced
    • RE: [gelöst] Listener/Events/ext. Subscriptions stoppen, wie?

      Der stopPoll Aufruf bekommt eigentlich ein callback, was im original code allerdings nicht genutzt wird.

      Ändere deinen Code auf folgendes:

      
      onStop(function skriptStop () {
          try{
              co2Monitor.co2Endpoint.stopPoll(function(){
                  log("Polling gestoppt");
                  co2Monitor.co2Interface.release(true, (error) => {
      				if(error) {
      					co2Monitor.emit('error', error);
      				}
      				else {
      				    log("Interface released");
      					co2Monitor.co2Device.close();
      					log("Device geschlossen");
      					cb(true);
      				}
      			});
              });
          } catch (e) {
              log(e);
              // hat nicht geklappt
          }
          log("---------------------- **** Skript wurde gestoppt **** ----------------------");
      }, 100 /*ms*/);
      
      
      posted in Skripten / Logik
      R
      redoced
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo