activate_scenario.sh
Thu Apr 18 09:00:03 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/04/18/_0.log)

vorher: 09:00:03.257

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: 09:00:03.311
Dauer: 54 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_1.log)

vorher: 09:00:03.271

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: 09:00:03.297
Dauer: 26 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_2.log)

vorher: 09:00:03.285

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: 09:00:03.327
Dauer: 42 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_3.log)

vorher: 09:00:03.297

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: 09:00:03.338
Dauer: 40 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_4.log)

vorher: 09:00:03.310

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: 09:00:03.348
Dauer: 37 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 09:00:03.324

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: 09:00:03.363
Dauer: 39 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 09:00:03.339

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: 09:00:03.402
Dauer: 63 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_7.log)

vorher: 09:00:03.352

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: 09:00:03.401
Dauer: 49 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 09:00:03.364

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: 09:00:03.514
Dauer: 150 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 09:00:03.379

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: 09:00:03.426
Dauer: 47 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_10.log)

vorher: 09:00:03.396

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: 09:00:03.522
Dauer: 125 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 09:00:03.410

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: 09:00:03.442
Dauer: 31 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 09:00:03.423

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: 09:00:03.455
Dauer: 33 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 09:00:03.439

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: 09:00:03.496
Dauer: 57 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 09:00:03.452

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: 09:00:03.506
Dauer: 54 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_15.log)

vorher: 09:00:03.465

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: 09:00:03.520
Dauer: 55 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 09:00:03.477

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: 09:00:03.511
Dauer: 34 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_17.log)

vorher: 09:00:03.489

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: 09:00:03.539
Dauer: 49 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_18.log)

vorher: 09:00:03.504

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

nachher: 09:00:03.613
Dauer: 110 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 09:00:03.222
nachher: 09:00:03.620
Dauer : 399 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/18//scene_homeOffice_20240418_090003.txt'


syslog

Apr 18 08:57:01 srv4hai CRON[14804]: (root) CMD (/etc/linetest/linetest.sh)
Apr 18 08:57:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14813, secured, session=
Apr 18 08:57:37 srv4hai dovecot: imap(miglincit)<14813>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 18 08:57:42 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 18 08:57:43 srv4hai fetchmail[1651]: 42365 messages (42365 seen) for tmiglinci at mail.akis.at (-765327496 octets).
Apr 18 08:57:43 srv4hai fetchmail[1651]: 10141 messages (10141 seen) for srozum at mail.akis.at (1225654823 octets).
Apr 18 08:57:44 srv4hai fetchmail[1651]: 22938 messages (22938 seen) for mrozum at mail.akis.at (-318642895 octets).
Apr 18 08:57:44 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr 18 08:58:01 srv4hai CRON[14816]: (root) CMD (/etc/linetest/linetest.sh)
Apr 18 08:58:11 srv4hai dhcpd[28085]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Apr 18 08:58:11 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 18 08:58:11 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Apr 18 08:58:11 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.61
Apr 18 08:58:11 srv4hai dhcpd[28085]: execute_statement argv[2] = fpThomas
Apr 18 08:58:11 srv4hai common[14823]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Apr 18 08:58:11 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Apr 18 08:58:11 srv4hai common[14836]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Apr 18 08:58:11 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Apr 18 08:58:11 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 18 08:58:11 srv4hai named[15509]: client @0x7f930805ddf0 192.168.12.252#38501/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 18 08:58:11 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#56579/key rndc-key: signer "rndc-key" approved
Apr 18 08:58:11 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#56579/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Apr 18 08:58:11 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#56579/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Apr 18 08:58:11 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#56579/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Apr 18 08:58:11 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#56579/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Apr 18 08:58:11 srv4hai dhcpd[28085]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Apr 18 08:58:11 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#42425/key rndc-key: signer "rndc-key" approved
Apr 18 08:58:11 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#42425/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Apr 18 08:58:11 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#42425/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.
Apr 18 08:58:11 srv4hai dhcpd[28085]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Apr 18 08:58:11 srv4hai ping_SP[14836]: SHELLY ping_SP.sh started from smartphone, user:'root'
Apr 18 08:58:17 srv4hai activate_scenario[14857]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Apr 18 08:58:17 srv4hai activate_scenario[14857]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Apr 18 08:58:17 srv4hai activate_scenario[14857]: SHELLY scenario: 'LOG_kommen(log_kommen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Apr 18 08:58:17 srv4hai activate_scenario[14857]: SHELLY scenario: 'LOG_kommen(log_kommen)' took 4 msec, shelly-03:'Licht Vorzimmer'
Apr 18 08:58:21 srv4hai common[14933]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 18 08:58:22 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'8'=1713423502-1713423494
Apr 18 08:58:22 srv4hai check_presence[14933]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 18 08:58:22 srv4hai check_presence[14933]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Apr 18 08:58:22 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'8'=1713423502-1713423494
Apr 18 08:58:22 srv4hai check_presence[14933]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr 18 08:58:22 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'8'=1713423502-1713423494
Apr 18 08:58:22 srv4hai check_presence[14933]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 18 08:58:22 srv4hai check_presence[14933]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Apr 18 08:58:22 srv4hai check_presence[14933]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Apr 18 08:58:22 srv4hai activate_scenario[15055]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Apr 18 08:58:22 srv4hai activate_scenario[15055]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Apr 18 08:58:22 srv4hai activate_scenario[15055]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Apr 18 08:58:22 srv4hai postfix/pickup[3293]: 865736022F: uid=33 from=
Apr 18 08:58:22 srv4hai postfix/cleanup[15105]: 865736022F: message-id=<20240418065822.865736022F@mail.viehai.at>
Apr 18 08:58:22 srv4hai postfix/qmgr[15291]: 865736022F: from=, size=7351, nrcpt=1 (queue active)
Apr 18 08:58:22 srv4hai activate_scenario[15055]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Apr 18 08:58:22 srv4hai proc_url[15122]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/18/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Apr 18 08:58:22 srv4hai activate_scenario[15055]: SHELLY scenario: 'vorraumOn(vorraumon)' took 100 msec, phoneName:'0'
Apr 18 08:58:22 srv4hai ping_SP[14836]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Apr 18 08:58:23 srv4hai postfix/relay/smtp[15116]: 865736022F: to=, relay=mx01.nic.name[209.131.159.47]:25, delay=1.3, delays=0.04/0.01/0.88/0.37, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 864AB20770)
Apr 18 08:58:23 srv4hai postfix/qmgr[15291]: 865736022F: removed
Apr 18 08:58:24 srv4hai ping_SP[14836]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1713423504
Apr 18 08:58:26 srv4hai common[15161]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 18 08:58:36 srv4hai bt_scan[15161]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Apr 18 08:58:36 srv4hai bt_scan[15161]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Apr 18 08:58:37 srv4hai ping_SP[14836]: SHELLY (0) - ping 192.168.12.61 0 sucessfully  @~1713423517 - 'ping_SP_0'
Apr 18 08:58:37 srv4hai ping_SP[14836]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 18 08:59:01 srv4hai CRON[15214]: (root) CMD (/etc/linetest/linetest.sh)
Apr 18 08:59:30 srv4hai nmbd[30864]: [2024/04/18 08:59:30.234014,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr 18 08:59:30 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Apr 18 08:59:30 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr 18 08:59:30 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Apr 18 08:59:32 srv4hai postfix/anvil[14764]: statistics: max connection rate 1/60s for (smtp:193.222.96.12) at Apr 18 08:53:01
Apr 18 08:59:32 srv4hai postfix/anvil[14764]: statistics: max connection count 1 for (smtp:193.222.96.12) at Apr 18 08:53:01
Apr 18 08:59:32 srv4hai postfix/anvil[14764]: statistics: max cache size 1 at Apr 18 08:53:01
Apr 18 08:59:50 srv4hai ping_SP[14836]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713423590 - 'ping_SP_0'
Apr 18 08:59:50 srv4hai ping_SP[14836]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 18 09:00:01 srv4hai CRON[15244]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 18 09:00:01 srv4hai CRON[15245]: (root) CMD (/etc/linetest/linetest.sh)
Apr 18 09:00:01 srv4hai common[15246]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 18 09:00:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 18 09:00:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 18 09:00:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 18 09:00:03 srv4hai activate_scenario[15449]: SHELLY scenario: 'homeOffice(homeoffice)' started
Apr 18 09:00:03 srv4hai activate_scenario[15449]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished