Announcement

Collapse
No announcement yet.

How to enter time in HST?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Thank you for posting those screen shots.
    Seems I had a "Homer" moment when setting up the events.
    Under the script procedure to run, I had ("CheckAlarm") and your screen shots showed me that it should be ("CheckAlarm","") and so now of course everything runs fine.

    Thanks again,
    Tim
    FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

    HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

    Comment


      #17
      let me know how you get on with it and whether it all works, I wrote it all in a bit of a rush. I do use it regularly but I generally don't wake up in time (a bomb would struggle to get me up sometimes) to actually turn it off at the screen hence why I have an event to turn it off when I walk in the lounge.

      Comment


        #18
        It has been working perfect.

        Now for another question. Would it be possible to use the same kind of process to do a recipe screen?
        I found an older post where some guys put together an asp page to read an xml file of drink recipes. I figured out, with trial and error, to get 2 devices in HS to display the title and ingredients of the recipes you choose from a drop down on the asp page.
        Could this be done in HST using the List box and calling the asp page, or would the asp page have to be converted into a script?

        Thanks,
        Tim
        Attached Files
        FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

        HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

        Comment


          #19
          Yes providing you did not want the list box data to change (whilst HSTouch was running), you can put what you want in a list box and then trigger something when you change it. You could trigger a script that finds out what you pressed and then set some devices on the basis of this.

          If your recipes are held on ASP pages then you by way of script can set the URL of a text element to the recipe page.

          Comment


            #20
            fungun,

            I've fixed the asp page so that the pulldown list shows (and links to) the drink names containing apostrophes (sp?) properly.

            (your 2 lines with the hs.setdevicestring are not included though)
            Attached Files

            Comment


              #21
              This may be a stupid question, but...

              Originally posted by mrhappy View Post
              ...
              I've copied it to a new project instead and attached it here (with some of the graphics if they are any good to you) - if all else fails you could open two copies of the designer and copy the list boxes between this project and your own.
              I just stumbled across this clock thread and would like to try it out, but I don't see the project? Was it attached somewhere else and I just don't see it?

              Thanks
              Steve

              (System configuration is in my profile)

              Comment


                #22
                See comment #2 in this thread http://board.homeseer.com/showthread...863#post843863

                Comment #29 is my package of revised scripts. I use the package without going thru HST and it works great.

                Comment


                  #23
                  Originally posted by ameridan View Post
                  See comment #2 in this thread http://board.homeseer.com/showthread...863#post843863

                  Comment #29 is my package of revised scripts. I use the package without going thru HST and it works great.
                  OK, I guess since this thread originally started out talking about HSTouch I expected to see an HSTouch Designer package that I would install to my designer folder.

                  Thanks for all your hard work!
                  Steve

                  (System configuration is in my profile)

                  Comment


                    #24
                    mrHappy, do you have this running in HS3?
                    I keep getting this long error that a "Sub or Function" can't be found.

                    Thanks,
                    Tim
                    FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

                    HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

                    Comment


                      #25
                      Originally posted by fungun View Post
                      mrHappy, do you have this running in HS3?
                      I keep getting this long error that a "Sub or Function" can't be found.

                      Thanks,
                      Tim
                      Afraid I have never tried it (my alarm is now automated and I no longer have a touch screen next to the bed) and looking at it at first glance there would need to be some amendments for it to work with HS3. In HS3 it would probably be easier to have a range of hours (0-23) in one device, a range of minutes (0-59) in another device. You'd then just status track the list boxes to the devices in HS, then when you press enable alarm it passed both device values to the script and you could do it that way.

                      Comment


                        #26
                        So I basically have to start over.
                        Hs3 is so complicated.
                        Should I still be able to use the first part of the script where it passes the parms from HSTouch?
                        You'd then just status track the list boxes to the devices in HS
                        This part confuses me.
                        have a range of hours (0-23) in one device, a range of minutes (0-59) in another device
                        You're talking about the Status Graphics tab for devices?

                        Thanks,
                        Tim
                        FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

                        HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

                        Comment


                          #27
                          Last year Colin asked about Zoltar which is a flash file I use with the Joggler and old Chumby. This lead to a discussion relating to clocks and alarm clock flash files.

                          You could just install an alarm clock flash file if you wanted to. No scripting involved.

                          Look here:

                          Zoltar, clocks flash files

                          You can also install an html5 clock / alarm clock today.

                          Here is a simple jquery alarm clock. Just copy the files over to your homeseer html directory.

                          Looks like this:

                          [ATTACH]60913[/ATTACH]
                          Last edited by Pete; April 29, 2017, 05:23 PM.
                          - Pete

                          Auto mator
                          Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                          Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                          HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                          HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                          HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                          X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                          Comment

                          Working...
                          X