Commit Graph

93 Commits

Author SHA1 Message Date
ac2835e87e Use aiofiles instead of stock open() 2022-11-13 14:33:44 -07:00
204520753a await asyncio.sleep() calls in RecordTasks 2022-11-13 14:31:42 -07:00
38dc9c005c Make each record update its own task 2022-11-13 14:29:46 -07:00
9cc4633e8f __init__ file for record generators 2022-11-13 14:29:16 -07:00
f66e45ef01 Fix FileNotFound error in Alerts 2022-11-12 13:30:10 -07:00
b96bbad5d7 Temporarily remove non-async tasks from main 2022-11-12 13:25:21 -07:00
c20b48b6d9 Make alerts async 2022-11-12 13:22:25 -07:00
900cad0b9b HourlyForecast to asynchronous 2022-11-12 12:59:50 -07:00
73dbba3a65 getData() not awaited in CO and DF records. 2022-11-12 12:58:42 -07:00
e557ebcacb DailyForecast to asynchronous 2022-11-12 12:52:24 -07:00
bdbd707b32 Open CurrentObservations.i2m file asynchronously 2022-11-12 12:45:01 -07:00
60241d7c18 CurrentObservations to async 2022-11-12 12:30:12 -07:00
1c23728ec8 Fix incorrect math on LatLongProject function 2022-11-07 19:54:45 -07:00
10f328fec3 re-enable radarCollector task 2022-11-04 23:47:27 -07:00
6f297ebdd7 Fix broken paths in TWCRadarCollector 2022-11-04 23:47:00 -07:00
3c855b469d FUCKFUCKFUCKFUCKFUCKFUCKFUCK 2022-11-04 20:55:43 -07:00
3cf84b42b7 Obtain forecast information for metro map cities 2022-11-04 20:47:09 -07:00
2d2f7dc5af Add function to obtain Metro cities in the area 2022-11-04 20:45:08 -07:00
a0c142183a getAlertZones now returns the primary county in its list 2022-11-04 20:41:33 -07:00
3716287338 Temporarily comment out the radarCollector task 2022-11-04 20:40:00 -07:00
53cb875c08 Fix expired frames not deleting 2022-11-02 22:57:57 -07:00
6788cd7f1b Add mosaic/satrad check for UDP commands 2022-11-02 22:47:23 -07:00
a282b6c3a7 add satrad to radar types 2022-11-02 22:42:50 -07:00
01236e50d9 Having a check for the radar type causes a bug for some reason. 2022-11-02 22:42:02 -07:00
80ba053cf5 Clear out expired radar frames in the new radar collector 2022-11-02 22:36:55 -07:00
786e365839 Add the radar collector to the task loop 2022-11-02 22:36:42 -07:00
08a88b86fa radarCollector checks at 1 second intervals 2022-11-02 22:11:30 -07:00
b82ad0107b Add radarCollector task to main.py 2022-11-02 22:09:12 -07:00
3c64469b5e Comment .temp/ entry in .gitignore 2022-11-02 22:00:13 -07:00
adeaff276d Server-based radar collector 2022-11-02 21:59:46 -07:00
73c67bebb4 Delete AirQuality.i2m if it fails to create. 2022-10-24 00:56:15 -07:00
0db804a31a Fix request URL for MosquitoActivity record 2022-10-21 22:39:09 -07:00
a45db0afb7 Return the stations list in getTideStations() 2022-10-21 22:36:14 -07:00
fd3218eb7a Add new data collectors to main.py 2022-10-21 22:36:02 -07:00
ad2418ad55 TideForecast record generator 2022-10-21 22:33:17 -07:00
5b734f314c Function to return tide stations in the MPC 2022-10-21 22:01:49 -07:00
910d692f0d WateringNeeds, Aches & Pains, and Mosquito Activity records 2022-10-21 21:50:05 -07:00
28d00ef20c Update lo8s.py 2022-10-21 19:36:54 -07:00
3bf87754f5 Fix more typos 2022-10-21 19:21:46 -07:00
06912658bd Mistyped an API link resulting in a 401 fixed 2022-10-21 19:06:01 -07:00
a8e58857cb Fix import in main.py 2022-10-21 19:00:56 -07:00
5320d22fae HeatingAndCooling record generator 2022-10-21 18:54:53 -07:00
ec4d1d580b Merge branch 'main' of https://github.com/the5dcrew/i2MessageEncoder-Rewrite 2022-10-20 17:46:11 -07:00
3613a76005 Fix mix colors not being replaced properly 2022-10-20 17:45:52 -07:00
52127af061 Update README.md 2022-10-20 14:13:10 -07:00
565ebfd0f8 Update README.md 2022-10-20 14:12:28 -07:00
5d2a3902cf Change prints from Alerts.py to logged messages 2022-10-20 00:31:04 -07:00
c20d9be311 Set debug messages to logged debugs instead of prints 2022-10-20 00:29:53 -07:00
7dbf37cd08 Grab county locations for alert areas 2022-10-20 00:25:32 -07:00
a0ac6453cf Revert "Bugfix for broken TWC alerts"
This reverts commit 685f6bc451.
2022-10-19 19:12:36 -07:00