Created
July 3, 2018 17:12
-
-
Save VirtualL/5529515f9476332f8abe095f6a667203 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#######################################CURRENCIES Rates Via XML rate in Offical BANK OF ISRAEL####################################### | |
- platform: command_line | |
name: Exchange Date | |
command: "curl get https://www.boi.org.il/currency.xml?curr=27 2>&1 | grep LAST_UPDATE | grep -o '[0-9]*-[0-9]*-[0-9]*' " | |
scan_interval: 43200 #12 Hours | |
- platform: command_line | |
name: Dollar(USD) | |
command: "curl get https://www.boi.org.il/currency.xml?curr=01 2>&1 | grep RATE | grep -o '[0-9].*[0-9]' " | |
scan_interval: 43200 #12 Hours | |
- platform: command_line | |
name: Euro(EUR) | |
command: "curl get https://www.boi.org.il/currency.xml?curr=27 2>&1 | grep RATE | grep -o '[0-9].*[0-9]' " | |
scan_interval: 43200 #12 Hours | |
- platform: command_line | |
name: Pound(GBP) | |
command: "curl get https://www.boi.org.il/currency.xml?curr=02 2>&1 | grep RATE | grep -o '[0-9].*[0-9]' " | |
scan_interval: 43200 #12 Hours | |
########################################################################### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment