emit event via http post
Posted: 21 Jan 2015 03:23
Hi,
I would like an external component (not zwave) to trigger some action in HA. Unfortunately the named external component is only capable of doing an http post.
Actually an http post like
http://zwave:8083/ZWaveAPI/Run/devices[ ... .Set(true)
works well, but I need more control and would like to emit an event. Unfortunately something like
http://zwave:8083/ZWaveAPI/Run/emit("my.event")
does not seem to work.
http://zwave:8083/ZWaveAPI/Run/... only seems to work for http get.
Any suggestions?
Thanks
Jürgen
I would like an external component (not zwave) to trigger some action in HA. Unfortunately the named external component is only capable of doing an http post.
Actually an http post like
http://zwave:8083/ZWaveAPI/Run/devices[ ... .Set(true)
works well, but I need more control and would like to emit an event. Unfortunately something like
http://zwave:8083/ZWaveAPI/Run/emit("my.event")
does not seem to work.
http://zwave:8083/ZWaveAPI/Run/... only seems to work for http get.
Any suggestions?
Thanks
Jürgen