Announcement

Collapse
No announcement yet.

Daily Reminders

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wadenut
    replied
    v2.12a has been uploaded. It replaces the web page file, DailyReminders.ash. It will only be necessary to replace this file in \Homeseer\html\ to correct the problem over v2.12.

    This occurred when I modified the file to be compatible with both HS2 and HS3 so I could avoid having to edit it for each version of Homeseer separately.

    Thank-you Loup for pointing out the problem.

    Leave a comment:


  • Wadenut
    replied
    OK. Looks like I included the debug version of that file by mistake. Give me a few minutes to upload the correct version. I just need to test it first. Sorry.

    Leave a comment:


  • Loup
    replied

    Leave a comment:


  • Wadenut
    replied
    It's in the ZIP archive. The file needs DailyReminders.ASH (not ASP) should be in your HTML directory. If it is there, when are you seeing this error?

    Leave a comment:


  • Loup
    replied

    Leave a comment:


  • Wadenut
    replied
    Originally posted by TeleFragger View Post
    can you re-write the script for my head?
    would love better memory management
    After all the rush lately, my head is pretty messed up too.
    Need a Garbage Collection done, but it doesn't seem to run regularly enough.

    Leave a comment:


  • TeleFragger
    replied
    Originally posted by Wadenut View Post
    V2.12

    Better memory management.
    can you re-write the script for my head?
    would love better memory management

    Leave a comment:


  • Wadenut
    replied
    V2.12
    will correct the problem with nothing being announced.
    Better memory management.

    Sorry for the inconvenience.

    Leave a comment:


  • Wadenut
    replied
    Well, that was easy. I'd had a line commented while debugging and forgot to re-enable it.
    Adapting this to HS3 caused me some issues as well with both versions. I'll have all this cleared up in a few hours hopefully.
    I want to do a little work on the ash/asp as well; namely to create the data file if it's not found, and to make it compatible with both versions. That will make things easier on me in future.

    Leave a comment:


  • Wadenut
    replied
    Originally posted by misraels View Post
    OK, I have not used your daily reminders previously, but figured with the update to run on HS3 I'd give it a shot.

    I think I have missed something in the start up/ initial config of this.

    When I ran the Daily Reminders.vben script after startup I got these in the error log. used: hs.RunScript "Daily Reminders.vben",True,True


    Code:
    Dec-18 1:13:19 PM         Error 3    Running script Daily Reminders.vben :Exception has been thrown by the target of an invocation.->Does entry point Main exist in script? at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at A.c17b105f989efe61e5979e67bec1ef734.cffd66cb0782c50126727e3fa75582d7a()   
     Dec-18 1:13:19 PM         DailyReminders    Device created V73 'Daily Reminders Next Reminder' Ref=269   
     Dec-18 1:13:19 PM         DailyReminders    Device created V72 'Daily Reminders Latest Reminder' Ref=268   
     Dec-18 1:13:19 PM         DailyReminders    Device created V74 'Daily Reminders Todays Reminders' Ref=267   
     Dec-18 1:13:19 PM              Creating event: Daily Reminders VR   
     Dec-18 1:13:19 PM              Creating event: Daily Reminders Redirection
    After that, I believe I am supposed to be able to navigate to /dailyreminders.ash, but when I do I am getting an ugly error that is pointing to DailyReminders.CSV not found. I did double check, and the sample csv that came with is in the scripts folder.

    So, I'm not really sure what is up.
    Sorry for the delay. I didn't notice your post.
    The .csv is actually supposed to be in \data\Daily Reminders.

    I've actually just noticed a potential problem with announcements though. I'm looking at it now. Don't know what's happened there yet.
    Last edited by Wadenut; December 22, 2014, 04:10 AM.

    Leave a comment:


  • misraels
    replied
    new user

    OK, I have not used your daily reminders previously, but figured with the update to run on HS3 I'd give it a shot.

    I think I have missed something in the start up/ initial config of this.

    When I ran the Daily Reminders.vben script after startup I got these in the error log. used: hs.RunScript "Daily Reminders.vben",True,True


    Code:
    Dec-18 1:13:19 PM         Error 3    Running script Daily Reminders.vben :Exception has been thrown by the target of an invocation.->Does entry point Main exist in script? at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at A.c17b105f989efe61e5979e67bec1ef734.cffd66cb0782c50126727e3fa75582d7a()   
     Dec-18 1:13:19 PM         DailyReminders    Device created V73 'Daily Reminders Next Reminder' Ref=269   
     Dec-18 1:13:19 PM         DailyReminders    Device created V72 'Daily Reminders Latest Reminder' Ref=268   
     Dec-18 1:13:19 PM         DailyReminders    Device created V74 'Daily Reminders Todays Reminders' Ref=267   
     Dec-18 1:13:19 PM              Creating event: Daily Reminders VR   
     Dec-18 1:13:19 PM              Creating event: Daily Reminders Redirection
    After that, I believe I am supposed to be able to navigate to /dailyreminders.ash, but when I do I am getting an ugly error that is pointing to DailyReminders.CSV not found. I did double check, and the sample csv that came with is in the scripts folder.

    So, I'm not really sure what is up.

    Leave a comment:


  • Wadenut
    replied
    OK. The wait is over.
    HS3 Version available, as well as a new and improved HS2 version. Version is 2.11.

    I've been running this for several weeks now without any issues.

    Leave a comment:


  • Wadenut
    replied
    Originally posted by fungun View Post
    Ah, just post it
    Perhaps in a few days. Right now I'm trying to convert the page to ASPX to see if that'll fix the header. Not an easy task as I don't know the first thing about ASPX (I need a "Total Recall" implant.) Too lazy to sit down and learn the language; I want results now.
    I'm just dealing with the errors as they pop up when I try to run it. I think I'm about 80% done but stuck at the moment.

    - Here's a teaser though... It's more relaxed about accepting the time in AM/PM or 24 hour formats. I think it'll let you forget the colons too, but I won't swear to that yet.
    - Creates the devices and event for you if they're not found. In HS3 the devices are grouped too.
    - Redirection to Twitter, etc. should work now. I don't think anyone ever noticed it didn't before, which tells me no-one actually uses that function.

    Leave a comment:


  • fungun
    replied
    Ah, just post it

    Leave a comment:


  • Wadenut
    replied
    I have an HS3 version ready to go except for one point. There's a problem with GetPageHeader in my ASP page. Put simply, it isn't working as of HS 3.00.149. It was working fine in HS 3.0.0.147.

    Now the question. The script functions. Is anyone going to be upset if I simply omit the HS page header and run with it, or should I simply post it as is with the page header garbled for the time being and hope for the best in future versions of HS?

    Leave a comment:

Working...
X