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

    #46
    Great. As you cannot position widgets in the center (they will all be on-top of each-other), you will need to mimic the old HS3 style which will be from the left or right.
    Jon

    Comment


      #47
      Done.

      Click image for larger version  Name:	widgets2.jpg Views:	0 Size:	7.0 KB ID:	1370771

      Thank you Jon.

      BTW - noticed that the submit button on the bottom right of the widgets configuration doesn't appear to do anything. Is it supposed to?

      Here using Firefox mostly on Linux boxes and Windows 10 boxes. Last Windows 10 boxes update got the new Edge (which looks like Chrome now).
      - 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


        #48
        If you have the 'Auto submit' ticked on the top right hand side, the submit button is disabled.
        Jon

        Comment


          #49
          Thank you Jon.
          - 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


            #50
            Pete Is your example above running on Linux?

            Comment


              #51
              Originally posted by drhtmal View Post
              Pete Is your example above running on Linux?
              Yes he is....
              Jon

              Comment


                #52
                I just installed the new version on Linux with the most recent version of HS4 Pro Edition 4.0.3.0 (Linux). It worked on the previous version of HS4. Now I get the following errors when I run Jon00LinksHS4.vben from my event.

                Code:
                ASPX Error in Main Block 2: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
                  at System.String.get_Chars (System.Int32 index) [0x0000b] in :0 
                  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
                  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in :0 
                   --- End of inner exception stack trace ---
                  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in :0 
                  at System.RuntimeType.InvokeMember (System.String name, System.Reflection.BindingFlags bindingFlags, System.Reflection.Binder binder, System.Object target, System.Object[] providedArgs, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParams) [0x006e7] in :0 
                  at Microsoft.VisualBasic.CompilerServices.LateBinding.LateIndexGet (System.Object o, System.Object[] args, System.String[] paramnames) [0x0007a] in :0 
                  at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateIndexGet (System.Object Instance, System.Object[] Arguments, System.String[] ArgumentNames) [0x00001] in :0 
                  at scriptcode2.VBWrapper.Main (System.Object MyData) [0x002b0] in :0
                Code:
                ASPX Error in Main Block 1: System.MissingMemberException: Attempted to access a missing member.
                  at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet (System.Object o, System.Type objType, System.String name, System.Object[] args, System.String[] paramnames, System.Boolean[] CopyBack) [0x000bb] in :0 
                  at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet (System.Object Instance, System.Type Type, System.String MemberName, System.Object[] Arguments, System.String[] ArgumentNames, System.Type[] TypeArguments, System.Boolean[] CopyBack) [0x00001] in :0 
                  at scriptcode2.VBWrapper.Main (System.Object MyData) [0x001e3] in :0


                Comment


                  #53
                  Originally posted by drhtmal View Post
                  I just installed the new version on Linux with the most recent version of HS4 Pro Edition 4.0.3.0 (Linux). It worked on the previous version of HS4. Now I get the following errors when I run Jon00LinksHS4.vben from my event.

                  Code:
                  ASPX Error in Main Block 2: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
                  at System.String.get_Chars (System.Int32 index) [0x0000b] in :0
                  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
                  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in :0
                  --- End of inner exception stack trace ---
                  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in :0
                  at System.RuntimeType.InvokeMember (System.String name, System.Reflection.BindingFlags bindingFlags, System.Reflection.Binder binder, System.Object target, System.Object[] providedArgs, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParams) [0x006e7] in :0
                  at Microsoft.VisualBasic.CompilerServices.LateBinding.LateIndexGet (System.Object o, System.Object[] args, System.String[] paramnames) [0x0007a] in :0
                  at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateIndexGet (System.Object Instance, System.Object[] Arguments, System.String[] ArgumentNames) [0x00001] in :0
                  at scriptcode2.VBWrapper.Main (System.Object MyData) [0x002b0] in :0
                  Code:
                  ASPX Error in Main Block 1: System.MissingMemberException: Attempted to access a missing member.
                  at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet (System.Object o, System.Type objType, System.String name, System.Object[] args, System.String[] paramnames, System.Boolean[] CopyBack) [0x000bb] in :0
                  at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet (System.Object Instance, System.Type Type, System.String MemberName, System.Object[] Arguments, System.String[] ArgumentNames, System.Type[] TypeArguments, System.Boolean[] CopyBack) [0x00001] in :0
                  at scriptcode2.VBWrapper.Main (System.Object MyData) [0x001e3] in :0

                  That's because you need 4.0.3.2: https://forums.homeseer.com/forum/de...05#post1370405
                  Jon

                  Comment


                    #54
                    I upgraded and still get these errors

                    Code:
                    ASPX Error in Main Block 2: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
                      at System.String.get_Chars (System.Int32 index) [0x0000b] in :0 
                      at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
                      at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in :0 
                       --- End of inner exception stack trace ---
                      at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in :0 
                      at System.RuntimeType.InvokeMember (System.String name, System.Reflection.BindingFlags bindingFlags, System.Reflection.Binder binder, System.Object target, System.Object[] providedArgs, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParams) [0x006e7] in :0 
                      at Microsoft.VisualBasic.CompilerServices.LateBinding.LateIndexGet (System.Object o, System.Object[] args, System.String[] paramnames) [0x0007a] in :0 
                      at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateIndexGet (System.Object Instance, System.Object[] Arguments, System.String[] ArgumentNames) [0x00001] in :0 
                      at scriptcode2.VBWrapper.Main (System.Object MyData) [0x002b0] in :0
                    Code:
                    ASPX Error in Main Block 1: System.MissingMemberException: Attempted to access a missing member.
                      at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet (System.Object o, System.Type objType, System.String name, System.Object[] args, System.String[] paramnames, System.Boolean[] CopyBack) [0x000bb] in :0 
                      at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet (System.Object Instance, System.Type Type, System.String MemberName, System.Object[] Arguments, System.String[] ArgumentNames, System.Type[] TypeArguments, System.Boolean[] CopyBack) [0x00001] in :0 
                      at scriptcode2.VBWrapper.Main (System.Object MyData) [0x001e3] in :0

                    Comment


                      #55
                      I would say you are trying to run Jon00LinksHS4ASPX.vben rather than Jon00LinksHS4.vben

                      Try calling the web page,
                      Jon

                      Comment


                        #56
                        Here is what I have in my Startup.vb and my event

                        Click image for larger version

Name:	jon00.png
Views:	345
Size:	48.9 KB
ID:	1370841

                        Comment


                          #57
                          Click image for larger version

Name:	jon00-2.png
Views:	318
Size:	57.7 KB
ID:	1370843

                          Comment


                            #58
                            I suggest you download again and replace the scripts. That error code is not in Jon00LinksHS4.vben but in Jon00LinksHS4ASPX.vben
                            Jon

                            Comment


                              #59
                              Bingo! And the setup is working on my Linux system too! I think the main problem was that when I installed I unzipped the file on my Windows box and uploaded each file rather than copying the file to my Linux box and unzipping it there.

                              Thank you. Donation sent.

                              Comment


                                #60
                                Many thanks!
                                Jon

                                Comment

                                Working...
                                X