Greetings! Newbie here - I'm about 2 weeks in, have everything working in a basic way, and am now in the midst of tweak mode.
My NVR does not have alarm outputs but I was pleased to discover that some of the newer cameras do have "HTTP Data Transmission" abilities. I am able to create a device with a corresponding DNI and the event logs show activity that seems to be encoded as base64 coming in on port 39501. These events only occur when there is motion.
Is there a simple way to use this to trigger a virtual device/sensor to use in RM? I've been looking at sample drivers without getting a grasp of what exactly is necessary to accomplish this. As mentioned, I was thinking any traffic from the IP/MAC might be able to trigger this rather than decode and parse the incoming message (although that would certainly be a bonus).
Fwiw, the decoded "body:" portion is XML like this:
<?xml version="1.0" encoding="UTF-8"?>
<EventNotificationAlert version="1.0" xmlns="urn:psialliance-org">
<ipAddress>192.168.1.7</ipAddress>
<protocolType>HTTP</protocolType>
<macAddress>84:9a:40:e6:ca:9d</macAddress>
<channelID>1</channelID>
<dateTime>2021-01-03T20:21:58-5:00</dateTime>
<activePostCount>346</activePostCount>
<eventType>VMD</eventType>
<eventState>active</eventState>
<eventDescription>Motion alarm</eventDescription>
<channelName>Porch Cam</channelName>
<Extensions version="1.0" xmlns="urn:psialliance-org">
<serialNumber xmlns="urn:selfextension:psiaext-ver10-xsd">DS-2CD2555FWD-IS20191104AAWRD81786723</serialNumber>
<eventPush xmlns="urn:selfextension:psiaext-ver10-xsd">VMD&&DS-2CD2555FWD-IS20191104AAWRD81786723,2021-01-03T20:21:58-5:00,1,1.0</eventPush>
</Extensions>
</EventNotificationAlert>
Thanks for any pointers.
MRB