Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. bash Werte an ioBroker senden? [gelöst]

    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

    bash Werte an ioBroker senden? [gelöst]

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

      Hi

      Ich bin noch relativ neu mit ioBroker und hätte mal eine Frage.

      Bei mir laufen bereits einige Steckdosen und andere Sensoren über ioBroker.

      Nun frage ich mich ob es möglich ist ganz einfache (Linux)-bash Abfragen wie z.Bsp.:

      cat /proc/sys/fs/nr_open
      

      oder

      sensors | grep -e "fan1:" | awk '{print $2}'
      

      oder

      cat /sys/class/net/br0/statistics/rx_packets
      

      von einem anderen Rechner über das Netzwerk direkt an ioBroker zu senden.
      Ist das möglich?

      liv-in-sky 1 Reply Last reply Reply Quote 0
      • liv-in-sky
        liv-in-sky @Paul G. last edited by

        @paul-g

        zb:

        curl "http://192.168.178.59:8087/set/javascript.0.GETPROCESS.CPUIdleALL?value=$var"
        

        dazu benötigst du simpleapi adapter

        oder du nimmst gleich den linux-controll adapter - damit geht es direkt von iobroker aus

        Paul G. 1 Reply Last reply Reply Quote 1
        • Paul G.
          Paul G. @liv-in-sky last edited by

          @liv-in-sky Super, vielen Dank.

          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

          978
          Online

          31.9k
          Users

          80.2k
          Topics

          1.3m
          Posts

          bash senden
          2
          3
          69
          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