![]() I used the Hubitat interface to query webhook.site and found that the Authentication header I'm using successfully decodes to my correct username and password. 15:51:19 192.168.1.7 GET /setSchedule?cameraNum=0&override=4&mode=C&action=saveīut the camera does not arm and Hubitat does not log any response. The SecuritySpy Web Log does log the request: The request in Hubitat logs looks like this:ĭev:297 15:58:50.582 debugGET /setSchedule?cameraNum=0&override=4&mode=C&action=save HTTP/1.1Īuthorization: Basic Y2hldDpncmFzcx3ZWVueg=Ĭontent-Type: application/x-www-form-urlencoded So I used this site: to generate an authorization header and entered that. And there is a field for an extra header. For example, on the command line I can do:Ĭurl ' that works fine to arm the camera.īut in the Hubitat interface, there are separate fields for IP address (tried prepending and it doesn't work), Port, URL path and request type. Unfortunately the Hubitat device driver does not allow me to specify my username and password in the URL. I am trying to send a request to SecuritySpy from my Hubitat home automation hub. The H.264 stream is working fine- not sure what the advantage of H.265 might be, but one always seems to want the newest and best. This hung me up for a while, until I realized I had to select a different stream. Note that stream 1 (MJPEG), the default when you first set up a camera in Security Spy, does not work, the image is garbled. These correspond to Profiles in the camera - just the H.295 one is missing, even though it is selected and marked as "Default" in the camera setup. The 4 streams available do not include the H.295 profile: ![]() Security Spy seems unaware of this selection, but you can manually choose any of 4 streams, which can be found with the "Auto-Detect Streams" button or by trying each of the 16 possible streams manually. The camera lists 5 profiles, one of which is selected. I'm a little confused about the mapping between what this camera calls "Profiles" and what Security Spy calls "Streams." Thanks again for all of your hard work! I am very pleased with SecuritySpy as a whole. It would be nice to be able to have some types of notifications sent to the macOS Notification Center, and others sent as email messages.It would be nice to be able to control or limit the frequency of notifications (either as a whole, or for each type of notification).It would be nice to be able to enable and disable individual types of notifications ("high CPU usage", "upload error", "communication error", "software hang", and so on). ![]() I know that I can bulk enable/disable all error report emails entirely, but I would like to put in a feature request to allow more granular control of these notifications: "Very high CPU usage detected - reduce camera frame rates, check recording settings, or quit other applications." Whenever I have this going on, SecuritySpy sends me a handful of Error Report notification emails each day, with the message: When this is going on, all cores on the CPU are fairly maxed out (though I do use AppPolice to limit Handbrake processes a bit to keep heat generation down and maintain responsiveness of other processes). However, sometimes I will also use this Mac to encode HD video with Handbrake for a few days at a time when I need to let long-running Handbrake sessions complete without disrupting my workflow on other machines. It has virtual machines and other things running on it pretty much full time, which isn't a problem. I have SecuritySpy running on a headless Mac mini that is often used for other tasks as well as SecuritySpy. ![]()
0 Comments
Leave a Reply. |