We have improved Z-Cloud to allow HTTP requests inside scenes. These can be used to store data in other cloud services such as data logging to present graphs.Use the folowing scene script as a reference: import httplib
import encodings.ascii
try:
conn = httplib.HTTPConnection("google.com", 80, timeout=10)
conn.request("GET", "/")
res = conn.getresponse()
logging.rules.info(res.status, res.reason)
data = res.read()
logging.rules.info(data)
except Exception, inst:
logging.exception(inst, "httplib failed")
raise Of course instead of writing data to logfile you are better to use it somehow.
Making HTTP requests from Z-Cloud
Would it also be possible to
Would it also be possible to do it the other way around; i.e. for example use an http call to Z-Cloud to toggle one of the ZME switches I have? If so, how would that look like?
Since 29-12-2016 I am no longer a moderator for this forum
Hello friends,
Hello friends,
A few days ago I asked about the possibility of having access through z-cloud of "Accessing a Wired Home Network IP address". I contestabais but not with this program improvement would be possible? What would your script?
Thanks and regards
A few days ago I asked about the possibility of having access through z-cloud of "Accessing a Wired Home Network IP address". I contestabais but not with this program improvement would be possible? What would your script?
Thanks and regards
Sure, you can use HTTP Z-Way
Sure, you can use HTTP Z-Way API to do so. Check the official forum thread to see the API description.
Please be more precise. We do
Please be more precise. We do not understand your question
hello
hello
Happy New Year to all. I have a microcontroller board with 8 outputs networked through a server wev. with an IP address do I access a page made in html with which active exits via IP address. Can send commands z-cloud IP address to the local network to activate the outputs of the board? and receive data via local network ip?
Thanks and prosperous 2013
Happy New Year to all. I have a microcontroller board with 8 outputs networked through a server wev. with an IP address do I access a page made in html with which active exits via IP address. Can send commands z-cloud IP address to the local network to activate the outputs of the board? and receive data via local network ip?
Thanks and prosperous 2013
Basically, yes. If you have a
Basically, yes. If you have a public IP (fixed or with some dyndns-like service) you can use Z-Cloud to trigger HTTP requests to your public IP from Z-Wave events.
It's fantastic! With that
It's fantastic! With that command could do so by adding the IP address?
Thanks and regards
Thanks and regards
Please see our API
Please see our API description: http://en.z-wave.me/content/z-way-api