Jump to content
C4 Forums | Control4

Generic Image URL Attachment for OS 3 Push Notifications


Recommended Posts


On 11/2/2019 at 3:26 PM, South Africa C4 user said:

Are you going to look at adding authentication support sometime? Paid driver version obviously 😁

It seemed to be a limitation in the driver proxy last time I looked but I'll have another look and see if anything has changed

Link to comment
Share on other sites

  • 2 weeks later...
5 hours ago, Teammac said:

I have a mix of Axis and Hikvision IP cameras. Driver works great with the Axis cameras but won't send an image with Hikvision. I can paste the snapshot URL in a browser and get an image with no auth needed. Any ideas on what I might be missing? 

Can you PM me?

Link to comment
Share on other sites

  • 1 month later...
On 5/29/2019 at 5:38 AM, Shivam Paw said:

Hiya

Just developed a quick (free) driver for those of you who want to have a play with the new OS 3 push notifications!

Add the driver. Go to properties, enter an image URL. Go to your push notifications agent. Select a push notification. For the attachments area select this driver's Image URL source and away you go!

Check the documentation for an example of how to get it working with the DS2.

ncMs4qi.png

(That notification was triggered manually, hence nobody at the gate)

 

Latest Release: 27th June 2019: https://www.dropbox.com/s/q41401kp95nc01v/generic_url_notification_driver.c4z?dl=0

 

So to make the screenshot work, We have to have authentication on the DS2 camera off? 

I haven't thought it through too hard, but does anyone have any problems with this? On it's face it sounds like it makes things alot less secure. However after thinking about it, I'm not sure I care if someone wire's into the camera that just shows my street.

Would it be possible to turn off authentication, send screenshot, turn authentication back on. It sounds "easy" but I wonder if something like this would be prone to messing things up.

Link to comment
Share on other sites

5 minutes ago, timelinex said:

So to make the screenshot work, We have to have authentication on the DS2 camera off? 

I haven't thought it through too hard, but does anyone have any problems with this? On it's face it sounds like it makes things alot less secure. However after thinking about it, I'm not sure I care if someone wire's into the camera that just shows my street.

Would it be possible to turn off authentication, send screenshot, turn authentication back on. It sounds "easy" but I wonder if something like this would be prone to messing things up.

You’re only turning the camera authentication off. So the worst that would happen is that someone can view the camera which I don’t think is a major issue. 

Link to comment
Share on other sites

1 minute ago, Shivam Paw said:

You’re only turning the camera authentication off. So the worst that would happen is that someone can view the camera which I don’t think is a major issue. 

Right, thats a good point. Is there a reason we need a command for it? I can see a setting in C4 just to turn off authentication. Does it just randomly turn it on all the time?

Link to comment
Share on other sites

6 minutes ago, timelinex said:

Right, thats a good point. Is there a reason we need a command for it? I can see a setting in C4 just to turn off authentication. Does it just randomly turn it on all the time?

The Control4 driver sends an autoconfig to the DS2 whenever it loads/updates which sets the authentication on. 

Link to comment
Share on other sites

15 minutes ago, Shivam Paw said:

The Control4 driver sends an autoconfig to the DS2 whenever it loads/updates which sets the authentication on. 

Ah ok, I understand.

So just to confirm.... We should go to the Composer programming menu, clicking on the project name on the upper left corner, then under "When Project X Loads" , we put your command. The reason I want to confirm is I'm not sure of the order of events on project loading, so I can imagine putting it into the wrong area would have the AUTH OFF run before autoconfig sends.. Which would then be useless.

Link to comment
Share on other sites

12 minutes ago, timelinex said:

Ah ok, I understand.

So just to confirm.... We should go to the Composer programming menu, clicking on the project name on the upper left corner, then under "When Project X Loads" , we put your command. The reason I want to confirm is I'm not sure of the order of events on project loading, so I can imagine putting it into the wrong area would have the AUTH OFF run before autoconfig sends.. Which would then be useless.

Yes. I also setup a timer that runs every 30 mins and runs the command just in case the DS2 reboots or something. 

Link to comment
Share on other sites

1 hour ago, Shivam Paw said:

Yes. I also setup a timer that runs every 30 mins and runs the command just in case the DS2 reboots or something. 

Great. Just added it to my project and also added so that every time a 30 min timer expires it takes away Auth. Will test out if it worked shortly.

EDIT: All works like a charm!

Thanks for this!

Link to comment
Share on other sites

  • 2 weeks later...

And released!

https://www.blackwiredesigns.com/store/control4-push-notification-images/

You can get the driver now! It supports Basic & Digest authentication. The odds are, if you have a camera on Control4 then it will work with this driver!

For any support or help PM me :)

Link to comment
Share on other sites

  • 10 months later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.