Skip to content

jBang script for identifying potential Greek power outages in your area

Notifications You must be signed in to change notification settings

nickorfas/planned-power-outage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Planned Power Outage

jBang script for identifying potential Greek power outages in your area

Requirements

  1. Install jBang based on the guidelines here

Prerequisites

  1. Navigate to the official Deddie website where planned power outages are announced
  2. Select the area that you are interested in and identify its PrefectureID and MunicipalityID Deddie_Retrieve_Area_IDs.png
  3. In case your OS is Windows, make sure that your terminal encoding is set to UTF-8 windows-terminal-utf8.png

Run

Execute jBang PlannedPowerOutage.java -h to view CLI's options

Execution example

  1. List all planned power outages in prefecture with id 21 (Heraklion) and municipality with id 413 (Heraklion)
jBang PlannedPowerOutage.java -p 21 -m 413
  1. List all planned power outages in prefecture with id 21 (Heraklion) and municipality with id 413 (Heraklion) and more specifically for the area "Βασιλείες" and "Γιούχτα"
jBang PlannedPowerOutage.java -p 21 -m 413 Βασιλείες Γιούχτα

About

jBang script for identifying potential Greek power outages in your area

Resources

Stars

Watchers

Forks

Languages