Hi there, first post. I have a new AD2PI working very well overall, learning and activating new features every day. Fantastic experience so far.
I have an older Pi Model B and I was not able to take advantage of the newer Docker images, tried multiple ways with building and pulling, all failed. I did well with the "very recommended" standard Raspbian image though, and that's what I am using as I work through this. Have updated to Webapp v0.8.0-2-g0bc8cab, installed Smartthings integration (which I also have questions on but first things first), etc.
I have an issue with Custom Notifications. I am trying to do a call to a Sercomm IP camera. From a browser, I am able to trigger a video clip by directly entering the following:
http://192.168.0.XXX/adm/http_trigger.cgi (output is: "OK" and clip/snapshot is captured and handled by the camera)
I configure a custom notification using the GET call, URL: 192.168.0.XXX:80, Path: /adm/http_trigger.cgi, NOT SSL, GET, urlencoded.
When I do not check basic auth, the call fails. If I do something like use a different port, it says "connection refused" so I sense it likely needs an authentication header.
When I check "basic auth" and add user/password information, I get a debug error: "TypeError: encodestring() takes exactly 1 argument (2 given)":
Debug information:
File "/opt/alarmdecoder-webapp/ad2web/notifications/types.py", line 702, in __init__
auth_string = base64.encodestring('%s:%s', (self.auth_username, self.auth_password)).replace('\n', '')
I am a bit of a noob... could you help me to understand what to do here and if I'm doing something wrong? Thanks in advance to all.