Announcement

Collapse
No announcement yet.

Cumulus - realtime.txt

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

    Cumulus - realtime.txt

    Jon00,

    With complete understanding that you are the keeper of the code and may not have it active in your world, I have run into an issue that is confounding me and could sure use some help.

    I have my Cumulus running on a small XP system loading the data to both weatherunderground and the realtime.txt file in the Cumulus folder.

    My HS3 is now running on a Windows 8 system (quite well I would say)

    I shared the Cumulus folder and mounted it as the Z: drive on the HS3 (W8) system.

    Can see and edit the realtime.txt file in notepad and can additionally access it with a file:: URL on the HS3 system.

    However.... no matter what I do as far as <path> in the config script I get an error message that the path can not be located. If I copy the realtime.txt file over to the HS3 box, point to it in the config it works perfectly.

    Perhaps there is an issue where the script can not open a network drive?

    Any help would be greatly appreciated.

    Chris

    #2
    Can you give me examples of what paths you have tried?
    Jon

    Comment


      #3
      Originally posted by jon00 View Post
      Can you give me examples of what paths you have tried?
      I have the mount point to be Z: (Several redos... from the log)

      Apr-15 7:55:05 PM Jon00_Cumulus Error - Cannot access path:Z:/realtime.txt
      Apr-15 7:45:03 PM Jon00_Cumulus Error - Cannot access path:Z:\realtime.txt
      Apr-15 7:44:03 PM Jon00_Cumulus Error - Cannot access path:Z:\realtime.txt
      Apr-15 7:42:10 PM Jon00_Cumulus Error - Cannot access path:Z:\realtime.txt
      Apr-15 7:26:05 PM Jon00_Cumulus Error - Cannot access path:Z:\realtime.txt
      Apr-15 7:20:48 PM Jon00_Cumulus Error - Cannot access path:Z:realtime.txt
      Apr-15 7:11:40 PM Jon00_Cumulus Error - Cannot access path:Z:\cumulus\realtime.txt
      Apr-15 7:10:06 PM Jon00_Cumulus Error - Cannot access path://WEATHERSTATION\realtime.txt
      Apr-15 7:07:53 PM Jon00_Cumulus Error - Cannot access path:Z:realtime.txt
      Apr-15 7:04:16 PM Jon00_Cumulus Error - Cannot access path:z:\realtime.txt
      Apr-15 7:03:16 PM Jon00_Cumulus Error - Cannot access path:z:\realtime.txt
      Apr-15 7:02:17 PM Jon00_Cumulus Error - Cannot access path:z:\realtime.txt

      I can click on it and it does open in notebook

      Here is the attach point from HS3 :
      Attached Files

      Comment


        #4
        I was after the actual entry you have placed in the ini file.

        Try:

        FilePath="\\WEATHERSTATION\realtime.txt"
        Last edited by jon00; April 16, 2015, 01:12 PM.
        Jon

        Comment


          #5
          Originally posted by jon00 View Post
          I was after the actual entry you have placed in the ini file.

          Try:

          FilePath="\\WEATHERSTATION\realtime.txt"
          Tried that as well as "Z:\realtime.txt"

          Apr-16 2:16:58 PM Jon00_Cumulus Error - Cannot access path:Z:\realtime.txt
          Apr-16 2:15:58 PM Jon00_Cumulus Error - Cannot access path:Z:\realtime.txt
          Apr-16 2:14:58 PM Jon00_Cumulus Error - Cannot access path:Z:\realtime.txt
          Apr-16 2:13:58 PM Jon00_Cumulus Error - Cannot access path:\\WEATHERSTATION\realtime.txt

          Here is the top section of the config file

          [Info]
          Version=1.0.8
          [Settings]
          Filepath="Z:\realtime.txt"
          [Device1]
          DeviceName="Updated"

          Thank you for your help

          Comment


            #6
            Just noticed that the "p" in file path is not caped.... could that be it?

            Will log back in in a sec and try

            Chris

            Comment


              #7
              Originally posted by dcdelong View Post
              Just noticed that the "p" in file path is not caped.... could that be it?

              Will log back in in a sec and try

              Chris
              No.. no difference

              Apr-16 2:26:58 PM Jon00_Cumulus Error - Cannot access path:\\WEATHERSTATION\realtime.txt
              Apr-16 2:26:58 PM Event Running script in background: C:/Program Files (x86)/HomeSeer HS3/scripts/Jon00CumulusWeather.vben
              Apr-16 2:26:58 PM Event Event Trigger "Weather Load Cumulus"
              Apr-16 2:26:45 PM Z-Wave Device: Main Garage Sensor Binary Set to Off/Closed/No Motion
              Apr-16 2:25:58 PM Jon00_Cumulus Error - Cannot access path:Z:\realtime.txt
              Apr-16 2:25:58 PM Event Running script in background: C:/Program Files (x86)/HomeSeer HS3/scripts/Jon00CumulusWeather.vben
              Apr-16 2:25:58 PM Event Event Trigger "Weather Load Cumulus"
              Apr-16 2:25:18 PM Z-Wave Device: Main Kitchen Luminance Set to 28 (%)
              Apr-16 2:24:58 PM Jon00_Cumulus Error - Cannot access path:Z:\realtime.txt
              Apr-16 2:24:58 PM Event Running script in background: C:/Program Files (x86)/HomeSeer HS3/scripts/Jon00CumulusWeather.vben
              Apr-16 2:24:58 PM Event Event Trigger "Weather Load Cumulus"

              Comment


                #8
                It must be a network issue.

                I've just copied your setup on another network PC and mapped drive Z to the realtime.txt directory on the remote PC. Working fine here?

                FilePath="z:\realtime.txt"
                Jon

                Comment


                  #9
                  Thank you Jon for looking at it. I am traveling just now so I will tear it apart over the week-end... the weird part is that I can see the Z: drive, watch the timestamp update and even access the realtime.txt file in notepad.

                  Cumulus is running on an XP system.... perhaps I will update it or move it over to the HS3 system.

                  Thanks again

                  Chris

                  Comment


                    #10
                    I don't know what is going on.

                    This is the routine I use for checking:

                    PHP Code:
                    Sub Main(ByVal Parms As Object)

                    Dim FilePath As String "z:\realtime.txt"

                    If System.IO.File.Exists(FilePathThen
                        hs
                    .Writelog("Test","Success!")
                    Else
                        
                    hs.Writelog("Test","Fail")
                    End If

                    End Sub 
                    Jon

                    Comment


                      #11
                      Hi JOnn,

                      I am having the same problem although the drrive is not mapped as Cumulus is on the C:\ drive

                      error log
                      14/02/2016 18:45:23 Jon00_Cumulus Error - Cannot access path:C:\Cumulus\realtime.txt
                      ini setting
                      [Settings]
                      Filepath=<path>C:\Cumulus\realtime.txt
                      StartDeviceCode=N11
                      ~
                      Any thoughts?

                      thanks
                      sigpic
                      A founder member of "The HA Pioneer Group" otherwise known as the "Old farts club!"

                      Comment


                        #12
                        Try:

                        Filepath=C:\Cumulus\realtime.txt
                        Jon

                        Comment


                          #13
                          Originally posted by jon00 View Post
                          Try:

                          Filepath=C:\Cumulus\realtime.txt
                          Great to see you are still a Genius Jonn, worked perfectly

                          Many thanks,
                          sigpic
                          A founder member of "The HA Pioneer Group" otherwise known as the "Old farts club!"

                          Comment

                          Working...
                          X