Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Gelöst: vis-inventwo-radiobutton list

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Gelöst: vis-inventwo-radiobutton list

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

      Hallo ich möchte mit einem Radiobutton den Text 001 übertragen, so habe ich das auch im Wertefeld eingetragen, beim Empfänger kommt aber nur ein 1 an.
      Gruß
      Michael

      Edit: Habe es mit nem kleinen Script gelöst:

      /*****Steuerung GTHRN CAM Konvertierung der POS *****************************
      **    MAR 2024
      **    TUYA
      **    
      **    erstellt: 18.03.24
      **    geä: 
      *****************************************************************************/
      const id_ptz="0_userdata.0.Giethoorn.PTZ"
      const id_onvif ="onvif.1.192_168_188_74_8000.remote.gotoPreset"
      
      on({ id: id_ptz, change: 'any' }, function (dp) {
      var num = getState(id_ptz).val;
      var str = num.toString();
      str = "00" + str;
      console.log(str);
      setState(id_onvif,str)
      str="000"
      setStateDelayed(id_onvif, str,2*60000)
      });
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Support us

      ioBroker
      Community Adapters
      Donate
      FAQ Cloud / IOT
      HowTo: Node.js-Update
      HowTo: Backup/Restore
      Downloads
      BLOG

      466
      Online

      32.0k
      Users

      80.4k
      Topics

      1.3m
      Posts

      inventwo
      1
      1
      75
      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