activate_scenario.sh
Sat Jul 20 15:57:28 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/20/_0.log)

vorher: 15:57:28.170

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: 15:57:28.204
Dauer: 33 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:57:28.189

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: 15:57:28.224
Dauer: 34 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 15:57:28.143
nachher: 15:57:28.230
Dauer : 87 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/20//scene_buero_UM_20240720_155728.txt'


syslog

Jul 20 15:54:01 srv4hai CRON[8389]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 15:54:04 srv4hai common[8396]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 20 15:54:14 srv4hai bt_scan[8396]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jul 20 15:54:14 srv4hai bt_scan[8396]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jul 20 15:54:14 srv4hai common[8427]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 20 15:54:15 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1721483655-1721483644
Jul 20 15:54:15 srv4hai check_presence[8427]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 20 15:54:15 srv4hai check_presence[8427]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jul 20 15:54:15 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1721483655-1721483644
Jul 20 15:54:15 srv4hai check_presence[8427]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 20 15:54:15 srv4hai check_presence[8427]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jul 20 15:54:15 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1721483655-1721483644
Jul 20 15:54:15 srv4hai check_presence[8427]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 20 15:54:15 srv4hai check_presence[8427]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 20 15:54:15 srv4hai check_presence[8427]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_pcON) - sceneOFF(offAll)
Jul 20 15:54:15 srv4hai check_presence[8427]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jul 20 15:54:45 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721483685 - 'ping_SP_0'
Jul 20 15:54:45 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 15:54:55 srv4hai common[8606]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 20 15:55:01 srv4hai CRON[8621]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 15:55:03 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721483703 - 'ping_SP_1'
Jul 20 15:55:03 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 15:55:05 srv4hai bt_scan[8606]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul 20 15:55:05 srv4hai bt_scan[8606]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jul 20 15:55:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8665, secured, session=
Jul 20 15:55:15 srv4hai dovecot: imap(miglincit)<8665>: 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 20 15:55:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8675, secured, session=
Jul 20 15:55:50 srv4hai dovecot: imap(miglincit)<8675>: 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 20 15:55:58 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721483758 - 'ping_SP_0'
Jul 20 15:55:58 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 15:56:01 srv4hai CRON[8694]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 15:56:16 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721483776 - 'ping_SP_1'
Jul 20 15:56:16 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 15:56:17 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 20 15:56:17 srv4hai fetchmail[1651]: 49058 messages (49057 seen) for tmiglinci at mail.akis.at (-234093660 octets).
Jul 20 15:56:17 srv4hai postfix/smtpd[8719]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 20 15:56:17 srv4hai postfix/smtpd[8719]: connect from localhost[127.0.0.1]
Jul 20 15:56:17 srv4hai postfix/smtpd[8719]: D6D216000F: client=localhost[127.0.0.1]
Jul 20 15:56:17 srv4hai postfix/cleanup[8722]: D6D216000F: message-id=<7ca6686e-66ee-fbd3-48d7-e6d2aac8596d@em9000.tastelife.tv>
Jul 20 15:56:17 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:49058 of 49058 (97987 octets) not flushed
Jul 20 15:56:17 srv4hai postfix/qmgr[8566]: D6D216000F: from=, size=98235, nrcpt=1 (queue active)
Jul 20 15:56:17 srv4hai postfix/smtpd[8719]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jul 20 15:56:17 srv4hai postfix/local[8723]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 20 15:56:18 srv4hai postfix/local[8723]: D6D216000F: to=, relay=local, delay=0.13, delays=0.1/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 20 15:56:18 srv4hai postfix/qmgr[8566]: D6D216000F: removed
Jul 20 15:56:18 srv4hai fetchmail[1651]: 10482 messages (10482 seen) for srozum at mail.akis.at (1261895396 octets).
Jul 20 15:56:18 srv4hai fetchmail[1651]: 24848 messages (24848 seen) for mrozum at mail.akis.at (54796823 octets).
Jul 20 15:56:19 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 20 15:56:23 srv4hai nmbd[2172]: [2024/07/20 15:56:23.031295,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul 20 15:56:23 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul 20 15:56:23 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul 20 15:56:23 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul 20 15:57:01 srv4hai CRON[8734]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 15:57:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8744, secured, session=
Jul 20 15:57:02 srv4hai dovecot: imap(miglincit)<8744>: Logged out in=443 out=87800 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=601 body_count=1 body_bytes=85449
Jul 20 15:57:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8746, secured, session=
Jul 20 15:57:04 srv4hai dovecot: imap(miglincit)<8746>: Logged out in=606 out=30705 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=333 body_count=0 body_bytes=0
Jul 20 15:57:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8748, secured, session=
Jul 20 15:57:04 srv4hai dovecot: imap(miglincit)<8748>: Logged out in=397 out=3564 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=388 body_count=1 body_bytes=1678
Jul 20 15:57:10 srv4hai activate_scenario[8752]: SHELLY scenario: 'pcOFF(pcoff)' started
Jul 20 15:57:10 srv4hai activate_scenario[8752]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''
Jul 20 15:57:10 srv4hai activate_scenario[8752]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Jul 20 15:57:10 srv4hai postfix/pickup[7157]: 5520C6018A: uid=33 from=
Jul 20 15:57:10 srv4hai postfix/cleanup[8722]: 5520C6018A: message-id=<20240720135710.5520C6018A@mail.viehai.at>
Jul 20 15:57:10 srv4hai postfix/qmgr[8566]: 5520C6018A: from=, size=8384, nrcpt=1 (queue active)
Jul 20 15:57:10 srv4hai postfix/local[8723]: 5520C6018A: to=, orig_to=, relay=local, delay=0.05, delays=0.01/0/0/0.03, dsn=5.1.1, status=bounced (unknown user: "null")
Jul 20 15:57:10 srv4hai postfix/cleanup[8722]: 5EA496018B: message-id=<20240720135710.5EA496018B@mail.viehai.at>
Jul 20 15:57:10 srv4hai postfix/bounce[8808]: 5520C6018A: sender non-delivery notification: 5EA496018B
Jul 20 15:57:10 srv4hai postfix/qmgr[8566]: 5EA496018B: from=<>, size=10266, nrcpt=1 (queue active)
Jul 20 15:57:10 srv4hai postfix/qmgr[8566]: 5520C6018A: removed
Jul 20 15:57:10 srv4hai postfix/local[8723]: 5EA496018B: to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 20 15:57:10 srv4hai postfix/qmgr[8566]: 5EA496018B: removed
Jul 20 15:57:10 srv4hai activate_scenario[8752]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Jul 20 15:57:10 srv4hai proc_url[8821]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/20/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Jul 20 15:57:10 srv4hai activate_scenario[8752]: SHELLY scenario: 'pcOFF(pcoff)' took 162 msec, shelly-0:''
Jul 20 15:57:11 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721483831 - 'ping_SP_0'
Jul 20 15:57:11 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 15:57:28 srv4hai activate_scenario[8868]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul 20 15:57:28 srv4hai activate_scenario[8868]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished