Announcement

Collapse
No announcement yet.

Nodered interaction with Homeseer

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

    #16
    Node red is another independent platform. For now it is communicating via http to control devices or events from node red,or to get the value from a device into nodered.

    Nodered is a visual flow interface . Msgs go from one node to another node (i think you have to go to youtube and search for nodered to understand the concept).

    Nodered allow you to communicate with a lot of system . Via nodered package or via other method to call another ha system etc (eg Home assistant) .
    It also allow you to build logic, into nodered, that would need a lot of event in hs4.

    Comment


      #17
      Javascript Is not a requirent but can be useful when creating complex transformation of payload (fonction nodes)

      I use them sometime but not only for somewhat basic stuff.

      ​​​​​​https://nodered.org/docs/user-guide/writing-functions

      Comment


        #18
        ewkearns ,
        I will answer all your questions in a simple way. First you don't have to a pro to be use Node-RED but if you are then you are going to ask for permission to stay awake all nights because it's like a child in a candy store" T
        Start here : https://www.youtube.com/results?search_query=node+red for the basics. What spud has done here is bring Node-RED closer to HomeSeer.We have been using MQTT to make them talk.

        Have you ever thought of a plugin quick and have things happen?, Now have loads!

        That Node I posted at post #10 is by this guy here :https://tech.scargill.net/bigtimer-2...ions-answered/ and am sure you will make friends in no time

        And another magician is here : https://github.com/bartbutenaers/node-red-contrib-onvif-nodes andthe library righthere :https://flows.nodered.org/




        Eman

        TinkerLand : Life's Choices,"No One Size Fits All"

        Comment


          #19
          Can only answer you point 3.1 really,



          Yes there is an alexa remote2 package for node red . You’ll be able ‘’ send ‘’ ‘’tts’’ to your echos.

          ​​​​​​https://flows.nodered.org/node/node-...-alexa-remote2


          But note that this package sometime breaks (it is not official, this is reverse engineering mimicking an alexa webapp) .Because amazon do change things from time to time

          Comment


            #20
            Originally posted by Eman View Post
            ewkearns ,
            I will answer all your questions in a simple way. First you don't have to a pro to be use Node-RED but if you are then you are going to ask for permission to stay awake all nights because it's like a child in a candy store" T
            Start here : https://www.youtube.com/results?search_query=node+red for the basics. What spud has done here is bring Node-RED closer to HomeSeer.We have been using MQTT to make them talk.

            Have you ever thought of a plugin quick and have things happen?, Now have loads!

            That Node I posted at post #10 is by this guy here :https://tech.scargill.net/bigtimer-2...ions-answered/ and am sure you will make friends in no time

            And another magician is here : https://github.com/bartbutenaers/node-red-contrib-onvif-nodes andthe library righthere :https://flows.nodered.org/




            Eman
            Thanks, everybody! I'm beginning to see the rudiments of this after a few videos. I've got a lot of learning, not having attacked Node-RED or MQTT, yet. Thus, I guess, begins the journey.
            HomeSeer Version: HS3 Pro Edition 3.0.0.500
            Operating System: Microsoft Windows 10 Pro - Work Station

            Enabled Plug-Ins:
            2.1.0.119: AmbientWeather | 3.0.21.0: BLLock | 2.0.24.0: BLUPS | 1.3.6.0: Device History | 3.0.0.56: EasyTrigger | 3.1.0.7: MeiHarmonyHub | 3.0.6681.34300: UltraCID3 | 3.0.6644.26753: UltraLog3 | 3.0.6554.33094: UltraMon3 | 3.0.0.91: weatherXML | 3.0.1.245: Z-Wave | 3.0.51: HS Touch Designer | 3.0.0.40 Z-Seer+

            Comment


              #21
              Thanks spud . I followed all what is written on github . With hs4 V4.1.3.0. All is working.

              Comment


                #22
                Originally posted by spud View Post

                HS device changes are sent through the output of the "HS Device" node, see HS Device section in the project home page: https://github.com/HomeSeer/node-red-contrib-homeseer.
                So yes you can trigger a flow based on a device value or status change.


                But HS events can only be triggered for now.
                Well spud ,

                Looks like for someone new to Node-RED will have trouble to automatically trigger the node especially the "Event" one from other nodes (Yes you can construct a topic using the Inject node and/or MQTT node because the topic can be defined!) The other one is the BigTimer Node,

                Or can you give an example when say if the message to trigger the node is coming from a switch node (For new users : https://nodered.org/docs/user-guide/nodes )

                Else, can you look as the UniFi node for best practice : https://flows.nodered.org/node/node-red-contrib-unifi (The command triggers are within the node itself)

                Disclaimer : Am not good at this either but what I see is there will still be a lot of mqtt nodes in use. But if you think that it's all good, then lets carry on.





                CORRECTION :

                Forget that I asked.

                Tip : For those who are new to Node-RED and want to run a HomeSeer Event automatically from Node-RED is, use the Change Node



                Doesn't it feel good when something just works? My only guilt is sharing!

                The image below, when the Phone rings HomeSeer speaks time at the beginning at end of the call


                Click image for larger version  Name:	HomeSeer_Node.png Views:	0 Size:	228.5 KB ID:	1409071


                Eman.
                TinkerLand : Life's Choices,"No One Size Fits All"

                Comment


                  #23
                  Originally posted by MattL0 View Post
                  Just need to know what the target user base is here. As it's a new feature in HS4 it would be nice to encourage users less confident in the "dark arts" of home automation to use it. The work flow concept is quite simple to grasp so maybe a basic primer on installation from scratch would be a nice addition.What you don't want to do is turn off the general user base by turning this into an "anorak" discussion.One sure way of turning the general user right off the concept.

                  Maybe this would be a good time to set up a separate Home Seer Node Red section on the forum with a general introduction to the concept, an installation primer and some basic work flow examples to break the user in gently.

                  Comment


                    #24
                    node-red installed fine but,
                    when i drag the device onto to work flow I try and setup my server I get an error

                    cannot get device list

                    any ideas as wo why

                    Paul.

                    Comment


                      #25
                      Originally posted by sirbooker View Post
                      node-red installed fine but,
                      when i drag the device onto to work flow I try and setup my server I get an error

                      cannot get device list

                      any ideas as wo why

                      Paul.
                      Double click on the HS Device. You can configure from there. Not too clear on the docs

                      Comment


                        #26
                        When you drag over a device, double click on it to get the properties. Click on the pencil to edit the server. You have to add a server, so add the IP address of your HS system. localhost is fine if HS is running on the same PC as node-red.

                        Originally posted by sirbooker View Post
                        node-red installed fine but,
                        when i drag the device onto to work flow I try and setup my server I get an error

                        cannot get device list

                        any ideas as wo why

                        Paul.
                        website | buy now | support | youtube

                        Comment


                          #27
                          For anyone accessing Node Red remotely on the web gui via ssh for example, you’ll need to use the web address of the remote machine plus port 1880 and not 127.0.0.1:1880, the local host as advised by the Node Red server.

                          While HS and Node Red are running on the same machine you are accessing Node Red from a different machine.

                          Comment


                            #28
                            Originally posted by sirbooker View Post
                            node-red installed fine but,
                            when i drag the device onto to work flow I try and setup my server I get an error

                            cannot get device list

                            any ideas as wo why

                            Paul.
                            Try clicking Deploy in the top right then go back to the node and see if it works. I had this problem until I deployed the project and I think the docs tell you to do this but after it tells you about choosing a device which I think is backwards.
                            Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
                            X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
                            Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
                            Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
                            Scripts =
                            Various

                            Comment


                              #29
                              i have followed all the directions posted
                              after entering my IP and port I click UPDATE
                              i then get an error Failed to get device list
                              when trying to click on the drop down for devices nothing happens
                              Paul.

                              i have rebooted everything

                              node-red on Raspbee
                              HS4 on windows pc

                              Comment


                                #30
                                Originally posted by concordseer View Post

                                Just need to know what the target user base is here. As it's a new feature in HS4 it would be nice to encourage users less confident in the "dark arts" of home automation to use it.
                                Well, as to "less confident in the "dark arts"," that would be me! It looks intriguing, but again, I am faced with another undocumented Homeseer feature married to a huge body of knowledge that may or may not be documented in a useful way. One needs a comprehensive primer (or links to necessary information that wasn't written for a professional) with examples.


                                Originally posted by concordseer View Post
                                Maybe this would be a good time to set up a separate Home Seer Node Red section on the forum with a general introduction to the concept, an installation primer and some basic work flow examples to break the user in gently.
                                I think that is an outstanding idea. The biggest single stumbling block to learning HS3 was the lack of documentation, until a paper manual (or, the ability to print one) happened. Ditto with everything that has come since that the professional community grasps and the other users have to scramble up about a 90° learning "curve." There were some HS videos that helped, in the beginning.

                                HomeSeer Version: HS3 Pro Edition 3.0.0.500
                                Operating System: Microsoft Windows 10 Pro - Work Station

                                Enabled Plug-Ins:
                                2.1.0.119: AmbientWeather | 3.0.21.0: BLLock | 2.0.24.0: BLUPS | 1.3.6.0: Device History | 3.0.0.56: EasyTrigger | 3.1.0.7: MeiHarmonyHub | 3.0.6681.34300: UltraCID3 | 3.0.6644.26753: UltraLog3 | 3.0.6554.33094: UltraMon3 | 3.0.0.91: weatherXML | 3.0.1.245: Z-Wave | 3.0.51: HS Touch Designer | 3.0.0.40 Z-Seer+

                                Comment

                                Working...
                                X