dl1hrc / svxlink-contributions Goto Github PK
View Code? Open in Web Editor NEWAdditional stuff for SvxLink
Additional stuff for SvxLink
I have make some Experiments on my Computer for running Weatherwarning without Mail
In home/svxlink there is a file with Name WarnWetter.tcl with the following content
set now [clock seconds];
set hour [clock format $now -format "%H"];
set minute [clock format $now -format "%M"];
scan $hour %d hour;
scan $minute %d minute;
set interval 20;
if {($minute % $interval) == 0 } {
set dir "/usr/share/svxlink/sounds/de_DE/WeatherInfo/archive"
set file_list [glob -nocomplain "$dir/*"]
if {[llength $file_list] != 0} {
# puts "Ausgabe Wetterwarnung-> Minute: $minute , Interval: $interval";
set iterations 20;
set base 2;
set max [expr {pow($base, $iterations)}];
for {set i $iterations} {$i>0} {set i [expr $i - 1]} {
playTone 440 [expr {round(pow($base, $i) * 150 / $max)}] 100;
playTone 510 [expr {round(pow($base, $i) * 150 / $max)}] 100;
}
WeatherInfo::getNumberOfRecords;
} else {
# puts "nix neues vom Wetter..."
}
}
under home/svxlink/Wetter there is a file with Name dwd.sh this will be startet per cronjob every 30 Minutes
this is creating in the folder /tmp a file with the name dwd.log2 (its empty)
under usr/share/svxlink/events.d there is a file with Name WeatherInfo.tcl
under usr/share/svxlink/events.d/local there is a file with Name Wetter.tcl and locale.tcl
under usr/share/svxlink/modules.d there ar more files but i have coppied the file ModuleWeatherInfo.tcl
under usr/share/svxlink/sounds/de_DE/Weatherinfo there is a folder with the name /archive but its empty
When i now start svxlink with restart the comes the following mistake:
dh3pae@weewx-reserve:~$ systemctl restart svxlink.service
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Legitimierung ist zum Neustarten von »svxlink.service« notwendig.
Authenticating as: dh3pae,,, (dh3pae)
Password:
==== AUTHENTICATION COMPLETE ===
dh3pae@weewx-reserve:~$ tail -f /var/log/svxlink
Mon Jan 18 13:30:19 2021: ***** WARNING: Calling deprecated TCL event handler addTimerTickSubcriber.
Mon Jan 18 13:30:19 2021: Use addMinuteTickSubscriber instead**
Mon Jan 18 13:30:19 2021: SimplexLogic: Event handler script successfully loaded.
Mon Jan 18 13:30:19 2021: Connected to APRS server 85.90.180.26 on port 14580
Mon Jan 18 13:30:19 2021: EchoLink directory status changed to ON
Mon Jan 18 13:30:35 2021: --- EchoLink directory server message: ---
Mon Jan 18 13:30:35 2021: EchoLink Server v2.5.9997
Mon Jan 18 13:30:35 2021:
Mon Jan 18 13:30:35 2021: ECHOEC2-1: Herndon, VA USA
Mon Jan 18 13:30:35 2021:
Please Help where can be my mistake??
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.