Page 2 of 2
Re: Example Code: Creating Virtual devices & Remote Logging
Posted: 18 Jul 2014 19:44
by islipfd19
Thanks! I knew it was something as simple as that. I didn't see those syntax error on what I was looking at of course. The module loads and is displayed in automation as a selection. Now I have to figure out how to list all the switches I have on the system. The only item displayed is "None" at the moment.
Re: Example Code: Creating Virtual devices & Remote Logging
Posted: 02 Aug 2014 15:46
by islipfd19
@Kambis:
I was able to get the syntax correct to poll the switch for its state. I've uploaded the new module here if you are interested.
viewtopic.php?f=3424&t=20588
Re: [HowTo] Example:Creating Virtual devices & Remote Loggin
Posted: 02 Jan 2015 19:35
by jleng
Hi!
This code worked perfectly in the previous versions of Z-way-ha.
However I get a bunch of error messages in the new release.
What I'm trying to do is to trigger an URL when
a) the floodsensor is triggered or
b) when I get the current temperature from my thermostats
none of which I can find standard modules that would do for me :-/
Any help would be greatly appreciated!
Best regards
Johan
Re: [HowTo] Example:Creating Virtual devices & Remote Loggin
Posted: 04 Feb 2015 11:49
by RCC
Can you use the (built-in) SensorValueLogging module?
Maybe I don't quite understand what you want to do, but I set up two SensorValueLogging modules, one that calls a URL when new temperature data arrive and one that calls a URL when a door sensor is triggered. The URL contains the device id and sensor data.