If this is your first visit, be sure to check out the FAQ. You must register before you can post. Your first post will be checked for appropriate content
(SPAM) - please allow a bit of time for that. After that, you'll be able to post at will!
Thanks for posting the script, I've been wanting an easy and quick way just to manage my sprinklers. Now for the down side of posting scripts... I thought I set it up correctly, but I'm getting the following error when the run time executes:
<TABLE cellSpacing=2 cellPadding=0 width="100%" border=0><TBODY><TR><TD class=LOGDateTime0 noWrap align=left>3/31/2008 3:08:00 AM </TD><TD class=LOGType0 align=left colSpan=3>Warning </TD><TD class=LOGEntry0 align=left colSpan=8>NewTimeEvent, event name contains illegal characters and has been changed from Sprinkler start - $1 to Sprinkler start - 1</TD></TR></TBODY></TABLE>
I may have set it up incorrectly or is the "$" in the device code causing issues??? I only have 7 zones, $1-$7 so it should be an easy setup...
John,
I guess you count as an "early adopter" heh? Sorry for the problem. I guess I hadn't thought of the fact that a character could be legal as the house code for a device, and not be legal for an event name. I'll get a fix posted in a few.
Steve
I've made some changes to the main edit web page (SprinklerEdit.aspx) to clean up deleting sprinkler schedules:
A pop-up confirmation to make sure you *REALLY* want to delete the schedule (mainly for me - I accidentally deleted my main schedule )
Deletion from the sprinkler event database (wasn't doing that before)
Clean-up of remaining HS events when a sprinkler event is deleted. As it was, the events got kinda out of whack.
I don't actually know if anyone has looked much at the package (may be a little early for sprinklers in much of the country). I wait for a few weeks and see if there are any other comments here that might need some other modifications.
tried it and can't get it to work. does not seem to work with devices "^1" ?
I manually ran and event and nothing happened. Can't change the address code as these are assigned automatically via the rain8net plugin. Also of not is i'm running HSPRO so i had to global replace file location in aspx pages to /Homeseer PRO/.... anywhere else that this needs to be done?
Database does not seem to have anything in it. size remains 208KB
Are you using the latest version? The original version used the device name in the event titles, which doesn't work for special characters in the house code. I posted a new one last month. If you are using the latest and it still doesn't work, let me know and I'll take a look at it.
I'll have to go in and look at the way I determine paths. I should have been using GetAppPath, so you wouldn't need to change the paths in the ASPX. I'll have to fix that.
I'm at work right now, but I'll take a look at it this evening.
Steve
P.S. Are you getting an error in the HS log of some kind? Anything you can give me about details of the error would help.
I fixed the database path in the ASPX, so you shouldn't have to deal with that again. I'll upload it once we know if your problem is due to using v1.1 instead of the posted v1.2.
I tested my current version using devices ^15 and ^16 and it seems to work fine. Let me know if you are using v1.2. If you download the that version and it still doesn't work for you please let me know.
Server Error in '/' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30002: Type 'Belikov.GenuineChannels.GenuineTcp.GenuineTcpChannel' is not defined.
Source Error:
Line 10: Try
Line 11: Dim props As IDictionary = New Hashtable
Line 12: Dim channel As Belikov.GenuineChannels.GenuineTcp.GenuineTcpChannel = New Belikov.GenuineChannels.GenuineTcp.GenuineTcpChannel(props, Nothing, Nothing)
Line 13:
Line 14: System.Runtime.Remoting.Channels.ChannelServices.RegisterCha nnel(channel, False)
Server Error in '/' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30002: Type 'Belikov.GenuineChannels.GenuineTcp.GenuineTcpChannel' is not defined.
Source Error:
Line 10: Try
Line 11: Dim props As IDictionary = New Hashtable
Line 12: Dim channel As Belikov.GenuineChannels.GenuineTcp.GenuineTcpChannel = New Belikov.GenuineChannels.GenuineTcp.GenuineTcpChannel(props, Nothing, Nothing)
Line 13:
Line 14: System.Runtime.Remoting.Channels.ChannelServices.RegisterCha nnel(channel, False)
Hmmm... None of that is from my package. I don't know what global.asax is (there isn't one in my HTML directory), and all the "Belikov" errors are for a package I have never even heard of. Are you sure this was for this package?
Comment