activate_scenario.sh
Thu Jul 25 18:06:48 CEST 2024
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'

Wandlicht beim Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/07/25/_0.log)

vorher: 18:06:48.797

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

nachher: 18:06:48.828
Dauer: 31 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/25/_1.log)

vorher: 18:06:48.817

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: 18:06:48.868
Dauer: 50 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/07/25/_2.log)

vorher: 18:06:48.838

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: 18:06:48.980
Dauer: 143 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/07/25/_3.log)

vorher: 18:06:48.855

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: 18:06:48.882
Dauer: 28 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/07/25/_4.log)

vorher: 18:06:48.871

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: 18:06:49.083
Dauer: 211 msec phName: 'shelly-40:'Thomas Büro Licht''


Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/07/25/_5.log)

vorher: 18:06:48.884

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: 18:06:48.920
Dauer: 36 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/07/25/_6.log)

vorher: 18:06:48.896

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: 18:06:48.938
Dauer: 41 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/25/_7.log)

vorher: 18:06:48.909

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: 18:06:48.973
Dauer: 64 msec phName: 'shelly-40:'Thomas Büro Licht''


WZ Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/07/25/_8.log)

vorher: 18:06:48.925

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: 18:06:48.978
Dauer: 54 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:06:48.937

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


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/25/_10.log)

vorher: 18:06:48.951

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: 18:06:49.195
Dauer: 244 msec phName: 'shelly-40:'Thomas Büro Licht''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/07/25/_11.log)

vorher: 18:06:48.963

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

nachher: 18:06:48.994
Dauer: 30 msec phName: 'shelly-40:'Thomas Büro Licht''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/07/25/_12.log)

vorher: 18:06:48.976

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

nachher: 18:06:49.030
Dauer: 55 msec phName: 'shelly-40:'Thomas Büro Licht''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/07/25/_13.log)

vorher: 18:06:48.991

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: 18:06:49.042
Dauer: 49 msec phName: 'shelly-40:'Thomas Büro Licht''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/07/25/_14.log)

vorher: 18:06:49.005

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: 18:06:49.109
Dauer: 104 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/07/25/_15.log)

vorher: 18:06:49.018

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: 18:06:49.091
Dauer: 72 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/07/25/_16.log)

vorher: 18:06:49.031

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

nachher: 18:06:49.081
Dauer: 50 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/07/25/_17.log)

vorher: 18:06:49.045

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: 18:06:49.087
Dauer: 42 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/07/25/_18.log)

vorher: 18:06:49.058

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


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

urls : 19
vorher : 18:06:48.767
nachher: 18:06:49.208
Dauer : 442 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/25//scene_homeOffice_20240725_180648.txt'


syslog

Jul 25 18:03:01 srv4hai CRON[14355]: (root) CMD (/etc/linetest/linetest.sh)
Jul 25 18:03:14 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14374, secured, session=<6RVJiBQeyIUAAAAAAAAAAAAAAAAAAAAB>
Jul 25 18:03:14 srv4hai dovecot: imap(miglincit)<14374><6RVJiBQeyIUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 25 18:04:01 srv4hai CRON[14404]: (root) CMD (/etc/linetest/linetest.sh)
Jul 25 18:05:01 srv4hai CRON[14440]: (root) CMD (/etc/linetest/linetest.sh)
Jul 25 18:05:29 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Jul 25 18:05:56 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 25 18:05:57 srv4hai fetchmail[1651]: 49362 messages (49362 seen) for tmiglinci at mail.akis.at (-210405580 octets).
Jul 25 18:05:57 srv4hai fetchmail[1651]: 10505 messages (10505 seen) for srozum at mail.akis.at (1263846062 octets).
Jul 25 18:05:58 srv4hai fetchmail[1651]: 24942 messages (24942 seen) for mrozum at mail.akis.at (67180999 octets).
Jul 25 18:05:58 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 25 18:06:01 srv4hai CRON[14483]: (root) CMD (/etc/linetest/linetest.sh)
Jul 25 18:06:14 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14507, secured, session=
Jul 25 18:06:14 srv4hai dovecot: imap(miglincit)<14507>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 25 18:06:19 srv4hai common[14513]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 25 18:06:19 srv4hai bt_scan[14513]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul 25 18:06:19 srv4hai bt_scan[14513]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Jul 25 18:06:19 srv4hai common[14544]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 25 18:06:19 srv4hai ping_SP[14544]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jul 25 18:06:19 srv4hai common[14565]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 25 18:06:20 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1721923580-1721923579
Jul 25 18:06:20 srv4hai check_presence[14565]: 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
Jul 25 18:06:20 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1721923580-1721923579
Jul 25 18:06:20 srv4hai check_presence[14565]: 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
Jul 25 18:06:20 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1721923580-1721923579
Jul 25 18:06:20 srv4hai check_presence[14565]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 25 18:06:20 srv4hai check_presence[14565]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Jul 25 18:06:20 srv4hai postfix/pickup[4206]: 215966018A: uid=33 from=
Jul 25 18:06:20 srv4hai postfix/cleanup[14669]: 215966018A: message-id=<20240725160620.215966018A@mail.viehai.at>
Jul 25 18:06:20 srv4hai postfix/qmgr[8566]: 215966018A: from=, size=3998, nrcpt=1 (queue active)
Jul 25 18:06:20 srv4hai check_presence[14565]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Jul 25 18:06:20 srv4hai check_presence[14565]: SHELLY (ping_SP__bt_scan)-(0)-coming: NOT activate_scenario.shtml: vorraumOn
Jul 25 18:06:20 srv4hai ping_SP[14544]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Jul 25 18:06:20 srv4hai ping_SP[14544]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1721923580
Jul 25 18:06:20 srv4hai postfix/relay/smtp[14676]: 215966018A: to=, relay=mx04.nic.name[209.131.160.34]:25, delay=0.78, delays=0.04/0.01/0.49/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as AD17B800EF)
Jul 25 18:06:20 srv4hai postfix/qmgr[8566]: 215966018A: removed
Jul 25 18:06:36 srv4hai ping_SP[14544]: SHELLY (0)- ping 192.168.12.61 0 not answered (1) @~1721923596 - 'ping_SP_0'
Jul 25 18:06:41 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jul 25 18:06:41 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 25 18:06:41 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul 25 18:06:41 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul 25 18:06:41 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul 25 18:06:41 srv4hai common[14737]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul 25 18:06:48 srv4hai activate_scenario[14754]: SHELLY scenario: 'homeOffice(homeoffice)' started
Jul 25 18:06:48 srv4hai activate_scenario[14754]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished