Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

randyth

Members
  • Joined

  • Last visited

Everything posted by randyth

  1. Thanks so much for taking the time to help test and think this through, @MWareman. From what I see, the results support your Cloudflare idea. @Michel Kohanim, could the fact that my "failed" ISY/Polisy NRs rely on APIs running behind Cloudflare or Cloudfront (api.notifymyecho.com uses Cloudfront) be the issue? Cheers, -Randy
  2. You probably forgot to put quotes around the URL when using curl and wget. You might try this, for example: curl 'https://www.alphavantage.co/query?function=SYMBOL_SEARCH&keywords =tesco&apikey=demo' That works find for me, at least -- even when called from Polisy's SSH shell. I am simply using alphavantage as a test of Polisy's ability to access public APIs. I discovered this issue with Polisy's NR system when importing the NRs from my ISY994i. Network Resources on ISY/Polisy could not access api.notifymyecho.com or api.virtualbuttons.com, even though these exact APIs work flawlessly on my ISY994i. You can read more about the origin of this issue here. I am in the same boat. I have a lot of other NRs configured that work without issue in ISY/Polisy, just not any that access an API outside my local network. Do any of your functioning ISY/Polisy Network Resources access APIs outside your local network?
  3. I did see that but find it hard to believe it's a timeout issue. Even if I increase the Timeout setting from 2 to 20 seconds (20,000 ms, the maximum setting), the "Request Failed" box appears immediately. I think Michel's interpretation of the error log is likely more indicative of the problem... ...and suspect a "cannot connect" is always accompanied by a "client timed out". My ISP's default servers (Comcast 69.252.228.129/69.252.228.133). Note that Polisy can ping these public API endpoints without issue -- it's just the ISY on Polisy Network Resources system that is struggling with them. @MWareman, Are you able to access www.alphavantage.co from a Polisy NR (er, assuming you've installed ISY on Polisy and are willing to take the time to play guinea pig)? You can check out the screenshot in my previous post for how to set it up if you have the time.
  4. Interesting. My Polisy is connected to the same router (ethernet, not Wi-Fi) as my ISY994i and other equipment. Additionally, I can ping the URL successfully from Polisy using SSH: Another test I just did was to use the www.alphavantage.co API instead of api.notifymyecho.com. Again, the Network Resource calling www.alphavantage.co works on my ISY994i but not ISY on Polisy: This alphavantage NR results in another -1 error when called by my ISY on Polisy. Time User Code Message Mon 1900/01/01 12:00:00 AM System -170001 <s:Envelope><s:Body><u:TestNetResource xmlns:u="urn:udi-com:service:X_Polisy_Service:1"><id>1</id><flag>1</flag></u:TestNetResource></s:Body></s:Envelope> Mon 2021/11/15 09:38:53 AM 0 -170001 [TCP-Conn] -1/-140002, Net Module Rule: 1 Mon 2021/11/15 09:38:53 AM 0 -170001 <s:Envelope><s:Body><u:GetLastError xmlns:u="urn:udi-com:service:X_Polisy_Service:1"></u:GetLastError></s:Body></s:Envelope> Mon 2021/11/15 09:38:53 AM 0 -170001 <s:Envelope><s:Body><u:ClearLastError xmlns:u="urn:udi-com:service:X_Polisy_Service:1"></u:ClearLastError></s:Body></s:Envelope> -Randy
  5. Here's what's in the error log: Time User Code Message Mon 1900/01/01 12:00:00 AM System -170001 <s:Envelope><s:Body><u:TestNetResource xmlns:u="urn:udi-com:service:X_Polisy_Service:1"><id>21</id><flag>1</flag></u:TestNetResource></s:Body></s:Envelope> Thu 2021/11/11 08:13:39 AM 0 -170001 [TCP-Conn] -1/-140002, Net Module Rule: 21 Thu 2021/11/11 08:13:39 AM 0 -170001 <s:Envelope><s:Body><u:GetLastError xmlns:u="urn:udi-com:service:X_Polisy_Service:1"></u:GetLastError></s:Body></s:Envelope> Thu 2021/11/11 08:13:39 AM 0 -170001 <s:Envelope><s:Body><u:ClearLastError xmlns:u="urn:udi-com:service:X_Polisy_Service:1"></u:ClearLastError></s:Body></s:Envelope>
  6. @Michel Kohanim Well, I can successfully call httpbin.org's GET method using a NR on Polisy, so it sounds like something about the api.notifymyecho.com endpoint. Could this be a TLS protocol issue? (How do you change the TLS version on Polisy?)
  7. It does work with curl. The same API call also works fine on my old ISY which I exported it from to get it onto ISY on Polisy. I'm going to try a different external API or two to see if it's something funky with api.notifymyecho.com or not.
  8. Use SNI is definitely checked, and I've upped the timeout to as high as 10 seconds (10,000 ms) and still get a Request Failed error.
  9. Sadly, that did not help. I still get "Request Failed" when calling external https APIs.
  10. I recently imported all the Network Resources from my ISY994i to my ISY on Polisy to test things out. The Polisy successfully calls local APIs for devices such as Shelly Relays, but not external secure (https) APIs such as api.notifymyecho.com. I get a Request Failed error. Is this a known issue with ISY on Polisy or am I missing something? Here is an example of a Network Resource that fails:
  11. Oh, I didn't consider this complication yet. I have a ton of scenes/programs/devices exposed to Alexa. This project is clearly going to be an adventure no matter how I attack it.
  12. Brave man. Just ripped the band aid off, didn't you? Because I have a backup serial PLM running the Polisy/ISY in parallel with my original ISY994i/IR, I'm planning on slowly transitioning one "system" at a time (basic lighting/scenes first, then maybe HVAC stuff, and so forth). I'll delete each device from my original setup, link it to the Polisy, then manually rebuild the related programs and variables. I figure this will force me to refactor my logic as I go, optimizing things for flexibility and/or efficiency. Now that I've typed out this grand plan, it all sounds quite insane. Hmmm, maybe I need to rethink this... Perhaps band-aid ripping is the way to go!
  13. That is an excellent point. But, what if your purchased node server stops functioning three years later due the manufacturer changing their firmware and/or API? Technically, one might argue that your purchased product still functions as well as it did on day one; it is the device that stopped working as it used to, due to no fault of the node server developer. So, is a developer with no formal ties to the device manufacturer (and therefore no direct income from the sale of the devices) obligated to fix your one-and-done purchase of their node server so it continues to function at its "purchased capabilities?"
  14. I agree with the way you differentiate when you prefer one pricing model over the other. It makes good sense and, like anyone, I prefer the simplicity and (usually) lower long-term costs of paying only once. That said, even authorized APIs change/break and a ~$5 annual "insurance payment" to encourage timely fixes is not unpalatable to me.
  15. I actually think subscriptions (if reasonably priced) are OK because they keep the author interested in keeping their software functioning. As for the current list of PG3 node servers, please ensure HarmonyHub and WirelessTag are ported over! -Randy
  16. I believe it is real. Here is the link to UDI's own website about it: https://www.universal-devices.com/important-security-notice/
  17. While I agree that you should stick with "real" smart devices (i.e., ones natively supported by your ISY and/or one of its polyglot node servers), Amazon has a pretty good sale on its smart plugs right now. Order through your Alexa device (“Alexa, order an Amazon Smart Plug“) and you can get the first one for just $4.99. Here's a link: https://www.amazon.com/gp/product/B01MZEEFNX -Randy
  18. More reports of Announcement weirdness:
  19. Small world! Well, sadly, I do not have Jeff's number. Let us know if it goes away on its own or if you had to do something like change the announcement text.
  20. I just got an email from one of my Virtual Buttons skill users who is encountering this very problem, so you are not alone. It's weird, but I have to believe it will likely get fixed by Amazon soon. -Randy
  21. That will happen whenever you try to send more than five notifications inside a five minute period. This is a limitation enforced by Amazon. Check out the FAQ for more information:
  22. In case you missed UDI's recent "ISY Can Now Talk To You!" email, check this out: -Randy
  23. I found these two links with a quick "alexa push notifications bluetooth" Google search: http://theappslab.com/2017/12/08/alexa-push-notifications-via-reminders/ https://community.smartthings.com/t/push-notifications-to-pc-amazon-echo/88566 I'm sure you can find many more push notification hacks with this or a similar search phrase. Unfortunately, I haven't bothered to try any push notification hacks so I can't recommend one over the other. -Randy
  24. As you discovered, the way Alexa notifications work is that you hear a chime sound and the Echo's light ring illuminates to let you know you have pending notifications. (You can read about Amazon's Alexa notification system here.) I believe Amazon designed notifications this way so you are alerted to them even if you are out of the room when they arrive, much like the light on an answering machine lights up to let you know you have messages pending. Notify Me uses Amazon's official notification system. And, of course, it is up to Amazon to change the way their notification system works. Amazon is always updating and improving Alexa, so it is possible they will add something in the Alexa app's Settings menu that allows you to make notifications speak aloud as soon as they arrive. I don't know if they have plans to do this, but I certainly hope they do. There are unofficial hacks you can use to make Alexa speak without prompting. They usually involve pairing a dedicated tablet or phone to your Echo and then running some custom code on it and/or another device that is part of your local network. -Randy
  25. I assume this question is about the Alexa Responder tool or the official ISY Optimized for Smart Home V3 skill, not the Notify Me skill. If so, you might want to ask it in another thread. This Notify Me Beta Test thread should probably be closed (since Notify Me is no longer in Beta) and/or moved here. Cheers, -Randy

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.