Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-12729

[fiware-askbot] Raspberry Pi and Figway to register device

    Details

    • Type: Monitor
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2021
    • Component/s: None

      Description

      Created question in FIWARE Q/A platform on 13-09-2017 at 14:09
      Please, ANSWER this question AT https://ask.fiware.org/question/831/raspberry-pi-and-figway-to-register-device/

      Question:
      Raspberry Pi and Figway to register device

      Description:
      Hello,

      I am a student currently working on a Fiware project. I am trying to collect noise data using my PI with Fiware and I found this tutorial: https://www.fiware.org/tag/raspberry-pi/.

      Now I am at step 2 and I want to register my device but it doesn't seem to work. This is the response I get after I run " ./registerDevice 0001 4IN1 " :

      root@raspberrypi://home/pi/Desktop/student/fiware-figway/c++# ./registerDevice 0001 4IN1

      -> Config file: Debug Level <1>.

      -> M2M Platform reply:

      **
      Can anybody help? I'm sure I am missing something I just don't know what.

      Reti Simona

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2017-09-18 10:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2017-09-18 10:05|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        pasquale.vitale Pasquale Vitale added a comment -

        Hi Simona,
        I used (in my IoT prototype) arduino and a temperature sensor, IDAS read the temperature values and sent to the cloud portal (basically Orion GE).
        Let me check how I can help you.
        Pasquale

        Show
        pasquale.vitale Pasquale Vitale added a comment - Hi Simona, I used (in my IoT prototype) arduino and a temperature sensor, IDAS read the temperature values and sent to the cloud portal (basically Orion GE). Let me check how I can help you. Pasquale
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-09-20 15:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2017-09-20 15:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        Hide
        pasquale.vitale Pasquale Vitale added a comment -

        Ciao Simona,
        I guess that you want to try the B scenario of the tutorial (https://www.fiware.org/tag/raspberry-pi/).
        So you edited the Register4IN1, RegisterDOOR and Register_SWITCH files (replaced all 'HACKSANTANDER' strings in the files) and in the Step 3.2 when you run:

        ./registerDevice 0001 4IN1
        

        you have to expect a "200 OK response" after "M2M Platform reply".
        First, can you set to "DEBUG = 4" in the config file?
        Pasquale

        Show
        pasquale.vitale Pasquale Vitale added a comment - Ciao Simona, I guess that you want to try the B scenario of the tutorial ( https://www.fiware.org/tag/raspberry-pi/ ). So you edited the Register4IN1, RegisterDOOR and Register_SWITCH files (replaced all 'HACKSANTANDER' strings in the files) and in the Step 3.2 when you run: ./registerDevice 0001 4IN1 you have to expect a "200 OK response" after "M2M Platform reply". First, can you set to "DEBUG = 4" in the config file? Pasquale
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-09-20 16:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2017-09-20 16:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

          People

          • Assignee:
            pasquale.vitale Pasquale Vitale
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: