Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few things not working e.g. alerts not working in GB , Rlist #120

Closed
g7kse opened this issue Jan 23, 2025 · 6 comments
Closed

A few things not working e.g. alerts not working in GB , Rlist #120

g7kse opened this issue Jan 23, 2025 · 6 comments

Comments

@g7kse
Copy link

g7kse commented Jan 23, 2025

Seeing as my current location is in a Red Alert at the moment I thought I'd check the alert function. So I entered...

alert return was a joke
ea no response
ealert no réponse

checked on UK alert website to confirm link in module and it is correct and showing alerts

So checked config.ini and set it to the following
[location] enabled = True lat = 54.4879 lon = -3.5879 usemetric = True repeaterlookup = rbook noaaforecastduration = 4 noaaalertcount = 2 usemeteowxapi = True riverlistdefault = wxalertbroadcastenabled = True wxalertbroadcastch = 2 enableextralocationwx = True ealertbroadcastenabled = True ealertbroadcastch = 2 ignorefematest = True mysame = 053029,053073 enablegbalerts = True enabledealerts = False myregionalkeysde = 110000000000,120510000000 n2yoapikey = satlist = 25544,7530

anything look wonky?

incidentally I was checking other commands and rlist returns bug?Table not found

I guess a few things are WIP but I also checked the list of commands in mesh-bot.py and unless I'm mistaken (fairly likely) then the don't all match up with the cmd menu.

Any help?

@SpudGunMan
Copy link
Owner

What do you mean by alert return was a joke

You saying alert returned a dad joke?

I have never tested this working as I haven't seen an alert and your the first to comment of all the people who talk about UK alerts.

This goes for all alert commands I don't expect much return if there isn't an active alarm for UK.

As for the Rlist command I know it's working in the USA it may have no data for UK. I will take a look.

@g7kse
Copy link
Author

g7kse commented Jan 23, 2025

Yep, it gave me a dad joke. So I checked on the link in the modules and that's correct. There are currently 2 alerts live, so I assumed it would return both of them.

Funnily enough I was going to set up the email function as well and that also returns a dad joke if I send email.

I'm not really able to follow everything through but for the alerts if I go to the link in the globalalert.py module the URL for UK alerts is https://www.gov.uk/alerts this gives you a list of 2 current alerts (its going to be windy!) and if I go to https://www.gov.uk/alerts/current-alerts then that details out the alerts.

Have I followed that through ok?

@SpudGunMan
Copy link
Owner

These Alerts are not ideal at all, I may need to pull this

@SpudGunMan
Copy link
Owner

I just pushed a bug/typo fix which likely was related here

@SpudGunMan
Copy link
Owner

I'm not sure this uk.gov html will be good for alerting with.

There is no good way to handle this data and also get it crunched down to mesh in an easy manner that I see at the moment.

I also can't geo code this data

@g7kse
Copy link
Author

g7kse commented Jan 24, 2025

Sounds like it's a bit of a tricky thing to sort out. I vote for pull it until there's a way to fix it. UK alerts are supposed to go to everyone's phone anyway. Obviously it didn't go to mine because < insert reason here > so at least I can fix it for that way. There are maybe other ways to do this through Met Office but that's for another day

@SpudGunMan SpudGunMan closed this as not planned Won't fix, can't repro, duplicate, stale Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants