Page 1 of 1

Domoticz Custom Message

Posted: 12. Mar 2018, 12:32
by Cloudwraith
Domoticz Version: 3.8153
Platform: Raspberry Pi 2 Raspbian Stretch lite
Plugin/Hardware: Pushsafer
Description:

I am getting pushsafer notifications correctly but the custom message event isn't working correctly. My notification shows the entire custom message in the API format instead of "executing" the api format.

Based on the examples at pushsafer.com/en/domoticz , this is the custom message format I'm using:

{private key}|a|11|13|1|Domoticz|Front Door Open||||

I do get the notification but the entire {private key}|a|11|13|1|Domoticz|Front Door Open|||| string is the notification.

I just started working on my Domoticz setup so I'm probably doing something wrong. I would appreciate any thoughts, direction or places to look up information.

Re: Domoticz Custom Message

Posted: 12. Mar 2018, 15:08
by admin
Hi,

just tested the pushsafer plugin in domoticz (V3.8153) works perfectly.
Can you provide a screenshot, where you setup the custom message!
Also take a look at the log file of domoticz, to check if the pushsafer plugin shoots an error or information.

Kevin

Re: Domoticz Custom Message

Posted: 13. Mar 2018, 11:51
by Cloudwraith
I did have a URL error with 8.153 but that went away when i updated to latest beta. There are no other log messages relating to pushsafer. Here is the screen image of my setup page and my phone app.
ps1.jpg
ps1.jpg (129.21 KiB) Viewed 16229 times
ps2.png
ps2.png (56.19 KiB) Viewed 16229 times

Re: Domoticz Custom Message

Posted: 13. Mar 2018, 17:41
by admin
Do you also setup pushsafer in the settings?
Zwischenablage01.jpg
Zwischenablage01.jpg (215.51 KiB) Viewed 16227 times
after that set up the custom message like this example

https://www.pushsafer.com/en/domoticz

Re: Domoticz Custom Message

Posted: 13. Mar 2018, 18:40
by Cloudwraith
admin wrote:Do you also setup pushsafer in the settings?
Yes, as I mentioned, I do get the notifications (see the phone screenshot). I just don't get them formatted.

Re: Domoticz Custom Message

Posted: 13. Mar 2018, 18:44
by Cloudwraith
admin wrote:after that set up the custom message like this example
I believe I have the correct formatting according to that page. I even copied the example from the page and tried it with the same results. I get the notification but the custom string is the notification instead of the notification being formatted correctly.

Re: Domoticz Custom Message

Posted: 13. Mar 2018, 21:15
by Cloudwraith
I added a 0 on the end of my custom string and that appears to have fixed it. The example string shows a | on the end if not using a timeout.

Re: Domoticz Custom Message

Posted: 13. Mar 2018, 21:33
by admin
Cloudwraith wrote:I added a 0 on the end of my custom string and that appears to have fixed it. The example string shows a | on the end if not using a timeout.
Great to hear that it works now. I fixed the documentation!

With the next plugin update i will fix that issue.

Regards Kevin