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
emit event via http post
Re: emit event via http post
/ZWaveAPI/Run/XXXXXXXXXXX = /JS/Run/zway.XXXXXXXXXX
So use JS/Run
So use JS/Run
Re: emit event via http post
What is "emit("my.event")" at all? There's no such function in ZWaveAPI.
Re: emit event via http post
Thanks!
Well, I was hoping to be able to access the controller like this and send an event to a module. Never mind, I had just started playing around and got some things totally wrong
Well, I was hoping to be able to access the controller like this and send an event to a module. Never mind, I had just started playing around and got some things totally wrong
