activate_scenario.sh
Thu Jan 16 13:06:21 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/16/_0.log)

vorher: 13:06:21.709

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: 13:06:21.732
Dauer: 22 msec phName: 'shelly-40:'TB Licht''


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

vorher: 13:06:21.728

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

nachher: 13:06:21.841
Dauer: 113 msec phName: 'shelly-40:'TB Licht''


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

vorher: 13:06:21.748

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: 13:06:21.838
Dauer: 90 msec phName: 'shelly-40:'TB Licht''


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

vorher: 13:06:21.766

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: 13:06:21.792
Dauer: 27 msec phName: 'shelly-40:'TB Licht''


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

vorher: 13:06:21.784

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: 13:06:21.930
Dauer: 146 msec phName: 'shelly-40:'TB Licht''


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

vorher: 13:06:21.805

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: 13:06:21.841
Dauer: 37 msec phName: 'shelly-40:'TB Licht''


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

vorher: 13:06:21.823

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: 13:06:21.853
Dauer: 30 msec phName: 'shelly-40:'TB Licht''


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

vorher: 13:06:21.841

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: 13:06:21.905
Dauer: 64 msec phName: 'shelly-40:'TB Licht''


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

vorher: 13:06:21.862

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: 13:06:21.885
Dauer: 23 msec phName: 'shelly-40:'TB Licht''


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

vorher: 13:06:21.881

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: 13:06:21.923
Dauer: 41 msec phName: 'shelly-40:'TB Licht''


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

vorher: 13:06:21.902

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: 13:06:21.931
Dauer: 30 msec phName: 'shelly-40:'TB Licht''


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

vorher: 13:06:21.921

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: 13:06:21.964
Dauer: 44 msec phName: 'shelly-40:'TB Licht''


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

vorher: 13:06:21.944

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: 13:06:21.973
Dauer: 29 msec phName: 'shelly-40:'TB Licht''


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

vorher: 13:06:21.962

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: 13:06:22.011
Dauer: 48 msec phName: 'shelly-40:'TB Licht''


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

vorher: 13:06:21.983

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: 13:06:22.030
Dauer: 47 msec phName: 'shelly-40:'TB Licht''


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

vorher: 13:06:22.001

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: 13:06:22.033
Dauer: 32 msec phName: 'shelly-40:'TB Licht''


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

vorher: 13:06:22.020

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: 13:06:22.146
Dauer: 126 msec phName: 'shelly-40:'TB Licht''


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

vorher: 13:06:22.039

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: 13:06:22.240
Dauer: 201 msec phName: 'shelly-40:'TB Licht''


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

vorher: 13:06:22.057

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: 13:06:22.087
Dauer: 31 msec phName: 'shelly-40:'TB Licht''


GB Schreibtischlampe rechts (/srv/www/viehai/shelly/log_scenarios/2025/01/16/_19.log)

vorher: 13:06:22.075

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: 13:06:22.115
Dauer: 39 msec phName: 'shelly-40:'TB Licht''


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

urls : 20
vorher : 13:06:21.681
nachher: 13:06:22.248
Dauer : 567 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/16//scene_homeOffice_20250116_130621.txt'


syslog

Jan 16 13:03:01 srv4hai CRON[32220]: (root) CMD (/etc/linetest/linetest.sh)
Jan 16 13:03:16 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jan 16 13:03:29 srv4hai fetchmail[1651]: 61580 messages (61580 seen) for tmiglinci at mail.akis.at (751626635 octets).
Jan 16 13:03:34 srv4hai fetchmail[1651]: 11387 messages (11387 seen) for srozum at mail.akis.at (1358185314 octets).
Jan 16 13:03:38 srv4hai postfix/smtpd[32111]: connect from unknown[154.203.197.109]
Jan 16 13:03:38 srv4hai postfix/smtpd[32111]: warning: unknown[154.203.197.109]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jan 16 13:03:38 srv4hai fetchmail[1651]: 28361 messages (28360 seen) for mrozum at mail.akis.at (572262348 octets).
Jan 16 13:03:38 srv4hai postfix/smtpd[32111]: lost connection after AUTH from unknown[154.203.197.109]
Jan 16 13:03:38 srv4hai postfix/smtpd[32111]: disconnect from unknown[154.203.197.109] ehlo=1 auth=0/1 commands=1/2
Jan 16 13:03:38 srv4hai postfix/smtpd[32111]: connect from localhost[127.0.0.1]
Jan 16 13:03:38 srv4hai postfix/smtpd[32111]: 553916004E: client=localhost[127.0.0.1]
Jan 16 13:03:38 srv4hai postfix/cleanup[32237]: 553916004E: message-id=
Jan 16 13:03:38 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:28361 of 28361 (108318 octets) not flushed
Jan 16 13:03:38 srv4hai postfix/qmgr[8566]: 553916004E: from=, size=108778, nrcpt=1 (queue active)
Jan 16 13:03:38 srv4hai postfix/smtpd[32111]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jan 16 13:03:38 srv4hai postfix/local[32238]: 553916004E: to=, relay=local, delay=0.42, delays=0.4/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jan 16 13:03:38 srv4hai postfix/qmgr[8566]: 553916004E: removed
Jan 16 13:03:39 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Jan 16 13:03:44 srv4hai mosquitto[29419]: Client shellyht-00B358 has exceeded timeout, disconnecting.
Jan 16 13:03:44 srv4hai mosquitto[29419]: Socket error on client shellyht-00B358, disconnecting.
Jan 16 13:03:52 srv4hai ping_SP[2536]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737029032 - 'ping_SP_0'
Jan 16 13:03:52 srv4hai ping_SP[2536]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 16 13:04:01 srv4hai CRON[32270]: (root) CMD (/etc/linetest/linetest.sh)
Jan 16 13:04:09 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32280, secured, session=
Jan 16 13:04:09 srv4hai dovecot: imap(miglincit)<32280>: 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 16 13:05:00 srv4hai common[32303]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jan 16 13:05:01 srv4hai CRON[32317]: (root) CMD (/etc/linetest/linetest.sh)
Jan 16 13:05:05 srv4hai ping_SP[2536]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737029105 - 'ping_SP_0'
Jan 16 13:05:05 srv4hai ping_SP[2536]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 16 13:05:11 srv4hai bt_scan[32303]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jan 16 13:05:11 srv4hai bt_scan[32303]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jan 16 13:05:11 srv4hai common[32356]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jan 16 13:05:11 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1737029111-1737029101
Jan 16 13:05:11 srv4hai check_presence[32356]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jan 16 13:05:11 srv4hai check_presence[32356]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jan 16 13:05:11 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1737029111-1737029101
Jan 16 13:05:11 srv4hai check_presence[32356]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jan 16 13:05:11 srv4hai check_presence[32356]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jan 16 13:05:11 srv4hai check_presence[32356]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Jan 16 13:05:11 srv4hai check_presence[32356]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 16 13:05:37 srv4hai common[32477]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jan 16 13:05:47 srv4hai bt_scan[32477]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jan 16 13:05:47 srv4hai bt_scan[32477]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jan 16 13:06:01 srv4hai CRON[32521]: (root) CMD (/etc/linetest/linetest.sh)
Jan 16 13:06:18 srv4hai ping_SP[2536]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737029178 - 'ping_SP_0'
Jan 16 13:06:18 srv4hai ping_SP[2536]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 16 13:06:21 srv4hai activate_scenario[32552]: SHELLY last scenario: 'vorraumOn' @ '123442' from 'scene_vorraumOn_20250116_123442.txt' - delta=21
Jan 16 13:06:21 srv4hai activate_scenario[32552]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20250116130621 20250116123442  -f '%S'
Jan 16 13:06:21 srv4hai activate_scenario[32552]: SHELLY  new scenario: 'homeOffice' different - GO ON
Jan 16 13:06:21 srv4hai activate_scenario[32552]: SHELLY scenario: 'homeOffice(homeoffice)' started
Jan 16 13:06:21 srv4hai activate_scenario[32552]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished