activate_scenario.sh
Fri May 24 16:25:28 CEST 2024
scenario: sekr_UM
source: 192.168.12.101

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

scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/05/24/_0.log)

vorher: 16:25:29.047

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

nachher: 16:25:29.077
Dauer: 30 msec phName: 'shelly-01:'Wandlicht beim Esstisch''


scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

urls : 1
vorher : 16:25:28.993
nachher: 16:25:29.084
Dauer : 93 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/24//scene_sekr_UM_20240524_162528.txt'


syslog

May 24 16:22:01 srv4hai CRON[7854]: (root) CMD (/etc/linetest/linetest.sh)
May 24 16:22:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7860, secured, session=
May 24 16:22:02 srv4hai dovecot: imap(miglincit)<7860>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 24 16:22:41 srv4hai postfix/qmgr[15291]: AC299631D6: from=, size=21752, nrcpt=1 (queue active)
May 24 16:22:41 srv4hai postfix/qmgr[15291]: 2F901631A3: from=, size=21749, nrcpt=1 (queue active)
May 24 16:22:41 srv4hai postfix/smtp[7865]: AC299631D6: to=, relay=smtp.sd.newyorklife.com[206.210.19.217]:25, delay=164246, delays=164245/0.01/0.52/0, dsn=4.0.0, status=deferred (host smtp.sd.newyorklife.com[206.210.19.217] refused to talk to me: 554 smtp.sd.newyorklife.com)
May 24 16:22:42 srv4hai postfix/smtp[7866]: 2F901631A3: host cloudcar-com.mail.protection.outlook.com[52.101.9.0] said: 451 4.4.4 Mail received as unauthenticated, incoming to a recipient domain configured in a hosted tenant which has no mail-enabled subscriptions. ATTR5 [BL6PEPF0001AB54.namprd02.prod.outlook.com 2024-05-24T14:22:42.582Z 08DC795C66842765] (in reply to end of DATA command)
May 24 16:22:43 srv4hai postfix/smtp[7866]: 2F901631A3: to=, relay=cloudcar-com.mail.protection.outlook.com[52.101.194.3]:25, delay=193770, delays=193767/0.01/1.9/0.64, dsn=4.4.4, status=deferred (host cloudcar-com.mail.protection.outlook.com[52.101.194.3] said: 451 4.4.4 Mail received as unauthenticated, incoming to a recipient domain configured in a hosted tenant which has no mail-enabled subscriptions. ATTR5 [CH1PEPF0000A346.namprd04.prod.outlook.com 2024-05-24T14:22:43.597Z 08DC76F8E3973A0F] (in reply to end of DATA command))
May 24 16:22:59 srv4hai postfix/smtpd[7869]: warning: database /etc/aliases.db is older than source file /etc/aliases
May 24 16:22:59 srv4hai postfix/smtpd[7869]: connect from unknown[178.215.236.173]
May 24 16:22:59 srv4hai postfix/smtpd[7869]: warning: unknown[178.215.236.173]: SASL LOGIN authentication failed: Invalid authentication mechanism
May 24 16:22:59 srv4hai postfix/smtpd[7869]: disconnect from unknown[178.215.236.173] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
May 24 16:23:01 srv4hai CRON[7873]: (root) CMD (/etc/linetest/linetest.sh)
May 24 16:24:01 srv4hai CRON[7883]: (root) CMD (/etc/linetest/linetest.sh)
May 24 16:24:24 srv4hai common[7892]: SHELLY common.sh inkludiert von ./bt_scan.sh
May 24 16:24:24 srv4hai bt_scan[7892]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
May 24 16:24:24 srv4hai bt_scan[7892]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
May 24 16:24:24 srv4hai common[7923]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
May 24 16:24:24 srv4hai ping_SP[7923]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
May 24 16:24:24 srv4hai common[7944]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
May 24 16:24:24 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1716560664-1716560664
May 24 16:24:24 srv4hai check_presence[7944]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
May 24 16:24:24 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1716560664-1716560664
May 24 16:24:24 srv4hai check_presence[7944]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
May 24 16:24:24 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1716560664-1716560664
May 24 16:24:24 srv4hai check_presence[7944]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
May 24 16:24:24 srv4hai check_presence[7944]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
May 24 16:24:24 srv4hai postfix/pickup[31753]: D9F72631F7: uid=33 from=
May 24 16:24:24 srv4hai postfix/cleanup[8048]: D9F72631F7: message-id=<20240524142424.D9F72631F7@mail.viehai.at>
May 24 16:24:24 srv4hai postfix/qmgr[15291]: D9F72631F7: from=, size=4907, nrcpt=1 (queue active)
May 24 16:24:24 srv4hai check_presence[7944]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
May 24 16:24:24 srv4hai check_presence[7944]: SHELLY (ping_SP__bt_scan)-(0)-coming: NOT activate_scenario.shtml: vorraumOn
May 24 16:24:24 srv4hai ping_SP[7923]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
May 24 16:24:24 srv4hai ping_SP[7923]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1716560664
May 24 16:24:26 srv4hai postfix/relay/smtp[8054]: D9F72631F7: to=, relay=mx04.nic.name[209.131.160.34]:25, delay=1.2, delays=0.01/0.01/0.88/0.26, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as CD9E78022C)
May 24 16:24:26 srv4hai postfix/qmgr[15291]: D9F72631F7: removed
May 24 16:24:41 srv4hai ping_SP[7923]: SHELLY (0)- ping 192.168.12.61 0 not answered (1) @~1716560681 - 'ping_SP_0'
May 24 16:25:01 srv4hai CRON[8109]: (root) CMD (/etc/linetest/linetest.sh)
May 24 16:25:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8116, secured, session=
May 24 16:25:02 srv4hai dovecot: imap(miglincit)<8116>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 24 16:25:07 srv4hai ping_SP[7923]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1716560707 - 'ping_SP_0'
May 24 16:25:09 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
May 24 16:25:10 srv4hai fetchmail[1651]: 44960 messages (44959 seen) for tmiglinci at mail.akis.at (-575230704 octets).
May 24 16:25:10 srv4hai postfix/smtpd[8131]: warning: database /etc/aliases.db is older than source file /etc/aliases
May 24 16:25:10 srv4hai postfix/smtpd[8131]: connect from localhost[127.0.0.1]
May 24 16:25:10 srv4hai postfix/smtpd[8131]: 9E986631F0: client=localhost[127.0.0.1]
May 24 16:25:10 srv4hai postfix/cleanup[8048]: 9E986631F0: message-id=<20240524142424.D9F72631F7@mail.viehai.at>
May 24 16:25:10 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:44960 of 44960 (5887 octets) not flushed
May 24 16:25:10 srv4hai postfix/qmgr[15291]: 9E986631F0: from=, size=6181, nrcpt=1 (queue active)
May 24 16:25:10 srv4hai postfix/local[8133]: warning: database /etc/aliases.db is older than source file /etc/aliases
May 24 16:25:10 srv4hai postfix/smtpd[8131]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
May 24 16:25:10 srv4hai postfix/local[8133]: 9E986631F0: to=, relay=local, delay=0.06, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
May 24 16:25:10 srv4hai postfix/qmgr[15291]: 9E986631F0: removed
May 24 16:25:11 srv4hai fetchmail[1651]: 10251 messages (10250 seen) for srozum at mail.akis.at (1235292394 octets).
May 24 16:25:11 srv4hai postfix/smtpd[8131]: connect from localhost[127.0.0.1]
May 24 16:25:11 srv4hai postfix/smtpd[8131]: 2D949631F0: client=localhost[127.0.0.1]
May 24 16:25:11 srv4hai postfix/cleanup[8048]: 2D949631F0: message-id=<72.86.13853.232A0566@go.mta3vrest.cc.prd.sparkpost>
May 24 16:25:11 srv4hai fetchmail[1651]: reading message srozum@mail.akis.at:10251 of 10251 (116296 octets) not flushed
May 24 16:25:11 srv4hai postfix/qmgr[15291]: 2D949631F0: from=, size=116546, nrcpt=1 (queue active)
May 24 16:25:11 srv4hai postfix/smtpd[8131]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
May 24 16:25:11 srv4hai postfix/local[8133]: 2D949631F0: to=, relay=local, delay=0.11, delays=0.09/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
May 24 16:25:11 srv4hai postfix/qmgr[15291]: 2D949631F0: removed
May 24 16:25:12 srv4hai fetchmail[1651]: 23677 messages (23677 seen) for mrozum at mail.akis.at (-201993805 octets).
May 24 16:25:13 srv4hai fetchmail[1651]: 64 messages (64 seen) for admin@bastelstube.wien at pop3.world4you.com (17609334 octets).
May 24 16:25:23 srv4hai dhcpd[22856]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
May 24 16:25:23 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
May 24 16:25:23 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
May 24 16:25:23 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.61
May 24 16:25:23 srv4hai dhcpd[22856]: execute_statement argv[2] = fpThomas
May 24 16:25:23 srv4hai common[8138]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
May 24 16:25:28 srv4hai activate_scenario[8156]: SHELLY scenario: 'sekr_UM(sekr_um)' started
May 24 16:25:28 srv4hai activate_scenario[8156]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'

finished