Announcement

Collapse
No announcement yet.

Status nodes in Node Red not updating HS devices

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

    Status nodes in Node Red not updating HS devices

    Lately I have had issues with my HS devices not updating in NR. I just used the HS device node, that used to update when the state of a switch or door sensor changed. It stopped doing that. So I used a status node instead. That does not update when the status of the window in this example changes. Below the status node is the HS device for this window I used before. I could use a inject node and inject a 'sync' every minute or so, but that would mean I have to change a ton of stuff, and staus node and hs nodes used to work until a week or two ago
    I run NR in iobroker on windows 10 pro. I recently reinstalled and updated iobroker to the newest version. HS4 version 4.2.18.0

    Attached Files

    #2
    If status nodes are not updating in Node Red, it usually means the webhook from HS to Node Red is misconfigured.
    Can you double check your webhook configuration in HomeSeer?
    Also do you have several HS server configured in Node Red?

    Comment


      #3
      Originally posted by mikee123 View Post
      Lately I have had issues with my HS devices not updating in NR. I just used the HS device node, that used to update when the state of a switch or door sensor changed. It stopped doing that. So I used a status node instead. That does not update when the status of the window in this example changes. Below the status node is the HS device for this window I used before. I could use a inject node and inject a 'sync' every minute or so, but that would mean I have to change a ton of stuff, and staus node and hs nodes used to work until a week or two ago
      I run NR in iobroker on windows 10 pro. I recently reinstalled and updated iobroker to the newest version. HS4 version 4.2.18.0
      Your HomeSeer Node seems not to be connected with the flow.

      Comment


        #4
        Originally posted by John245 View Post

        Your HomeSeer Node seems not to be connected with the flow.
        I know. I have it under the flow just to see if that updates the status, it used to. The status node should normally update it, but it doesnt.

        Comment


          #5
          Originally posted by spud View Post
          If status nodes are not updating in Node Red, it usually means the webhook from HS to Node Red is misconfigured.
          Can you double check your webhook configuration in HomeSeer?
          Also do you have several HS server configured in Node Red?
          I only have 1 HS4 server configured, in the HS4 setup webhook I have this

          localip:Port/homeseer/webhook

          The port I have configured is the port I use to access Node Red on my web browser as well, and that works

          Comment


            #6
            The status more is not needed in your case, but I understand if you have it for testing.

            This is how my web hook is configured and the same IP PORT combo I use to access the Node-Red editor. Port 1880 is the default port used by Node-Red:

            Click image for larger version  Name:	Screenshot_20230616-065847.png Views:	0 Size:	61.4 KB ID:	1620383
            Last edited by ksum; June 16, 2023, 06:12 AM. Reason: Added comments about status node. Removed auto added emoticon
            Karl S
            HS4Pro on Windows 10
            1070 Devices
            56 Z-Wave Nodes
            104 Events
            HSTouch Clients: 3 Android, 1 iOS
            Google Home: 3 Mini units, 1 Pair Audios, 2 Displays

            Comment


              #7
              Originally posted by mikee123 View Post

              I only have 1 HS4 server configured, in the HS4 setup webhook I have this

              localip:Port/homeseer/webhook

              The port I have configured is the port I use to access Node Red on my web browser as well, and that works
              do you have "http://" before the local IP?
              From the HS4 log page search for "webhook" and see if you find a warning like that:

              Code:
              Posting to webhook failed: Unable to connect to the remote server URL: http://127.0.0.1:1882/homeseer/webhook

              Comment


                #8
                Problem solved. It needs the http://

                without http I had this error in the log which I did not notice, ksum gave me the idea to search the log for webhook. Now with http no errors, and Node Red is working fine again getting status from HS4. Now I can reverse all the temporary fixes I put in Node Red...

                Comment

                Working...
                X