Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. nodecentral
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by nodecentral

    • Create a listening port for http sensor posts ?

      Hi,

      I’m looking to add some sensors that will report their status to Vera via http, but how can I set Vera up to listen / look out for them ? The sensors will post the following via http to an IP:Port I specify in their configuration

      Here’s an example of the json that is sent .

      {"type": "Event","userId": 0, "userName": "Joe", "roomName": "Living Room", "sensorId": "98072D0B9B72", "event": {"name": "RoomEntry", "inControl": true}}
      

      Another, this time for RoomExit…

      {"type": "Event","userId": 0, "userName": "Joe", "roomName": "Living Room", "sensorId": "98072D0B9B72", "event": {"name": "RoomExit", "inControl": true}}
      

      The powerup one is..

      {"type": "Event","userId": 0, "userName": "Joe", "roomName": "Living Room", "sensorId": "98072D0B9B72", "event": {"name": "PowerUp", "Version":"1.9"}}
      
      posted in Vera
      nodecentral
      nodecentral