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

  • 10
  • 2
  • 1
  • 3
  • 6
  • 2
  • 4
  • 10

3
Online

10.3k
Users

10.7k
Topics

109.5k
Posts