activate_scenario.sh
Mon Jul 29 18:17:50 CEST 2024
scenario: buero_UM
source: 192.168.12.140

'day' <--> 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/07/29/_0.log)

vorher: 18:17:50.667

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: 18:17:50.739
Dauer: 72 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:17:50.683

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: 18:17:50.726
Dauer: 43 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 18:17:50.630
nachher: 18:17:50.747
Dauer : 118 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/29//scene_buero_UM_20240729_181750.txt'


syslog

Jul 29 18:14:01 srv4hai CRON[9225]: (root) CMD (/etc/linetest/linetest.sh)
Jul 29 18:14:42 srv4hai ping_SP[3082]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722269682 - 'ping_SP_1'
Jul 29 18:14:42 srv4hai ping_SP[3082]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 29 18:14:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9261, secured, session=
Jul 29 18:14:47 srv4hai dovecot: imap(miglincit)<9261>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 29 18:14:56 srv4hai common[9265]: SHELLY common.sh inkludiert von ./inventar.sh
Jul 29 18:15:00 srv4hai smartd[27489]: Device: /dev/sdb [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 93 to 92
Jul 29 18:15:00 srv4hai smartd[27489]: Device: /dev/sdc [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 95 to 94
Jul 29 18:15:01 srv4hai CRON[9282]: (root) CMD (/etc/linetest/linetest.sh)
Jul 29 18:15:11 srv4hai ping_SP[29545]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722269711 - 'ping_SP_0'
Jul 29 18:15:11 srv4hai ping_SP[29545]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 29 18:15:17 srv4hai common[9306]: SHELLY common.sh inkludiert von ./inventar.sh
Jul 29 18:15:45 srv4hai common[9576]: SHELLY common.sh inkludiert von ./inventar.sh
Jul 29 18:15:55 srv4hai ping_SP[3082]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722269755 - 'ping_SP_1'
Jul 29 18:15:55 srv4hai ping_SP[3082]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 29 18:15:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9962, secured, session=
Jul 29 18:15:57 srv4hai dovecot: imap(miglincit)<9962>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 29 18:16:01 srv4hai CRON[9964]: (root) CMD (/etc/linetest/linetest.sh)
Jul 29 18:16:24 srv4hai ping_SP[29545]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722269784 - 'ping_SP_0'
Jul 29 18:16:24 srv4hai ping_SP[29545]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 29 18:16:32 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9994, secured, session=<2uArL2UeCJUAAAAAAAAAAAAAAAAAAAAB>
Jul 29 18:16:32 srv4hai dovecot: imap(miglincit)<9994><2uArL2UeCJUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=443 out=95441 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=453 body_count=1 body_bytes=93234
Jul 29 18:16:34 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9997, secured, session=
Jul 29 18:16:34 srv4hai dovecot: imap(miglincit)<9997>: Logged out in=676 out=33798 deleted=0 expunged=0 trashed=5 hdr_count=7 hdr_bytes=1875 body_count=0 body_bytes=0
Jul 29 18:16:34 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9999, secured, session=
Jul 29 18:16:34 srv4hai dovecot: imap(miglincit)<9999>: Logged out in=443 out=27329 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=621 body_count=1 body_bytes=24991
Jul 29 18:16:39 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10007, secured, session=<7HudL2UeDpUAAAAAAAAAAAAAAAAAAAAB>
Jul 29 18:16:39 srv4hai dovecot: imap(miglincit)<10007><7HudL2UeDpUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=132 out=1001 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 29 18:16:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10011, secured, session=<9/3QL2UeEpUAAAAAAAAAAAAAAAAAAAAB>
Jul 29 18:16:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10012, secured, session=
Jul 29 18:16:43 srv4hai dovecot: imap(miglincit)<10011><9/3QL2UeEpUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=397 out=3865 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=585 body_count=1 body_bytes=1577
Jul 29 18:16:43 srv4hai dovecot: imap(miglincit)<10012>: Logged out in=609 out=32901 deleted=0 expunged=0 trashed=0 hdr_count=6 hdr_bytes=1516 body_count=0 body_bytes=0
Jul 29 18:17:01 srv4hai CRON[10021]: (root) CMD (/etc/linetest/linetest.sh)
Jul 29 18:17:01 srv4hai CRON[10022]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jul 29 18:17:07 srv4hai dovecot: imap(miglincit)<24272>: Logged out in=1967 out=10316 deleted=0 expunged=0 trashed=0 hdr_count=5 hdr_bytes=1643 body_count=0 body_bytes=0
Jul 29 18:17:07 srv4hai dovecot: imap(miglincit)<21194>: Connection closed (IDLE running for 0.001 + waiting input for 17.792 secs, 2 B in + 10 B out, state=wait-input) in=6319 out=678043 deleted=0 expunged=0 trashed=0 hdr_count=11 hdr_bytes=4087 body_count=11 body_bytes=574294
Jul 29 18:17:07 srv4hai dovecot: imap(miglincit)<24241>: Connection closed (IDLE running for 0.001 + waiting input for 17.587 secs, 2 B in + 10 B out, state=wait-input) in=1981 out=7976 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 29 18:17:08 srv4hai activate_scenario[10029]: SHELLY scenario: 'pcOFF(pcoff)' started
Jul 29 18:17:08 srv4hai activate_scenario[10029]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''
Jul 29 18:17:08 srv4hai activate_scenario[10029]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Jul 29 18:17:08 srv4hai postfix/pickup[30969]: 1C1CF6018A: uid=33 from=
Jul 29 18:17:08 srv4hai postfix/cleanup[10082]: 1C1CF6018A: message-id=<20240729161708.1C1CF6018A@mail.viehai.at>
Jul 29 18:17:08 srv4hai postfix/qmgr[8566]: 1C1CF6018A: from=, size=6359, nrcpt=1 (queue active)
Jul 29 18:17:08 srv4hai activate_scenario[10029]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Jul 29 18:17:08 srv4hai proc_url[10099]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/29/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Jul 29 18:17:08 srv4hai postfix/local[10097]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 29 18:17:08 srv4hai postfix/local[10097]: 1C1CF6018A: to=, orig_to=, relay=local, delay=0.07, delays=0.04/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Jul 29 18:17:08 srv4hai postfix/cleanup[10082]: 29C426018B: message-id=<20240729161708.29C426018B@mail.viehai.at>
Jul 29 18:17:08 srv4hai postfix/bounce[10104]: 1C1CF6018A: sender non-delivery notification: 29C426018B
Jul 29 18:17:08 srv4hai postfix/qmgr[8566]: 29C426018B: from=<>, size=8241, nrcpt=1 (queue active)
Jul 29 18:17:08 srv4hai postfix/qmgr[8566]: 1C1CF6018A: removed
Jul 29 18:17:08 srv4hai postfix/local[10097]: 29C426018B: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 29 18:17:08 srv4hai postfix/qmgr[8566]: 29C426018B: removed
Jul 29 18:17:08 srv4hai activate_scenario[10029]: SHELLY scenario: 'pcOFF(pcoff)' took 67 msec, shelly-0:''
Jul 29 18:17:09 srv4hai ping_SP[3082]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722269829 - 'ping_SP_1'
Jul 29 18:17:09 srv4hai ping_SP[3082]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 29 18:17:20 srv4hai common[10145]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Jul 29 18:17:20 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcOFF'
Jul 29 18:17:20 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
Jul 29 18:17:20 srv4hai common[10168]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Jul 29 18:17:21 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'6'=1722269841-1722269835
Jul 29 18:17:21 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'6'=1722269841-1722269835
Jul 29 18:17:21 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'6'=1722269841-1722269835
Jul 29 18:17:37 srv4hai ping_SP[29545]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722269857 - 'ping_SP_0'
Jul 29 18:17:37 srv4hai ping_SP[29545]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 29 18:17:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10260, secured, session=
Jul 29 18:17:47 srv4hai dovecot: imap(miglincit)<10260>: Logged out in=786 out=56274 deleted=0 expunged=0 trashed=0 hdr_count=62 hdr_bytes=27317 body_count=0 body_bytes=0
Jul 29 18:17:50 srv4hai activate_scenario[10262]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul 29 18:17:50 srv4hai activate_scenario[10262]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished