Please login or register.

Login with username, password and session length
Pages: 1 ... 3 4 [5]

Author Topic: Virtual Rain Sensor  (Read 65128 times)

pomonabill221

  • Hero Member
  • *****
  • Helpful Post Rating: 13
  • Posts: 239
Re: Virtual Rain Sensor
« Reply #60 on: May 04, 2012, 05:53:44 PM »

Another question....
  When VRS does it's polling, I see in event viewer:
Got result: J1=3518454=0,J2=703690=0,J3=469127=0,J5=702415=0,J6=803853=0,J7=602434=0,J8=439009=0,J9=1640669=0,J10=1125395=0

I realize the J1(2)(3).... are the zones that I have defined, and 3518454 (for J1) is 3518 seconds (what is the 454).
Is =0 the minimum on time?
Where are the on times stored?  I believe the values are stored on my local harddrive when VRS service polls my account, but how are these values entered into AHP for the zone control?
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: Virtual Rain Sensor
« Reply #61 on: May 14, 2012, 09:30:02 AM »

reskin,
Is it possible to add code to send a windows command as a option instead of a X10 command?

Sure this can be done with AHP but it would allow it to communicate directly to other programs and allow users with different protocols (other then X10) to use Virtual Rain Sensor.
This would also allow users to send commands over their network to another machine using PC Companion, iHouse or other software with commandline argument possibilities.
I understand some users are having issues running this on some windows platforms this may help with this issue.
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

kenrad

  • Hero Member
  • *****
  • Helpful Post Rating: 3
  • Posts: 198
Re: Virtual Rain Sensor
« Reply #62 on: May 14, 2012, 02:25:20 PM »

BTW... am I the only person that is trying your service???  Doesn't seem like alot of other folks are responding.

I recently got the service installed and I am working on setting it up as we speak

 >! Ken
Logged

reskin

  • Full Member
  • ***
  • Helpful Post Rating: 1
  • Posts: 28
Re: Virtual Rain Sensor
« Reply #63 on: May 14, 2012, 02:34:11 PM »

Another question....
  When VRS does it's polling, I see in event viewer:
Got result: J1=3518454=0,J2=703690=0,J3=469127=0,J5=702415=0,J6=803853=0,J7=602434=0,J8=439009=0,J9=1640669=0,J10=1125395=0

I realize the J1(2)(3).... are the zones that I have defined, and 3518454 (for J1) is 3518 seconds (what is the 454).
Is =0 the minimum on time?
Where are the on times stored?  I believe the values are stored on my local harddrive when VRS service polls my account, but how are these values entered into AHP for the zone control?

The times are in MS so the 454 is just a less than 1/2 fraction of a second.  The =0 that follows is the "delay to next zone".  All that is sent through the ActiveHomeScript DLL which is then sent to the CM15A.  Nothing is stored on your local hardware except in memory until the run is done.
Logged

reskin

  • Full Member
  • ***
  • Helpful Post Rating: 1
  • Posts: 28
Re: Virtual Rain Sensor
« Reply #64 on: May 14, 2012, 02:36:31 PM »

reskin,
Is it possible to add code to send a windows command as a option instead of a X10 command?

Sure this can be done with AHP but it would allow it to communicate directly to other programs and allow users with different protocols (other then X10) to use Virtual Rain Sensor.
This would also allow users to send commands over their network to another machine using PC Companion, iHouse or other software with commandline argument possibilities.
I understand some users are having issues running this on some windows platforms this may help with this issue.
 >!

This is a good question and we have had a couple of integration inquiries.  So basically the local service application would execute a command-line application instead of sending the X10 codes?  That doesn't sound too bad.  Can you give me more specifications?  You would just need to program the name of the EXE, and then the parameter name and value in seconds/milliseconds/decimal minutes?  I will see if I can put something together for you and down the road we will make it more configurable, etc.
Logged

pomonabill221

  • Hero Member
  • *****
  • Helpful Post Rating: 13
  • Posts: 239
Re: Virtual Rain Sensor
« Reply #65 on: May 14, 2012, 02:54:31 PM »

Another question....
  When VRS does it's polling, I see in event viewer:
Got result: J1=3518454=0,J2=703690=0,J3=469127=0,J5=702415=0,J6=803853=0,J7=602434=0,J8=439009=0,J9=1640669=0,J10=1125395=0

I realize the J1(2)(3).... are the zones that I have defined, and 3518454 (for J1) is 3518 seconds (what is the 454).
Is =0 the minimum on time?
Where are the on times stored?  I believe the values are stored on my local harddrive when VRS service polls my account, but how are these values entered into AHP for the zone control?

The times are in MS so the 454 is just a less than 1/2 fraction of a second.  The =0 that follows is the "delay to next zone".  All that is sent through the ActiveHomeScript DLL which is then sent to the CM15A.  Nothing is stored on your local hardware except in memory until the run is done.
Ok, I kinda thought the times were in ms resolution and the =0 is the delay variable, just wanted to confirm, thanks!
So essentially, your website is directly controlling the zones through AHP.  I see. thanks again!
  So IF AHP crashes, or network/DSL goes down, or windows crashes, the zone that is on would not shut off?
I know that AHP is certainly NOT 100% stable (as well as windows) and other things can happen, but a local failsafe (like a hardware timer) could be integrated with the valve control so that IF a failure were to happen and the command from the X10 module was still on, the most problem would be an over watering.
  The valve(s) would be closed by the failsafe timer rather than AHP.
  I was thinking along the lines of a modified X10 appliance module to control the valves (a dry contact relay), or if I can find a cheap 8 channel X10 relay board.
  The website seems to be working great, but AHP crashed for no apparent reason the other night, so this is what prompted me even more to consider a failsafe backup for the valve control.
« Last Edit: May 14, 2012, 03:04:20 PM by pomonabill221 »
Logged

pomonabill221

  • Hero Member
  • *****
  • Helpful Post Rating: 13
  • Posts: 239
Re: Virtual Rain Sensor
« Reply #66 on: May 14, 2012, 02:55:25 PM »

BTW... am I the only person that is trying your service???  Doesn't seem like alot of other folks are responding.

I recently got the service installed and I am working on setting it up as we speak

 >! Ken
Hi Ken!
Glad to see there are others trying this out!
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: Virtual Rain Sensor
« Reply #67 on: May 14, 2012, 03:04:19 PM »

reskin,
Is it possible to add code to send a windows command as a option instead of a X10 command?

Sure this can be done with AHP but it would allow it to communicate directly to other programs and allow users with different protocols (other then X10) to use Virtual Rain Sensor.
This would also allow users to send commands over their network to another machine using PC Companion, iHouse or other software with commandline argument possibilities.
I understand some users are having issues running this on some windows platforms this may help with this issue.
 >!

This is a good question and we have had a couple of integration inquiries.  So basically the local service application would execute a command-line application instead of sending the X10 codes?
Yep!
You could add the option to send  either a x10 or a windows command or both. Many don't use AHP but rather a thirdparty software.

 
Quote
   Can you give me more specifications?  You would just need to program the name of the EXE, and then the parameter name and value in seconds/milliseconds/decimal minutes? 
I think simply being able to send program exe and the  peramiters is all that would be needed.
I don't see the option to send values in seconds/miliseconds/decimal minites needed however those maybe nice to have down the road for some.
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

reskin

  • Full Member
  • ***
  • Helpful Post Rating: 1
  • Posts: 28
Re: Virtual Rain Sensor
« Reply #68 on: May 15, 2012, 03:29:30 PM »

I think simply being able to send program exe and the  peramiters is all that would be needed.
I don't see the option to send values in seconds/miliseconds/decimal minites needed however those maybe nice to have down the road for some.


Thanks for the suggestion.  I have added this to my development queue.  https://virtualrainsensor.fogbugz.com/default.asp?155
Logged
Pages: 1 ... 3 4 [5]
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.