API Button #504
-
Hello all, Thanks in advance, Craig |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
openHASP isn't really conceived with direct control in mind. It behaves as an endpoint, like a shelly, and not like a controller... That being said, the only way to make a HTTP request is to set the Another workaround is to customize the firmware directly to your needs by compiling your own. |
Beta Was this translation helpful? Give feedback.
-
Cool workaround :) |
Beta Was this translation helpful? Give feedback.
openHASP isn't really conceived with direct control in mind. It behaves as an endpoint, like a shelly, and not like a controller...
That being said, the only way to make a HTTP request is to set the
src
of animage
object as it should try to download the image from the webserver. You could in theory make an invisibleimg
object and set thesrc
attribute onup
event (ordown
) in firmware version 0.7.0-rc4/5.Another workaround is to customize the firmware directly to your needs by compiling your own.