Announcement

Collapse
No announcement yet.

Jon00 Cumulus/weeWX Weather for Homeseer 3 & Homeseer 4

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

    #31
    I don't use Cumulus MX but this may assist you: http://wiki.sandaysoft.com/a/Simple_...tup#Cumulus_MX
    Jon

    Comment


      #32
      Originally posted by jon00 View Post
      I don't use Cumulus MX but this may assist you: http://wiki.sandaysoft.com/a/Simple_...tup#Cumulus_MX
      I found it finally. the file for realtime has to be enabled but that check box is buried in the same section as the FTP upload. Anyway all is good! Jon thanks again!

      Comment


        #33
        Wind Direction Device String

        I am trying to use Select Case to parse out the wind direction and replace with the full text.

        'Select Case hs.DeviceString(533)
        'Case "SSE"
        'Windir = "South South East"
        'Case "SE"
        'Windir = "South East"
        'Case Else
        'Windir = hs.deviceString(533)

        I can't get it to work. Even thought the device string is "SSE", there appears to be the graphic and perhaps hidden text.

        I can't open the .vben script to see how the device string is being parsed.
        Any hints?

        DSteiNeuro
        DSteiNeuro

        HS3Pro

        MSI Cubi Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz, 2201 Mhz, 2 Core(s), 4 Logical Processor(s) 16GB DDRl RAM

        Enabled Plug-Ins
        BLRussound, BLSpeech, HSTouch Server, JowiHue, MyQ, Nest, Rain8, Squeezebox, Ultra1Wire3, UltraGCIR3, Vista Alarm, X10,Z-Wave

        Comment


          #34
          The devicestring has additional html code.

          Use the data source directly i.e.
          Code:
          Select Case hs.GetINISetting("Data", "12", "", "Jon00CumulusDataHS3.ini")
          Jon

          Comment


            #35
            I have followed the instructions for the installation.

            When I setup the Recurring Event and select the *.vben script it indicates it is encrypted and cannot run.

            I am rather new to this - so any suggestions as to what I should do? I think I am really close.

            Thanks,

            Jim

            Comment


              #36
              I assume you are selecting "Run a script or script command" from the event action and selecting the script from the list?

              Please post the actual error from the log.
              Jon

              Comment


                #37
                Jon,

                Oh I see now the error on the Event is really just warning me I cannot edit this script - that makes sense.

                I see no error in the log.

                Thanks,

                Jim

                Comment


                  #38
                  So have you configured the supplied ini file to point to your Cumulus data file?
                  Jon

                  Comment


                    #39
                    I just installed and tried accessing my realtime.txt file. However, the data isn't stored there. That file exists but isn't updated by the software. Apparently the data is stored elsewhere possibly the \data directory which has lots of files.

                    I use Cumulus 1.9.4 and everything displays just fine in the Cumulus software. Where should I point the plugin please? Or is there something else I need to so.

                    Thanks!

                    I re-read parts of this thread and found the answer by @mworsnop. That certainly was buried.
                    Last edited by racerfern; September 5, 2017, 07:46 PM. Reason: i found it

                    Comment


                      #40
                      I have the realtime file info displaying, however the order of items seems wrong. Since it's a bunch of comma separated data, how can I tell what's what?

                      For instance, I see "Rain Today" as 0.0F which is obviously a temperature reading. There are many other pieces data that are attached to the wrong piece of display wording.

                      Comment


                        #41
                        I cannot see how the order can change as the file has a fixed format. The details of the file structure can be found here: http://wiki.sandaysoft.com/a/Realtime.txt
                        Jon

                        Comment


                          #42
                          Thanks, I'll drill into it more and get back to you. I appreciate the response and what appears to be a great plugin once I get things ironed out.

                          Comment


                            #43
                            It seems that the very first realtime.txt file was scrambled. I let Cumulus run for awhile and the next file yielded good values. Thanks.

                            To see if I understand this correctly, if I only want a few virtual devices, I need to have the ini file look something like this??

                            [Device8]
                            DeviceName="Temperature Low"
                            ImageName="ThermometerLow.png"
                            DeviceText="<#tempTL> &deg; at <#TtempTL>"
                            DeviceValue="<#tempTL>"
                            [Device9]
                            DeviceName=""
                            ImageName=""
                            DeviceText=""
                            DeviceValue=""
                            [Device10]
                            DeviceName=""
                            ImageName=""
                            DeviceText=""
                            DeviceValue=""
                            [Device11]
                            DeviceName="Dewpoint"
                            ImageName="Thermometer.png"
                            DeviceText="<#dew> &deg; <#tempunitnodeg>"
                            DeviceValue="<#dew>"

                            etc. All the device numbers need to exist to match the fields in realtime.txt but if they're just quotes then the virtual devices don't get created.

                            Comment


                              #44
                              Devices have to be sequential in the ini file and any gaps will prevent further devices from being displayed. Therefore delete everything you don't want and the rename the device headings in order i.e. [Device1],[Device2],[Device3] etc.

                              Once done, delete all the original virtual devices created and let the script recreate them again.
                              Jon

                              Comment


                                #45
                                I'm a bit confused. Here's a portion of what I have and only Device 1 gets created. I have more definitions further down, but you get the idea.

                                What am I missing?



                                [Info]
                                Version=1.0.8
                                [Settings]
                                Filepath=c:\cumulus\realtime.txt
                                [Device1]
                                DeviceName="Updated"
                                ImageName="Timedate.png"
                                DeviceText="<#date> <#timehhmmss>"
                                DeviceValue=""
                                [Device2]
                                [Device3]
                                [Device4]
                                [Device5]
                                [Device6]
                                [Device7]
                                [Device8]
                                [Device9]
                                [Device10]
                                [Device11]
                                [Device12]
                                [Device13]
                                [Device14]
                                [Device15]
                                [Device16]
                                [Device17]
                                DeviceName="Wind Direction"
                                ImageName="Compass.png"
                                DeviceText="<#currentwdir>"
                                DeviceValue=""

                                Comment

                                Working...
                                X