activate_scenario.sh
Mon Jun 10 08:28:55 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/06/10/_0.log)

vorher: 08:28:56.065

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: 08:28:56.095
Dauer: 30 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_1.log)

vorher: 08:28:56.086

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: 08:28:56.149
Dauer: 63 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_2.log)

vorher: 08:28:56.109

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: 08:28:56.152
Dauer: 43 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_3.log)

vorher: 08:28:56.121

http://192.168.12.105/relay/0?turn=off

        

nachher: 08:28:59.187
Dauer: 3066 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_4.log)

vorher: 08:28:56.134

http://192.168.12.106/relay/0?turn=off

        

nachher: 08:28:59.219
Dauer: 3086 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:28:56.148

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: 08:28:56.177
Dauer: 30 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:28:56.162

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: 08:28:56.186
Dauer: 25 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_7.log)

vorher: 08:28:56.175

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: 08:28:56.205
Dauer: 29 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:28:56.191

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: 08:28:56.217
Dauer: 26 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:28:56.203

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: 08:28:56.246
Dauer: 43 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_10.log)

vorher: 08:28:56.218

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: 08:28:56.242
Dauer: 24 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:28:56.232

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: 08:28:56.355
Dauer: 123 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:28:56.244

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: 08:28:56.351
Dauer: 107 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:28:56.259

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: 08:28:56.285
Dauer: 26 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:28:56.271

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: 08:28:56.302
Dauer: 31 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_15.log)

vorher: 08:28:56.285

http://192.168.12.119/relay/0?turn=off

        

nachher: 08:28:59.347
Dauer: 3062 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:28:56.300

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: 08:28:56.343
Dauer: 43 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_17.log)

vorher: 08:28:56.312

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: 08:28:56.436
Dauer: 124 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_18.log)

vorher: 08:28:56.324

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: 08:28:56.355
Dauer: 30 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 08:28:56.024
nachher: 08:28:59.356
Dauer : 3333 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/10//scene_homeOffice_20240610_082855.txt'


syslog

Jun 10 08:25:01 srv4hai CRON[21931]: (root) CMD (/etc/linetest/linetest.sh)
Jun 10 08:25:47 srv4hai postfix/smtpd[21953]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun 10 08:25:47 srv4hai postfix/smtpd[21953]: connect from unknown[185.196.10.27]
Jun 10 08:25:47 srv4hai postfix/smtpd[21953]: warning: unknown[185.196.10.27]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jun 10 08:25:47 srv4hai postfix/smtpd[21953]: disconnect from unknown[185.196.10.27] ehlo=1 auth=0/1 quit=1 commands=2/3
Jun 10 08:25:55 srv4hai nmbd[2172]: [2024/06/10 08:25:55.853549,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jun 10 08:25:55 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jun 10 08:25:55 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jun 10 08:25:55 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jun 10 08:26:01 srv4hai CRON[21961]: (root) CMD (/etc/linetest/linetest.sh)
Jun 10 08:27:01 srv4hai CRON[21984]: (root) CMD (/etc/linetest/linetest.sh)
Jun 10 08:27:55 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22001, secured, session=
Jun 10 08:27:55 srv4hai dovecot: imap(miglincit)<22001>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun 10 08:28:01 srv4hai CRON[22003]: (root) CMD (/etc/linetest/linetest.sh)
Jun 10 08:28:24 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jun 10 08:28:24 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun 10 08:28:24 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 10 08:28:24 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun 10 08:28:24 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun 10 08:28:24 srv4hai common[22016]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 10 08:28:24 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun 10 08:28:24 srv4hai common[22030]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 10 08:28:24 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun 10 08:28:24 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun 10 08:28:24 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#38291/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun 10 08:28:24 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#40719/key rndc-key: signer "rndc-key" approved
Jun 10 08:28:24 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#40719/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jun 10 08:28:24 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#40719/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jun 10 08:28:24 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#40719/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jun 10 08:28:24 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#40719/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jun 10 08:28:24 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jun 10 08:28:24 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#32939/key rndc-key: signer "rndc-key" approved
Jun 10 08:28:24 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#32939/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jun 10 08:28:24 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#32939/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.
Jun 10 08:28:24 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jun 10 08:28:24 srv4hai ping_SP[22030]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun 10 08:28:31 srv4hai common[22055]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 10 08:28:34 srv4hai common[22077]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 10 08:28:35 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'4'=1718000915-1718000911
Jun 10 08:28:35 srv4hai check_presence[22077]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun 10 08:28:35 srv4hai check_presence[22077]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jun 10 08:28:35 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'4'=1718000915-1718000911
Jun 10 08:28:35 srv4hai check_presence[22077]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun 10 08:28:35 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'4'=1718000915-1718000911
Jun 10 08:28:35 srv4hai check_presence[22077]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 10 08:28:35 srv4hai check_presence[22077]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(BT/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jun 10 08:28:36 srv4hai check_presence[22077]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Jun 10 08:28:36 srv4hai check_presence[22077]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jun 10 08:28:36 srv4hai activate_scenario[22226]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun 10 08:28:36 srv4hai activate_scenario[22226]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Jun 10 08:28:36 srv4hai activate_scenario[22226]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Jun 10 08:28:36 srv4hai postfix/pickup[21807]: 245F960197: uid=33 from=
Jun 10 08:28:36 srv4hai postfix/cleanup[22276]: 245F960197: message-id=<20240610062836.245F960197@mail.viehai.at>
Jun 10 08:28:36 srv4hai postfix/qmgr[31004]: 245F960197: from=, size=7014, nrcpt=1 (queue active)
Jun 10 08:28:36 srv4hai activate_scenario[22226]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Jun 10 08:28:36 srv4hai proc_url[22293]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/10/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Jun 10 08:28:36 srv4hai activate_scenario[22226]: SHELLY scenario: 'vorraumOn(vorraumon)' took 54 msec, phoneName:'0'
Jun 10 08:28:36 srv4hai ping_SP[22030]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Jun 10 08:28:38 srv4hai ping_SP[22030]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1718000918
Jun 10 08:28:38 srv4hai postfix/relay/smtp[22289]: 245F960197: to=, relay=mx04.nic.name[209.131.160.34]:25, delay=2.4, delays=0.02/0.01/2.2/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 5D970803B0)
Jun 10 08:28:38 srv4hai postfix/qmgr[31004]: 245F960197: removed
Jun 10 08:28:41 srv4hai bt_scan[22055]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jun 10 08:28:41 srv4hai bt_scan[22055]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jun 10 08:28:46 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun 10 08:28:47 srv4hai fetchmail[1651]: 46079 messages (46078 seen) for tmiglinci at mail.akis.at (-494381075 octets).
Jun 10 08:28:47 srv4hai postfix/smtpd[22355]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun 10 08:28:47 srv4hai postfix/smtpd[22355]: connect from localhost[127.0.0.1]
Jun 10 08:28:47 srv4hai postfix/smtpd[22355]: C310E6018A: client=localhost[127.0.0.1]
Jun 10 08:28:47 srv4hai postfix/cleanup[22276]: C310E6018A: message-id=<20240610062836.245F960197@mail.viehai.at>
Jun 10 08:28:47 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:46079 of 46079 (7989 octets) not flushed
Jun 10 08:28:47 srv4hai postfix/qmgr[31004]: C310E6018A: from=, size=8288, nrcpt=1 (queue active)
Jun 10 08:28:47 srv4hai postfix/local[22357]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun 10 08:28:47 srv4hai postfix/smtpd[22355]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jun 10 08:28:47 srv4hai postfix/local[22357]: C310E6018A: to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jun 10 08:28:47 srv4hai postfix/qmgr[31004]: C310E6018A: removed
Jun 10 08:28:48 srv4hai fetchmail[1651]: 10311 messages (10311 seen) for srozum at mail.akis.at (1240103697 octets).
Jun 10 08:28:48 srv4hai fetchmail[1651]: 23987 messages (23986 seen) for mrozum at mail.akis.at (-159468587 octets).
Jun 10 08:28:48 srv4hai postfix/smtpd[22355]: connect from localhost[127.0.0.1]
Jun 10 08:28:48 srv4hai postfix/smtpd[22355]: D23596018A: client=localhost[127.0.0.1]
Jun 10 08:28:48 srv4hai postfix/cleanup[22276]: D23596018A: message-id=<13765891-17951@Mailserver.local>
Jun 10 08:28:49 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:23987 of 23987 (157601 octets) not flushed
Jun 10 08:28:49 srv4hai postfix/qmgr[31004]: D23596018A: from=, size=157876, nrcpt=1 (queue active)
Jun 10 08:28:49 srv4hai postfix/local[22357]: D23596018A: to=, relay=local, delay=0.47, delays=0.45/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jun 10 08:28:49 srv4hai postfix/qmgr[31004]: D23596018A: removed
Jun 10 08:28:49 srv4hai postfix/smtpd[22355]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jun 10 08:28:49 srv4hai fetchmail[1651]: 106 messages (106 seen) for admin@bastelstube.wien at pop3.world4you.com (41070434 octets).
Jun 10 08:28:51 srv4hai ping_SP[22030]: SHELLY (0) - ping 192.168.12.61 0 sucessfully  @~1718000931 - 'ping_SP_0'
Jun 10 08:28:51 srv4hai ping_SP[22030]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 10 08:28:55 srv4hai activate_scenario[22375]: SHELLY scenario: 'homeOffice(homeoffice)' started
Jun 10 08:28:55 srv4hai activate_scenario[22375]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished