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"}}
    

Log in to reply
 

Suggested Topics

  • 1
  • 6
  • 1
  • 3
  • 10

7
Online

11.2k
Users

11.1k
Topics

112.5k
Posts