iPAWS pin

if you have a PIN otherwise ignore this
This commit is contained in:
SpudGunMan
2024-12-12 11:49:14 -08:00
parent 5718a43d20
commit 56bd6f9ea7
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -457,7 +457,6 @@ def getIpawsAlert(lat=0, lon=0, shortAlerts = False):
alerts = []
# set the API URL for IPAWS
ipawsPIN = "000000"
alert_url = "https://apps.fema.gov/IPAWSOPEN_EAS_SERVICE/rest/feed"
if ipawsPIN != "000000":
alert_url += "?pin=" + ipawsPIN
+1
View File
@@ -158,6 +158,7 @@ try:
wxAlertsEnabled = config['location'].getboolean('NOAAalertsEnabled', True) # default True not enabled yet
repeater_lookup = config['location'].get('repeaterLookup', 'rbook') # default repeater lookup source
mySAME = config['location'].get('mySAME', '').split(',') # default empty
ipawsPIN = config['location'].get('ipawsPIN', '000000') # default 000000
femaAlertBroadcastEnabled = config['location'].getboolean('femaAlertBroadcastEnabled', False) # default False
femaAlertBroadcastCh = config['location'].get('femaAlertBroadcastCh', '2').split(',') # default Channel 2
wxAlertBroadcastEnabled = config['location'].getboolean('wxAlertBroadcastEnabled', False) # default False