[HowTo] Example:Creating Virtual devices & Remote Logging
Re: Example Code: Creating Virtual devices & Remote Logging
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
@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
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
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
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
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.
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.