activate_scenario.sh
Tue Jan 30 20:20:09 CET 2024
scenario: buero_UM
source: 192.168.12.140

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/01/30/_0.log)

vorher: 20:20:09.953

http://192.168.12.108/relay/0?turn=toggle
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 20:20:10.000
Dauer: 46 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/01/30/_1.log)

vorher: 20:20:09.970

http://192.168.12.140/relay/0?turn=toggle
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 20:20:10.005
Dauer: 36 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 20:20:09.930
nachher: 20:20:10.011
Dauer : 82 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/01/30//scene_buero_UM_20240130_202009.txt'


syslog

Jan 30 20:17:01 srv4hai CRON[10018]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jan 30 20:17:01 srv4hai CRON[10019]: (root) CMD (/etc/linetest/linetest.sh)
Jan 30 20:17:07 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706642227 - 'ping_SP_0'
Jan 30 20:17:07 srv4hai check_presence[10031]: SHELLY (ping_SP__ping_OK)-(0) found './meter/ping_SP_0' more than one (1) line for what: 'presence'
Jan 30 20:17:07 srv4hai check_presence[10031]: SHELLY (ping_SP__ping_OK)-(0) found './meter/ping_SP_1' more than one (1) line for what: 'presence'
Jan 30 20:17:07 srv4hai check_presence[10031]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(__/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:17:07 srv4hai check_presence[10031]: SHELLY (ping_SP__ping_OK)-(0) set what to 'presence'
Jan 30 20:17:07 srv4hai check_presence[10031]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:17:07 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 30 20:17:12 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706642232 - 'ping_SP_1'
Jan 30 20:17:12 srv4hai check_presence[10058]: SHELLY (ping_SP__ping_OK)-(1) found './meter/ping_SP_0' more than one (1) line for what: 'presence'
Jan 30 20:17:12 srv4hai check_presence[10058]: SHELLY (ping_SP__ping_OK)-(1) found './meter/ping_SP_1' more than one (1) line for what: 'presence'
Jan 30 20:17:12 srv4hai check_presence[10058]: SHELLY (ping_SP__ping_OK)-(1) what: 'presence' - persPresent: '(__/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:17:12 srv4hai check_presence[10058]: SHELLY (ping_SP__ping_OK)-(1) set what to 'presence'
Jan 30 20:17:12 srv4hai check_presence[10058]: SHELLY (ping_SP__ping_OK)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:17:12 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 30 20:17:37 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706642257 - 'ping_SP_0'
Jan 30 20:17:37 srv4hai check_presence[10089]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(__/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:17:37 srv4hai check_presence[10089]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:17:37 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 30 20:17:42 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706642262 - 'ping_SP_1'
Jan 30 20:17:42 srv4hai check_presence[10114]: SHELLY (ping_SP__ping_OK)-(1) what: 'presence' - persPresent: '(__/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:17:42 srv4hai check_presence[10114]: SHELLY (ping_SP__ping_OK)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:17:42 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 30 20:17:51 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10137, secured, session=<7H9eni4QwoQAAAAAAAAAAAAAAAAAAAAB>
Jan 30 20:17:51 srv4hai dovecot: imap(miglincit)<10137><7H9eni4QwoQAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 30 20:18:01 srv4hai CRON[10144]: (root) CMD (/etc/linetest/linetest.sh)
Jan 30 20:18:07 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706642287 - 'ping_SP_0'
Jan 30 20:18:07 srv4hai check_presence[10156]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(__/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:18:07 srv4hai check_presence[10156]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:18:07 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 30 20:18:13 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706642293 - 'ping_SP_1'
Jan 30 20:18:13 srv4hai check_presence[10179]: SHELLY (ping_SP__ping_OK)-(1) what: 'presence' - persPresent: '(__/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:18:13 srv4hai check_presence[10179]: SHELLY (ping_SP__ping_OK)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:18:13 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 30 20:18:37 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706642317 - 'ping_SP_0'
Jan 30 20:18:37 srv4hai check_presence[10204]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(__/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:18:37 srv4hai check_presence[10204]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:18:37 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 30 20:18:43 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706642323 - 'ping_SP_1'
Jan 30 20:18:43 srv4hai check_presence[10231]: SHELLY (ping_SP__ping_OK)-(1) what: 'presence' - persPresent: '(__/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:18:43 srv4hai check_presence[10231]: SHELLY (ping_SP__ping_OK)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:18:43 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 30 20:19:01 srv4hai CRON[10254]: (root) CMD (/etc/linetest/linetest.sh)
Jan 30 20:19:08 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706642348 - 'ping_SP_0'
Jan 30 20:19:08 srv4hai check_presence[10267]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(__/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:19:08 srv4hai check_presence[10267]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:19:08 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 30 20:19:14 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706642353 - 'ping_SP_1'
Jan 30 20:19:14 srv4hai check_presence[10290]: SHELLY (ping_SP__ping_OK)-(1) what: 'presence' - persPresent: '(__/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:19:14 srv4hai check_presence[10290]: SHELLY (ping_SP__ping_OK)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:19:14 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 30 20:19:38 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706642378 - 'ping_SP_0'
Jan 30 20:19:38 srv4hai check_presence[10316]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(__/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:19:38 srv4hai check_presence[10316]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:19:38 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 30 20:19:38 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10335, secured, session=
Jan 30 20:19:38 srv4hai dovecot: imap(miglincit)<10335>: Logged out in=441 out=19414 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=381 body_count=1 body_bytes=17486
Jan 30 20:19:44 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706642384 - 'ping_SP_1'
Jan 30 20:19:44 srv4hai check_presence[10344]: SHELLY (ping_SP__ping_OK)-(1) what: 'presence' - persPresent: '(__/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:19:44 srv4hai check_presence[10344]: SHELLY (ping_SP__ping_OK)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:19:44 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 30 20:19:52 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10364, secured, session=
Jan 30 20:19:52 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10366, secured, session=
Jan 30 20:19:52 srv4hai dovecot: imap(miglincit)<10366>: Logged out in=395 out=13529 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=348 body_count=1 body_bytes=11720
Jan 30 20:19:52 srv4hai dovecot: imap(miglincit)<10364>: Logged out in=784 out=20503 deleted=0 expunged=0 trashed=13 hdr_count=13 hdr_bytes=3894 body_count=0 body_bytes=0
Jan 30 20:19:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10368, secured, session=
Jan 30 20:19:54 srv4hai dovecot: imap(miglincit)<10368>: Logged out in=616 out=13822 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=236 body_count=0 body_bytes=0
Jan 30 20:19:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10370, secured, session=
Jan 30 20:19:54 srv4hai dovecot: imap(miglincit)<10370>: Logged out in=395 out=9513 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=377 body_count=1 body_bytes=7686
Jan 30 20:20:01 srv4hai CRON[10374]: (root) CMD (/etc/linetest/linetest.sh)
Jan 30 20:20:01 srv4hai CRON[10375]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jan 30 20:20:01 srv4hai meter.sh: SHELLY meter.sh started
Jan 30 20:20:06 srv4hai activate_scenario[10564]: SHELLY scenario: 'pcOFF(pcoff)' started
Jan 30 20:20:06 srv4hai activate_scenario[10564]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''
Jan 30 20:20:06 srv4hai activate_scenario[10564]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Jan 30 20:20:06 srv4hai postfix/pickup[3415]: 235B860244: uid=33 from=
Jan 30 20:20:06 srv4hai postfix/cleanup[10614]: 235B860244: message-id=<20240130192006.235B860244@mail.viehai.at>
Jan 30 20:20:06 srv4hai postfix/qmgr[28610]: 235B860244: from=, size=10464, nrcpt=1 (queue active)
Jan 30 20:20:06 srv4hai activate_scenario[10564]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Jan 30 20:20:06 srv4hai postfix/local[10627]: 235B860244: to=, orig_to=, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jan 30 20:20:06 srv4hai postfix/cleanup[10614]: 2A89960245: message-id=<20240130192006.2A89960245@mail.viehai.at>
Jan 30 20:20:06 srv4hai proc_url[10632]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/01/30/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Jan 30 20:20:06 srv4hai postfix/bounce[10628]: 235B860244: sender non-delivery notification: 2A89960245
Jan 30 20:20:06 srv4hai postfix/qmgr[28610]: 2A89960245: from=<>, size=12343, nrcpt=1 (queue active)
Jan 30 20:20:06 srv4hai postfix/qmgr[28610]: 235B860244: removed
Jan 30 20:20:06 srv4hai postfix/local[10627]: 2A89960245: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jan 30 20:20:06 srv4hai postfix/qmgr[28610]: 2A89960245: removed
Jan 30 20:20:06 srv4hai activate_scenario[10564]: SHELLY scenario: 'pcOFF(pcoff)' took 76 msec, shelly-0:''
Jan 30 20:20:08 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706642408 - 'ping_SP_0'
Jan 30 20:20:08 srv4hai check_presence[10671]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(__/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:20:08 srv4hai check_presence[10671]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:20:08 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 30 20:20:09 srv4hai activate_scenario[10689]: SHELLY scenario: 'buero_UM(buero_um)' started
Jan 30 20:20:09 srv4hai activate_scenario[10689]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished