activate_scenario.sh
Fri Jan 31 16:49:30 CET 2025
scenario: homeOffice
source: 192.168.12.140

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

scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

WZ Licht Esstisch (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_0.log)

vorher: 16:49:30.309

http://192.168.12.101/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 16:49:30.337
Dauer: 28 msec phName: 'shelly-40:'TB Licht''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_1.log)

vorher: 16:49:30.332

http://192.168.12.102/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 16:49:30.362
Dauer: 30 msec phName: 'shelly-40:'TB Licht''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_2.log)

vorher: 16:49:30.356

http://192.168.12.103/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 16:49:30.395
Dauer: 40 msec phName: 'shelly-40:'TB Licht''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_3.log)

vorher: 16:49:30.378

http://192.168.12.105/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 16:49:30.402
Dauer: 24 msec phName: 'shelly-40:'TB Licht''


WZ Licht Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_4.log)

vorher: 16:49:30.398

http://192.168.12.106/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 16:49:30.424
Dauer: 25 msec phName: 'shelly-40:'TB Licht''


SZ Nachtkästchen Thomas (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_5.log)

vorher: 16:49:30.420

http://192.168.12.107/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 16:49:30.458
Dauer: 37 msec phName: 'shelly-40:'TB Licht''


TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_6.log)

vorher: 16:49:30.439

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

nachher: 16:49:30.470
Dauer: 31 msec phName: 'shelly-40:'TB Licht''


GB Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_7.log)

vorher: 16:49:30.462

http://192.168.12.109/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 16:49:30.489
Dauer: 28 msec phName: 'shelly-40:'TB Licht''


WZ Licht Bücherregal (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_8.log)

vorher: 16:49:30.483

http://192.168.12.110/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 16:49:30.509
Dauer: 26 msec phName: 'shelly-40:'TB Licht''


SZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_9.log)

vorher: 16:49:30.502

http://192.168.12.112/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 16:49:30.570
Dauer: 68 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_10.log)

vorher: 16:49:30.522

http://192.168.12.116/white/0?turn=on&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 16:49:30.548
Dauer: 27 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_11.log)

vorher: 16:49:30.541

http://192.168.12.116/white/1?turn=on&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 16:49:30.579
Dauer: 38 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_12.log)

vorher: 16:49:30.561

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 16:49:30.587
Dauer: 27 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_13.log)

vorher: 16:49:30.579

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 16:49:30.621
Dauer: 42 msec phName: 'shelly-40:'TB Licht''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_14.log)

vorher: 16:49:30.601

http://192.168.12.119/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 16:49:30.642
Dauer: 42 msec phName: 'shelly-40:'TB Licht''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_15.log)

vorher: 16:49:30.620

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

nachher: 16:49:30.704
Dauer: 84 msec phName: 'shelly-40:'TB Licht''


Empore Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_16.log)

vorher: 16:49:30.639

http://192.168.12.124/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 16:49:30.694
Dauer: 55 msec phName: 'shelly-40:'TB Licht''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_17.log)

vorher: 16:49:30.660

http://192.168.12.125/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 16:49:30.708
Dauer: 48 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_18.log)

vorher: 16:49:30.678

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

nachher: 16:49:30.708
Dauer: 29 msec phName: 'shelly-40:'TB Licht''


WZ ovale Lampe (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_19.log)

vorher: 16:49:30.699

http://192.168.12.152/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 16:49:30.734
Dauer: 34 msec phName: 'shelly-40:'TB Licht''


GB Schreibtischlampe rechts (/srv/www/viehai/shelly/log_scenarios/2025/01/31/_20.log)

vorher: 16:49:30.722

http://192.168.12.155/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 16:49:30.766
Dauer: 44 msec phName: 'shelly-40:'TB Licht''


scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

urls : 21
vorher : 16:49:30.265
nachher: 16:49:30.773
Dauer : 509 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/31//scene_homeOffice_20250131_164930.txt'


syslog

Jan 31 16:46:00 srv4hai common[13043]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 31 16:46:00 srv4hai dhcpd[4995]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jan 31 16:46:00 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jan 31 16:46:00 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jan 31 16:46:00 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Jan 31 16:46:00 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Jan 31 16:46:00 srv4hai common[13067]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jan 31 16:46:00 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1738338360-1738338359
Jan 31 16:46:00 srv4hai check_presence[13009]: 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
Jan 31 16:46:00 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1738338360-1738338359
Jan 31 16:46:00 srv4hai check_presence[13009]: 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
Jan 31 16:46:00 srv4hai check_presence[13009]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Jan 31 16:46:00 srv4hai postfix/pickup[29640]: 6FFB663463: uid=33 from=
Jan 31 16:46:00 srv4hai postfix/cleanup[13155]: 6FFB663463: message-id=<20250131154600.6FFB663463@mail.viehai.at>
Jan 31 16:46:00 srv4hai postfix/qmgr[8566]: 6FFB663463: from=, size=6121, nrcpt=1 (queue active)
Jan 31 16:46:00 srv4hai check_presence[13009]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Jan 31 16:46:00 srv4hai check_presence[13009]: SHELLY (ping_SP__bt_scan)-(0)-coming: NOT activate_scenario.shtml: vorraumOn
Jan 31 16:46:00 srv4hai ping_SP[12978]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Jan 31 16:46:00 srv4hai ping_SP[12978]: SHELLY - running process-id(12978): '12978 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan#01213067 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas' - 'ping_SP_0' - exiting ==============
Jan 31 16:46:00 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jan 31 16:46:00 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jan 31 16:46:00 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jan 31 16:46:00 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#57717/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan 31 16:46:00 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#47115/key rndc-key: signer "rndc-key" approved
Jan 31 16:46:00 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#47115/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jan 31 16:46:00 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#47115/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jan 31 16:46:00 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#47115/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jan 31 16:46:00 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#47115/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jan 31 16:46:00 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jan 31 16:46:00 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#56847/key rndc-key: signer "rndc-key" approved
Jan 31 16:46:00 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#56847/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jan 31 16:46:00 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#56847/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Jan 31 16:46:00 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jan 31 16:46:01 srv4hai CRON[13200]: (root) CMD (/etc/linetest/linetest.sh)
Jan 31 16:46:01 srv4hai postfix/relay/smtp[13162]: 6FFB663463: to=, relay=mx01.nic.name[209.131.159.47]:25, delay=0.83, delays=0.03/0.01/0.54/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 187B5600A9)
Jan 31 16:46:01 srv4hai postfix/qmgr[8566]: 6FFB663463: removed
Jan 31 16:46:53 srv4hai common[13226]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 31 16:46:53 srv4hai common[13250]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 31 16:47:00 srv4hai common[13274]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 31 16:47:00 srv4hai common[13298]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 31 16:47:00 srv4hai common[13322]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 31 16:47:01 srv4hai CRON[13347]: (root) CMD (/etc/linetest/linetest.sh)
Jan 31 16:47:01 srv4hai postfix/anvil[12578]: statistics: max connection rate 1/60s for (smtp:162.19.224.190) at Jan 31 16:43:38
Jan 31 16:47:01 srv4hai postfix/anvil[12578]: statistics: max connection count 1 for (smtp:162.19.224.190) at Jan 31 16:43:38
Jan 31 16:47:01 srv4hai postfix/anvil[12578]: statistics: max cache size 1 at Jan 31 16:43:38
Jan 31 16:47:38 srv4hai postfix/smtpd[13366]: warning: hostname bresch.surginia.com does not resolve to address 107.174.14.227: Name or service not known
Jan 31 16:47:38 srv4hai postfix/smtpd[13366]: connect from unknown[107.174.14.227]
Jan 31 16:47:42 srv4hai postfix/smtpd[13366]: warning: unknown[107.174.14.227]: SASL PLAIN authentication failed: 
Jan 31 16:47:42 srv4hai postfix/smtpd[13366]: disconnect from unknown[107.174.14.227] ehlo=1 auth=0/1 quit=1 commands=2/3
Jan 31 16:47:53 srv4hai common[13377]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 31 16:47:53 srv4hai common[13401]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 31 16:47:55 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13427, secured, session=
Jan 31 16:47:55 srv4hai dovecot: imap(miglincit)<13427>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 31 16:48:00 srv4hai common[13428]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 31 16:48:00 srv4hai common[13452]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 31 16:48:00 srv4hai common[13476]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 31 16:48:01 srv4hai CRON[13501]: (root) CMD (/etc/linetest/linetest.sh)
Jan 31 16:48:30 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jan 31 16:48:31 srv4hai fetchmail[1651]: 62653 messages (62651 seen) for tmiglinci at mail.akis.at (832571456 octets).
Jan 31 16:48:31 srv4hai postfix/smtpd[13366]: connect from localhost[127.0.0.1]
Jan 31 16:48:31 srv4hai postfix/smtpd[13366]: D078B6004E: client=localhost[127.0.0.1]
Jan 31 16:48:31 srv4hai postfix/cleanup[13527]: D078B6004E: message-id=<20250131154600.6FFB663463@mail.viehai.at>
Jan 31 16:48:31 srv4hai postfix/qmgr[8566]: D078B6004E: from=, size=7391, nrcpt=1 (queue active)
Jan 31 16:48:31 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:62652 of 62653 (7101 octets) not flushed
Jan 31 16:48:31 srv4hai postfix/local[13528]: D078B6004E: to=, relay=local, delay=0.09, delays=0.07/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jan 31 16:48:31 srv4hai postfix/qmgr[8566]: D078B6004E: removed
Jan 31 16:48:31 srv4hai postfix/smtpd[13366]: E3F226004E: client=localhost[127.0.0.1]
Jan 31 16:48:31 srv4hai postfix/cleanup[13527]: E3F226004E: message-id=<2b2f45482d3d501a2d4410efdcd6375e@mlsend.com>
Jan 31 16:48:31 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:62653 of 62653 (65443 octets) not flushed
Jan 31 16:48:31 srv4hai postfix/qmgr[8566]: E3F226004E: from=, size=65706, nrcpt=1 (queue active)
Jan 31 16:48:32 srv4hai postfix/local[13528]: E3F226004E: to=, relay=local, delay=0.07, delays=0.06/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jan 31 16:48:32 srv4hai postfix/qmgr[8566]: E3F226004E: removed
Jan 31 16:48:32 srv4hai postfix/smtpd[13366]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
Jan 31 16:48:32 srv4hai fetchmail[1651]: 11471 messages (11471 seen) for srozum at mail.akis.at (1364211661 octets).
Jan 31 16:48:33 srv4hai fetchmail[1651]: 28656 messages (28656 seen) for mrozum at mail.akis.at (615038770 octets).
Jan 31 16:48:33 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Jan 31 16:48:53 srv4hai common[13540]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 31 16:48:53 srv4hai common[13564]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 31 16:48:59 srv4hai common[13594]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 31 16:48:59 srv4hai common[13618]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 31 16:49:00 srv4hai common[13642]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 31 16:49:01 srv4hai CRON[13667]: (root) CMD (/etc/linetest/linetest.sh)
Jan 31 16:49:30 srv4hai activate_scenario[13687]: SHELLY scenario: 'homeOffice(homeoffice)' started
Jan 31 16:49:30 srv4hai activate_scenario[13687]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished