activate_scenario.sh
Mon Mar 25 17:19:12 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/03/25/_0.log)

vorher: 17:19:12.170

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: 17:19:12.233
Dauer: 63 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/03/25/_1.log)

vorher: 17:19:12.183

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: 17:19:12.227
Dauer: 43 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/03/25/_2.log)

vorher: 17:19:12.196

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": "input"

nachher: 17:19:12.229
Dauer: 33 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/03/25/_3.log)

vorher: 17:19:12.209

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: 17:19:12.251
Dauer: 42 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/03/25/_4.log)

vorher: 17:19:12.225

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: 17:19:12.255
Dauer: 31 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 17:19:12.241

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: 17:19:12.267
Dauer: 27 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 17:19:12.252

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: 17:19:12.307
Dauer: 56 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/03/25/_7.log)

vorher: 17:19:12.266

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: 17:19:12.304
Dauer: 39 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 17:19:12.278

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: 17:19:12.329
Dauer: 51 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 17:19:12.289

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: 17:19:12.333
Dauer: 44 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/03/25/_10.log)

vorher: 17:19:12.301

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: 17:19:12.500
Dauer: 198 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 17:19:12.316

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

nachher: 17:19:12.369
Dauer: 53 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 17:19:12.329

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

nachher: 17:19:12.369
Dauer: 41 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 17:19:12.345

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: 17:19:12.385
Dauer: 40 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 17:19:12.357

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: 17:19:12.483
Dauer: 126 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/03/25/_15.log)

vorher: 17:19:12.369

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: 17:19:12.434
Dauer: 66 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 17:19:12.382

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: 17:19:12.432
Dauer: 49 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/03/25/_17.log)

vorher: 17:19:12.396

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: 17:19:12.489
Dauer: 93 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/03/25/_18.log)

vorher: 17:19:12.408

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: 17:19:12.560
Dauer: 152 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 17:19:12.150
nachher: 17:19:12.566
Dauer : 416 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/25//scene_homeOffice_20240325_171912.txt'


syslog

Mar 25 17:16:01 srv4hai CRON[21856]: (root) CMD (/etc/linetest/linetest.sh)
Mar 25 17:16:11 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar 25 17:16:12 srv4hai fetchmail[1651]: 40550 messages (40550 seen) for tmiglinci at mail.akis.at (-934245170 octets).
Mar 25 17:16:12 srv4hai fetchmail[1651]: 10049 messages (10049 seen) for srozum at mail.akis.at (1214823692 octets).
Mar 25 17:16:13 srv4hai fetchmail[1651]: 22470 messages (22470 seen) for mrozum at mail.akis.at (-403663386 octets).
Mar 25 17:16:13 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar 25 17:17:01 srv4hai CRON[21873]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Mar 25 17:17:01 srv4hai CRON[21874]: (root) CMD (/etc/linetest/linetest.sh)
Mar 25 17:17:29 srv4hai dhcpd[5037]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Mar 25 17:17:29 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Mar 25 17:17:29 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Mar 25 17:17:29 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.61
Mar 25 17:17:29 srv4hai dhcpd[5037]: execute_statement argv[2] = fpThomas
Mar 25 17:17:29 srv4hai common[21886]: SHELLY common.sh inkludiert
Mar 25 17:17:29 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Mar 25 17:17:29 srv4hai common[21898]: SHELLY common.sh inkludiert
Mar 25 17:17:29 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Mar 25 17:17:29 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Mar 25 17:17:29 srv4hai named[15509]: client @0x7f931c157870 192.168.12.252#33381/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 25 17:17:29 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#46771/key rndc-key: signer "rndc-key" approved
Mar 25 17:17:29 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#46771/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Mar 25 17:17:29 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#46771/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Mar 25 17:17:29 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#46771/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Mar 25 17:17:29 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#46771/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Mar 25 17:17:29 srv4hai dhcpd[5037]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Mar 25 17:17:29 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#35053/key rndc-key: signer "rndc-key" approved
Mar 25 17:17:29 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#35053/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Mar 25 17:17:29 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#35053/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.
Mar 25 17:17:29 srv4hai dhcpd[5037]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Mar 25 17:17:29 srv4hai ping_SP[21898]: SHELLY ping_SP.sh started from smartphone
Mar 25 17:17:31 srv4hai postfix/anvil[21750]: statistics: max connection rate 1/60s for (smtp:109.206.237.234) at Mar 25 17:14:11
Mar 25 17:17:31 srv4hai postfix/anvil[21750]: statistics: max connection count 1 for (smtp:109.206.237.234) at Mar 25 17:14:11
Mar 25 17:17:31 srv4hai postfix/anvil[21750]: statistics: max cache size 1 at Mar 25 17:14:11
Mar 25 17:17:34 srv4hai common[21916]: SHELLY common.sh inkludiert
Mar 25 17:17:39 srv4hai common[21939]: SHELLY common.sh inkludiert
Mar 25 17:17:39 srv4hai check_presence[21939]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Mar 25 17:17:39 srv4hai check_presence[21939]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Mar 25 17:17:39 srv4hai check_presence[21939]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Mar 25 17:17:39 srv4hai check_presence[21939]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Mar 25 17:17:39 srv4hai check_presence[21939]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Mar 25 17:17:40 srv4hai activate_scenario[22001]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Mar 25 17:17:40 srv4hai activate_scenario[22001]: SHELLY dayState='day' <--> DayTime=unchecked NightTime=checked - phoneName:'0'
Mar 25 17:17:40 srv4hai activate_scenario[22001]: SHELLY scenario: 'vorraumOn(vorraumon)' NOT EXECUTED, phoneName:'0'
Mar 25 17:17:40 srv4hai ping_SP[21898]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Mar 25 17:17:40 srv4hai postfix/pickup[18808]: 1AF336027D: uid=33 from=
Mar 25 17:17:40 srv4hai postfix/cleanup[22051]: 1AF336027D: message-id=<20240325161740.1AF336027D@mail.viehai.at>
Mar 25 17:17:40 srv4hai postfix/qmgr[15291]: 1AF336027D: from=, size=12575, nrcpt=1 (queue active)
Mar 25 17:17:41 srv4hai postfix/relay/smtp[22057]: 1AF336027D: to=, relay=mx01.nic.name[209.131.159.47]:25, delay=1.3, delays=0.04/0.02/0.95/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 28DA7203F8)
Mar 25 17:17:41 srv4hai postfix/qmgr[15291]: 1AF336027D: removed
Mar 25 17:17:42 srv4hai ping_SP[21898]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1711383462
Mar 25 17:17:44 srv4hai bt_scan[21916]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Mar 25 17:17:44 srv4hai bt_scan[21916]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Mar 25 17:17:55 srv4hai ping_SP[21898]: SHELLY (0) - ping 192.168.12.61 0 sucessfully  @~1711383475 - 'ping_SP_0'
Mar 25 17:17:55 srv4hai ping_SP[21898]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 25 17:18:01 srv4hai CRON[22109]: (root) CMD (/etc/linetest/linetest.sh)
Mar 25 17:18:58 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22129, secured, session=
Mar 25 17:18:58 srv4hai dovecot: imap(miglincit)<22129>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 25 17:19:01 srv4hai CRON[22132]: (root) CMD (/etc/linetest/linetest.sh)
Mar 25 17:19:08 srv4hai ping_SP[21898]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1711383548 - 'ping_SP_0'
Mar 25 17:19:08 srv4hai ping_SP[21898]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 25 17:19:08 srv4hai common[22153]: SHELLY common.sh inkludiert
Mar 25 17:19:08 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Mar 25 17:19:08 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
Mar 25 17:19:08 srv4hai common[22175]: SHELLY common.sh inkludiert
Mar 25 17:19:12 srv4hai activate_scenario[22192]: SHELLY scenario: 'homeOffice(homeoffice)' started
Mar 25 17:19:12 srv4hai activate_scenario[22192]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished