Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. Shelly Glühbirne Farbe ändern mit JS

    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

    Shelly Glühbirne Farbe ändern mit JS

    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      chco last edited by

      Hi,

      ich habe meine Shelly Glühbirne via ioBroker eingebunden und möchte nun mittels JS Skript die Leuchtfarbe ändern.

      shelly.png

      Wie kann ich den Wert von "rgbw" ändern?

      setState("shelly.0.SHCB-1#3494546B325A#1.lights.rgbw").val = "#00ff00"
      

      Das hätte ich probiert - der Syntax stimmt aber nicht.

      Kann mir jemand helfen?

      Danke und lg

      paul53 1 Reply Last reply Reply Quote 0
      • paul53
        paul53 @chco last edited by paul53

        @chco sagte: Syntax stimmt aber nicht.

        setState("shelly.0.SHCB-1#3494546B325A#1.lights.rgbw", "#00ff00");
        
        C 1 Reply Last reply Reply Quote 1
        • C
          chco @paul53 last edited by

          @paul53 Danke!

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

          Support us

          ioBroker
          Community Adapters
          Donate

          944
          Online

          31.9k
          Users

          80.1k
          Topics

          1.3m
          Posts

          2
          3
          138
          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