Announcement

Collapse
No announcement yet.

"Loading Ikea hub config from settings" every 15 minutes, and links broken

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

    "Loading Ikea hub config from settings" every 15 minutes, and links broken

    I upgraded to v4.0.1.6 and now get this in the log every 15 minutes:

    Warning gw-58d50ab32123: Loading Ikea hub config from settings

    Also the links on AK Ikea pages have a full URL including the IP address, so they don't work outside my home network. They should be relative links.
    Code:
    Date/time=06/10/2022 07:39:24 CEST
    Version=HS4 Standard Edition 4.2.13.0 (Linux)
    MONO Version=Mono JIT compiler version 6.12.0.182 (tarball Tue Jun 14 22:53:32 UTC 2022)
    
    License=Registered
    Confguration File=/home/homeseer/Data/HomeSeerData.json
    Uptime=0 Days 15 Hours 14 Minutes 49 Seconds
    Lan IP=192.168.0.14 (rpi4)
    Device Count=574
    Event Count=143
    Plugins Enabled=Z-Wave:,BLRoombaWifi:,mcsMQTT:,EasyTrigger:,Worx Landroid:,HSBuddy:,VELUX KLF200:,AK Ikea:
    Modules/Threads=114 Modules, 99 Threads
    Available Threads=398
    HomeSeer Memory Used=190 Mbytes
    Plugins Installed=AK Ikea 4.0.1.6,BLRoombaWifi 2.0.37.0,EasyTrigger 3.0.0.76,HSBuddy 4.33.906.1,mcsMQTT 5.24.0.8,VELUX KLF200 0.1.1.0,Worx Landroid 4.0.12.2,Z-Wave 3.0.11.0​

    #2
    I turned on more logging and see that the warning message is always paired with this info message

    [947] 'IKEA Gateway': * SetReceiver (SAME): gw-58d50ab32123 (192.168.0.34)

    Comment


      #3
      Originally posted by rge View Post
      I upgraded to v4.0.1.6 and now get this in the log every 15 minutes:

      Warning gw-58d50ab32123: Loading Ikea hub config from settings

      Also the links on AK Ikea pages have a full URL including the IP address, so they don't work outside my home network. They should be relative links.
      Can you please post screenshot of the URLs

      Comment


        #4
        See below - this is being accessed from a proper DNS URL (via a proxy, from outside my network), but the link shows the IP address of my Homeseer which obviously won't work:

        Click image for larger version

Name:	image.png
Views:	99
Size:	21.6 KB
ID:	1569731

        Comment


          #5
          Originally posted by rge View Post
          I turned on more logging and see that the warning message is always paired with this info message

          [947] 'IKEA Gateway': * SetReceiver (SAME): gw-58d50ab32123 (192.168.0.34)
          This is normal - when mDNS reports that the device found on the network.

          I'll check the rest

          Comment


            #6
            Originally posted by rge View Post
            Also the links on AK Ikea pages have a full URL including the IP address, so they don't work outside my home network. They should be relative links.
            Can you please provide the correct link?

            Comment


              #7
              The regular messages have now stopped, must have been something odd on my network.

              The links currently look like this:

              <a href="http://192.168.0.14:8080/devices.html?ref=1044&amp;subpage=devprop&amp;tab=AKIkea" title="Basement Panel Door" style="color: #007bff;">Basement Panel Door</a>

              they shouldn't have the server name in them (since after proxies etc you can't know that for certain):

              <a href="/devices.html?ref=1044&amp;subpage=devprop&amp;tab=AKIkea" title="Basement Panel Door" style="color: #007bff;">Basement Panel Door</a>

              for maximum compatibility you could also make them relative:

              <a href="../devices.html?ref=1044&amp;subpage=devprop&amp;tab=AKIkea" title="Basement Panel Door" style="color: #007bff;">Basement Panel Door</a>

              (this is happening on page https://(homeseer)/AKIkea and https://(homeseer)/AKIkea/ikeagateway.html)

              Comment


                #8
                I need to check, but I'm not sure that relative link will work - the URL must have the server name or IP address to know where the server is located. I don't understand why the IP address doesn't work?

                Comment


                  #9
                  Please try BETA 4.0.4.3 - looks like HS changed the way link to device config is created

                  Comment


                    #10
                    The IP address doesn’t work because I access it through an HTTPS proxy which has a different address. IP only works for HTTP within part of my network.

                    Generally the host name should never be specified in links to things on the same host, default browser behaviour is to assume same host for links and then everything works nicely. Relative links (not starting with /) are nice in case you also want to host in a subdirectory.

                    I’ll try the beta asap, thanks.

                    Comment


                      #11
                      I have the same problem: In the HS4 log I get these two lines every 15 minutes:
                      Code:
                      1/04/2023 12:51:22 AK Ikea Info [641] 'gw-747a909fdfab': * SetReceiver (SAME): gw-747a909fdfab (192.168.68.120)
                      1/04/2023 12:51:22 AK Ikea Warning gw-747a909fdfab: Loading Ikea hub config from settings
                      After ticking OFF the log feature for the Ikea, I only get the warning line, every 15 minutes.

                      Here is setting data for AK Ikea:
                      IKEA Gateway gw-747a909fdfab
                      Log = off
                      IP Address = 192.168.68.120
                      Port (80/5684) = 5684
                      Gateway ID = gw-747a909fdfab
                      app name = 01-02-10-06-23
                      app key = pMCXYvw8dSxzNIkm
                      Polling period = 9 sec

                      Use queue to add saved devices = Yes
                      Remove from queue one-by-one = No

                      Select type of Zeroconf/mDNS discovery (_coap._udp)
                      Zeroconf (MonoZeroconf) = Auto
                      Locator Start Delay = 15 sec​
                      And here is my HS4 system setup:

                      Date/time=1/5/2023 11:22:14 AM CET
                      Version=HS4 Pro Edition 4.2.15.0 (Linux)
                      MONO Version=Mono JIT compiler version 5.18.0.240 (Debian 5.18.0.240+dfsg-3 Sat Apr 20 05:16:08 UTC 2019)

                      License=Registered
                      MyHS Subscription=Basic
                      MyHS Subscription Backup Interval=No Backup
                      MyHS Subscription Max Cameras=1
                      Confguration File=/usr/local/HomeSeer/Data/HomeSeerData.json
                      Uptime=32 Days 13 Hours 58 Minutes 52 Seconds
                      Lan IP=127.0.0.1 (StigsPi4)
                      Client IP= ()
                      WAN IP=80.212.114.147 ()
                      Device Count=659
                      Event Count=63
                      Last Event Ran=Lyskontroll : Alle utelys AV, Ran at 1/5/2023 11:09:45 AM
                      # of unique event scripts=6
                      Plugins Enabled=UltraNetatmo3:,MY Weather:,DoorBird:,Z-Wave:,AK Ikea:
                      Modules/Threads=133 Modules, 64 Threads
                      Available Threads=399
                      HomeSeer Memory Used=214 Mbytes
                      Plugins Installed=AK Ikea 4.0.4.4,DoorBird 0.0.0.30,HSBuddy 3.30.1003.1,MY Weather 3.0.3.15,TPLinkSmartHome 19.10.7.1,UltraNetatmo3 3.0.7302.29338,Z-Wave 4.0.3.0​

                      Comment


                        #12
                        Zeroconf (mDNS) discovery must be discovering the gateway, which is normal, but I should ignore it if it's the same ID, need to check.

                        You can disable mDNS in the plugin settings, but make sure you set static IP address for the gateway.

                        Comment


                          #13
                          BETA 4.0.5.1 - Fix Warning "Loading Ikea hub config from settings"

                          Stig I noticed you are using old unsupported UltraNetatmo3 - FYI, I support Netatmo in my AKWeather plugin.
                          https://forums.homeseer.com/forum/hs...mo-pws-support

                          Comment

                          Working...
                          X