EvoControl - custom Alexa skill for Evohome

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Midland45
    Automated Home Ninja

    • Jan 2022
    • 278

    Originally posted by philchillbill View Post
    ngrok has started adding an interceptor which needs to be clicked away and the skill is not doing that (yet). I'll look into it:

    [ATTACH=CONFIG]2007[/ATTACH]

    If there's any way you can open 443 in your router and get a DNS name like joebloggs.no-ip.com it will be set-and-forget. ngrok is great for quick and dirty testing of stuff but not ideal for longer term.

    EDIT: I've added the required header headers: { "Content-Type": "application/json", "ngrok-skip-browser-warning": "true" } to the ngrok request so it should work OK now.
    Still not working but maybe I will have to look at moving from ngrok as suggested but will have to check into what the potential risk of opening port 443 up would be. I do have a VPN which maybe another option.
    Thanks for your help

    Comment

    • philchillbill
      Automated Home Legend

      • Jan 2017
      • 1657

      Originally posted by Midland45 View Post
      Still not working but maybe I will have to look at moving from ngrok as suggested but will have to check into what the potential risk of opening port 443 up would be. I do have a VPN which maybe another option.
      Thanks for your help
      After you updated the ngrok URL at the account dashboard, did you either say "Alexa, update my configuration" or click the recycle icon on the skill settings page on your Echo?

      Comment

      • Midland45
        Automated Home Ninja

        • Jan 2022
        • 278

        Originally posted by philchillbill View Post
        After you updated the ngrok URL at the account dashboard, did you either say "Alexa, update my configuration" or click the recycle icon on the skill settings page on your Echo?

        Comment

        • philchillbill
          Automated Home Legend

          • Jan 2017
          • 1657

          I had a play with ngrok myself just now and made a few code changes that have it working correctly again for me here after ngrok is restarted and the URL changes. Should work for you too:
          • Launch the skill.
          • In the skill settings, make sure that "Use HGI-80/Domoticz for control when possible" is enabled.
          • Press the Account button with the recycle-icon.


          You should now be told that Domoticz was found at the new ngrok URL.

          Comment

          • Midland45
            Automated Home Ninja

            • Jan 2022
            • 278

            Originally posted by philchillbill View Post
            I had a play with ngrok myself just now and made a few code changes that have it working correctly again for me here after ngrok is restarted and the URL changes. Should work for you too:
            • Launch the skill.
            • In the skill settings, make sure that "Use HGI-80/Domoticz for control when possible" is enabled.
            • Press the Account button with the recycle-icon.


            You should now be told that Domoticz was found at the new ngrok URL.
            Thats great as its now all linked up ok again, so thanks for that.
            Just noticed though that when using the trend displaying option, its not displaying the last 24 hours of actual temp values, it seems to be missing the last 6 hours of trend history. It is however displaying the full 24 hour set point trend history. This was previously working fine. Checking on Domoticz itself shows both actual and set point trend history ok.

            Comment

            • philchillbill
              Automated Home Legend

              • Jan 2017
              • 1657

              Originally posted by Midland45;
              Thats great as its now all linked up ok again, so thanks for that.
              Just noticed though that when using the trend displaying option, its not displaying the last 24 hours of actual temp values, it seems to be missing the last 6 hours of trend history. It is however displaying the full 24 hour set point trend history. This was previously working fine. Checking on Domoticz itself shows both actual and set point trend history ok.
              I'm working on the charting function at the moment to add new features so you might have accidentally caught a momentary beta (live for 10 seconds before I disabled the new feature for anybody except me while I test ). Can you see if this missing final 6h still happens? Looks OK to me here currently.

              Comment

              • Midland45
                Automated Home Ninja

                • Jan 2022
                • 278

                Originally posted by philchillbill View Post
                I'm working on the charting function at the moment to add new features so you might have accidentally caught a momentary beta (live for 10 seconds before I disabled the new feature for anybody except me while I test ). Can you see if this missing final 6h still happens? Looks OK to me here currently.
                Yeh still the same here differs from zone to zone, but between 6 to 9 hours of the latest "actual" trend data missing. Also just noticed there's a random set point spike recorded on all the zones around 04:00 from 5 deg up to 17deg then back. The system is set to off overnight and I'm not seeing this on the Domoticz trend.

                Comment

                • philchillbill
                  Automated Home Legend

                  • Jan 2017
                  • 1657

                  Originally posted by Midland45 View Post
                  Yeh still the same here differs from zone to zone, but between 6 to 9 hours of the latest "actual" trend data missing. Also just noticed there's a random set point spike recorded on all the zones around 04:00 from 5 deg up to 17deg then back. The system is set to off overnight and I'm not seeing this on the Domoticz trend.
                  Strange. Can you please either post or PM me a screenshot?

                  By the way, I've added a cc: to myself to the BACKUP option so if you can also please try that again I can see if the email is sent to me at least. If so, we know that Apple is holding it back.

                  EDIT: I can see in the logs that your Domoticz is providing way more than 24H worth of data to the /json.htm?type=graph&sensor=temp&range=day&idx=${id x} query. The skill expects 24H worth of 5-min data (+1) = 289 entries. Your Domoticz is spitting out 880 data points. Is that a setting you changed somewhere in Domoticz? I can modify the code to strip the extra unexpected data but I'm curious how you made it happen. EDIT#2: Done.
                  Last edited by philchillbill; 6 January 2023, 04:09 PM.

                  Comment

                  • Midland45
                    Automated Home Ninja

                    • Jan 2022
                    • 278

                    Originally posted by philchillbill View Post
                    Strange. Can you please either post or PM me a screenshot?

                    By the way, I've added a cc: to myself to the BACKUP option so if you can also please try that again I can see if the email is sent to me at least. If so, we know that Apple is holding it back.
                    image0.jpg

                    I can see on the actual trend there is rapid drop/rise on the trend towards the left, which was some simulated "open window testing" I did a couple of days ago, so think the x axis is maybe greater than 24 hours.

                    I've just resent a back up to my icloud email address there also. I actually tried changing to a gmail address this morning and sending a backup, but didn't receive that one either, or find it in spam junk etc.
                    Last edited by Midland45; 6 January 2023, 04:10 PM. Reason: update

                    Comment

                    • philchillbill
                      Automated Home Legend

                      • Jan 2017
                      • 1657

                      If you try plotting it now, does it work ok? I now ignore >289 datapoints if Domoticz provides them...

                      Comment

                      • Midland45
                        Automated Home Ninja

                        • Jan 2022
                        • 278

                        Originally posted by philchillbill View Post
                        If you try plotting it now, does it work ok? I now ignore >289 datapoints if Domoticz provides them...
                        Yes its working ok now, I'm also now seeing the additional Schedule trend you've just rolled out. I haven't changed any settings in Domoticz, so unsure why I would have additional data points.
                        Last edited by Midland45; 6 January 2023, 04:37 PM.

                        Comment

                        • philchillbill
                          Automated Home Legend

                          • Jan 2017
                          • 1657

                          Upgraded Charting



                          I've made some changes to the HGI charting screen. In addition to the Actual/Setpoint curves, a 3rd plot is now shown of the live schedule for the period in question. What you'll see with the differences between 'Schedule' vs 'Setpoint' is when the optimum-start/finishtap on the caption above the plots to toggle the opacity of the attendant curve between 1.0 and 0.3. This makes it much easier to see any of the curves specifically when they overlap each other. See above plot for an example where both the Actual and Schedule are dimmed to make the Setpoint stand out.

                          Incidentally, that tap-to-toggle-opacity also works in the ABC/Live schedule comparison view(s).

                          Comment

                          • philchillbill
                            Automated Home Legend

                            • Jan 2017
                            • 1657



                            The activity editor/viewer has been modified to always be able to show up to a full 12 zones + DHW on a single screen without scrolling. This solves e.g. @Midland45's problem of the scroll-position resetting every time an increment/decrement is done during editing. The layout used to only be responsive to Echo screen size but is now also responsive to tile-count.

                            Comment

                            • Midland45
                              Automated Home Ninja

                              • Jan 2022
                              • 278

                              Great work again. I've tested this out on my Echo Show 8 and its totally removed the issue I was having previously with the editing of zone 9 and 10 during activity setpoint adjustments.
                              Thanks again
                              Last edited by Midland45; 7 January 2023, 09:24 AM.

                              Comment

                              • philchillbill
                                Automated Home Legend

                                • Jan 2017
                                • 1657

                                The dedicated screen shown as a demand-summary when a HGI-80 is in use has now also been modified to always be able to show up to a full 12 zones on a single screen without scrolling. There are new icons for battery percentage steps of 0%, 25%, 50%, 75% and 100% with dedicated colours. Mains connected devices like a BDR-91 controlling a pump now have a mains-plug icon instead of ⚡.

                                Also, the Zone Order screen can now always fit on a single screen (it was being cropped on the 5" Echo Show). The Offsets screen's tiles (max 5x) are no longer ultra-wide on very big Echos/TVs.

                                Comment

                                Working...
                                X