activate_scenario.sh
Fri Mar 14 07:19:35 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/03/14/_0.log)

vorher: 07:19:35.688

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: 07:19:35.723
Dauer: 35 msec phName: 'shelly-40:'TB Licht''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2025/03/14/_1.log)

vorher: 07:19:35.730

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: 07:19:35.779
Dauer: 49 msec phName: 'shelly-40:'TB Licht''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/03/14/_2.log)

vorher: 07:19:35.769

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": "input"

nachher: 07:19:35.809
Dauer: 40 msec phName: 'shelly-40:'TB Licht''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2025/03/14/_3.log)

vorher: 07:19:35.826

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

nachher: 07:19:35.873
Dauer: 48 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:19:35.864

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

nachher: 07:19:35.896
Dauer: 32 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:19:35.905

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


TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/03/14/_6.log)

vorher: 07:19:35.938

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: 07:19:36.000
Dauer: 62 msec phName: 'shelly-40:'TB Licht''


GB Licht (/srv/www/viehai/shelly/log_scenarios/2025/03/14/_7.log)

vorher: 07:19:35.982

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: 07:19:36.041
Dauer: 59 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:19:36.022

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

nachher: 07:19:36.063
Dauer: 40 msec phName: 'shelly-40:'TB Licht''


SZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/03/14/_9.log)

vorher: 07:19:36.052

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: 07:19:36.144
Dauer: 92 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:19:36.095

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": 12.72,
  "overpower": false

nachher: 07:19:36.164
Dauer: 69 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:19:36.125

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": 12.72,
  "overpower": false

nachher: 07:19:36.185
Dauer: 71 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:19:36.166

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: 07:19:36.208
Dauer: 36 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:19:36.214

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: 07:19:36.303
Dauer: 92 msec phName: 'shelly-40:'TB Licht''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2025/03/14/_14.log)

vorher: 07:19:36.257

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

nachher: 07:19:36.291
Dauer: 34 msec phName: 'shelly-40:'TB Licht''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2025/03/14/_15.log)

vorher: 07:19:36.301

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: 07:19:36.366
Dauer: 65 msec phName: 'shelly-40:'TB Licht''


Empore Licht (/srv/www/viehai/shelly/log_scenarios/2025/03/14/_16.log)

vorher: 07:19:36.341

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

nachher: 07:19:36.411
Dauer: 71 msec phName: 'shelly-40:'TB Licht''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2025/03/14/_17.log)

vorher: 07:19:36.388

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: 07:19:36.440
Dauer: 52 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/03/14/_18.log)

vorher: 07:19:36.428

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: 07:19:36.474
Dauer: 45 msec phName: 'shelly-40:'TB Licht''


WZ ovale Lampe (/srv/www/viehai/shelly/log_scenarios/2025/03/14/_19.log)

vorher: 07:19:36.486

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: 07:19:36.534
Dauer: 52 msec phName: 'shelly-40:'TB Licht''


GB Schreibtischlampe rechts (/srv/www/viehai/shelly/log_scenarios/2025/03/14/_20.log)

vorher: 07:19:36.526

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: 07:19:36.607
Dauer: 80 msec phName: 'shelly-40:'TB Licht''


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

urls : 21
vorher : 07:19:35.637
nachher: 07:19:36.620
Dauer : 983 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/03/14//scene_homeOffice_20250314_071935.txt'


syslog

Mar 14 07:16:00 srv4hai common[3163]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 14 07:16:00 srv4hai postfix/smtpd[3035]: lost connection after AUTH from unknown[213.209.150.124]
Mar 14 07:16:00 srv4hai postfix/smtpd[3035]: disconnect from unknown[213.209.150.124] ehlo=1 auth=0/1 commands=1/2
Mar 14 07:16:01 srv4hai CRON[3188]: (root) CMD (/etc/linetest/linetest.sh)
Mar 14 07:16:11 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3201, secured, session=<7NgBYEcwBMMAAAAAAAAAAAAAAAAAAAAB>
Mar 14 07:16:11 srv4hai dovecot: imap(miglincit)<3201><7NgBYEcwBMMAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 14 07:16:28 srv4hai postfix/anvil[14994]: statistics: max connection rate 1/60s for (smtp:213.209.150.124) at Mar 14 07:08:06
Mar 14 07:16:28 srv4hai postfix/anvil[14994]: statistics: max connection count 1 for (smtp:213.209.150.124) at Mar 14 07:08:06
Mar 14 07:16:28 srv4hai postfix/anvil[14994]: statistics: max cache size 2 at Mar 14 07:15:59
Mar 14 07:16:30 srv4hai ping_SP[31940]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1741932990 - 'ping_SP_0'
Mar 14 07:16:30 srv4hai ping_SP[31940]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 14 07:16:47 srv4hai common[3225]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 14 07:16:47 srv4hai common[3249]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 14 07:16:48 srv4hai common[3274]: SHELLY common.sh inkludiert von ./bt_scan.sh
Mar 14 07:16:48 srv4hai bt_scan[3274]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Mar 14 07:16:48 srv4hai bt_scan[3274]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Mar 14 07:16:48 srv4hai common[3305]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Mar 14 07:16:48 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=-
Mar 14 07:16:48 srv4hai check_presence[3305]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and NO_BTdweet//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Mar 14 07:16:48 srv4hai check_presence[3305]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Mar 14 07:16:48 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=-
Mar 14 07:16:48 srv4hai check_presence[3305]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and NO_BTdweet//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Mar 14 07:16:48 srv4hai check_presence[3305]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Mar 14 07:16:48 srv4hai check_presence[3305]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_nasszeile_um) - sceneOFF(offAll)
Mar 14 07:16:48 srv4hai check_presence[3305]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Mar 14 07:17:00 srv4hai common[3390]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 14 07:17:00 srv4hai common[3414]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 14 07:17:00 srv4hai common[3439]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 14 07:17:01 srv4hai CRON[3466]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Mar 14 07:17:01 srv4hai CRON[3467]: (root) CMD (/etc/linetest/linetest.sh)
Mar 14 07:17:02 srv4hai common[3474]: SHELLY common.sh inkludiert von ./bt_scan.sh
Mar 14 07:17:03 srv4hai bt_scan[3474]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Mar 14 07:17:03 srv4hai bt_scan[3474]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Mar 14 07:17:20 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3509, secured, session=
Mar 14 07:17:20 srv4hai dovecot: imap(miglincit)<3509>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 14 07:17:33 srv4hai ping_SP[31940]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1741933053 - 'ping_SP_0'
Mar 14 07:17:33 srv4hai ping_SP[31940]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 14 07:17:47 srv4hai common[3536]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 14 07:17:47 srv4hai common[3560]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 14 07:17:59 srv4hai common[3584]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 14 07:17:59 srv4hai common[3608]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 14 07:18:00 srv4hai common[3632]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 14 07:18:01 srv4hai CRON[3658]: (root) CMD (/etc/linetest/linetest.sh)
Mar 14 07:18:12 srv4hai kernel: [87911169.900746] CPU4: Package temperature/speed normal
Mar 14 07:18:12 srv4hai kernel: [87911169.900748] CPU5: Package temperature/speed normal
Mar 14 07:18:12 srv4hai kernel: [87911169.900749] CPU3: Package temperature/speed normal
Mar 14 07:18:12 srv4hai kernel: [87911169.900750] CPU7: Package temperature/speed normal
Mar 14 07:18:12 srv4hai kernel: [87911169.900751] CPU6: Package temperature/speed normal
Mar 14 07:18:12 srv4hai kernel: [87911169.900752] CPU2: Package temperature/speed normal
Mar 14 07:18:12 srv4hai kernel: [87911169.900753] CPU0: Package temperature/speed normal
Mar 14 07:18:12 srv4hai kernel: [87911169.900754] CPU1: Package temperature/speed normal
Mar 14 07:18:36 srv4hai ping_SP[31940]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1741933116 - 'ping_SP_0'
Mar 14 07:18:36 srv4hai ping_SP[31940]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 14 07:18:37 srv4hai postfix/smtpd[3685]: connect from unknown[213.209.150.124]
Mar 14 07:18:37 srv4hai postfix/smtpd[3685]: warning: unknown[213.209.150.124]: SASL LOGIN authentication failed: Invalid authentication mechanism
Mar 14 07:18:37 srv4hai postfix/smtpd[3685]: lost connection after AUTH from unknown[213.209.150.124]
Mar 14 07:18:37 srv4hai postfix/smtpd[3685]: disconnect from unknown[213.209.150.124] ehlo=1 auth=0/1 commands=1/2
Mar 14 07:18:41 srv4hai systemd[1]: Starting Daily apt download activities...
Mar 14 07:18:41 srv4hai systemd[1]: apt-daily.service: Succeeded.
Mar 14 07:18:41 srv4hai systemd[1]: Started Daily apt download activities.
Mar 14 07:18:47 srv4hai common[3742]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 14 07:18:47 srv4hai common[3767]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 14 07:19:00 srv4hai common[3791]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 14 07:19:00 srv4hai common[3815]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 14 07:19:00 srv4hai common[3839]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 14 07:19:01 srv4hai CRON[3865]: (root) CMD (/etc/linetest/linetest.sh)
Mar 14 07:19:11 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3874, secured, session=
Mar 14 07:19:11 srv4hai dovecot: imap(miglincit)<3874>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 14 07:19:34 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar 14 07:19:34 srv4hai fetchmail[1651]: 65664 messages (65663 seen) for tmiglinci at mail.akis.at (1080059578 octets).
Mar 14 07:19:34 srv4hai postfix/smtpd[3685]: connect from localhost[127.0.0.1]
Mar 14 07:19:34 srv4hai postfix/smtpd[3685]: DDA78631BE: client=localhost[127.0.0.1]
Mar 14 07:19:34 srv4hai postfix/cleanup[3880]: DDA78631BE: message-id=<495339f0e1fea58fd287908a437c7af6@letter.rebellen-news.de>
Mar 14 07:19:35 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:65664 of 65664 (133269 octets) not flushed
Mar 14 07:19:35 srv4hai postfix/qmgr[8566]: DDA78631BE: from=, size=133506, nrcpt=1 (queue active)
Mar 14 07:19:35 srv4hai postfix/smtpd[3685]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Mar 14 07:19:35 srv4hai postfix/local[3881]: DDA78631BE: to=, relay=local, delay=0.12, delays=0.11/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 14 07:19:35 srv4hai postfix/qmgr[8566]: DDA78631BE: removed
Mar 14 07:19:35 srv4hai fetchmail[1651]: 11686 messages (11686 seen) for srozum at mail.akis.at (1381916117 octets).
Mar 14 07:19:35 srv4hai activate_scenario[3884]: SHELLY scenario: 'homeOffice(homeoffice)' started
Mar 14 07:19:35 srv4hai activate_scenario[3884]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished