activate_scenario.sh
Sun Feb 11 10:58:52 CET 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/02/11/_0.log)

vorher: 10:58:52.238

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: 10:58:52.267
Dauer: 29 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/02/11/_1.log)

vorher: 10:58:52.252

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: 10:58:52.287
Dauer: 37 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/02/11/_2.log)

vorher: 10:58:52.263

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: 10:58:52.306
Dauer: 43 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/02/11/_3.log)

vorher: 10:58:52.276

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


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/02/11/_4.log)

vorher: 10:58:52.290

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


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

vorher: 10:58:52.303

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: 10:58:52.342
Dauer: 40 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 10:58:52.315

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: 10:58:52.542
Dauer: 227 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/02/11/_7.log)

vorher: 10:58:52.328

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: 10:58:52.350
Dauer: 21 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 10:58:52.341

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: 10:58:52.380
Dauer: 40 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 10:58:52.353

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: 10:58:52.394
Dauer: 41 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/02/11/_10.log)

vorher: 10:58:52.368

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: 10:58:52.398
Dauer: 30 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 10:58:52.381

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

nachher: 10:58:52.407
Dauer: 26 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 10:58:52.396

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

nachher: 10:58:52.432
Dauer: 36 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 10:58:52.413

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

nachher: 10:58:52.455
Dauer: 41 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 10:58:52.427

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

nachher: 10:58:52.507
Dauer: 79 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/02/11/_15.log)

vorher: 10:58:52.442

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: 10:58:52.483
Dauer: 42 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 10:58:52.456

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: 10:58:52.523
Dauer: 67 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/02/11/_17.log)

vorher: 10:58:52.469

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: 10:58:52.584
Dauer: 114 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/02/11/_18.log)

vorher: 10:58:52.481

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: 10:58:52.550
Dauer: 70 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 10:58:52.199
nachher: 10:58:52.591
Dauer : 393 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/11//scene_homeOffice_20240211_105852.txt'


syslog

Feb 11 10:55:01 srv4hai CRON[16217]: (root) CMD (/etc/linetest/linetest.sh)
Feb 11 10:55:20 srv4hai postfix/smtpd[16225]: connect from unknown[45.128.96.207]
Feb 11 10:55:21 srv4hai postfix/smtpd[16225]: warning: unknown[45.128.96.207]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 11 10:55:21 srv4hai postfix/smtpd[16225]: disconnect from unknown[45.128.96.207] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 11 10:55:49 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 11 10:55:50 srv4hai fetchmail[1651]: 37864 messages (37864 seen) for tmiglinci at mail.akis.at (-1169681471 octets).
Feb 11 10:55:50 srv4hai fetchmail[1651]: 9885 messages (9885 seen) for srozum at mail.akis.at (1192971367 octets).
Feb 11 10:55:51 srv4hai fetchmail[1651]: 21586 messages (21586 seen) for mrozum at mail.akis.at (-590082063 octets).
Feb 11 10:55:51 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb 11 10:56:01 srv4hai CRON[16231]: (root) CMD (/etc/linetest/linetest.sh)
Feb 11 10:56:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16238, secured, session=
Feb 11 10:56:04 srv4hai dovecot: imap(miglincit)<16238>: Logged out in=240 out=1233 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 11 10:57:01 srv4hai CRON[16247]: (root) CMD (/etc/linetest/linetest.sh)
Feb 11 10:57:47 srv4hai dhcpd[5037]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Feb 11 10:57:47 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 11 10:57:47 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb 11 10:57:47 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.61
Feb 11 10:57:47 srv4hai dhcpd[5037]: execute_statement argv[2] = fpThomas
Feb 11 10:57:47 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Feb 11 10:57:47 srv4hai dhcpd[5037]: execute: /srv/www/viehai/shelly/smartphone.sh exit status 32512
Feb 11 10:57:47 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb 11 10:57:47 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 11 10:57:47 srv4hai named[14530]: client @0x7fc32405ba30 192.168.12.252#41921/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 11 10:57:47 srv4hai named[14530]: client @0x7fc328166000 192.168.12.252#38757/key rndc-key: signer "rndc-key" approved
Feb 11 10:57:47 srv4hai named[14530]: client @0x7fc328166000 192.168.12.252#38757/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Feb 11 10:57:47 srv4hai named[14530]: client @0x7fc328166000 192.168.12.252#38757/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Feb 11 10:57:47 srv4hai named[14530]: client @0x7fc328166000 192.168.12.252#38757/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Feb 11 10:57:47 srv4hai named[14530]: client @0x7fc328166000 192.168.12.252#38757/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Feb 11 10:57:47 srv4hai ping_SP[16258]: SHELLY ping_SP.sh started from smartphone
Feb 11 10:57:47 srv4hai dhcpd[5037]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Feb 11 10:57:47 srv4hai named[14530]: client @0x7fc3180cfac0 192.168.12.252#33419/key rndc-key: signer "rndc-key" approved
Feb 11 10:57:47 srv4hai named[14530]: client @0x7fc3180cfac0 192.168.12.252#33419/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Feb 11 10:57:47 srv4hai named[14530]: client @0x7fc3180cfac0 192.168.12.252#33419/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Feb 11 10:57:47 srv4hai dhcpd[5037]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Feb 11 10:57:47 srv4hai ping_SP[16258]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Feb 11 10:57:47 srv4hai common[16270]: SHELLY common.sh inkludiert
Feb 11 10:57:47 srv4hai bt_scan[16270]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Feb 11 10:57:47 srv4hai bt_scan[16270]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb 11 10:57:47 srv4hai common[16303]: SHELLY common.sh inkludiert
Feb 11 10:57:47 srv4hai ping_SP[16303]: SHELLY ping_SP.sh started from bt_scan
Feb 11 10:57:47 srv4hai common[16311]: SHELLY common.sh inkludiert
Feb 11 10:57:47 srv4hai check_presence[16311]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 11 10:57:47 srv4hai check_presence[16311]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb 11 10:57:48 srv4hai activate_scenario[16347]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb 11 10:57:48 srv4hai activate_scenario[16347]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Feb 11 10:57:48 srv4hai activate_scenario[16347]: SHELLY scenario: 'welcomeLight(welcomelight)' TO BE EXECUTED, phoneName:'0'
Feb 11 10:57:48 srv4hai postfix/pickup[13197]: 0DFFF60244: uid=33 from=
Feb 11 10:57:48 srv4hai postfix/cleanup[16403]: 0DFFF60244: message-id=<20240211095748.0DFFF60244@mail.viehai.at>
Feb 11 10:57:48 srv4hai postfix/qmgr[28610]: 0DFFF60244: from=, size=6631, nrcpt=1 (queue active)
Feb 11 10:57:48 srv4hai activate_scenario[16347]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Feb 11 10:57:48 srv4hai proc_url[16420]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/11/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Feb 11 10:57:48 srv4hai activate_scenario[16347]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=on&brightness=50'
Feb 11 10:57:48 srv4hai proc_url[16431]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/11/_1.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=on&brightness=50' - phName:'phoneName:'0''
Feb 11 10:57:48 srv4hai activate_scenario[16347]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=on&brightness=50'
Feb 11 10:57:48 srv4hai proc_url[16442]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/11/_2.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=on&brightness=50' - phName:'phoneName:'0''
Feb 11 10:57:48 srv4hai activate_scenario[16347]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=on&brightness=50'
Feb 11 10:57:48 srv4hai proc_url[16453]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/11/_3.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=on&brightness=50' - phName:'phoneName:'0''
Feb 11 10:57:48 srv4hai activate_scenario[16347]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=on&brightness=50'
Feb 11 10:57:48 srv4hai proc_url[16464]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/11/_4.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=on&brightness=50' - phName:'phoneName:'0''
Feb 11 10:57:48 srv4hai activate_scenario[16347]: SHELLY scenario: 'welcomeLight(welcomelight)' took 217 msec, phoneName:'0'
Feb 11 10:57:48 srv4hai activate_scenario[16519]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Feb 11 10:57:48 srv4hai activate_scenario[16519]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Feb 11 10:57:48 srv4hai activate_scenario[16519]: SHELLY scenario: 'LOG_kommen(log_kommen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Feb 11 10:57:48 srv4hai activate_scenario[16519]: SHELLY scenario: 'LOG_kommen(log_kommen)' took 4 msec, shelly-03:'Licht Vorzimmer'
Feb 11 10:57:48 srv4hai ping_SP[16303]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Feb 11 10:57:48 srv4hai ping_SP[16303]: SHELLY - running process-id(16303): '16258 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01216303 /bin/bash /srv/www/viehai/shelly/ping_SP.sh 192.168.12.61 bt_scan' - 'ping_SP_0' - exiting ==============
Feb 11 10:57:48 srv4hai postfix/relay/smtp[16416]: 0DFFF60244: to=, relay=mx03.nic.name[209.131.161.54]:25, delay=0.74, delays=0.02/0.01/0.47/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 966F480129)
Feb 11 10:57:48 srv4hai postfix/qmgr[28610]: 0DFFF60244: removed
Feb 11 10:57:49 srv4hai ping_SP[16258]: SHELLY - new process for '192.168.12.61' - '/meter/ping_SP_0' @~1707645469
Feb 11 10:57:52 srv4hai ping_SP[16258]: SHELLY (0) - ping 192.168.12.61 0 sucessfully  @~1707645472 - 'ping_SP_0'
Feb 11 10:57:52 srv4hai ping_SP[16258]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 11 10:58:01 srv4hai CRON[16643]: (root) CMD (/etc/linetest/linetest.sh)
Feb 11 10:58:41 srv4hai postfix/anvil[16227]: statistics: max connection rate 1/60s for (smtp:45.128.96.207) at Feb 11 10:55:20
Feb 11 10:58:41 srv4hai postfix/anvil[16227]: statistics: max connection count 1 for (smtp:45.128.96.207) at Feb 11 10:55:20
Feb 11 10:58:41 srv4hai postfix/anvil[16227]: statistics: max cache size 1 at Feb 11 10:55:20
Feb 11 10:58:41 srv4hai nmbd[30864]: [2024/02/11 10:58:41.838986,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb 11 10:58:41 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Feb 11 10:58:41 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb 11 10:58:41 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Feb 11 10:58:52 srv4hai activate_scenario[16658]: SHELLY scenario: 'homeOffice(homeoffice)' started
Feb 11 10:58:52 srv4hai activate_scenario[16658]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished