Announcement

Collapse
No announcement yet.

Jon00 Device Viewer & Documenter

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

    #61
    Actually, just checked the code and all is OK so scrub my last post.

    Make sure that you have disabled requiring a local user name and password.
    Jon

    Comment


      #62
      Local user name and password are not required...
      Click image for larger version

Name:	Capture.PNG
Views:	238
Size:	4.3 KB
ID:	1372527
      HS4 Pro Edition 4.2.5.0 running on Lenovo ThinkCenter & Debian Linux
      Plugins: Z-Wave (via Nortek USB stick

      Home Assistant 2021.10.6 running on HA "Blue" ODROID-N2
      Add-ons: Android Debug Bridge, Duck DNS, ESPHome, File Editor, Glances, HA Google Drive Backup, InfluxDB, Log Viewer, MariaDB, Mosquitto broker, NGINX SSL Proxy, Node-RED, Portainer, SSH & Web Terminal, Samba, TasmoAdmin, UniFi Controller, Visual Studio Code, WireGuard, Zigbee2mqtt, Z-Wave JS to MQTT
      Integrations: AccuWeather, Alexa Media Player, Glances, Google Nest, HACS, HomeSeer, Insteon, IPP, Life360, Local IP, Logitech Harmony Hub, Mobile App, MQTT, My Garage, OpenWeather, Spotify, Tuya Local. Ubiquiti UniFi, Z-Wave JS
      Insteon: 2413S Dual Band PLM
      Zigbee: zzh! CC2652R Rev A
      Z-Wave: RaZberry daughtercard on RPi 1B via ser2net

      Comment


        #63
        For an experiment, in your Settings.ini, please change [Settings] to [settings]

        (Lowercase S)

        Then try and call the page.

        I assume this is on Linux?

        Jon

        Comment


          #64
          Yes, this is Linux:
          HomeSeer Version: HS3 Pro Edition 3.0.0.548
          Linux version: Linux debian 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1 (2020-01-20) x86_64 GNU/Linux System

          So, I played with your suggestion: [settings] versus [Settings]. I clued in that my ini is settings.ini after re-reading your error message "...recorded in the Settings.ini file". I renamed mine to Settings.ini and low and behold the control option worked, regardless of whether the section name was [settings] or [Settings]. I then went into HS3 Setup and found that it recreated settings.ini for me. So, your script is not case sensitive in the section naming, but it is when it comes to the name of the HS3 setting file, which is all lowercase on Linux. For now, I've created a link for Settings.ini to settings.ini so your script is happy and so is HS3!
          HS4 Pro Edition 4.2.5.0 running on Lenovo ThinkCenter & Debian Linux
          Plugins: Z-Wave (via Nortek USB stick

          Home Assistant 2021.10.6 running on HA "Blue" ODROID-N2
          Add-ons: Android Debug Bridge, Duck DNS, ESPHome, File Editor, Glances, HA Google Drive Backup, InfluxDB, Log Viewer, MariaDB, Mosquitto broker, NGINX SSL Proxy, Node-RED, Portainer, SSH & Web Terminal, Samba, TasmoAdmin, UniFi Controller, Visual Studio Code, WireGuard, Zigbee2mqtt, Z-Wave JS to MQTT
          Integrations: AccuWeather, Alexa Media Player, Glances, Google Nest, HACS, HomeSeer, Insteon, IPP, Life360, Local IP, Logitech Harmony Hub, Mobile App, MQTT, My Garage, OpenWeather, Spotify, Tuya Local. Ubiquiti UniFi, Z-Wave JS
          Insteon: 2413S Dual Band PLM
          Zigbee: zzh! CC2652R Rev A
          Z-Wave: RaZberry daughtercard on RPi 1B via ser2net

          Comment


            #65
            Many thanks for your diagnostics. I've already made the change and will update the download over the next few days.
            Jon

            Comment


              #66
              You're welcome! The problem is Windows is not really case sensitive with filenames whereas Linux is. It would be nice if HS took that into consideration.
              I have seen other areas in my HomeSeer installation where I have duplicate folder names, like Scripts & scripts, Images & images, Temp & temp, etc. Must get around to amalgamating them now and symlinking them with capitalized names...
              HS4 Pro Edition 4.2.5.0 running on Lenovo ThinkCenter & Debian Linux
              Plugins: Z-Wave (via Nortek USB stick

              Home Assistant 2021.10.6 running on HA "Blue" ODROID-N2
              Add-ons: Android Debug Bridge, Duck DNS, ESPHome, File Editor, Glances, HA Google Drive Backup, InfluxDB, Log Viewer, MariaDB, Mosquitto broker, NGINX SSL Proxy, Node-RED, Portainer, SSH & Web Terminal, Samba, TasmoAdmin, UniFi Controller, Visual Studio Code, WireGuard, Zigbee2mqtt, Z-Wave JS to MQTT
              Integrations: AccuWeather, Alexa Media Player, Glances, Google Nest, HACS, HomeSeer, Insteon, IPP, Life360, Local IP, Logitech Harmony Hub, Mobile App, MQTT, My Garage, OpenWeather, Spotify, Tuya Local. Ubiquiti UniFi, Z-Wave JS
              Insteon: 2413S Dual Band PLM
              Zigbee: zzh! CC2652R Rev A
              Z-Wave: RaZberry daughtercard on RPi 1B via ser2net

              Comment


                #67
                Now updated for download
                Jon

                Comment


                  #68
                  Jon can you export list from this? For example I would like to export a list of all devices that have voice enabled and have it include reference ID the name and room

                  Comment


                    #69
                    Yes, look under reports on page 9 in the docs.
                    Jon

                    Comment


                      #70
                      Hi jon,

                      I have an issue with this package on linux (hs3). It was working perfectly before ( i think like 6-12 month ago )... but now every time i try a seach... i get this

                      Code:
                      Error in Main Block 17: System.MissingMethodException: Method 'Scheduler.hsapplication.devicevalueex' not found. 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) <0x7fdae2265a10 + 0x00f36> in :0 at Microsoft.VisualBasic.CompilerServices.LateBinding.LateSet (System.Object o, System.Type objType, System.String name, System.Object[] args, System.String[] paramnames) [0x00082] in :0 at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateSet (System.Object Instance, System.Type Type, System.String MemberName, System.Object[] Arguments, System.String[] ArgumentNames, System.Type[] TypeArguments) [0x00001] in :0 at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateSetComplex (System.Object Instance, System.Type Type, System.String MemberName, System.Object[] Arguments, System.String[] ArgumentNames, System.Type[] TypeArguments, System.Boolean OptimisticSet, System.Boolean RValueBase) [0x00001] in :0 at scriptcode6.VBWrapper.Main (System.Object MyData) [0x04696] in <02cc9a079f684d65b0f7341a6cf666e0>:0

                      I have installed the last version on your site. And i am able to lauch the aspx page

                      Comment


                        #71
                        I have no idea. Perhaps you have a rogue device in your config. Is this on all searches? Do the filters work without error?

                        I've just tried it on a RPi HS3 Linux and it is working fine here on all searches.
                        Jon

                        Comment


                          #72
                          yes it is on all search.

                          Comment


                            #73
                            I've put in a trap for that error so please try version 1.0.7.3 (HS3 version)
                            Jon

                            Comment


                              #74
                              Thanks Jon!!

                              it is now working 100%

                              Comment


                                #75
                                That's looks really useful. Where can I get it? I didn't see anything in the HS4 plugin store and no link here.

                                Comment

                                Working...
                                X