message via http

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
harrykausl
Posts: 202
Joined: Sunday 13 November 2016 10:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Germany
Contact:

message via http

Post by harrykausl »

Hello,
I can send a message box to my vu+ sat-receiver via http. In browser I call http://sat-ip/web/message?text=my text?&type=1&timeout=30
This sends a message box to my sat-reciver with content my text, status information and timeout of 30 seconds.
Now I wanted to use this on the on-trigger of a dummy switch. But this doesn't work, I get an error opening url. Is it a problem of syntax or does it not work in this way. Thanks.
kniazio
Posts: 202
Joined: Thursday 06 October 2016 8:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.7243
Contact:

Re: message via http

Post by kniazio »

You have to do this by using events
Attachments
message.jpg
message.jpg (220.82 KiB) Viewed 567 times
harrykausl
Posts: 202
Joined: Sunday 13 November 2016 10:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Germany
Contact:

Re: message via http

Post by harrykausl »

I tried it as in your example, but I still get the error in the log error opening url. I also tied it with the port 89 as in your example, same error.
When I do it from my browser on my pc it works. Do I need to install anything additional on my raspberry / domoticz?
harrykausl
Posts: 202
Joined: Sunday 13 November 2016 10:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Germany
Contact:

Re: message via http

Post by harrykausl »

Thanks, it works. I had to mask the blanks in the url.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest