Announcement

Collapse
No announcement yet.

Saw theses errors in hs4 Log today when restarting pc.

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

    Saw theses errors in hs4 Log today when restarting pc.

    Sep-07 00:48:30 Starting Plug-In UltraLog3 loaded in 800 milliseconds
    Sep-07 00:48:30 Informational UltraLog3 HSPI capture variable "LogMessage" ready for use. See HomeSeer GetVar API for usage.
    Sep-07 00:48:30 Error A call was made to save a global variable (LogMessage) but that global variable has not been defined.
    Sep-07 00:48:30 Informational UltraLog3 HSPI capture variable "LogType" ready for use. See HomeSeer GetVar API for usage.
    Sep-07 00:48:30 Error A call was made to save a global variable (LogType) but that global variable has not been defined.
    Sep-07 00:48:30 Starting Plug-In Plugin UltraLog3 started successfully in 414 milliseconds

    #2
    Same here.

    Comment


      #3
      Ultrajones

      Comment


        #4
        This has been covered a number of times. The plug-in calls the variable to determine if it variable exists and HomeSeer writes it as an error. It's a "feature" of HomeSeer.
        Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

        Comment


          #5
          ha nice feature :P

          thanks

          Comment


            #6
            logged as HSCS-2018

            Comment


              #7
              I'm not sure why this is such an issue. All that needs to be done is to create the global variables in the plugin when it starts. Users can also create these in the startup script (normally startup.vb) by adding the following entries:

              hs.CreateVar("LogMessage")
              hs.CreateVar("LogType")

              This will probably only work if you load plugins in the background (setup/Labs) as the startup script needs to run first before the plugins.
              Jon

              Comment


                #8
                jon00 Thanks. That was pretty easy .
                No more issues since two reboots

                Comment


                  #9
                  You can but it depends on what UltraJones has defined them as. Assuming a string you can just add:

                  hs.SaveVar("LogMessage","")
                  hs.SaveVar("LogType","")

                  Which will just set it to a blank string.
                  Jon

                  Comment


                    #10
                    Unfortunately I can’t use this , because Of a jowihue issue , The option to run plugins in background needs to be unchecked ( or some events will fire when hs4 starts)

                    Comment

                    Working...
                    X