Announcement

Collapse
No announcement yet.

NOAA Script

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

    NOAA Script

    This script has bee going for ages (it's great) but I noticed not long ago an error that stopped it dead.

    Is there something that has changes or can be done to help this?

    HS3 latest build.



    Apr-05 06:20:00 Jon00_NOAA Unable to get data - 1st attempt

    Apr-05 06:20:05 Jon00_NOAA Unable to get data - 2nd attempt

    Apr-05 06:20:15 Jon00_NOAA Error at block C (Index and length must refer to a location within the string. Parameter name: length)

    Apr-05 06:30:00 Event Event Trigger "Weather NOAA Weather"

    Apr-05 06:30:00 Event Running script in background: C:/Program Files (x86)/HomeSeer HS3/scripts/Jon00NOAAWeatherHS3.vben

    Apr-05 06:30:00 Jon00_NOAA Unable to get data - 1st attempt

    Apr-05 06:30:05 Jon00_NOAA Unable to get data - 2nd attempt

    Apr-05 06:30:15 Jon00_NOAA Error at block C (Index and length must refer to a location within the string. Parameter name: length)

    Thanks in advance
    Richard
    HS3 Standard Edition 3.0.0.258

    #2
    NOAA Script - Issue Solved.

    I should have known.... the -
    Jon00NOAAWeatherHS3.ini was cleaned out of part of the configuration.
    I was missing the configuration entries. Put in a new one, a couple of updates to location and working again (probably will run longer that the last run of 2+ years!)

    Now what I see here again, I have had 2 .ini files removed or truncated in the last month after a HS3 / and Plugin update. Lost my /.../config/settings.ini 2 times (a skeleton version remained) and now this .ini had key lines removed. I can not explain how this happened?

    This NOAA script has worked without issues for years! Thanks Jon for your stable and great adds to HS (2&3).



    This is what was left, why and I can not explain what happened.

    [Info]
    Version=1.0.3
    [Data]
    UpdateDate=//
    Location=ERROR: The remote server returned an error:
    Town=ERROR: The remote server returned an error:
    SkyConditionsNow=N/A
    WeatherNow=N/A
    WindSpeedNowMPH=0
    WindSpeedNowKMH=0
    WindDirectionNow=N/A
    WindDirectionNowDeg=N/A
    Beaufort=Calm
    VisibilityNowMPH=N/A
    VisibilityNowKMH=N/A
    TempNow=N/A
    TempNowC=N/A
    TempNowF=N/A
    HumidityNow=N/A
    DewPointNowC=N/A
    DewPointNowF=N/A
    PressureNowmbar=N/A
    PressureNowkPa=N/A
    PressureNowInches=N/A

    The End
    HS3 Standard Edition 3.0.0.258

    Comment


      #3
      There have been many issues/bugs with ini file reading/writing in HS3. Rich had to write his own implementation to make it compatible with Linux. IMO there are still a few glitches as demonstrated here.
      Jon

      Comment


        #4
        That makes more sense now.

        I am going to make a copy of my *.ini files just to have a "backup up" until things get calmed down or cleared.

        Thanks.
        HS3 Standard Edition 3.0.0.258

        Comment

        Working...
        X