activate_scenario.sh
Sun Nov 24 22:19:39 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'

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/11/24/_0.log)

vorher: 22:19:39.957

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: 22:19:40.001
Dauer: 44 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2024/11/24/_1.log)

vorher: 22:19:39.974

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: 22:19:40.014
Dauer: 39 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 22:19:39.936
nachher: 22:19:40.021
Dauer : 85 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/11/24//scene_buero_UM_20241124_221939.txt'


syslog

Nov 24 22:16:01 srv4hai CRON[11726]: (root) CMD (/etc/linetest/linetest.sh)
Nov 24 22:16:16 srv4hai postfix/smtpd[11738]: connect from unknown[80.94.95.239]
Nov 24 22:16:16 srv4hai postfix/smtpd[11738]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Nov 24 22:16:16 srv4hai postfix/smtpd[11738]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Nov 24 22:16:51 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Nov 24 22:16:52 srv4hai fetchmail[1651]: 57598 messages (57598 seen) for tmiglinci at mail.akis.at (436251433 octets).
Nov 24 22:16:52 srv4hai fetchmail[1651]: 11098 messages (11097 seen) for srozum at mail.akis.at (1337531911 octets).
Nov 24 22:16:53 srv4hai postfix/smtpd[11738]: connect from localhost[127.0.0.1]
Nov 24 22:16:53 srv4hai postfix/smtpd[11738]: 081476000F: client=localhost[127.0.0.1]
Nov 24 22:16:53 srv4hai postfix/cleanup[11769]: 081476000F: message-id=
Nov 24 22:16:53 srv4hai fetchmail[1651]: reading message srozum@mail.akis.at:11098 of 11098 (31395 octets) not flushed
Nov 24 22:16:53 srv4hai postfix/qmgr[8566]: 081476000F: from=, size=31618, nrcpt=1 (queue active)
Nov 24 22:16:53 srv4hai postfix/smtpd[11738]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Nov 24 22:16:53 srv4hai postfix/local[11770]: 081476000F: to=, relay=local, delay=0.07, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Nov 24 22:16:53 srv4hai postfix/qmgr[8566]: 081476000F: removed
Nov 24 22:16:53 srv4hai fetchmail[1651]: 27429 messages (27429 seen) for mrozum at mail.akis.at (435640331 octets).
Nov 24 22:16:54 srv4hai fetchmail[1651]: 1157 messages (1157 seen) for admin@bastelstube.wien at pop3.world4you.com (52170273 octets).
Nov 24 22:16:57 srv4hai common[11773]: SHELLY common.sh inkludiert von ./bt_scan.sh
Nov 24 22:16:57 srv4hai ping_SP[7749]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732483017 - 'ping_SP_0'
Nov 24 22:16:57 srv4hai ping_SP[7749]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 24 22:17:00 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11804, secured, session=
Nov 24 22:17:00 srv4hai dovecot: imap(rozumm)<11804>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 24 22:17:01 srv4hai CRON[11809]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Nov 24 22:17:01 srv4hai CRON[11808]: (root) CMD (/etc/linetest/linetest.sh)
Nov 24 22:17:02 srv4hai ping_SP[1483]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732483022 - 'ping_SP_1'
Nov 24 22:17:02 srv4hai ping_SP[1483]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 24 22:17:07 srv4hai bt_scan[11773]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Nov 24 22:17:07 srv4hai bt_scan[11773]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Nov 24 22:17:07 srv4hai common[11847]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Nov 24 22:17:07 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1732483027-1732483017
Nov 24 22:17:07 srv4hai check_presence[11847]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Nov 24 22:17:07 srv4hai check_presence[11847]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Nov 24 22:17:07 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1732483027-1732483017
Nov 24 22:17:07 srv4hai check_presence[11847]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Nov 24 22:17:07 srv4hai check_presence[11847]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Nov 24 22:17:07 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'10'=1732483027-1732483017
Nov 24 22:17:07 srv4hai check_presence[11847]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Nov 24 22:17:07 srv4hai check_presence[11847]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Nov 24 22:17:07 srv4hai check_presence[11847]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_buero_UM) - sceneOFF(offAll)
Nov 24 22:17:07 srv4hai check_presence[11847]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Nov 24 22:17:19 srv4hai common[11997]: SHELLY common.sh inkludiert von ./bt_scan.sh
Nov 24 22:17:29 srv4hai bt_scan[11997]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Nov 24 22:17:29 srv4hai bt_scan[11997]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Nov 24 22:17:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12043, secured, session=
Nov 24 22:17:48 srv4hai dovecot: imap(miglincit)<12043>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 24 22:18:00 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12055, secured, session=
Nov 24 22:18:00 srv4hai dovecot: imap(rozumm)<12055>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 24 22:18:01 srv4hai CRON[12057]: (root) CMD (/etc/linetest/linetest.sh)
Nov 24 22:18:10 srv4hai ping_SP[7749]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732483090 - 'ping_SP_0'
Nov 24 22:18:10 srv4hai ping_SP[7749]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 24 22:18:16 srv4hai ping_SP[1483]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732483096 - 'ping_SP_1'
Nov 24 22:18:16 srv4hai ping_SP[1483]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 24 22:18:29 srv4hai common[12103]: SHELLY common.sh inkludiert von ./bt_scan.sh
Nov 24 22:18:39 srv4hai bt_scan[12103]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Nov 24 22:18:39 srv4hai bt_scan[12103]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Nov 24 22:18:39 srv4hai common[12138]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Nov 24 22:18:39 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1732483119-1732483109
Nov 24 22:18:39 srv4hai check_presence[12138]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Nov 24 22:18:39 srv4hai check_presence[12138]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Nov 24 22:18:39 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1732483119-1732483109
Nov 24 22:18:39 srv4hai check_presence[12138]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Nov 24 22:18:39 srv4hai check_presence[12138]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Nov 24 22:18:39 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'10'=1732483119-1732483109
Nov 24 22:18:39 srv4hai check_presence[12138]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Nov 24 22:18:39 srv4hai check_presence[12138]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Nov 24 22:18:39 srv4hai check_presence[12138]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_buero_UM) - sceneOFF(offAll)
Nov 24 22:18:39 srv4hai check_presence[12138]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Nov 24 22:18:47 srv4hai activate_scenario[12294]: SHELLY scenario: 'buero_UM(buero_um)' started
Nov 24 22:18:47 srv4hai activate_scenario[12294]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
Nov 24 22:18:47 srv4hai activate_scenario[12294]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'TB Licht'
Nov 24 22:18:47 srv4hai postfix/pickup[7936]: 3D2BF63463: uid=33 from=
Nov 24 22:18:47 srv4hai postfix/cleanup[12347]: 3D2BF63463: message-id=<20241124211847.3D2BF63463@mail.viehai.at>
Nov 24 22:18:47 srv4hai postfix/qmgr[8566]: 3D2BF63463: from=, size=18788, nrcpt=1 (queue active)
Nov 24 22:18:47 srv4hai activate_scenario[12294]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'TB Regallicht' --> '0?turn=toggle'
Nov 24 22:18:47 srv4hai proc_url[12365]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/24/_0.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Nov 24 22:18:47 srv4hai postfix/local[12360]: 3D2BF63463: to=, orig_to=, relay=local, delay=0.05, delays=0.03/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Nov 24 22:18:47 srv4hai postfix/cleanup[12347]: 45CE163464: message-id=<20241124211847.45CE163464@mail.viehai.at>
Nov 24 22:18:47 srv4hai postfix/bounce[12361]: 3D2BF63463: sender non-delivery notification: 45CE163464
Nov 24 22:18:47 srv4hai postfix/qmgr[8566]: 45CE163464: from=<>, size=20667, nrcpt=1 (queue active)
Nov 24 22:18:47 srv4hai postfix/qmgr[8566]: 3D2BF63463: removed
Nov 24 22:18:47 srv4hai activate_scenario[12294]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'TB Licht' --> '0?turn=toggle'
Nov 24 22:18:47 srv4hai proc_url[12377]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/24/_1.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Nov 24 22:18:47 srv4hai postfix/local[12360]: 45CE163464: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Nov 24 22:18:47 srv4hai postfix/qmgr[8566]: 45CE163464: removed
Nov 24 22:18:47 srv4hai activate_scenario[12294]: SHELLY scenario: 'buero_UM(buero_um)' took 103 msec, shelly-40:'TB Licht'
Nov 24 22:19:00 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12422, secured, session=<1LEwKq8nUIIAAAAAAAAAAAAAAAAAAAAB>
Nov 24 22:19:00 srv4hai dovecot: imap(rozumm)<12422><1LEwKq8nUIIAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 24 22:19:01 srv4hai CRON[12424]: (root) CMD (/etc/linetest/linetest.sh)
Nov 24 22:19:23 srv4hai ping_SP[7749]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732483163 - 'ping_SP_0'
Nov 24 22:19:23 srv4hai ping_SP[7749]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 24 22:19:29 srv4hai ping_SP[1483]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732483169 - 'ping_SP_1'
Nov 24 22:19:29 srv4hai ping_SP[1483]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 24 22:19:39 srv4hai activate_scenario[12480]: SHELLY scenario: 'buero_UM(buero_um)' started
Nov 24 22:19:39 srv4hai activate_scenario[12480]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished