www.homeseer.com    
 

Go Back   HomeSeer Message Board > 3rd Party Plug-Ins/Scripts > Plug-ins by Author > Click Here for List of Author Forums > MCS Plug-Ins and Scripts > mcsSprinklers

Reply
 
Thread Tools Display Modes
  #161  
Old August 9th, 2014, 07:07 AM
michelrochette michelrochette is offline
Seer Deluxe
 
Join Date: Aug 2003
Location: Quebec City, Quebec, Canada
Posts: 296
Faillure

Hi Micheal
I have several messages for some time ".. Faillure valve ...". For example, this morning, despite controls to stop watering at 06:00, a "zone" continued to operate. I had to perform a "reset hardware" of "Rain8" module.

This is recurrent. I tried to understand without any results.

Do you have a recommendation for me?

I use the "/ 2.13.0.29 General Status V2.13.0.3 (Professional) Copyright 2004-2013 mcsSolutions" version. Is it that I should go to the .14 release. If so, what is the simplest procedure.

Thank you!

Michel
__________________
HomeSeer Standard Edition 2.5.0.80 (7/24h home automation server),
Rain8net, X10 CM11A, X10 module, Insteon module, W800USB, X10 DS10A. MS16A (ActiveEye Motion Sensor)
Plug-in : McsSprinklers-professionnal 2.13.0.26, AC-RF2, Insteon 1.4.2.0
Hardware : Win XP SP3, Synology NAS 410J (4TB, RAID5), UPS (APC)
**** Using HomeSeer since release 1.4
**** Using X10 since 1990
Reply With Quote
  #162  
Old August 10th, 2014, 12:45 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,638
Over the years various reliability issues have surfaced with the Rain8Net. mcsSprinklers has considerable logic to try to manage the situation, but ultimately it may require a power cycle of the Rain8Net.

The standard Rain8Net uses a TTL logic level rather than a RS-232 level so if the distances are large or the shielding is not adequate then issues could arise with the communications over the serial port. Every setup is physically different so different users have different experiences.

mcsSprinklers does manage the acknowledge and the status to provide true two-way communication integrity. More basic software interfaces will use one-way communication to set a valve, but not confirm the valve has achieved the commanded position. The demo software from WGL, for example, uses this technique.

The user parameters that that are provided is to control the time between when a command is sent out and when an acknowledge is expected. This had started at 500 milliseconds and now the default is a few seconds. The user can also select a status request after each command or periodic. The Rain8Net issues tend to increase with an increase in the communication rate so after command rather than periodic is recommended. The safety features of hourly/daily are not recommended to be used with the Rain8Net because the failure modes introduced by extra communication overcomes any benefit.

For the stuck ON case the primary safety mechanism that should be employed are the timers in the Rain8Net Eprom. Set them to a time a little longer than what you have as the run time in mcsSprinklers.

You can look at the change log between your version and V2.14 to see if changes were made in valve control logic. It is likely nothing significant.
Reply With Quote
  #163  
Old August 10th, 2014, 06:32 PM
michelrochette michelrochette is offline
Seer Deluxe
 
Join Date: Aug 2003
Location: Quebec City, Quebec, Canada
Posts: 296
thank you !,

As I understand it, the link of 500 milliseconds, I should put a value of 1000 or 1500 milliseconds.

If I try to replace my Rain8 module you suggest me which one?
Reply With Quote
  #164  
Old August 10th, 2014, 07:23 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,638
You should look at the serial io page to get an understanding of what is happening in your case. If you see traffic that appears to occur because there is insufficient time between each transaction then increase it. mcsSprinklers tried 4 times before finally declaring a zone failed so be aware that retry is natural, but only after sufficient time has been given to send a command and wait for a response.

I had worked pretty closely with Warren during the development period when UPB was introduced and when the counter/switch inputs were incorporated. As he moved onto his PRO versions our interactions diminished. If you are having communication-related problems then I suggest EtherRain as it uses wired ethernet which avoids many of the problems and also gets away from serial port drivers that are another source of communication difficulty. Note that if you schedule more than one zone to run at a time then the EtherRain will not satisfy your need as it can only support one valve per module at time. Only mcsSprinklers PRO supports EtherRain. Jim from Quicksmart has also provided some scripts for basic scheduling, but these are independent of mcsSprinklers.
Reply With Quote
  #165  
Old August 17th, 2014, 06:07 AM
michelrochette michelrochette is offline
Seer Deluxe
 
Join Date: Aug 2003
Location: Quebec City, Quebec, Canada
Posts: 296
Hi Michael,

I am setting Maximum time to wait for Rain8 Net response at 1500 milliseconds.

When analyzing the data, I would be inclined to increase from 1500 to 2500 What is your recommendation?

For today, my log display is :

8/17/2014 12:00:00 A | 33318537 | New Day
8/17/2014 12:00:00 A | 33319193 | NET(0) OUT | 40, 01, 41
8/17/2014 12:00:00 A | 33319224 | NET IN | 40, 01, 41 Valve Command Acknowledge
8/17/2014 12:00:01 A | 33320409 | NET(0) OUT | 40, 01, 42
8/17/2014 12:00:03 A | 33321923 | Net Send Timeout
8/17/2014 12:00:03 A | 33321923 | NET(0) OUT | 40, 01, 42
8/17/2014 12:00:04 A | 33323436 | Net Send Timeout
8/17/2014 12:00:04 A | 33323436 | NET(0) OUT | 40, 01, 42
8/17/2014 12:00:04 A | 33323451 | NET IN | 40, 01, 42 Valve Command Acknowledge
8/17/2014 12:00:05 A | 33324247 | NET(0) OUT | 40, 01, 43
8/17/2014 12:00:07 A | 33325760 | Net Send Timeout
8/17/2014 12:00:07 A | 33325760 | NET(0) OUT | 40, 01, 43
8/17/2014 12:00:07 A | 33325760 | NET IN | 40, 01, 43 Valve Command Acknowledge
8/17/2014 12:00:08 A | 33326571 | NET(0) OUT | 40, 01, 47
8/17/2014 12:00:09 A | 33328085 | Net Send Timeout
8/17/2014 12:00:09 A | 33328085 | NET(0) OUT | 40, 01, 47
8/17/2014 12:00:09 A | 33328085 | NET IN | 40, 01, 47 Valve Command Acknowledge
8/17/2014 12:00:10 A | 33328896 | NET(0) OUT | 40, 01, 45
8/17/2014 12:00:11 A | 33330409 | Net Send Timeout
8/17/2014 12:00:11 A | 33330409 | NET(0) OUT | 40, 01, 45
8/17/2014 12:00:13 A | 33331922 | Net Send Timeout
8/17/2014 12:00:13 A | 33331922 | NET(0) OUT | 40, 01, 45
8/17/2014 12:00:13 A | 33331938 | NET IN | 40, 01, 45 Valve Command Acknowledge
8/17/2014 12:00:14 A | 33332749 | NET(0) OUT | 40, 01, 44
8/17/2014 12:00:15 A | 33334262 | Net Send Timeout
8/17/2014 12:00:15 A | 33334262 | NET(0) OUT | 40, 01, 44
8/17/2014 12:00:15 A | 33334262 | NET IN | 40, 01, 44 Valve Command Acknowledge
8/17/2014 12:00:16 A | 33335073 | NET(0) OUT | 40, 01, 46
8/17/2014 12:00:18 A | 33336587 | Net Send Timeout
8/17/2014 12:00:18 A | 33336587 | NET(0) OUT | 40, 01, 46
8/17/2014 12:00:19 A | 33338100 | Net Send Timeout
8/17/2014 12:00:19 A | 33338100 | NET(0) OUT | 40, 01, 46
8/17/2014 12:00:21 A | 33339613 | Net Send Timeout
8/17/2014 12:00:21 A | 33339613 | NET(0) OUT | 40, 01, 46
8/17/2014 12:00:22 A | 33341126 | Net Send Timeout
8/17/2014 12:00:23 A | 33341657 | NET(0) OUT | 40, 01, 48
8/17/2014 12:00:24 A | 33343170 | Net Send Timeout
8/17/2014 12:00:24 A | 33343170 | NET(0) OUT | 40, 01, 48
8/17/2014 12:00:26 A | 33344683 | Net Send Timeout
8/17/2014 12:00:26 A | 33344683 | NET(0) OUT | 40, 01, 48
8/17/2014 12:00:27 A | 33346196 | Net Send Timeout
8/17/2014 12:00:27 A | 33346196 | NET(0) OUT | 40, 01, 48
8/17/2014 12:00:29 A | 33347710 | Net Send Timeout
8/17/2014 12:00:29 A | 33348162 | NET(0) OUT | 40, 01, F0
8/17/2014 12:00:31 A | 33349675 | Net Send Timeout
8/17/2014 12:00:31 A | 33349675 | NET(0) OUT | 40, 01, F0
8/17/2014 12:00:31 A | 33349675 | NET IN | 40, 01, 00 Status Response
Reply With Quote
  #166  
Old August 17th, 2014, 12:58 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,638
2000 to 3000 would look to be a good value based upon what is being observed. The long string of no acknowledge looks more like the signal seen by the Rain8Net is of poor quality and many times it does not see the data from the PC as a valid 3 byte sequence. If you have some options to change the electrical connection then that would be a good step. A different serial adapter, improve routing/shielding of wire, use serial/ip to reduce the wire length are some ideas. The percentage of no response shows you do not have a reliable setup at this time.
Reply With Quote
  #167  
Old August 20th, 2014, 08:28 AM
michelrochette michelrochette is offline
Seer Deluxe
 
Join Date: Aug 2003
Location: Quebec City, Quebec, Canada
Posts: 296
Hi Micheal,
I am setting at 3000.The log display :

8/20/2014 12:00:00 A | 06247564 | New Day
8/20/2014 12:00:00 A | 06248063 | NET(0) OUT | 40, 01, 41
8/20/2014 12:00:00 A | 06248095 | NET IN | 40, 01, 41 Valve Command Acknowledge
8/20/2014 12:00:02 A | 06249998 | NET(0) OUT | 40, 01, 42
8/20/2014 12:00:02 A | 06250013 | NET IN | 40, 01, 42 Valve Command Acknowledge
8/20/2014 12:00:04 A | 06251605 | NET(0) OUT | 40, 01, 43
8/20/2014 12:00:04 A | 06251620 | NET IN | 40, 01, 43 Valve Command Acknowledge
8/20/2014 12:00:05 A | 06253227 | NET(0) OUT | 40, 01, 47
8/20/2014 12:00:05 A | 06253227 | NET IN | 40, 01, 47 Valve Command Acknowledge
8/20/2014 12:00:07 A | 06254834 | NET(0) OUT | 40, 01, 45
8/20/2014 12:00:07 A | 06254834 | NET IN | 40, 01, 45 Valve Command Acknowledge
8/20/2014 12:00:08 A | 06256347 | NET(0) OUT | 40, 01, 44
8/20/2014 12:00:08 A | 06256347 | NET IN | 40, 01, 44 Valve Command Acknowledge
8/20/2014 12:00:10 A | 06257954 | NET(0) OUT | 40, 01, 46
8/20/2014 12:00:10 A | 06257954 | NET IN | 40, 01, 46 Valve Command Acknowledge
8/20/2014 12:00:12 A | 06259561 | NET(0) OUT | 40, 01, 48
8/20/2014 12:00:12 A | 06259576 | NET IN | 40, 01, 48 Valve Command Acknowledge
8/20/2014 12:00:13 A | 06261167 | NET(0) OUT | 40, 01, F0
8/20/2014 12:00:13 A | 06261183 | NET IN | 40, 01, 00 Status Response


It's ok?
Thanks
Michel
Reply With Quote
  #168  
Old August 20th, 2014, 10:00 AM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,638
Yes this is what you want to see
Reply With Quote
  #169  
Old August 20th, 2014, 10:03 AM
michelrochette michelrochette is offline
Seer Deluxe
 
Join Date: Aug 2003
Location: Quebec City, Quebec, Canada
Posts: 296
Thanks! Micheal,
Reply With Quote
  #170  
Old August 20th, 2014, 04:38 PM
michelrochette michelrochette is offline
Seer Deluxe
 
Join Date: Aug 2003
Location: Quebec City, Quebec, Canada
Posts: 296
Hello Micheal,

I have another question.

Occasionally I get this message "Internet Weather update have Resumed".

Here is the log that I found in my email. Is what this means at 4:07 pm as well as 1:08 pm, MCSsprinklers had no access to the Internet to get méthorologiques data? If this is the case, I understand that this is a problem with my Internet provider.

Thank you!

Michel


2014-08-17 14:43:41 | Startup 200
2014-08-17 14:43:41 | Startup 240
2014-08-17 14:43:41 | Startup 260
2014-08-17 14:43:41 | Startup 280
2014-08-17 14:43:41 | Startup 285 192.168.0.111
2014-08-17 14:43:41 | Startup 290
2014-08-17 14:43:41 | Startup 300
2014-08-17 14:43:41 | Startup 310
2014-08-17 14:43:41 | Startup 320
2014-08-17 14:43:42 | Startup 302
2014-08-17 14:43:42 | Startup 303
2014-08-17 14:43:42 | Startup 304
2014-08-17 14:43:42 | Startup 305
2014-08-17 14:43:42 | Startup 306
2014-08-17 14:43:42 | Startup 340
2014-08-17 14:43:42 | Startup 350
2014-08-17 14:43:42 | Startup 351
2014-08-17 14:43:42 | Startup 352
2014-08-17 14:43:42 | Startup 353
2014-08-17 14:43:42 | Startup 360
2014-08-17 14:43:42 | Startup 370
2014-08-17 14:43:42 | Startup 380 Debug=False
2014-08-17 14:43:42 | Startup 390
2014-08-17 14:43:43 | InitHW 460
2014-08-17 14:43:47 | InitHW 470
2014-08-17 14:43:47 | InitHW 590
2014-08-17 14:43:47 | InitHW 600
2014-08-17 14:43:47 | Startup 601
2014-08-17 14:43:47 | Startup 602
2014-08-17 14:43:47 | Startup 603
2014-08-17 14:43:47 | Startup 604
2014-08-17 14:43:47 | Startup 605
2014-08-17 14:43:47 | Startup 606
2014-08-17 14:43:47 | InitHW 610
2014-08-17 14:43:48 | InitHW 640
2014-08-17 14:43:48 | InitHW 840
2014-08-17 14:43:48 | InitHW 850
2014-08-17 14:43:48 | InitHW 860
2014-08-17 14:43:48 | InitHW 870
2014-08-17 14:43:48 | InitHW 880
2014-08-17 14:43:48 | InitHW 920
2014-08-17 14:43:48 | InitHW 930
2014-08-17 14:43:48 | InitHW 940
2014-08-17 14:43:48 | InitHW 950
2014-08-17 14:43:48 | InitHW 960
2014-08-17 14:43:48 | InitHW 970
2014-08-17 14:43:48 | InitHW 980
2014-08-17 14:43:48 | InitHW 990
2014-08-17 14:43:48 | InitHW 1000
2014-08-17 14:43:48 | InitHW 1010
2014-08-17 14:43:48 | InitHW 1020
2014-08-17 14:43:48 | InitHW 1030
2014-08-17 14:43:49 | InitHW 1031
2014-08-17 14:43:52 | InitHW 1032
2014-08-17 14:43:52 | InitHW 1033
2014-08-17 14:43:52 | InitHW 1034
2014-08-17 14:43:52 | InitHW 1035
8/18/2014 2:18:13 PM | Startup 601
8/18/2014 2:18:13 PM | Startup 602
8/18/2014 2:18:13 PM | Startup 603
8/18/2014 2:18:13 PM | Startup 604
8/18/2014 2:18:13 PM | Startup 605
8/18/2014 2:18:13 PM | Startup 606
8/19/2014 4:07:00 PM | Internet Weather has not been received for 30 minutes
8/19/2014 4:08:00 PM | Internet Weather updates have resumed
8/20/2014 1:08:00 PM | Internet Weather has not been received for 30 minutes
8/20/2014 1:09:00 PM | Internet Weather updates have resumed
Reply With Quote
  #171  
Old February 6th, 2015, 12:21 PM
ClemsonJeeper ClemsonJeeper is offline
Seer Plus
 
Join Date: Jul 2012
Location: DC
Posts: 80
Is there any chance for Linux support with this plugin?
Reply With Quote
  #172  
Old February 6th, 2015, 01:30 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,638
mcsSprinklers runs under Linux with the visibility in HS via mcsXap plugin. This is the configuration that Pete from this board has been running for a few years. It runs with RPi fine, but the browser response is slows. Any of the other Linux platforms that have a little more horsepower that Rpi do not have the browser slowness.
Reply With Quote
  #173  
Old March 26th, 2015, 07:45 PM
slthom slthom is offline
Seer Plus
 
Join Date: Mar 2010
Location: Texas
Posts: 91
ProcessUPBCommData error?

I have been seeing this lately. Any idea what is causing it?

3/26/2015 6:47:36 PM ~!~mcsSprinklers~!~ProcessUPBCommData Line 140 startIndex cannot be larger than length of string.Parameter name: startIndex
3/26/2015 6:47:37 PM ~!~mcsSprinklers~!~ProcessUPBCommData Line 110 Index and length must refer to a location within the string.Parameter name: length
Reply With Quote
  #174  
Old March 26th, 2015, 08:11 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,638
At the lowest level it means that a line of data was received from PIM/CIM and that line was too short to have any valid data. If you have debug enabled then all data received from the serial port is logged so it may be possible to see if a pattern exists to understand why.
Reply With Quote
  #175  
Old June 4th, 2015, 09:07 PM
ClemsonJeeper ClemsonJeeper is offline
Seer Plus
 
Join Date: Jul 2012
Location: DC
Posts: 80
I've recently upgraded to the latest MCSSprinklers plugin in HS3 and my log is filled with:

Code:
ExecuteCommand INSERT INTO tblState(DC,WateredToday,AutoTime,ManualEnable,AutoDisable,MaxCycles,RunTime,RoundRobin,Syring,Carryover,SampleDate,Water,FlowMax,WaterMeter,Fert,FertHour,MinDaysRoundRobin,WaterMeterHour,AutoWateredToday,AutoRunTime,MoistureIncrement,CarryoverTimeSlot,AreaRoundRobinTime,AreaInterZoneTime,AreaTimePassed,DelayedETState) VALUES ('R7',0,'2015-06-03 15:50:00',0,0,24,0,1,0,0,'2015-06-04 21:08:00',0,0,0,0,0,0,0,0,0,0,0,'2015-06-04 00:00:00','2015-06-04 00:00:00',0,1) Line 0 Unable to load DLL 'sqlite3': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Do I need to install some sqlite3 dll or something?
Reply With Quote
  #176  
Old June 17th, 2015, 08:33 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,638
You have likely found the answer already, but yet sqlite3 is used by mcsSprinklers. In the initial HS3 it was also used by HS3, but it seems HST has gone a different direction. for supporting the underlying database.
Reply With Quote
  #177  
Old August 27th, 2015, 06:21 AM
luisr320 luisr320 is offline
Seer Plus
 
Join Date: Dec 2010
Location: Portugal
Posts: 77
Hi. I'm very interested in using your plugin. However, my system is controled by 6 relays and not by a rain8 or whatever. Is there a way to make the plugin control independent devices, each connected to a single relay? That would make the plugin really universal.
Reply With Quote
  #178  
Old August 27th, 2015, 04:28 PM
noopara's Avatar
noopara noopara is offline
Seer Master
 
Join Date: May 2002
Location: Gig Harbor, Washington
Posts: 748
Rain8 failure?

Hello Michael,

I very frequently (almost daily) have this error: " Zone F12 has been declared failed after multiple attempts due to timeout for expected response". I have also seen this error sometimes at 12 midnight when the system does a daily off safety.

I also get this error on occasion for other zones every couple of weeks or sometimes months.

I am using Rain8 2-Way X-10 and mcsSprinklers version V2.13.0.3/2.13.0.17 (Professional). Is there a newer version that might fix this problem.

Do you think this repeated error could be due to a bad Rain8 module? Seems like that might be the case since it's almost always F12 that fails.

(I also sent you a pm through your web site with the same question)

Thanks!
-- greg
Reply With Quote
  #179  
Old September 1st, 2015, 05:03 PM
bwnet2k bwnet2k is offline
Seer
 
Join Date: Jun 2010
Location: St. Louis, MO
Posts: 10
Issue Following Windows 10 Upgrade

Hi Michael,


After my recent upgrade to Windows 10 (Home edition, 64-bit), the program will open but won't communicate. I downloaded the latest Prolific USB to Serial driver, but that had no affect.
I run a UPB stand-alone system with (2) piggybacked Rain-8 modules.
Below are the error messages I receive:

9/1/2015 3:23:31 PM | Version 2.14.0.1 | V2.14.0.1/2.14.0.1 (Professional) Copyright 2004-2014 mcsSolutions Running at C:\Program Files (x86)\mcsSprinklers
9/1/2015 3:23:34 PM | OpenRain8UPBPort_Port 7 Line 0 The port 'COM7' does not exist.










Any help to resolve this issue is appreciated.


Thank you!


Bill
Reply With Quote
  #180  
Old September 1st, 2015, 05:52 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,638
It looks like you have a RS232 driver issue. Prolific is at the low end of the spectrum and software support lags that of FTDI. I think your best approach is to get a FTDI-based USB/Serial. In general being on the leading edge of PC technology is counter to the needs of Home Automation.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:28 AM.


Copyright HomeSeer Technologies, LLC