activate_scenario.sh
Sat Jul 27 14:49:38 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/27/_0.log)

vorher: 14:49:38.421

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: 14:49:39.516
Dauer: 1094 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 14:49:38.433

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: 14:49:38.472
Dauer: 38 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 14:49:38.395
nachher: 14:49:39.523
Dauer : 1128 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/27//scene_buero_UM_20240727_144938.txt'


syslog

Jul 27 14:46:01 srv4hai CRON[24890]: (root) CMD (/etc/linetest/linetest.sh)
Jul 27 14:46:06 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24899, secured, session=
Jul 27 14:46:06 srv4hai dovecot: imap(miglincit)<24899>: 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 27 14:46:19 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722084379 - 'ping_SP_0'
Jul 27 14:46:19 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 27 14:47:01 srv4hai CRON[24958]: (root) CMD (/etc/linetest/linetest.sh)
Jul 27 14:47:19 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 27 14:47:20 srv4hai fetchmail[1651]: 49491 messages (49490 seen) for tmiglinci at mail.akis.at (-201867544 octets).
Jul 27 14:47:20 srv4hai postfix/smtpd[24974]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 27 14:47:20 srv4hai postfix/smtpd[24974]: connect from localhost[127.0.0.1]
Jul 27 14:47:20 srv4hai postfix/smtpd[24974]: 4B56F6000F: client=localhost[127.0.0.1]
Jul 27 14:47:20 srv4hai postfix/cleanup[24977]: 4B56F6000F: message-id=<01020190f43962be-4252b49f-9828-4ac6-8f8e-ce22ed8b63d3-000000@eu-west-1.amazonses.com>
Jul 27 14:47:20 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:49491 of 49491 (130782 octets) not flushed
Jul 27 14:47:20 srv4hai postfix/qmgr[8566]: 4B56F6000F: from=, size=131006, nrcpt=1 (queue active)
Jul 27 14:47:20 srv4hai postfix/local[24978]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 27 14:47:20 srv4hai postfix/smtpd[24974]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jul 27 14:47:20 srv4hai postfix/local[24978]: 4B56F6000F: to=, relay=local, delay=0.12, delays=0.1/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 27 14:47:20 srv4hai postfix/qmgr[8566]: 4B56F6000F: removed
Jul 27 14:47:20 srv4hai fetchmail[1651]: 10517 messages (10517 seen) for srozum at mail.akis.at (1265252318 octets).
Jul 27 14:47:21 srv4hai fetchmail[1651]: 24977 messages (24977 seen) for mrozum at mail.akis.at (70753191 octets).
Jul 27 14:47:22 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 27 14:47:32 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722084452 - 'ping_SP_0'
Jul 27 14:47:32 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 27 14:47:34 srv4hai common[25009]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Jul 27 14:47:34 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM'
Jul 27 14:47:34 srv4hai check_shelly.sh: SHELLY found '8' active shelly outputs
Jul 27 14:47:34 srv4hai common[25032]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Jul 27 14:47:35 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'2'=1722084455-1722084453
Jul 27 14:47:35 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'2'=1722084455-1722084453
Jul 27 14:47:35 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'2'=1722084455-1722084453
Jul 27 14:47:55 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25115, secured, session=
Jul 27 14:47:56 srv4hai dovecot: imap(miglincit)<25115>: Logged out in=265 out=1683 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 27 14:48:01 srv4hai CRON[25120]: (root) CMD (/etc/linetest/linetest.sh)
Jul 27 14:48:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25132, secured, session=
Jul 27 14:48:15 srv4hai dovecot: imap(miglincit)<25132>: Logged out in=688 out=52413 deleted=0 expunged=0 trashed=0 hdr_count=55 hdr_bytes=24854 body_count=0 body_bytes=0
Jul 27 14:48:45 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722084525 - 'ping_SP_0'
Jul 27 14:48:45 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 27 14:49:01 srv4hai CRON[25177]: (root) CMD (/etc/linetest/linetest.sh)
Jul 27 14:49:06 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25186, secured, session=
Jul 27 14:49:06 srv4hai dovecot: imap(miglincit)<25186>: Logged out in=688 out=52421 deleted=0 expunged=0 trashed=0 hdr_count=55 hdr_bytes=24854 body_count=0 body_bytes=0
Jul 27 14:49:33 srv4hai dovecot: imap(miglincit)<19999>: Logged out in=1350 out=7887 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 27 14:49:33 srv4hai dovecot: imap(miglincit)<20019>: Logged out in=85764 out=1039561 deleted=0 expunged=0 trashed=0 hdr_count=2 hdr_bytes=689 body_count=2 body_bytes=906589
Jul 27 14:49:33 srv4hai dovecot: imap(miglincit)<19994>: Logged out in=4270 out=196247 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 27 14:49:33 srv4hai dovecot: imap(miglincit)<19993>: Logged out in=5346 out=2250978 deleted=0 expunged=0 trashed=0 hdr_count=27 hdr_bytes=12065 body_count=28 body_bytes=2140437
Jul 27 14:49:33 srv4hai dovecot: imap(miglincit)<20022>: Connection closed (STATUS finished 1390.111 secs ago) in=125708 out=6831217 deleted=0 expunged=0 trashed=0 hdr_count=26 hdr_bytes=11148 body_count=26 body_bytes=6595645
Jul 27 14:49:33 srv4hai activate_scenario[25207]: SHELLY scenario: 'pcOFF(pcoff)' started
Jul 27 14:49:33 srv4hai activate_scenario[25207]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''
Jul 27 14:49:33 srv4hai activate_scenario[25207]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Jul 27 14:49:33 srv4hai postfix/pickup[7817]: E6C0B6018A: uid=33 from=
Jul 27 14:49:33 srv4hai postfix/cleanup[25260]: E6C0B6018A: message-id=<20240727124933.E6C0B6018A@mail.viehai.at>
Jul 27 14:49:33 srv4hai postfix/qmgr[8566]: E6C0B6018A: from=, size=6847, nrcpt=1 (queue active)
Jul 27 14:49:33 srv4hai postfix/local[25273]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 27 14:49:33 srv4hai activate_scenario[25207]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Jul 27 14:49:33 srv4hai proc_url[25278]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/27/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Jul 27 14:49:33 srv4hai postfix/local[25273]: E6C0B6018A: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jul 27 14:49:33 srv4hai postfix/cleanup[25260]: ED4F86018B: message-id=<20240727124933.ED4F86018B@mail.viehai.at>
Jul 27 14:49:33 srv4hai postfix/bounce[25274]: E6C0B6018A: sender non-delivery notification: ED4F86018B
Jul 27 14:49:33 srv4hai postfix/qmgr[8566]: ED4F86018B: from=<>, size=8729, nrcpt=1 (queue active)
Jul 27 14:49:33 srv4hai postfix/qmgr[8566]: E6C0B6018A: removed
Jul 27 14:49:33 srv4hai postfix/local[25273]: ED4F86018B: 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 27 14:49:33 srv4hai postfix/qmgr[8566]: ED4F86018B: removed
Jul 27 14:49:34 srv4hai activate_scenario[25207]: SHELLY scenario: 'pcOFF(pcoff)' took 501 msec, shelly-0:''
Jul 27 14:49:38 srv4hai activate_scenario[25306]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul 27 14:49:38 srv4hai activate_scenario[25306]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished