Page 1 of 2

Multiple IP cams in domoticz

Posted: 29. Oct 2017, 13:30
by bullit
Hello,

Can anyone help me?
I use domoticz with pushsafer.
When i press the front door bell i want a push message with an image of the cam on the front door.
When i press the rear door bell i want a push message with an image of the came on the rear door.
I know the cam url , and its working when i fill in the form on image 2.

But i need to fill in the form on image 1, but i don't know what to fill in the form..

Re: Multiple IP cams in domoticz

Posted: 29. Oct 2017, 13:57
by admin
Hi bullit,

yes, thats possible.
You have to setup the "custom message" field in domoticz.

An instruction you will find here: https://www.pushsafer.com/en/domoticz

There are also several examples.

If you have further questions, please feel free to ask.

Regards Kevin

Re: Multiple IP cams in domoticz

Posted: 29. Oct 2017, 14:23
by bullit
Hello Kevin,

Thanks for you're answer.
The problem is that i dont know what to fill in in the custom message.
Can you help me?
I want to show the camera snapshot within the push notification..

the code in the attachment isn't working

Re: Multiple IP cams in domoticz

Posted: 29. Oct 2017, 15:03
by bullit
i used the following custom message see attachment

When i put this in the custom message with other values for the private key etc.
Domoticz says: not possible to add notification , possible double value

Re: Multiple IP cams in domoticz

Posted: 29. Oct 2017, 15:28
by admin
Hello,

for me it works fine!
Where you get this error?

You have to press the update button, when you change some parameters in the custom message field.
domoticz_ip_camera_settings.jpg
domoticz_ip_camera_settings.jpg (47.72 KiB) Viewed 17527 times
Normally you get this error, when you try to add two notifications with the same type, for me "switch on".

Kevin

Re: Multiple IP cams in domoticz

Posted: 29. Oct 2017, 18:01
by bullit
Hello Kevin,

I get this error when i want to add the custom messages see attachment
i use domoticz verision 3.8649

Re: Multiple IP cams in domoticz

Posted: 29. Oct 2017, 18:12
by bullit
Hello Kevin,

The custom message is added, domticz reboot ...
I received the push notification but no image , the app showed the text what was filled in the custom message..

Re: Multiple IP cams in domoticz

Posted: 29. Oct 2017, 18:24
by bullit
When i put the url in the notification center under settings its works fine.
When i use the custom message under the switch tab i get no picture put only test.

the log from domitcz says wrong url...

Re: Multiple IP cams in domoticz

Posted: 29. Oct 2017, 19:20
by admin
in the custom message field i missing one pipe after open > for time2live parameter add at the end

Code: Select all

|0
Please try to send an image from the internet like this only for testing

Code: Select all

https://www.google.de/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png
Is the cameras ip reachable from domoticz?

Kevin

Re: Multiple IP cams in domoticz

Posted: 30. Oct 2017, 17:18
by bullit
Hello Kevin,

The cam is reachable when i use the tab under notifications it works fine...