Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. English
  3. ioBroker general
  4. get zigbee data automatically

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.3k

get zigbee data automatically

Geplant Angeheftet Gesperrt Verschoben ioBroker general
simple api adapterzigbee cc2531 cc2530rpi raspi 4xiaomi zigbee
11 Beiträge 4 Kommentatoren 1.1k Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • erfan shaiganiE erfan shaigani

    hi everyone , I have a zigbee xiaomi tempreture sensor , I can manually get data by IOBROKER SIMPLE API by "get": "http://ipaddress:8087/get/stateID/?prettyPrint",
    in a json formatted file , but as I said it is manually !!
    I want to receive data automatically whenever the tempreture changes
    i have a rpi4 , and sqlite database on it

    thanks in advance

    Jey CeeJ Online
    Jey CeeJ Online
    Jey Cee
    Developer
    schrieb am zuletzt editiert von
    #2

    @erfan-shaigani more details please. What zigbee gateway do you use?

    Persönlicher Support
    Spenden -> paypal.me/J3YC33

    erfan shaiganiE 1 Antwort Letzte Antwort
    0
    • Jey CeeJ Jey Cee

      @erfan-shaigani more details please. What zigbee gateway do you use?

      erfan shaiganiE Offline
      erfan shaiganiE Offline
      erfan shaigani
      schrieb am zuletzt editiert von
      #3

      @Jey-Cee i use a raspberry pi as my gateway

      paul53P 1 Antwort Letzte Antwort
      0
      • mickymM Offline
        mickymM Offline
        mickym
        Most Active
        schrieb am zuletzt editiert von
        #4

        I don't see the problem.
        When the value changes, you will get a trigger in your favorite logic machine and do what you want. ;) - So you can create json strings, files or do start any other action.

        I use Node-Red as logic machine - but you can use Javascript / Blockly as well.

        Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

        erfan shaiganiE 1 Antwort Letzte Antwort
        0
        • erfan shaiganiE erfan shaigani

          @Jey-Cee i use a raspberry pi as my gateway

          paul53P Offline
          paul53P Offline
          paul53
          schrieb am zuletzt editiert von
          #5

          @erfan-shaigani sagte:

          i use a raspberry pi as my gateway

          Which Zigbee modem ?

          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

          1 Antwort Letzte Antwort
          0
          • mickymM mickym

            I don't see the problem.
            When the value changes, you will get a trigger in your favorite logic machine and do what you want. ;) - So you can create json strings, files or do start any other action.

            I use Node-Red as logic machine - but you can use Javascript / Blockly as well.

            erfan shaiganiE Offline
            erfan shaiganiE Offline
            erfan shaigani
            schrieb am zuletzt editiert von
            #6

            @mickym
            thnaks a lot , can you explain more ? I am not familliar enough with logic machine.

            or if u are ok , i can give u my email or whatsapp id

            mickymM 1 Antwort Letzte Antwort
            0
            • erfan shaiganiE erfan shaigani

              @mickym
              thnaks a lot , can you explain more ? I am not familliar enough with logic machine.

              or if u are ok , i can give u my email or whatsapp id

              mickymM Offline
              mickymM Offline
              mickym
              Most Active
              schrieb am zuletzt editiert von
              #7

              @erfan-shaigani
              A logic machine - is for example your JavaScript Adapter and you can use Blockly.

              I am not so familiar with Blockly. I prefer the Node-RED adapter.

              You have an iobroker node - where you can select den data - point where the your zigbee Adapter stores the temperature of your sensor.

              I have also the xiaomi sensor as well - and if you look to the screen shot. If the value changes - a message will be automatically created and you can do with this value - what you want. I just display it on the node-RED dashboard, but you can format a json-string as well and send it whereever you want.

              screen1.png

              Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

              erfan shaiganiE 1 Antwort Letzte Antwort
              0
              • mickymM mickym

                @erfan-shaigani
                A logic machine - is for example your JavaScript Adapter and you can use Blockly.

                I am not so familiar with Blockly. I prefer the Node-RED adapter.

                You have an iobroker node - where you can select den data - point where the your zigbee Adapter stores the temperature of your sensor.

                I have also the xiaomi sensor as well - and if you look to the screen shot. If the value changes - a message will be automatically created and you can do with this value - what you want. I just display it on the node-RED dashboard, but you can format a json-string as well and send it whereever you want.

                screen1.png

                erfan shaiganiE Offline
                erfan shaiganiE Offline
                erfan shaigani
                schrieb am zuletzt editiert von
                #8

                @mickym thanks a lot !!! "You have an iobroker node" you said ,
                how can I find this node ? I mean how did you connect iobroker to this node in youe node red ?
                in your picture I can see Node "93a14......"
                where does it come form

                again thanks a lot for your help

                1 Antwort Letzte Antwort
                0
                • mickymM Offline
                  mickymM Offline
                  mickym
                  Most Active
                  schrieb am zuletzt editiert von
                  #9

                  Have you installed the node-red Adapter in iobroker?

                  Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                  erfan shaiganiE 1 Antwort Letzte Antwort
                  0
                  • mickymM mickym

                    Have you installed the node-red Adapter in iobroker?

                    erfan shaiganiE Offline
                    erfan shaiganiE Offline
                    erfan shaigani
                    schrieb am zuletzt editiert von
                    #10

                    @mickym hello again , yes I installed it ,
                    now what should I do ?
                    my final goal is to send the data to an external server whenever the data changes
                    or at least I want to be notified about the changes in the data to send a query and save the data on my rpi

                    mickymM 1 Antwort Letzte Antwort
                    0
                    • erfan shaiganiE erfan shaigani

                      @mickym hello again , yes I installed it ,
                      now what should I do ?
                      my final goal is to send the data to an external server whenever the data changes
                      or at least I want to be notified about the changes in the data to send a query and save the data on my rpi

                      mickymM Offline
                      mickymM Offline
                      mickym
                      Most Active
                      schrieb am zuletzt editiert von
                      #11

                      @erfan-shaigani
                      I can not write a Node-Red tutorial here - but there are a lot of videos.

                      I can recommend this site - to get familiar with Node-RED this page: http://www.steves-internet-guide.com/node-red-overview/

                      and his starter video: https://www.youtube.com/watch?v=y05vQUIMIxs&feature=youtu.be

                      instead of the mqtt-in node - you can use the "iobroker in" node.

                      So if you have open your node red - drag an "iobroker in" node into the flow area. Configure this node by opening this node - and select your datapoint of your temperature sensor - as you can see in my screen-shot.

                      Then wire for the first time a debug node to the "iobroker in" node and have the debug window open in node-red.
                      Everytime your temperature will change generates a new message, which you can see in the debug window.

                      With this message - containing the temperature you can do what you want. Create your json string, you can use to put it in an other data object, write to a file, a database, put in an http-request and even use the simple api.

                      io.png

                      Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                      1 Antwort Letzte Antwort
                      0
                      Antworten
                      • In einem neuen Thema antworten
                      Anmelden zum Antworten
                      • Älteste zuerst
                      • Neuste zuerst
                      • Meiste Stimmen


                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      439

                      Online

                      32.4k

                      Benutzer

                      81.4k

                      Themen

                      1.3m

                      Beiträge
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                      ioBroker Community 2014-2025
                      logo
                      • Anmelden

                      • Du hast noch kein Konto? Registrieren

                      • Anmelden oder registrieren, um zu suchen
                      • Erster Beitrag
                        Letzter Beitrag
                      0
                      • Home
                      • Aktuell
                      • Tags
                      • Ungelesen 0
                      • Kategorien
                      • Unreplied
                      • Beliebt
                      • GitHub
                      • Docu
                      • Hilfe