Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
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

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. RFID Log
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

RFID Log

Scheduled Pinned Locked Moved Development
4 Posts 2 Posters 1.3k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • dpcrD Offline
    dpcrD Offline
    dpcr
    wrote on last edited by
    #1

    I am developing an RFID read/writer based on the one in the hardware section here that actuates our garage door. I have a functioning Ethernet gateway, several function nodes and am using Domoticz as a controller. What I would like to do is write to the Domoticz log when a card is scanned. I would like to keep a record of who comes and goes. I can't seem to find any documentation on how to do this. Any suggestions?

    I have thought about using a pi and write to the Domoticz log through json but I would rather use the MySensors network.

    martinsM 1 Reply Last reply
    0
    • dpcrD dpcr

      I am developing an RFID read/writer based on the one in the hardware section here that actuates our garage door. I have a functioning Ethernet gateway, several function nodes and am using Domoticz as a controller. What I would like to do is write to the Domoticz log when a card is scanned. I would like to keep a record of who comes and goes. I can't seem to find any documentation on how to do this. Any suggestions?

      I have thought about using a pi and write to the Domoticz log through json but I would rather use the MySensors network.

      martinsM Offline
      martinsM Offline
      martins
      wrote on last edited by
      #2

      @dpcr

      MyMessage TEXTMsg(CHILD_ID_TXT,V_TEXT);  // Send UID of RFID tag
      
        sendSketchInfo("RFID UID", "0.0.9",false);
        present(CHILD_ID_TXT, S_INFO, "RFID UID",false);
      
        #ifdef MY_DEBUG
          Serial.print("UID sent to Controller: ");
          Serial.println(uid_rfid_str);
        #endif
        send(TEXTMsg.set(uid_rfid), false);		
      

      Hope this helps. I use it this way and it works like a charm. Just remember you need to convert the uid to string in order to send it as text to Domoticz.

      Regards,
      Martin

      dpcrD 2 Replies Last reply
      0
      • martinsM martins

        @dpcr

        MyMessage TEXTMsg(CHILD_ID_TXT,V_TEXT);  // Send UID of RFID tag
        
          sendSketchInfo("RFID UID", "0.0.9",false);
          present(CHILD_ID_TXT, S_INFO, "RFID UID",false);
        
          #ifdef MY_DEBUG
            Serial.print("UID sent to Controller: ");
            Serial.println(uid_rfid_str);
          #endif
          send(TEXTMsg.set(uid_rfid), false);		
        

        Hope this helps. I use it this way and it works like a charm. Just remember you need to convert the uid to string in order to send it as text to Domoticz.

        Regards,
        Martin

        dpcrD Offline
        dpcrD Offline
        dpcr
        wrote on last edited by
        #3

        @martins Thanks so much, I'll give it a try and let you know how it works out. In my node I'm saving (FRAM) the UID along with the name of the person who hold the tag, so I'd like to send not only the UID but the persons name as well. Again thanks so much for pointing me in the right direction.

        1 Reply Last reply
        0
        • martinsM martins

          @dpcr

          MyMessage TEXTMsg(CHILD_ID_TXT,V_TEXT);  // Send UID of RFID tag
          
            sendSketchInfo("RFID UID", "0.0.9",false);
            present(CHILD_ID_TXT, S_INFO, "RFID UID",false);
          
            #ifdef MY_DEBUG
              Serial.print("UID sent to Controller: ");
              Serial.println(uid_rfid_str);
            #endif
            send(TEXTMsg.set(uid_rfid), false);		
          

          Hope this helps. I use it this way and it works like a charm. Just remember you need to convert the uid to string in order to send it as text to Domoticz.

          Regards,
          Martin

          dpcrD Offline
          dpcrD Offline
          dpcr
          wrote on last edited by
          #4

          @martins It worked out well, I had to tweak it a bit for my situation, but all is well. Thanks for pointing me in the right direction.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          14

          Online

          11.7k

          Users

          11.2k

          Topics

          113.0k

          Posts


          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular