Re: [mh] RoomMe
Timothy Spaulding <[email protected]>
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <MN2PR01MB57435B3C5833F5C1EC346A42CDDD0@MN2PR01MB5743.prod.exchangelabs.com> |
Hi, I wanted to try again to see if anyone knows how I can read this JSON data from the body of a HTTP call from a sub? Or any preferred method/strategy to have MH act on the JSON data? Thanks, Tim From: Timothy Spaulding <[email protected]> Sent: Friday, January 10, 2020 6:16 PM To: [email protected] Subject: [mh] RoomMe Hi All, A friend shared this relatively new device called a RoomMe (http://www.IntelliThings.net . Short story is that it is a device that can identify a person cell phone via Bluetooth in a room and can set scenes/settings based on that user's preference. They also have a way to call an external link via POST with JSON in the body of the post that looks like the following: { "userId":0, "event": { "name":"RoomExit", "lastInRoom":true }, "id":"<email address>", "sensorId":"<BT MAC Address>", "type":"Event", "userName":"Tim", "roomName":"Office Suite" } There are different events. Attached is the complete API documentation. Can anyone share ideas on the best way for MH to make use of this data? RoomMe doesn't support a lot of systems at present; and having MH do the logic based on parameters seems like a potentially good fit. Tim ________________________________________________________ To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users