Announcement

Collapse
No announcement yet.

Jon00 Links for Homeseer 4

Collapse
This topic is closed.
X
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    I did find backups going to early July. I could shutdown HS4 and copy style.css from back then or is it not quite that simple?

    Comment


      you don't need to shut down HS4 but custom.css and hs.css would need to be copied.

      This is a list of style sheets used by the legacy pages:


      Code:
      <link rel="stylesheet" href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/js-listbox-style.css"]/css/js-listbox-style.css[/URL]" type="text/css" />
      <link rel="stylesheet" href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/jquery.ui.timepicker.css"]/css/jquery.ui.timepicker.css[/URL]" type="text/css" />
      <link href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/jqueryFileTree.css"]/css/jqueryFileTree.css[/URL]" rel="stylesheet" type="text/css" media="screen" />
      <link href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/jPicker-1.1.6.css"]/css/jPicker-1.1.6.css[/URL]" rel="stylesheet" type="text/css" media="screen" />
      <link rel="stylesheet" href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/jquery-multiselect.css"]/css/jquery-multiselect.css[/URL]" type="text/css" />
      <link href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/fileuploader.css"]/css/fileuploader.css[/URL]" rel="stylesheet" type="text/css" media="screen" />
      <link rel="stylesheet" href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/tabs.css"]/css/tabs.css[/URL]" type="text/css" />
      <link rel="stylesheet" href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/tabs-panes.css"]/css/tabs-panes.css[/URL]" type="text/css" />
      <link rel="stylesheet" type="text/css" href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/menu_black.css"]/css/menu_black.css[/URL]" media="screen" />
      <link type="text/css" href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/ui-lightness/jquery-ui-1.10.3.custom.min.css"]/css/ui-lightness/jquery-ui-1.10.3.custom.min.css[/URL]" rel="stylesheet" />
      <link type="text/css" href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/hs.css"]/css/hs.css[/URL]" rel="stylesheet" />
      <link type="text/css" href="[URL="https://forums.homeseer.com/core/view-source:http://192.168.1.101/css/Custom.css"]/css/Custom.css[/URL]" rel="stylesheet" />
      Jon

      Comment


        Thanks, I'll give it a try right now. Weird! I assume these files haven't changed so I could go back as far as a backup from June 29.

        Comment


          No joy. I even shutdown and restarted HS4.

          Comment


            OK, you will need to adjust manually. Open up _events.html in a text editor. You will see text within to tell you what to adjust. Change 75 to 45 for starters. Trim as necessary. Do the same with the other pages causing issues.
            Jon

            Comment


              Thank you! I'll report back.

              Comment


                Yeah, I'm down to 30 as a pretty good number. Thanks for help with this. I wonder what the root cause was and is 75 the original number or is it determined at some point during setup?

                Comment


                  Actually I had to go all the way to 10 to get the tabs Configuration, Advanced... to show up. but then it shows the HomeSeer logo twice. Something's not right, I think. Now I don't remember what the page used to look like. Click image for larger version

Name:	Screen Shot 07-12-20 at 09.17 AM.PNG
Views:	293
Size:	57.8 KB
ID:	1401865

                  Comment


                    Make sure you clear the cache in your browser (all files and images). It maybe be picking up old styles. One quick way to verify is to try another browser that you have not used in while, see if it displays ok.
                    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

                    Comment


                      One of the issues he is facing is that the old deviceutility page has a header bar and home button, however its tabs sub page does not. Therefore if the page is adjusted for the main page, the tabs are subsequently hidden in the iframe I use. Resolution is to add the header bar & home button to the tabs page.....

                      Click image for larger version

Name:	Capture.PNG
Views:	294
Size:	12.4 KB
ID:	1402124

                      Jon

                      Comment


                        Originally posted by Cor View Post
                        I am running HS4 4.0.4.0 on a RPi4 (Buster) and installed the Jon00Links. The Legacy tools run fine, but if I run the Utility -> Jon Links Setup then I get a compiler error on the screen, there is no message in the log file though. Using the direct way via the Homeseer web browser yields the same result. I am running mono version 6.8.0.105.
                        To get aspx running on the RPi4 I changed the /usr/bin/vbnc file some time ago, when HS3 was still running. This now looks like:

                        #!/bin/bash
                        for x; do
                        if [[ $x = '/tmp'* ]]; then
                        sed -i '1{/#Externa/d}' $x
                        fi
                        done
                        exec /usr/bin/mono --debug $MONO_OPTIONS /usr/lib/mono/4.5/vbnc.exe "$@"


                        This is the message on the setup screen:

                        System.Web.Compilation.CompilationException
                        VBNC99999: Unexpected error: Failed to resolve assembly: 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
                        at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name, Mono.Cecil.ReaderParameters parameters) [0x00148] in <d09141d3f5fa48279a3587e2a3dc5812>:0
                        at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00008] in <d09141d3f5fa48279a3587e2a3dc5812>:0
                        at Mono.Cecil.DefaultAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00031] in <d09141d3f5fa48279a3587e2a3dc5812>:0
                        at vbnc.CecilHelper.FindDefinition (Mono.Cecil.AssemblyNameReference name) [0x0000b] in <f876931f1ce142b590f8f6e2605066f5>:0
                        at vbnc.CecilHelper.FindDefinition (Mono.Cecil.TypeReference type) [0x00089] in <f876931f1ce142b590f8f6e2605066f5>:0
                        at vbnc.Helper.CompareType (Mono.Cecil.TypeReference t1, Mono.Cecil.TypeReference t2) [0x006e8] in <f876931f1ce142b590f8f6e2605066f5>:0
                        at vbnc.CecilHelper.IsDefined (Mono.Collections.Generic.Collection`1[T] CustomAttributes, Mono.Cecil.TypeReference Type) [0x00043] in <f876931f1ce142b590f8f6e2605066f5>:0
                        at vbnc.Helper.IsModule (vbnc.Compiler Compiler, Mono.Cecil.TypeReference type) [0x00096] in <f876931f1ce142b590f8f6e2605066f5>:0
                        at vbnc.TypeManager.LoadType (Mono.Cecil.TypeDefinition Type) [0x0003a] in <f876931f1ce142b590f8f6e2605066f5>:0
                        at vbnc.TypeManager.LoadReferencedTypes () [0x00092] in <f876931f1ce142b590f8f6e2605066f5>:0
                        at vbnc.TypeManager.LoadReferenced () [0x000ec] in <f876931f1ce142b590f8f6e2605066f5>:0
                        at vbnc.Compiler.Compile () [0x00258] in <f876931f1ce142b590f8f6e2605066f5>:0
                        Compilation took 00:00:01.0079510

                        Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error.

                        Details: VBNC99999: Unexpected error: Failed to resolve assembly: 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
                        at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name, Mono.Cecil.ReaderParameters parameters) [0x00148] in <d09141d3f5fa48279a3587e2a3dc5812>:0 at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00008] in <d09141d3f5fa48279a3587e2a3dc5812>:0 at Mono.Cecil.DefaultAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00031] in <d09141d3f5fa48279a3587e2a3dc5812>:0 at vbnc.CecilHelper.FindDefinition (Mono.Cecil.AssemblyNameReference name) [0x0000b] in <f876931f1ce142b590f8f6e2605066f5>:0 at vbnc.CecilHelper.FindDefinition (Mono.Cecil.TypeReference type) [0x00089] in <f876931f1ce142b590f8f6e2605066f5>:0 at vbnc.Helper.CompareType (Mono.Cecil.TypeReference t1, Mono.Cecil.TypeReference t2) [0x006e8] in <f876931f1ce142b590f8f6e2605066f5>:0 at vbnc.CecilHelper.IsDefined (Mono.Collections.Generic.Collection`1[T] CustomAttributes, Mono.Cecil.TypeReference Type) [0x00043] in <f876931f1ce142b590f8f6e2605066f5>:0 at vbnc.Helper.IsModule (vbnc.Compiler Compiler, Mono.Cecil.TypeReference type) [0x00096] in <f876931f1ce142b590f8f6e2605066f5>:0 at vbnc.TypeManager.LoadType (Mono.Cecil.TypeDefinition Type) [0x0003a] in <f876931f1ce142b590f8f6e2605066f5>:0 at vbnc.TypeManager.LoadReferencedTypes () [0x00092] in <f876931f1ce142b590f8f6e2605066f5>:0 at vbnc.TypeManager.LoadReferenced () [0x000ec] in <f876931f1ce142b590f8f6e2605066f5>:0 at vbnc.Compiler.Compile () [0x00258] in <f876931f1ce142b590f8f6e2605066f5>:0
                        Compilation took 00:00:01.0079510

                        Error origin: Compiler

                        Error source file: ~/Global.asax
                        Exception stack trace:
                        at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters options) [0x00312] in <3871f67f23f64678a82b5d3506d6a5db>:0 at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00008] in <3871f67f23f64678a82b5d3506d6a5db>:0 at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp, System.Boolean debug) [0x00202] in <3871f67f23f64678a82b5d3506d6a5db>:0 at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath vp, System.Boolean debug) [0x00106] in <3871f67f23f64678a82b5d3506d6a5db>:0

                        Does it make sens to anyone?
                        ---
                        Cor
                        Was this ever resolved.....I have the same error running debian (Buster) in a VM.

                        Comment


                          Yes, this is resolved. The trick is to change the /usr/bin/vbnc file.
                          I changed it here in:
                          Code:
                          exec /usr/bin/mono --gc-params=nursery-size=64m $MONO_OPTIONS /usr/lib/mono/4.5/vbc.exe "$@"
                          But I wonder if this is the correct solution. Should not need to be this way.
                          ---
                          Cor

                          Comment


                            Originally posted by rjh View Post
                            Make sure you clear the cache in your browser (all files and images). It maybe be picking up old styles. One quick way to verify is to try another browser that you have not used in while, see if it displays ok.
                            I just tried a browser I hardly use and from my office through myhs. It had the same display I am experiencing at home which doesn't surprise me because I changed the value in the css file per Jon00, to make more room. Doesn't whatever browser I'm using still go through HS4 to access the css file in the HS4 directory? Not sure if I typed it correctly.

                            Comment


                              Originally posted by Cor View Post
                              Yes, this is resolved. The trick is to change the /usr/bin/vbnc file.
                              I changed it here in:
                              Code:
                              exec /usr/bin/mono --gc-params=nursery-size=64m $MONO_OPTIONS /usr/lib/mono/4.5/vbc.exe "$@"
                              But I wonder if this is the correct solution. Should not need to be this way.
                              ---
                              Cor
                              Thanks....that works for me as well.

                              Comment


                                Jon00, is this package still available? I would like to display the time on my HomeSeer web page but the link asks for a user name and password which I do not have.

                                Comment

                                Working...
                                X