Announcement

Collapse
No announcement yet.

Jon00 Event Viewer & Documenter for HS3

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

    #16
    Originally posted by kideon View Post
    This may sound weird but would people be willing to share their events? It may offer some good inspiration. Like rich with 1600 his house must have a mind of its own!
    haha just saw your comments after i posted mine.

    Comment


      #17
      Originally posted by bdraper View Post
      Wow, this is incredible, very nice Jon. Excellent work, I really cannot find anything wrong. It looks just great.

      This should be incorporated into base HomeSeer, this is a must have for people with a more than a few events. Extremely helpful.

      Question, I noticed in the output of the program in the section "Event Triggers, Conditions & Options:" there is a item called "Include as Voice Command" all of mine are checked and I really do not need them to be, how do I uncheck them? I have looked at the individual events and cannot find a way to uncheck them. Am I missing something?

      Thanks again for another excellent program.
      Thanks Billy,

      Homeseer enable Voice Commands by default so that they work with the Alexa and Google Home Skills. On your events page, at the very top of each event, there is a Voice Command check box which you can uncheck.
      Jon

      Comment


        #18
        Originally posted by Mr_Resistor View Post
        Agreed. Working perfectly. Another brilliant bit of code from Jon00. Love the export to CSV. Takes around 20 seconds to load my 428 events.

        Not sure if the "Events Total: xxx" is supposed to update based on the results of a query...mine does not.

        Just earned a spot in my Jon00Links.ini
        Thanks. At the moment, it just shows the total number of events programmed but that could be changed.
        Jon

        Comment


          #19
          Originally posted by jon00 View Post
          Thanks Billy,

          Homeseer enable Voice Commands by default so that they work with the Alexa and Google Home Skills. On your events page, at the very top of each event, there is a Voice Command check box which you can uncheck.
          Thanks Jon, I am at a loss... I cannot find this magical Voice Command check box setting. I must have something set that is not allowing it to display or even worse I am just completely looking over it (probably this one). Maybe it is the version that I am running, it is 3.0.0.307.

          I have included one of my more simple events, could you help me locate this Voice Command check box?

          Click image for larger version

Name:	event.jpg
Views:	1
Size:	52.5 KB
ID:	1194823

          As always thanks for your help.
          Billy

          Comment


            #20
            Originally posted by bdraper View Post
            Thanks Jon, I am at a loss... I cannot find this magical Voice Command check box setting. I must have something set that is not allowing it to display or even worse I am just completely looking over it (probably this one). Maybe it is the version that I am running, it is 3.0.0.307.

            I have included one of my more simple events, could you help me locate this Voice Command check box?

            [ATTACH]65916[/ATTACH]

            As always thanks for your help.
            It is your version. I think it was added just before or after 3.0.0.368. I am running 3.0.0.399.

            Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	30.9 KB
ID:	1194826
            HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

            Comment


              #21
              Ah, thanks for the explanation and screenshot Randy.

              As you can obviously tell, I am just a little behind in my updates to HomeSeer. I am usually on top of this but once you have a very stable system, it is tough to upset the apple cart, especially when the wife is heavily dependant on the system.

              I may take a backup and install the latest version to see what happens.

              Thanks again...

              Jon, very nice program, an excellent addition to your already overwhelming offerings. Thank you so much for all your efforts.
              Billy

              Comment


                #22
                Originally posted by Summerguy View Post
                haha just saw your comments after i posted mine.
                +1

                Comment


                  #23
                  Originally posted by Summerguy View Post
                  WOW lol. Sorry i had to express myself on this . haha This is a lot of thinking ( 1609 events).
                  Thanks to this script, I have been able to reduce the number of events to about 1540 so far. I found a bunch of broken events due to devices that have been replaced over the last couple of years. While repairing those events I also was led to some I could improve. I am still working on it, but expect to reduce the event count by another 100.

                  As it must be obvious, describing all the events and their function would take a while, but here is some of what we do:
                  • Most things are affected by work schedules, time, temperature, occupancy. We control heat, DHW (hot water), lighting and power by work schedule, occupancy, distance from home and time
                  • Lighting levels are controlled by time of day and outside luminance and are affected by work schedule and occupancy. We use 5 modes for lighting, Daytime, Twilight (around sunrise/sunset), Nighttime, low light and asleep/awake. The initial lighting level is set based on these modes and adjusted as time transitions to a new mode. Automated lighting is also affected by activity. Motion controlled lighting is disabled in rooms where we are watching TV. In the media room, lighting is adjusted based on activity. The lighting is lower when we drop the screen and watch projected video than when we are watching the direct view. Lighting simulates occupancy at night when the house is vacant
                  • Announcements are made for washer/dryer ready, mail delivered, coffee ready, weather alerts, "mom" and "dad" arriving home, time, temperature and humidity, problems, reminders, etc. Announcements are disabled at night, but alerts will continue. The washer and dryer status is reflected in several places on LED rings of smart switches
                  • Systems are monitored for trouble. These include freezers, refrigerator, heating. air conditioning, network. If there is a problem a pushover message is sent or if the problem is with our connectivity another alert is issued. HomeSeer connected systems are also monitored for problems. If OneWire servers, Z-Nets, Arduinos, Envisalink or Brultech Gem go offline or stop reporting, the device and/or plug-in are restarted and notifications sent
                  • The surveillance system (including individual cameras) are monitored for online status
                  • The security system is controlled by and controls occupancy status. Doors, door locks and windows are checked each night as we go to sleep. Doors are locked and announcements are generated if anything is open when we go to sleep.
                  • The gas temperatures, air temperatures and electrical consumption of air conditioning is evaluated and notifications are sent if the performance is not within nominal.
                  • Hydronic (heat and hot water) is also monitored. The boiler temperatures, pipe temperatures, zone valve status, circulator and burner are evaluated for problems
                  • DHW and zone heating is evaluated to make best use of the boiler. Our DHW is indirectly heated from the same boiler as our heat. We try to limit short cycles and recover as much heat from the boiler as possible for DHW heating in the summer when we don't need heat. There are "emergency" methods to run the circulator and open zone valves when pipe temperatures get close to freezing.
                  • Heating and setback temperatures are adjusted based on occupancy, outside temperatures and work schedule. Bathrooms are preheated on work days for morning showers
                  • Scheduling "knows" holidays, adjusting heating, lighting power and announcements
                  • Our phones are at the center of the house "knowing" our locations. The polling rate of the phones is adjusted based on relative location to conserve battery. If batteries report low levels, polling is further reduced
                  • There are some "fun" lighting events for holidays, local team sporting events, etc.
                  • Power is also managed by occupancy, time and work schedule. A lot of "vampire" electrical loads are reduced whenever possible. Systems are turned off at night or when the house is vacant. Items with high standby consumption are disconnected when unused. Workshop and garage battery chargers are powered on a schedule.
                  • Many lights are controlled by motion, with manual overrides if needed. Motion controls can be temporarily or permanently suspended or enabled by HomeSeer switch "scenes". Lights that are left on accidentally are turned off.
                  • With sub-freezing temperatures, our air compressor is shut down and an outdoor pump is disabled. If it is freezing and snow is forecast, our satellite TV dish is heated. In super low temperatures, our standby generator battery and engine heaters are powered
                  • Our generator is exercised once a week in November through April. If a problem occurs during exercise a notification is sent
                  • If a water leak is detected the household water is turned off. When we are on vacation, it is shut off. A water and natural gas usage monitor is on the wish list - we may add one, or monitor the pulses from the water and gas meters


                  The above is just an overview, I'm sure there are items I missed. Our goal is to eliminate personal interaction with systems as much as possible. The only daily required function is to tell the house we are going to sleep - we use a remote at bedside to set this. We also have to tell the house when we are going on vacation for extended periods, but it still knows when we are more than 50 miles from home.
                  Last edited by randy; September 4, 2018, 04:09 PM.
                  HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

                  Comment


                    #24
                    How doe you manage the holidays and are for room by room occupancy just motion sensors? I was thinking about getting in depth on that and to create a simulated fuzzy logic it would take quite a number of events... wanting to start setting different lighting schemes based on holiday, time of year etc. Also how are you managing schedules? Right now I’ve gone as far as a virtual device that I trigger if I’m working from home tomorrow...

                    Comment


                      #25
                      I track holidays on two levels, one is for actual holidays and the other is for the scheduled (work affecting) holiday. They are hard coded into events that generate 4 device states.

                      Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	27.4 KB
ID:	1194841

                      At 12:00:01 each morning, I move the Holiday Tomorrow (actual and scheduled) values to the Holiday Today devices and set the Holiday Tomorrow devices to No Holiday.

                      Click image for larger version

Name:	Capture2.png
Views:	1
Size:	41.4 KB
ID:	1194842

                      At 12:00:10 each morning I set the Holiday Tomorrow devices with Events.

                      Click image for larger version

Name:	Capture3.jpg
Views:	1
Size:	151.0 KB
ID:	1194843

                      I populate the scheduled holiday master event with only the holidays work observes.

                      Holidays that occur on a specific day of the month, take a little extra work to calculate the day before. In the case of Thanksgiving the actual and scheduled are the same.

                      Click image for larger version

Name:	Capture4.PNG
Views:	1
Size:	39.0 KB
ID:	1194844

                      For a holiday like Christmas they are different

                      Click image for larger version

Name:	Capture5.PNG
Views:	1
Size:	74.4 KB
ID:	1194845

                      These devices are used for announcements as well as heating, power and lighting that will be on a different schedule before and during a holiday. Trash pickup announcements are delayed by a day on weeks that have a holiday.

                      We have motion sensors in every room, used for controlling motion controlled lighting as well as for our security system. We have a DSC PC-1864 panel, communicating with HomeSeer via an Envisalink module. Envisalink will also send notifications through Eyez-on exclusive of HomeSeer.

                      I have never gotten occupancy to be correct with motion sensors, but it is 100% accurate using PHLocation and our phones. If we leave home without our phones (only about twice in two years) setting the security system will tell HomeSeer the house is unoccupied, though it is not critical that HomeSeer knows if the house is occupied or not as it only affects energy consumption.
                      HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

                      Comment


                        #26
                        Wow that was pretty much the solution I’d come up with. Wish there was a plug-in to handle this. Some calendar plug-in was written but abandoned and there’s blades google plug-in didnt get it down tho. Just something to automatically do what you’re doing here... worst part is it would be simple to code. Wanted to do the same thing you did to with tracking trash and recycling days. Then i started thinking about the other stuff like home maintenance reminders. Now it’s all spread out across so many things. And lastly a magic mirror showing it all. Guess a guy can dream so until then events here I come!

                        Comment


                          #27
                          Originally posted by kideon View Post
                          Wow that was pretty much the solution I’d come up with. Wish there was a plug-in to handle this. Some calendar plug-in was written but abandoned and there’s blades google plug-in didnt get it down tho. Just something to automatically do what you’re doing here... worst part is it would be simple to code. Wanted to do the same thing you did to with tracking trash and recycling days. Then i started thinking about the other stuff like home maintenance reminders. Now it’s all spread out across so many things. And lastly a magic mirror showing it all. Guess a guy can dream so until then events here I come!
                          Wadenut's daily reminder script is pretty good for spoken reminders, but it doesn't take into consideration trash day offsets or remind you the day before a holiday that is not on a fixed date schedule. It isn't real easy with Google scrubbing either, so I decided to hard code the dozen or so holidays. Once I had the four devices being updated, they could be used in any number of events.

                          If tomorrow is the scheduled holiday for Christmas, I keep the lights on later and move the setback later on heating. If today is the scheduled holiday for Christmas, the daily setback of the heat and hot water is disabled and energy saving is disabled since it is anticipated that the house will be occupied all day.
                          HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

                          Comment


                            #28
                            I started using calendar /email events. That is, since I run my own e-mail server, I can just plug into Outlook calendar holidays or whatever. With my e-mail server, it automatically sends an e-mail reminder to my mailbox. HS just does a pop to it and depending on the subject, handles the event. One example is holidays. I normally have the bedroom lights come on in the morning and with this mechanism, if it's a holiday, the event doesn't run.
                            I think there are users using Google calendar for this as well.

                            Robert
                            HS3PRO 3.0.0.500 as a Fire Daemon service, Windows 2016 Server Std Intel Core i5 PC HTPC Slim SFF 4GB, 120GB SSD drive, WLG800, RFXCom, TI103,NetCam, UltraNetcam3, BLBackup, CurrentCost 3P Rain8Net, MCsSprinker, HSTouch, Ademco Security plugin/AD2USB, JowiHue, various Oregon Scientific temp/humidity sensors, Z-Net, Zsmoke, Aeron Labs micro switches, Amazon Echo Dots, WS+, WD+ ... on and on.

                            Comment


                              #29
                              Originally posted by langenet View Post
                              I started using calendar /email events. That is, since I run my own e-mail server, I can just plug into Outlook calendar holidays or whatever. With my e-mail server, it automatically sends an e-mail reminder to my mailbox. HS just does a pop to it and depending on the subject, handles the event. One example is holidays. I normally have the bedroom lights come on in the morning and with this mechanism, if it's a holiday, the event doesn't run.
                              I think there are users using Google calendar for this as well.

                              Robert
                              That's what I do - Use Keywords in Google Calendar entries

                              Comment


                                #30
                                V1.0.0 now available for download

                                I've now written up the documentation and packaged this up. You can now download it from my site.

                                If you were one of the testers, please also download and replace your existing script. I discovered a very small bug with the report scripting interface. This is detailed in the documentation.

                                Known Limitations
                                Jon

                                Comment

                                Working...
                                X