activate_scenario.sh
Tue Sep 17 11:45:49 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/17/_0.log)

vorher: 11:45:49.830

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: 11:45:49.945
Dauer: 115 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:45:49.851

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: 11:45:49.880
Dauer: 29 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:45:49.872

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: 11:45:49.935
Dauer: 63 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:45:49.896

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: 11:45:49.935
Dauer: 39 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:45:49.917

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: 11:45:50.037
Dauer: 119 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:45:49.939

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


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

vorher: 11:45:49.960

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


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

vorher: 11:45:49.974

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: 11:45:50.033
Dauer: 60 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:45:49.987

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: 11:45:50.035
Dauer: 47 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:45:50.000

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: 11:45:50.038
Dauer: 38 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:45:50.014

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: 11:45:50.098
Dauer: 85 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:45:50.029

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: 11:45:50.060
Dauer: 32 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:45:50.046

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: 11:45:50.077
Dauer: 30 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:45:50.058

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: 11:45:50.101
Dauer: 43 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:45:50.073

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: 11:45:50.135
Dauer: 61 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:45:50.088

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: 11:45:50.139
Dauer: 51 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:45:50.102

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: 11:45:50.131
Dauer: 29 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:45:50.116

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: 11:45:50.142
Dauer: 27 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 11:45:50.128

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


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

urls : 19
vorher : 11:45:49.799
nachher: 11:45:50.179
Dauer : 380 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/17//scene_homeOffice_20240917_114549.txt'


syslog

Sep 17 11:42:01 srv4hai CRON[2975]: (root) CMD (/etc/linetest/linetest.sh)
Sep 17 11:42:03 srv4hai nmbd[2172]: [2024/09/17 11:42:03.418218,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Sep 17 11:42:03 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Sep 17 11:42:03 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Sep 17 11:42:03 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Sep 17 11:42:51 srv4hai ping_SP[27352]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726566171 - 'ping_SP_0'
Sep 17 11:42:51 srv4hai ping_SP[27352]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 17 11:42:59 srv4hai named[30406]: resolver priming query complete
Sep 17 11:43:01 srv4hai CRON[3034]: (root) CMD (/etc/linetest/linetest.sh)
Sep 17 11:43:29 srv4hai named[30406]: resolver priming query complete
Sep 17 11:43:54 srv4hai named[30406]: resolver priming query complete
Sep 17 11:43:54 srv4hai ping_SP[27352]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726566234 - 'ping_SP_0'
Sep 17 11:43:54 srv4hai ping_SP[27352]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 17 11:44:01 srv4hai CRON[3066]: (root) CMD (/etc/linetest/linetest.sh)
Sep 17 11:44:05 srv4hai named[30406]: resolver priming query complete
Sep 17 11:44:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3073, secured, session=
Sep 17 11:44:08 srv4hai dovecot: imap(miglincit)<3073>: Logged out in=786 out=47285 deleted=0 expunged=0 trashed=0 hdr_count=61 hdr_bytes=18411 body_count=0 body_bytes=0
Sep 17 11:44:57 srv4hai ping_SP[27352]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726566297 - 'ping_SP_0'
Sep 17 11:44:57 srv4hai ping_SP[27352]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 17 11:44:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3104, secured, session=<5RXcik0iwrIAAAAAAAAAAAAAAAAAAAAB>
Sep 17 11:44:57 srv4hai dovecot: imap(miglincit)<3104><5RXcik0iwrIAAAAAAAAAAAAAAAAAAAAB>: Logged out in=443 out=57243 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=449 body_count=1 body_bytes=55070
Sep 17 11:44:58 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3110, secured, session=
Sep 17 11:44:59 srv4hai dovecot: imap(miglincit)<3110>: Logged out in=606 out=30843 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=328 body_count=0 body_bytes=0
Sep 17 11:44:59 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3112, secured, session=
Sep 17 11:44:59 srv4hai dovecot: imap(miglincit)<3112>: Logged out in=443 out=48580 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=467 body_count=1 body_bytes=46372
Sep 17 11:44:59 srv4hai named[30406]: resolver priming query complete
Sep 17 11:45:00 srv4hai smartd[27489]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 51 to 50
Sep 17 11:45:00 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3115, secured, session=<08AMi00iyrIAAAAAAAAAAAAAAAAAAAAB>
Sep 17 11:45:00 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3117, secured, session=
Sep 17 11:45:01 srv4hai dovecot: imap(miglincit)<3117>: Logged out in=397 out=68776 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=500 body_count=1 body_bytes=66629
Sep 17 11:45:01 srv4hai dovecot: imap(miglincit)<3115><08AMi00iyrIAAAAAAAAAAAAAAAAAAAAB>: Logged out in=606 out=30850 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=419 body_count=0 body_bytes=0
Sep 17 11:45:01 srv4hai CRON[3119]: (root) CMD (/etc/linetest/linetest.sh)
Sep 17 11:45:11 srv4hai named[30406]: resolver priming query complete
Sep 17 11:45:24 srv4hai dovecot: imap(miglincit)<13139>: Logged out in=3350330 out=5004564 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 17 11:45:24 srv4hai dovecot: imap(miglincit)<13332>: Logged out in=3325555 out=4965025 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 17 11:45:24 srv4hai dovecot: imap(miglincit)<13346>: Logged out in=67436 out=101715 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 17 11:45:24 srv4hai dovecot: imap(miglincit)<13138>: Logged out in=15421 out=7254811 deleted=0 expunged=0 trashed=0 hdr_count=139 hdr_bytes=53948 body_count=140 body_bytes=7033553
Sep 17 11:45:24 srv4hai named[30406]: resolver priming query complete
Sep 17 11:45:25 srv4hai named[30406]: resolver priming query complete
Sep 17 11:45:25 srv4hai activate_scenario[3129]: SHELLY scenario: 'pcOFF(pcoff)' started
Sep 17 11:45:25 srv4hai activate_scenario[3129]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''
Sep 17 11:45:25 srv4hai activate_scenario[3129]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Sep 17 11:45:25 srv4hai postfix/pickup[29244]: 70ADE63463: uid=33 from=
Sep 17 11:45:25 srv4hai postfix/cleanup[3182]: 70ADE63463: message-id=<20240917094525.70ADE63463@mail.viehai.at>
Sep 17 11:45:25 srv4hai postfix/qmgr[8566]: 70ADE63463: from=, size=5945, nrcpt=1 (queue active)
Sep 17 11:45:25 srv4hai activate_scenario[3129]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Sep 17 11:45:25 srv4hai postfix/local[3195]: 70ADE63463: to=, orig_to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Sep 17 11:45:25 srv4hai postfix/cleanup[3182]: 7A71F63464: message-id=<20240917094525.7A71F63464@mail.viehai.at>
Sep 17 11:45:25 srv4hai proc_url[3200]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/17/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Sep 17 11:45:25 srv4hai postfix/bounce[3196]: 70ADE63463: sender non-delivery notification: 7A71F63464
Sep 17 11:45:25 srv4hai postfix/qmgr[8566]: 7A71F63464: from=<>, size=7827, nrcpt=1 (queue active)
Sep 17 11:45:25 srv4hai postfix/qmgr[8566]: 70ADE63463: removed
Sep 17 11:45:25 srv4hai postfix/local[3195]: 7A71F63464: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 17 11:45:25 srv4hai postfix/qmgr[8566]: 7A71F63464: removed
Sep 17 11:45:25 srv4hai activate_scenario[3129]: SHELLY scenario: 'pcOFF(pcoff)' took 172 msec, shelly-0:''
Sep 17 11:45:40 srv4hai common[3228]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 17 11:45:40 srv4hai bt_scan[3228]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 17 11:45:40 srv4hai bt_scan[3228]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Sep 17 11:45:49 srv4hai activate_scenario[3263]: SHELLY scenario: 'homeOffice(homeoffice)' started
Sep 17 11:45:49 srv4hai activate_scenario[3263]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished