You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I scratched my head for a while when trying to figure out how to embed the payload to the http URL request, but finally figured out it after browsing the code.
For example if I wanted to catch messages such as mosquitto_pub -t home/zwave/Device20/switch/set -m 1234
and convert it to HTTP request: http://192.168.1.80:8083/ZWaveAPI/Run/devices[21].instances[0].Basic.Set(1234)
.. this could be done, but it wasn't quite obvious reading the manual :) Could you add this (or similar) example there?
Also, what I yet haven't figured out is referring to topic (or parts of topic) at the HTTP section.
For example if I had lots of similar devices, I could want to catch all the relevant messages 'home/zwave/Device/+/switch/set' : 'http:devset'
and mangle the URL like this:
thanks for writing in, happy you made it almost through.
Also, what I yet haven't figured out is referring to topic (or parts of topic) at the HTTP section.
May I humbly ask whether the proposal raised through #303 by @jpmens would actually fit your bill here? It feels similar, however I might be on a total different path here.
Hi!
I scratched my head for a while when trying to figure out how to embed the payload to the http URL request, but finally figured out it after browsing the code.
For example if I wanted to catch messages such as
mosquitto_pub -t home/zwave/Device20/switch/set -m 1234
and convert it to HTTP request:
http://192.168.1.80:8083/ZWaveAPI/Run/devices[21].instances[0].Basic.Set(1234)
With target:
.. and http config:
.. this could be done, but it wasn't quite obvious reading the manual :) Could you add this (or similar) example there?
Also, what I yet haven't figured out is referring to topic (or parts of topic) at the HTTP section.
For example if I had lots of similar devices, I could want to catch all the relevant messages
'home/zwave/Device/+/switch/set' : 'http:devset'
and mangle the URL like this:
But how?
Anyway, thanks for the great work!
The text was updated successfully, but these errors were encountered: