Announcement

Collapse
No announcement yet.

Jon00 Homeseer/Echo Skill Helper for Homeseer 3 & Homeseer 4

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

    Jon,

    Is there a replacement variable for the Device Location?

    tenholde
    tenholde

    Comment


      Originally posted by basshook View Post
      Jon, does the history page need to be refreshed after an extended period? I got a skill time out message when executing a know good command this morning. I looked at the history page and the last entry was 5 hours old despite the recent command. I refreshed the history page and it solved the issue (showed the new command on the history page and Alexa location work as it should).

      -Ron
      I have had my History page up and running for 5 days now and have not needed to refresh anything.
      Jon

      Comment


        Originally posted by tenholde View Post
        Jon,

        Is there a replacement variable for the Device Location?

        tenholde
        There is but you may need to download the release version on my site.
        Jon

        Comment


          Originally posted by Simonk View Post
          I wrote a script which I've been using with Jon00Alexa to get the status of any device in HomeSeer without having to set them all up as Triggers.

          So I can say 'Ask HomeSeer the Status of Extractor Fan', the word Status is set as a trigger in Jon00Alexa which then runs the script. The script cycles through each device seeing if all the words in the Device Name are in the phrase from Alexa. When the first match is found it will stop and announce the device status.

          I'm by no means a scripting expert so there may be better and tidier ways to do it, but it works for me!

          Screen shot below of how I set up the trigger and a zip file attached of script which needs to be unzipped and put into the scripts folder.
          when selecting the script from the drop down list I don't get the "$" Carsten in the run script section. when testing it only answers scriptfunc. there is no errors in the log. what can be the problem?



          Jan-19 8:32:28 AM Jon00_Alexa RunScript - ScriptParm: get status of bathroom light
          Jan-19 8:32:28 AM Jon00_Alexa Integer Parsed: -99999999
          Jan-19 8:32:28 AM Jon00_Alexa Alexa Number String:
          Jan-19 8:32:28 AM Jon00_Alexa Script processing time: 3 ms
          Jan-19 8:32:28 AM Jon00_Alexa Response sent to Alexa: '[Scriptfunc]'
          Jan-19 8:32:28 AM Jon00_Alexa Successful trigger under [Trigger9]
          Jan-19 8:32:28 AM Jon00_Alexa Integer Parsed: -99999999
          Jan-19 8:32:28 AM Jon00_Alexa Alexa Number String:
          Jan-19 8:32:28 AM Jon00_Alexa Alexa command heard: 'get status of bathroom light'
          Hector
          ____________________________________
          Win.2003 OS, HS3
          BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
          BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
          MyTrigger,ACRF2,W800,Zwave
          AP800,Honeywell Stat

          Comment


            Originally posted by Rotech View Post
            when selecting the script from the drop down list I don't get the "$" Carsten in the run script section. when testing it only answers scriptfunc. there is no errors in the log. what can be the problem?
            Add the "$" manually to the text box after selecting the script.
            Jon

            Comment


              Jon, do you need the lastest rev. To make this script to work?
              Hector
              ____________________________________
              Win.2003 OS, HS3
              BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
              BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
              MyTrigger,ACRF2,W800,Zwave
              AP800,Honeywell Stat

              Comment


                You need V1.0.8 or later. The current version is 1.0.13
                Jon

                Comment


                  Originally posted by jon00 View Post
                  Add the "$" manually to the text box after selecting the script.
                  I added the $ Symbol and I get this error.


                  Jan-19 10:20:07 AM Error Loading script $StatusAlexa.vb :File not found: $StatusAlexa.vb
                  Hector
                  ____________________________________
                  Win.2003 OS, HS3
                  BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
                  BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
                  MyTrigger,ACRF2,W800,Zwave
                  AP800,Honeywell Stat

                  Comment


                    Your version is too old, please update.
                    Jon

                    Comment


                      ok,got it working.needed to update software,thanks Jon.
                      Hector
                      ____________________________________
                      Win.2003 OS, HS3
                      BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
                      BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
                      MyTrigger,ACRF2,W800,Zwave
                      AP800,Honeywell Stat

                      Comment


                        I have updated, but now I can get to my INI settings. Comes out with a error.
                        Hector
                        ____________________________________
                        Win.2003 OS, HS3
                        BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
                        BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
                        MyTrigger,ACRF2,W800,Zwave
                        AP800,Honeywell Stat

                        Comment


                          I get this error

                          Error in Main1 - Block 5 System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.Array.InternalGetReference(Void* elemRef, Int32 rank, Int32* pIndices) at System.Array.GetValue(Int32 index) at Microsoft.VisualBasic.CompilerServices.Symbols.Container.Get ArrayValue(Object[] Indices) at Microsoft.VisualBasic.CompilerServices.NewLateBinding.Intern alLateIndexGet(Object Instance, Object[] Arguments, String[] ArgumentNames, Boolean ReportErrors, ResolutionFailure& Failure, Boolean[] CopyBack) at Microsoft.VisualBasic.CompilerServices.NewLateBinding.Object LateInvokeDefault(Object Instance, Object[] Arguments, String[] ArgumentNames, Boolean ReportErrors, Boolean[] CopyBack) at Microsoft.VisualBasic.CompilerServices.NewLateBinding.Intern alLateInvokeDefault(Object Instance, Object[] Arguments, String[] ArgumentNames, Boolean ReportErrors, Boolean[] CopyBack) at scriptcode12.VBWrapper.Main(Object MyData)
                          Hector
                          ____________________________________
                          Win.2003 OS, HS3
                          BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
                          BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
                          MyTrigger,ACRF2,W800,Zwave
                          AP800,Honeywell Stat

                          Comment


                            Did you update all the files in the download apart from the ini file?
                            Jon

                            Comment


                              Originally posted by jon00 View Post
                              I have had my History page up and running for 5 days now and have not needed to refresh anything.
                              I had the page minimized for at least five hours with no Alexa activity. After the skill timed out, viewing the page did not show either native Alexa commands (which still worked) or the Homerseer skill commands (with your web code, that didn't work). It's like the page got swapped out.....

                              I am going to do some testing with this auto refresh plugin: https://chrome.google.com/webstore/d...falko?hl=en-US

                              -Ron

                              Comment


                                Difficult to comment. I'm back from work and the History page is still working fine here.
                                Jon

                                Comment

                                Working...
                                X