Page 1 of 1

Custom HTTP/Action

Posted: Thursday 30 June 2016 16:29
by micha_pr
Hi,

have I any chance to use current values in notification?

result URL is

Code: Select all

https://www.somegateway.com/pushurl.php?username=#FIELD1&password=#FIELD2&apikey=#FIELD3&from=#FIELD4&to=#TO&message=#MESSAGE
Is it possible to modify the fields / message with current temperature, humidity value etc. ?
As sample for multisensor notification could send all values.
Or this FIELDS are static values only?

And - is it possible to add to the message (in the elements "notification") a value - so that the predefined message could be overwritten with personal message?

Thanks!

Re: Custom HTTP/Action

Posted: Thursday 30 June 2016 16:57
by Egregius
I would do that in a script outside of Domoticz. Then you're absolutely free to do what en how you want it.

Re: Custom HTTP/Action

Posted: Thursday 30 June 2016 17:06
by micha_pr
Yes,... this I do since a long time.

I'm thinking about better user experience to use the ready features - for "not scripters" ;)
Existing features are great - maybe expand it (if needed).
Still not sure - maybe any values can be used...