Created
July 6, 2019 07:54
-
-
Save llaumgui/47ba5dd2b569b6df9ffa83ee28d5a0b7 to your computer and use it in GitHub Desktop.
Arm / disarm my Blink network from shell
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
from blinkpy import blinkpy | |
blink = blinkpy.Blink(username='me@domain.com', password='azerty') | |
blink.start() | |
# List camera | |
print('Camera list:') | |
for name, camera in blink.cameras.items(): | |
print(name) | |
# Networks | |
maison = 123456 | |
blinkpy.api.request_system_arm(blink, maison) |
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
from blinkpy import blinkpy | |
blink = blinkpy.Blink(username='me@domain.com', password='azerty') | |
blink.start() | |
# List camera | |
print('Camera list:') | |
for name, camera in blink.cameras.items(): | |
print(name) | |
# Networks | |
maison = 123456 | |
blinkpy.api.request_system_disarm(blink, maison) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment