Time & Temp at the top of the hour

Greetings, I saw a message on another list where the user mentions he has the the temperature announced at the top of the hour in addition to the time.
I would like to know if this can be done in the new ASL3.
I have the time working but no temperature announcements.

Thanks in Advance
Bob - W0NQX

1 Like

There is no reason it can not be.
Given you have the compatible hardware for temp that can output data that can be read.
It is all what you make it in a script and the dialplan.

Bob what you are looking for is at HamVoIP I think. Called Autosky. Its a bunch of script files. I have installed it on a repeater for a friend, but only the WWV and WX stats. Autosky also has the ability to poll NWS for weather alerts and depending on settings can make an announcement over the air of that info…
GeorgeC W2DB

2 Likes

*/30 * * * * (source /usr/local/etc/allstar.env ; /usr/bin/nice -19 /usr/bin/perl /usr/local/sbin/saytime.pl PUT YOUR ZIP CODE HERE $NODE1 > /dev/null)
That is the crontab command for time and temp every 30 minutes in HamVoip, Not sure if is the same in AllStar 3
but it might give you something to look for. It is NOT AutoSky.

The command asl-say will do the time an a few other things. It currently does not report the weather. The saytime.pl is not provided with ASL3. The plan is that what asl-say… well… says… will expand over time. If reporting temperature of interest, please file a feature request with ASL3.

Everyone,
Thanks for the replies. I had a node running Hamvoip, and I was working with ASL3.
I will put in a feature request and see what happens, I did not want to go full Autosky. just the Time and Temp. is all I wanted. I tried on ASL3 all the things listed above, and no, none of them worked.
I will do a wait-and-see if feature folks add it to the tree. the plan is to upgrade all the nodes in our group to ASL3.

Thanks in Advance
Bob W0NQX

Does anyone know if this feature has been added yet?

Exactly what feature ? several are discussed, and they are not all exactly the same.
Time announcement has always been an option for over 15 years.
Temperature requires outside hardware or outsourced web contacts.
Both require user participation/work to make it function as desired.

I was mainly referring to the weather/temp announcements like hamvoip does.

Also curious if skywarnplus alerts show up on the allmon dashboard or cockpit or anywhere like hamvoip does on that as well. I’m urged to change out controllers from hamvoip to more modern ASL3 software but want to be sure some of those staples work and that it won’t create any issues making it no worth my while ya know.

I would say query the folks at skywarn plus etc.
Just because someone writes some software does not obligate the folks at asl or allmon to start building integration.for it.
But if you would do it and publish your results, I’m sure someone would appreciate it. That is generally how this works in open source software.
But waiting for someone else to do it is always an option…

I’m the author of SkywarnPlus. Allmon3 does not incorporate SkywarnPlus or any other external sources. That would be entirely up to the devs behind Allmon3 to implement a mechanism to read SWPs stored data. There’s nothing I can do with SWP to add anything to Allmon3.

The only reason Supermon can show SWP alerts, is because Supermon was already written to read data from Autoskywarn. I was able to write a hack into SWP to “impersonate” Autoskywarn to get stuff to show up on Supermon. Allmon3 does not have anything like that though.

As far as hourly time/temp… You can already do that. Write a little script that grabs the info from a source of your choosing and uses ASL3’s built in TTS utility to say it. I don’t think there’s any reason for ASL3 to come with that built in.

There’s already another Allstar distro out there that comes fully loaded with tons of crud like bloatware and janky scripts. No reason to ruin ASL with the same stuff. It’s based on Arch, I think you know the name of it…

Leave the “extra features” up to the end user. Let the ASL devs focus on the actual core software. ChatGPT can toss together a TTS weather script for you in like 20 seconds :wink:

1 Like
1 Like

Freddie’s got a video for everything!

2 Likes

And it works.

Question what is the command for locating duplicate files?

Thanks Mason, it had not crossed my mind to put together my own script to query the weather. I think that’ll work pretty well actually. BTW Thanks for the good work on SWP, awesome piece of kit right there. kudos!

1 Like