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

    #61
    I seem to be missing the top line of the device info page. I say this because I was thinking of renaming the switch child of a particular device to something that maybe would show up first in the main view.

    In the screenshot you can see that the Breakfast Nook dimmer is the primary but not in the Built-in light that has a ton of child devices.
    Click image for larger version

Name:	Screen Shot 03-19-20 at 05.02 PM.PNG
Views:	399
Size:	24.4 KB
ID:	1371231Click image for larger version

Name:	Screen Shot 03-19-20 at 05.04 PM.PNG
Views:	365
Size:	35.5 KB
ID:	1371232

    Comment


      #62
      Here for Linux HS4 Beta Versions 4.0.3.0 and 4.0.3.1 did not work with ASPX and messed with my devices (they were not there).

      All my devices (just six of them) came back updating to 4.0.3.2 (well duplicates so 12 came back).

      In Linux Beta Version 4.0.3.2 everything looks OK.

      Not sure about the Windows versions.

      Click image for larger version  Name:	devices.jpg Views:	0 Size:	25.3 KB ID:	1371268
      - Pete

      Auto mator
      Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
      Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
      HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

      HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
      HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

      X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

      Comment


        #63
        I provide a html wrapper page around the old legacy pages to be able to show the new HS4 links; however the deviceutility sub page you are showing does not have the HS4 logobar which I compensate for all the other pages. Therefore part of the page is hidden.

        All you can do is to modify the links for the legacy device management page to go to the original page (without the wrapper) i.e. use /deviceutility rather than /_deviceutility.html
        Jon

        Comment


          #64
          V 0.6.0 Beta is now available.

          Changes since V 0.5.1:

          Added an optional custom page as you home page (i.e. you web server address/port only as the URL). Currently HS4 will go to your devices page but you can change this to whatever you like including external pages.

          The example below shows the Home page will open up your events page.

          You will find this in the general setup config page.

          If updating, you just need to replace the two scripts.

          Click image for larger version  Name:	Capture2.PNG Views:	0 Size:	29.1 KB ID:	1371866
          Jon

          Comment


            #65
            Thank you Jon!!

            Update works fine on Linux HS4 V4.0.3.2

            Click image for larger version  Name:	Links-1.jpg Views:	0 Size:	48.6 KB ID:	1372097


            Click image for larger version

Name:	Links-2.jpg
Views:	413
Size:	38.7 KB
ID:	1372099
            - Pete

            Auto mator
            Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
            Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
            HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

            HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
            HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

            X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

            Comment


              #66
              Originally posted by Pete View Post
              Thank you Jon!!

              Update works fine on Linux HS4 V4.0.3.2
              Good to hear.

              When you get time, install Roboto font on Linux so that the setup pages look the same as HS4.

              Jon

              Comment


                #67
                Installed Roboto fonts in Ubuntu.

                ICS-HS4:~# sudo apt-get install fonts-roboto
                Reading package lists... Done
                Building dependency tree
                Reading state information... Done
                The following additional packages will be installed:
                fonts-roboto-hinted
                The following NEW packages will be installed:
                fonts-roboto fonts-roboto-hinted

                Shut down HS4 and restarted it.

                Well not sure how this works in Mono. Which Roboto font do I use?

                I do not think that it matters for the desktop fonts.

                Click image for larger version  Name:	Roboto.jpg Views:	0 Size:	45.5 KB ID:	1372188

                Not sure that this is the Roboto Font.

                Click image for larger version  Name:	roboto2.jpg Views:	0 Size:	16.1 KB ID:	1372189

                Looks the same to me.

                Looked at the page again and it is using the Roboto regular Fonts.

                Click image for larger version  Name:	robotofonts.jpg Views:	0 Size:	45.1 KB ID:	1372193
                - Pete

                Auto mator
                Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                Comment


                  #68
                  HS4 uses Roboto which is a Google/Android font. That is displaying correctly on HS4 pages. ASPX pages use whatever font it is directed to use but if not installed, will default to whatever is nearest i.e. san-serif. This is why my setup pages look slightly different on your system from the screen grabs I provide in the documentation . Roboto does not need to be your default font but just needs to be installed (I believe). I'm not a Linux guy so my reference is to installed fonts available as per Windows installations. If you do want to change your default font to Roboto, it would be medium or regular.
                  Jon

                  Comment


                    #69
                    Thank you Jon.

                    So for Linux just installing the Roboto font via command line in Linux is really all I had to do.

                    It is great that ASPX now works in HS4.
                    - Pete

                    Auto mator
                    Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                    Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                    HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                    HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                    HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                    X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                    Comment


                      #70
                      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

                      Comment


                        #71
                        I have no idea (Linux is not my strong point). The package does not use or reference Newtonsoft.Json so I do not understand where that would be coming from.

                        Does /Test.aspx work?
                        Jon

                        Comment


                          #72
                          I get the same error with test.aspx and reference tot the same Error source file: ~/Global.asax

                          Comment


                            #73
                            So its nothing to do with this package. There are several posts on aspx issues with HS4/Linux. A search may be necessary.
                            Jon

                            Comment


                              #74
                              ok, will do. Thanks.

                              Comment


                                #75
                                Hi,

                                First of all Thanks Jon00
                                This looks absolutely fabulous and I think will solve a large part of what I missing in HS4 right now

                                Unfortunately I do run in to some problem after the installation.
                                Here is the step and what I did. I'm running HS4 under Win10 and have upgraded from HS3
                                * Uninstall HS3 but keept the config files
                                * Run a clean installation of HS4 V4.0.4.0
                                * Moved all the HS3 config files (Files that was left after uninstalling HS3) and replace them in HS4 directory.
                                * Run a repair of HS4 to make sure everything would be right
                                * Copy all files from Jon00LinksHS4 to the right directory in HS4

                                It's 627 devices and probably over 250 events and I'm actually surprised that sofar everything seems to work fine without too much hard work. Knock on wood. But that's the reason I can't run a completely clean installation...

                                Anyway I get this error in the log when starting up HS4
                                Creating ASP Host (1): The parameter 'C:\Program Files (x86)\HomeSeer HS4\html\/\' is invalid. Parameter name: C:\Program Files (x86)\HomeSeer HS4\html\/\

                                When try to enter the Link Setup page I get this
                                Error Processing ASP.NET page: Object reference not set to an instance of an object.

                                I Also get this when running a scheduler update
                                Processing ASP.NET page: Object reference not set to an instance of an object.

                                I have Scroll through previous pages here and found similar problem but no solution that works for me.
                                Someone who has an idea?

                                Regards
                                Martin

                                Comment

                                Working...
                                X