Announcement

Collapse
No announcement yet.

Discussion for Family Status Manager Script

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

    Discussion for Family Status Manager Script

    This is the thread to discuss the Family Status Manager script, posted here.

    regards,

    GenevaDude

    #2
    I have been working on this same idea to help work my alarm. I have very little scripting experiance and was quickly finding myself overwelmed. I am going to go to work on combinning my alarm stuff with this. Thanks for doing the hard work. It looks great.
    Kirk

    http://cleverhouseautomation.ca
    http://southcoastwebsitedesign.ca

    Comment


      #3
      Ok I have changed everything that should be. (I think) I created my devices N1 to N3 simply naming then peoples names like Kirk. Using House as location then I created virtual devices starting at N17. Naming like shown Kirk Status. location is Home. I chnged all E house codes in script to N however when I hit button N1 on on my keypad it does not log anything or do anything. The only thing I show in the log is the usualle N1 (House Kirk) N On
      then N1 On dim: 0 extra 0. I have attatched the script. Have I missed something?
      Attached Files
      Kirk

      http://cleverhouseautomation.ca
      http://southcoastwebsitedesign.ca

      Comment


        #4
        Kirk,

        In Lines 56 - 59, you have:
        Const Member1 = "House Kirk Status"
        Const Member2 = "House Kelley Status"
        Const Member3 = "House Jesse Status"
        Const Member4 = "House Justin Status"

        Since you named the location as Home, they should be:
        Const Member1 = "Home Kirk Status"
        Const Member2 = "Home Kelley Status"
        Const Member3 = "Home Jesse Status"
        Const Member4 = "Home Justin Status"

        Or, change House to Home. I think that's all you need to do right now. The rest looks fine.

        Your next step is to train the family. I'm not so successfult at that so far.

        regards,

        GenevaDude

        Comment


          #5
          One other thing that needs to be changed is in line 73:
          aCmd=hs.stringitem(aCommand,3,";") ' look for on or off

          change to:
          aCmd=cInt(hs.stringitem(aCommand,3,";")) ' look for on or off

          This is necessary for the case statement to function properly.

          I will post an update.

          regards,

          GenevaDude

          Comment


            #6
            Ok I must be missing something beacuse it still does not do anything. Do I have to create an event to call this script or is it just supposed to use the on or off command from my keypad?
            Do I name my N1 device Kirk Status with House as my location ( I type that wrong in my last post. My location is House, not Home) or do I name the Virtual device as that. I named My actual device Kirk and my Virtual as Kirk Status.
            Kirk

            http://cleverhouseautomation.ca
            http://southcoastwebsitedesign.ca

            Comment


              #7
              Kirk,

              Oops! I neglected to mention that you need to create an event that triggers on the HouseCode. Set the Device to Any. On the Scripts/Speech Tab, select the script "FamStatManager.txt".

              I will update the instructions and repost them tomorrow. But this should get you going.

              regards, :d

              GenevaDude

              Comment


                #8
                Ok thats what I thought. I was up last night playing with it and started to create an event but did not test yet. I will test it tonight.
                Thanx for your help
                Kirk

                http://cleverhouseautomation.ca
                http://southcoastwebsitedesign.ca

                Comment


                  #9
                  X10 has the Stick-A-Switch on sale. You get 3 for $19.99. Here is the
                  link

                  regards,

                  GenevaDude

                  Comment


                    #10
                    How in the world do you convince your wife and kids to participate?

                    -Rupp

                    If a man says something in the woods and there are no women there, is he still wrong?
                    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

                    Comment


                      #11
                      I spent some time on finding ways that would help them. Then I spent lots of time and money on each product for each person and now they all like HS. or Nikki as we call her.

                      Some ideas fly better then others. Besides everyone knows I am a gadget freak and all play along. Usually.
                      Kirk

                      http://cleverhouseautomation.ca
                      http://southcoastwebsitedesign.ca

                      Comment


                        #12
                        Did you mean create an event for device status change set for any device?. I do not have the option for House code for any device.

                        One event for all or seperate event for each person?
                        Kirk

                        http://cleverhouseautomation.ca
                        http://southcoastwebsitedesign.ca

                        Comment


                          #13
                          Disregard the last post I was not thinking.
                          Kirk

                          http://cleverhouseautomation.ca
                          http://southcoastwebsitedesign.ca

                          Comment


                            #14
                            I was going to try to script this on my own until I ran across your script tonight. I haven't even downloaded the script, just read through this thread...

                            I'm a big believer in toggling things instead of having an on AND off button...

                            For example: instead of using A1 off to leave and A1 on to come home, why not use A1 off for user1, and A1 on for user2. When A1 off is pushed, it toggles the state of user1 - if home, then set to away; if away, then set to home.

                            This would double the amount of switches available on a stick-a-switch.

                            What do you think?

                            --------------
                            -=A.J. Griglak

                            Comment


                              #15
                              Hello A.J.

                              Yes, that could be a good solution, but it would rely on good discipline and/or some kind of immediate or obvious feedback. There are several scenarios that might cause the system to come out of sync.

                              1. If the signal was not received. Perhaps due to an overlap of transmissions between devices, or a weak signal. Or even if the trigger was "doubled up" somehow.

                              2. If the user forgot to press the switch one time or maybe didn't press it quite right.

                              But these situations can occur any time, even with my script. I noticed during testing that a few times when I pressed the button, and saw the LED blinking, that it didn't register. And, I know I have excellent signal strength where my switch is located.

                              It would be relatively easy to setup a toggle effect by a conditional test whenever the button was pressed. You could use the virtual device as the test.

                              example:If device = "Away" then device = "Home"

                              regards,

                              GenevaDude

                              Comment

                              Working...
                              X