booch Posted March 3, 2021 Share Posted March 3, 2021 Hey all -- I just got the Generic TCP driver and for my first use case want to solution for severe weather alerts (given I recall they're no longer natively supported by any driver). Has anyone already figured out a good implementation? Happy to be be the first/contribute but don't want to reinvent the wheel. Thanks! Quote Link to comment Share on other sites More sharing options...
Bmwbball88 Posted March 4, 2021 Share Posted March 4, 2021 Tagging along on this thread for when you get a solution too Quote Link to comment Share on other sites More sharing options...
booch Posted March 9, 2021 Author Share Posted March 9, 2021 On 3/3/2021 at 8:01 PM, Bmwbball88 said: Tagging along on this thread for when you get a solution too Could be awhile, but I'll figure it out! Quote Link to comment Share on other sites More sharing options...
booch Posted March 9, 2021 Author Share Posted March 9, 2021 Do any users of the Generic TCP Driver know if the HTTP GET functionality can be used to query an API and bring back a JSON result which logic can be run on? I don't see anything like that in the documentation, but I can't otherwise think of a reason for the functionality. Quote Link to comment Share on other sites More sharing options...
poisenoire Posted March 22, 2021 Share Posted March 22, 2021 I used the "old" and free TCP driver in the past to do just that: severe weather alerts. I just ran Node-Red on an old Pi that would query whatever I wanted (in this case an API for my own weather system), then would fire the TCP event #1-15 based upon the severe weather alert notice. I then had custom announcements setup correlating to the weather alert and the programming was simply based upon "if TCP driver receives 1, play announcement 1" Is there a "new" tcp events driver? Thought the old one broke back in 2.6 or something like that Quote Link to comment Share on other sites More sharing options...
Neo1738 Posted March 24, 2021 Share Posted March 24, 2021 I've been waiting 2 years for this. There was a driver just over a year ago but then I think apple bought the api of the weather agent that was being used and it broke. No replacements since. Quote Link to comment Share on other sites More sharing options...
poisenoire Posted April 20, 2021 Share Posted April 20, 2021 Really if they'd just put back the weather alerts function in the core driver it would meet a lot of use cases out there. While I agree local PWS is a major plus, not having the weather alerts is a big pain, especially since they are also free from NWS on your SAME / FIPS / COUNTY RSS feed. Quote Link to comment Share on other sites More sharing options...
Cyknight Posted April 20, 2021 Share Posted April 20, 2021 6 hours ago, poisenoire said: Really if they'd just put back the weather alerts function in the core driver it would meet a lot of use cases out there I can't help but wonder if it's the law department preventing it...... Quote Link to comment Share on other sites More sharing options...
RyanE Posted April 20, 2021 Share Posted April 20, 2021 8 hours ago, Cyknight said: I can't help but wonder if it's the law department preventing it...... Although I have no direct knowledge, I would also think liability would be the biggest issue. RyanE Quote Link to comment Share on other sites More sharing options...
wnpublic Posted April 20, 2021 Share Posted April 20, 2021 Easy with Home Assistant https://github.com/finity69x2/nws_alerts Quote Link to comment Share on other sites More sharing options...
msgreenf Posted April 20, 2021 Share Posted April 20, 2021 11 minutes ago, wnpublic said: Easy with Home Assistant https://github.com/finity69x2/nws_alerts and no "company" is behind that... Are users going to turn around and sue finity69x2? no. will they sue control4 if they didn't get the alert - yup Quote Link to comment Share on other sites More sharing options...
wnpublic Posted April 20, 2021 Share Posted April 20, 2021 1 minute ago, msgreenf said: and no "company" is behind that... Are users going to turn around and sue finity69x2? no. will they sue control4 if they didn't get the alert - yup This is the funniest c4xcuse yet. "We can't offer obvious functionality that users want and is available elsewhere - the liability!!! Everything is great though." Quote Link to comment Share on other sites More sharing options...
msgreenf Posted April 20, 2021 Share Posted April 20, 2021 Just now, wnpublic said: This is the funniest c4xcuse yet. "We can't offer obvious functionality that users want and is available elsewhere - the liability!!! Everything is great though." it's not obvious for most of the US..... Quote Link to comment Share on other sites More sharing options...
wnpublic Posted April 20, 2021 Share Posted April 20, 2021 1 minute ago, msgreenf said: it's not obvious for most of the US..... I'm guessing my knowledge of legal matters including the validity of liability waivers compares favorably to yours...wouldn't challenge you on technical/networking issues tho. Quote Link to comment Share on other sites More sharing options...
msgreenf Posted April 20, 2021 Share Posted April 20, 2021 That's not what I was referring to. I was saying that a majority of Americans don't worry about tornadoes Quote Link to comment Share on other sites More sharing options...
wnpublic Posted April 20, 2021 Share Posted April 20, 2021 2 minutes ago, msgreenf said: That's not what I was referring to. I was saying that a majority of Americans don't worry about tornadoes Oh ok, nobody wants severe weather alerts. Got it. Quote Link to comment Share on other sites More sharing options...
poisenoire Posted April 20, 2021 Share Posted April 20, 2021 Perhaps there is valid legal concern, but the weather station driver DID have all those alerts prior to the deprecation of WU. Those were specifically programmable against and are still listed in the documentation (with a call out that they no longer work, but they are listed in detail). Quote Link to comment Share on other sites More sharing options...
Cyknight Posted April 20, 2021 Share Posted April 20, 2021 42 minutes ago, poisenoire said: Perhaps there is valid legal concern, but the weather station driver DID have all those alerts prior to the deprecation of WU. Those were specifically programmable against and are still listed in the documentation (with a call out that they no longer work, but they are listed in detail). Doesn't change that I suspect liability is the issue. You can shut down a function for that very reason as well.... I also think documentation may need updating. 2 hours ago, wnpublic said: I'm guessing my knowledge of legal matters including the validity of liability waivers compares favorably to yours...wouldn't challenge you on technical/networking issues tho. You may be guessing correctly - but tell me this: who's signing that waiver, when? C4 making that function available without a required signed waiver for a dealer to install and a user to program against it would be a huge opening to SUE for someone for something (sad as that is) - even if it would come to nothing, the legal cost alone could be tremendous. And as per the above raised comparison - it's not that likely that the dealer would be the target, because there'd be limited gain. Sue Control4/Snap AV on the other hand...... Heck, it could come from the other direction too - WU stating they don't want this function in 3rd party implementation as the data association could make THEM liable even if C4 is deemed not to be. Quote Link to comment Share on other sites More sharing options...
booch Posted May 15, 2022 Author Share Posted May 15, 2022 On 3/8/2021 at 11:46 PM, booch said: Could be awhile, but I'll figure it out! So pumped -- was a bit under the weather so having a calm night and decided to dust this off and give it another crack -- figured it out! Using Node-Red to query NWS/weather.gov every 60s then bringing the status into C4 variables via the Generic TCP Command Driver. Going to refine/package this over the next week then will share files/details. Pretty straightforward, actually, once familiar. (See flow pic.) South Africa C4 user 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.