activate_scenario.sh
Thu Sep 12 12:58:59 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/09/12/_0.log)

vorher: 12:58:59.982

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: 12:59:00.034
Dauer: 53 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/09/12/_1.log)

vorher: 12:58:59.994

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: 12:59:00.022
Dauer: 28 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/09/12/_2.log)

vorher: 12:59:00.006

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: 12:59:00.032
Dauer: 26 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/09/12/_3.log)

vorher: 12:59:00.019

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: 12:59:00.048
Dauer: 28 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/09/12/_4.log)

vorher: 12:59:00.032

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: 12:59:00.065
Dauer: 32 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:59:00.045

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: 12:59:00.083
Dauer: 38 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:59:00.057

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: 12:59:00.108
Dauer: 51 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/09/12/_7.log)

vorher: 12:59:00.070

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: 12:59:00.097
Dauer: 27 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:59:00.082

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: 12:59:00.138
Dauer: 57 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:59:00.097

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: 12:59:00.141
Dauer: 45 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/09/12/_10.log)

vorher: 12:59:00.113

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: 12:59:00.308
Dauer: 195 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:59:00.125

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: 12:59:00.244
Dauer: 120 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:59:00.137

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: 12:59:00.242
Dauer: 105 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:59:00.153

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: 12:59:00.191
Dauer: 38 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:59:00.165

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: 12:59:00.224
Dauer: 60 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/09/12/_15.log)

vorher: 12:59:00.177

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: 12:59:00.252
Dauer: 75 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:59:00.191

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: 12:59:00.259
Dauer: 68 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/09/12/_17.log)

vorher: 12:59:00.203

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: 12:59:00.378
Dauer: 174 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/09/12/_18.log)

vorher: 12:59:00.216

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: 12:59:00.263
Dauer: 47 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 12:58:59.963
nachher: 12:59:00.385
Dauer : 421 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/12//scene_homeOffice_20240912_125859.txt'


syslog

Sep 12 12:55:01 srv4hai CRON[19610]: (root) CMD (/etc/linetest/linetest.sh)
Sep 12 12:55:04 srv4hai postfix/anvil[19180]: statistics: max connection rate 1/60s for (smtp:80.94.92.156) at Sep 12 12:50:31
Sep 12 12:55:04 srv4hai postfix/anvil[19180]: statistics: max connection count 1 for (smtp:80.94.92.156) at Sep 12 12:50:31
Sep 12 12:55:04 srv4hai postfix/anvil[19180]: statistics: max cache size 1 at Sep 12 12:50:31
Sep 12 12:55:38 srv4hai ping_SP[6707]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726138538 - 'ping_SP_0'
Sep 12 12:55:38 srv4hai ping_SP[6707]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 12 12:56:01 srv4hai CRON[19644]: (root) CMD (/etc/linetest/linetest.sh)
Sep 12 12:56:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19666, secured, session=
Sep 12 12:56:47 srv4hai dovecot: imap(miglincit)<19666>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 12 12:56:51 srv4hai ping_SP[6707]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726138611 - 'ping_SP_0'
Sep 12 12:56:51 srv4hai ping_SP[6707]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 12 12:56:59 srv4hai nmbd[2172]: [2024/09/12 12:56:59.862667,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Sep 12 12:56:59 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Sep 12 12:56:59 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Sep 12 12:56:59 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Sep 12 12:57:01 srv4hai CRON[19684]: (root) CMD (/etc/linetest/linetest.sh)
Sep 12 12:57:02 srv4hai common[19689]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 12 12:57:12 srv4hai bt_scan[19689]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Sep 12 12:57:12 srv4hai bt_scan[19689]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Sep 12 12:57:12 srv4hai common[19722]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 12 12:57:13 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1726138633-1726138622
Sep 12 12:57:13 srv4hai check_presence[19722]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 12 12:57:13 srv4hai check_presence[19722]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Sep 12 12:57:13 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1726138633-1726138622
Sep 12 12:57:13 srv4hai check_presence[19722]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 12 12:57:13 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1726138633-1726138622
Sep 12 12:57:13 srv4hai check_presence[19722]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 12 12:57:13 srv4hai check_presence[19722]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Sep 12 12:57:13 srv4hai check_presence[19722]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_pcOFF) - sceneOFF(offAll)
Sep 12 12:57:13 srv4hai check_presence[19722]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Sep 12 12:58:01 srv4hai CRON[19875]: (root) CMD (/etc/linetest/linetest.sh)
Sep 12 12:58:04 srv4hai ping_SP[6707]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726138684 - 'ping_SP_0'
Sep 12 12:58:04 srv4hai ping_SP[6707]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 12 12:58:42 srv4hai common[19902]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 12 12:58:51 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 12 12:58:52 srv4hai fetchmail[1651]: 52161 messages (52160 seen) for tmiglinci at mail.akis.at (-2017102 octets).
Sep 12 12:58:52 srv4hai bt_scan[19902]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 12 12:58:52 srv4hai bt_scan[19902]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Sep 12 12:58:52 srv4hai postfix/smtpd[19930]: connect from localhost[127.0.0.1]
Sep 12 12:58:52 srv4hai postfix/smtpd[19930]: 73ECB6000F: client=localhost[127.0.0.1]
Sep 12 12:58:52 srv4hai postfix/cleanup[19940]: 73ECB6000F: message-id=<20240912105320.17043.704710553.swift@newsletter02.headroom.at>
Sep 12 12:58:52 srv4hai postfix/qmgr[8566]: 73ECB6000F: from=, size=24752, nrcpt=1 (queue active)
Sep 12 12:58:52 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:52161 of 52161 (24465 octets) not flushed
Sep 12 12:58:52 srv4hai postfix/smtpd[19930]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Sep 12 12:58:52 srv4hai postfix/local[19941]: 73ECB6000F: to=, relay=local, delay=0.09, delays=0.06/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 12 12:58:52 srv4hai postfix/qmgr[8566]: 73ECB6000F: removed
Sep 12 12:58:52 srv4hai fetchmail[1651]: 10712 messages (10712 seen) for srozum at mail.akis.at (1292411515 octets).
Sep 12 12:58:53 srv4hai fetchmail[1651]: 25855 messages (25855 seen) for mrozum at mail.akis.at (203545210 octets).
Sep 12 12:58:54 srv4hai fetchmail[1651]: 1143 messages (1143 seen) for admin@bastelstube.wien at pop3.world4you.com (51639660 octets).
Sep 12 12:58:59 srv4hai activate_scenario[19944]: SHELLY scenario: 'homeOffice(homeoffice)' started
Sep 12 12:58:59 srv4hai activate_scenario[19944]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished