LocalSig - Local Outage Guidance
v0.1.2Maryland power outages, weather alerts, water notices and grid alerts by county, with what to do.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_signals Local outage guidance for a Maryland county
Power outages, weather alerts, water notices and grid alerts for one Maryland county right now, each with what to do, its source and link. status is 'all clear', 'heads up', 'act now' or 'can't tell' (a source could not be read). Use this for 'is the power out in X', 'anything I should know in X county', 'is it safe to ...'. For one ZIP code's outage count use get_zip; for every county at once, list_counties; for general advice with no place, get_advice. An unknown county name returns an error that points to list_counties.
| Parameter | Type | Description |
|---|---|---|
county * | string | A Maryland county or Baltimore City, e.g. 'Montgomery', 'Prince George's', 'Baltimore City' |
get_zip Power outages in a Maryland ZIP code
How many customers are without power in one Maryland ZIP code right now (State of Maryland data): the count, the ZIP's place name when known, what to do when people are out, and the source link. For weather and water, call get_signals with the county. A ZIP outside Maryland (they start 206-219) or a malformed one returns an error saying LocalSig covers Maryland only.
| Parameter | Type | Description |
|---|---|---|
zip * | string | 5-digit Maryland ZIP code, e.g. '21201' |
list_counties Maryland counties and their outage levels
All 24 Maryland areas (23 counties and Baltimore City), always all 24, each with the percent of its customers without power right now, the count, and a level: ok, notable or major ('?' when the state's data couldn't be read). Use this for 'where in Maryland is the power out' or 'which county is worst'; then get_signals for one county's details and advice.
get_advice General advice for a kind of event
Returns LocalSig's general advice for one kind of event as a short paragraph (a few sentences, from ready.gov and the utilities), not tied to any place. Use it when someone asks what to do in general; get_signals already includes advice for whatever is happening in a county now.
| Parameter | Type | Description |
|---|---|---|
event * | string | power: before the power goes out; power_out: once yours is out; tornado, flood, wind, winter, heat, cold: weather; weather: any other weather alert; water_boil: a boil-water notice; water_essential: e… |