23 lines
667 B
Bash
23 lines
667 B
Bash
#mac address of your phone
|
|
mac="xx:xx:xx:xx:xx:xx"
|
|
|
|
#seconds to wait between checks if the phone is in the house
|
|
#when the zm state is set to "here"
|
|
#you may want to set this higher (fewer checks) when the phone
|
|
#is in the house
|
|
seconds_between_retries_when_state_is_here=20
|
|
|
|
#seconds to wait between checks if the phone is in the house
|
|
#when the zm state is set to "away"
|
|
seconds_between_retries_when_state_is_away=3
|
|
|
|
#if the phone is not found, retry this many times before changing
|
|
#state to "away"
|
|
retries_before_setting_away=5
|
|
|
|
zm_username='admin'
|
|
zm_password='urlencodedpassword'
|
|
zm_baseurl='https://myzoneminderurl'
|
|
|
|
zm_away_state='away'
|
|
zm_here_state='athome' |