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"}}
1 out of 1
Suggested Topics
-
OpenLoop Noob, need to know if what I want to do is possible
Vera • 14 Apr 2020, 17:30 • tamorgen 2 Jan 2021, 14:14 -
Vera Edge pi v1 ethernet gateway
Vera • 7 Dec 2019, 13:56 • urbanus 18 Dec 2019, 07:04 -
Vera and Moteino USB as Gateway
Vera • 23 Mar 2017, 17:06 • kincaidj001 30 Nov 2021, 16:00 -
Vera Plus plugin issues (and choosing the right controller in general)
Vera • 6 Jun 2021, 10:16 • Max Kurilov 6 Jun 2021, 16:55 -
Icon Location Offline
Vera • 2 Jan 2021, 03:51 • marknmel 2 Jan 2021, 03:51