activate_scenario.sh
Tue Jul 9 18:48:57 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/09/_0.log)

vorher: 18:48:58.059

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:48:58.105
Dauer: 46 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:48:58.072

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:48:58.187
Dauer: 115 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 18:48:58.041
nachher: 18:48:58.193
Dauer : 152 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/09//scene_buero_UM_20240709_184857.txt'


syslog

Jul  9 18:45:01 srv4hai CRON[18348]: (root) CMD (/etc/linetest/linetest.sh)
Jul  9 18:45:37 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720543537 - 'ping_SP_0'
Jul  9 18:45:37 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  9 18:46:01 srv4hai CRON[18380]: (root) CMD (/etc/linetest/linetest.sh)
Jul  9 18:46:50 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720543610 - 'ping_SP_0'
Jul  9 18:46:50 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  9 18:46:52 srv4hai postfix/smtpd[18411]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  9 18:46:53 srv4hai postfix/smtpd[18411]: connect from unknown[36.92.212.171]
Jul  9 18:46:55 srv4hai postfix/smtpd[18411]: 2A96860189: client=unknown[36.92.212.171], sasl_method=PLAIN, sasl_username=pilsc
Jul  9 18:46:56 srv4hai postfix/cleanup[18417]: 2A96860189: message-id=<2499db5fab6f688fac034ae115d52f2535e3c1c0@pilsc>
Jul  9 18:46:56 srv4hai postfix/qmgr[8566]: 2A96860189: from=, size=1560, nrcpt=1 (queue active)
Jul  9 18:46:56 srv4hai postfix/smtpd[18411]: disconnect from unknown[36.92.212.171] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6
Jul  9 18:46:58 srv4hai postfix/smtp[18418]: 2A96860189: to=, relay=mta6.am0.yahoodns.net[67.195.228.110]:25, delay=3.3, delays=1.3/0.01/1.3/0.71, dsn=5.0.0, status=bounced (host mta6.am0.yahoodns.net[67.195.228.110] said: 554 Message permanently deferred due to unresolvable From header domain null. See https://senders.yahooinc.com/error-codes#invalid-from (in reply to end of DATA command))
Jul  9 18:46:58 srv4hai postfix/cleanup[18417]: 0FB48601BE: message-id=<20240709164658.0FB48601BE@mail.viehai.at>
Jul  9 18:46:58 srv4hai postfix/bounce[18419]: 2A96860189: sender non-delivery notification: 0FB48601BE
Jul  9 18:46:58 srv4hai postfix/qmgr[8566]: 0FB48601BE: from=<>, size=3777, nrcpt=1 (queue active)
Jul  9 18:46:58 srv4hai postfix/qmgr[8566]: 2A96860189: removed
Jul  9 18:46:58 srv4hai postfix/local[18420]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  9 18:46:58 srv4hai postfix/local[18420]: 0FB48601BE: to=, relay=local, delay=0.02, delays=0.01/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul  9 18:46:58 srv4hai postfix/qmgr[8566]: 0FB48601BE: removed
Jul  9 18:47:01 srv4hai CRON[18423]: (root) CMD (/etc/linetest/linetest.sh)
Jul  9 18:47:10 srv4hai postfix/smtpd[18411]: connect from 94-154-35-207.virtualine.org[94.154.35.207]
Jul  9 18:47:10 srv4hai postfix/smtpd[18411]: warning: 94-154-35-207.virtualine.org[94.154.35.207]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul  9 18:47:10 srv4hai postfix/smtpd[18411]: disconnect from 94-154-35-207.virtualine.org[94.154.35.207] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul  9 18:47:18 srv4hai common[18431]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Jul  9 18:47:18 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON'
Jul  9 18:47:18 srv4hai check_shelly.sh: SHELLY found '5' active shelly outputs
Jul  9 18:47:18 srv4hai common[18454]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Jul  9 18:47:19 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'21'=1720543639-1720543618
Jul  9 18:47:19 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'21'=1720543639-1720543618
Jul  9 18:47:19 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'21'=1720543639-1720543618
Jul  9 18:47:19 srv4hai common[18524]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul  9 18:47:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18538, secured, session=
Jul  9 18:47:19 srv4hai dovecot: imap(miglincit)<18538>: Logged out in=137 out=1095 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul  9 18:47:22 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18544, secured, session=
Jul  9 18:47:22 srv4hai dovecot: imap(miglincit)<18544>: Logged out in=443 out=24067 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=549 body_count=1 body_bytes=21793
Jul  9 18:47:23 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18546, secured, session=
Jul  9 18:47:23 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18549, secured, session=
Jul  9 18:47:23 srv4hai dovecot: imap(miglincit)<18549>: Logged out in=397 out=27212 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=525 body_count=1 body_bytes=25027
Jul  9 18:47:23 srv4hai dovecot: imap(miglincit)<18546>: Logged out in=606 out=30314 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=262 body_count=0 body_bytes=0
Jul  9 18:47:29 srv4hai bt_scan[18524]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jul  9 18:47:29 srv4hai bt_scan[18524]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jul  9 18:47:29 srv4hai common[18569]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul  9 18:47:30 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1720543650-1720543640
Jul  9 18:47:30 srv4hai check_presence[18569]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul  9 18:47:30 srv4hai check_presence[18569]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jul  9 18:47:30 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1720543650-1720543640
Jul  9 18:47:30 srv4hai check_presence[18569]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul  9 18:47:30 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1720543650-1720543640
Jul  9 18:47:30 srv4hai check_presence[18569]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Jul  9 18:47:30 srv4hai check_presence[18569]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jul  9 18:47:30 srv4hai check_presence[18569]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_pcON) - sceneOFF(offAll)
Jul  9 18:47:30 srv4hai check_presence[18569]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jul  9 18:48:01 srv4hai CRON[18726]: (root) CMD (/etc/linetest/linetest.sh)
Jul  9 18:48:03 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720543683 - 'ping_SP_0'
Jul  9 18:48:03 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  9 18:48:11 srv4hai common[18751]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul  9 18:48:17 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul  9 18:48:18 srv4hai fetchmail[1651]: 48319 messages (48319 seen) for tmiglinci at mail.akis.at (-306675156 octets).
Jul  9 18:48:18 srv4hai fetchmail[1651]: 10425 messages (10425 seen) for srozum at mail.akis.at (1251423200 octets).
Jul  9 18:48:19 srv4hai fetchmail[1651]: 24647 messages (24646 seen) for mrozum at mail.akis.at (22213948 octets).
Jul  9 18:48:19 srv4hai postfix/smtpd[18411]: connect from localhost[127.0.0.1]
Jul  9 18:48:19 srv4hai postfix/smtpd[18411]: 0A6EB60189: client=localhost[127.0.0.1]
Jul  9 18:48:19 srv4hai postfix/cleanup[18417]: 0A6EB60189: message-id=
Jul  9 18:48:19 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:24647 of 24647 (14842 octets) not flushed
Jul  9 18:48:19 srv4hai postfix/qmgr[8566]: 0A6EB60189: from=, size=15082, nrcpt=1 (queue active)
Jul  9 18:48:19 srv4hai postfix/smtpd[18411]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jul  9 18:48:19 srv4hai postfix/local[18420]: 0A6EB60189: to=, relay=local, delay=0.07, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul  9 18:48:19 srv4hai postfix/qmgr[8566]: 0A6EB60189: removed
Jul  9 18:48:19 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul  9 18:48:21 srv4hai bt_scan[18751]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul  9 18:48:21 srv4hai bt_scan[18751]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jul  9 18:48:27 srv4hai postfix/anvil[17080]: statistics: max connection rate 1/60s for (smtp:189.68.145.117) at Jul  9 18:38:27
Jul  9 18:48:27 srv4hai postfix/anvil[17080]: statistics: max connection count 1 for (smtp:189.68.145.117) at Jul  9 18:38:27
Jul  9 18:48:27 srv4hai postfix/anvil[17080]: statistics: max cache size 2 at Jul  9 18:39:17
Jul  9 18:48:51 srv4hai activate_scenario[18793]: SHELLY scenario: 'pcOFF(pcoff)' started
Jul  9 18:48:51 srv4hai activate_scenario[18793]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''
Jul  9 18:48:51 srv4hai activate_scenario[18793]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Jul  9 18:48:51 srv4hai postfix/pickup[18208]: 2F6F36018B: uid=33 from=
Jul  9 18:48:51 srv4hai postfix/cleanup[18417]: 2F6F36018B: message-id=<20240709164851.2F6F36018B@mail.viehai.at>
Jul  9 18:48:51 srv4hai postfix/qmgr[8566]: 2F6F36018B: from=, size=10331, nrcpt=1 (queue active)
Jul  9 18:48:51 srv4hai postfix/local[18420]: 2F6F36018B: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jul  9 18:48:51 srv4hai postfix/cleanup[18417]: 3301E601BE: message-id=<20240709164851.3301E601BE@mail.viehai.at>
Jul  9 18:48:51 srv4hai postfix/bounce[18851]: 2F6F36018B: sender non-delivery notification: 3301E601BE
Jul  9 18:48:51 srv4hai postfix/qmgr[8566]: 3301E601BE: from=<>, size=12213, nrcpt=1 (queue active)
Jul  9 18:48:51 srv4hai postfix/qmgr[8566]: 2F6F36018B: removed
Jul  9 18:48:51 srv4hai postfix/local[18420]: 3301E601BE: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul  9 18:48:51 srv4hai postfix/qmgr[8566]: 3301E601BE: removed
Jul  9 18:48:51 srv4hai activate_scenario[18793]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Jul  9 18:48:51 srv4hai proc_url[18862]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/09/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Jul  9 18:48:51 srv4hai activate_scenario[18793]: SHELLY scenario: 'pcOFF(pcoff)' took 53 msec, shelly-0:''
Jul  9 18:48:58 srv4hai activate_scenario[18889]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul  9 18:48:58 srv4hai activate_scenario[18889]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished