activate_scenario.sh
Thu Feb 1 12:11:31 CET 2024
scenario: welcomeLight
phoneName: 0

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Willkommen-Licht EIN-schalten' - 'welcomeLight' - 'welcomelight'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/02/01/_0.log)

vorher: 12:11:31.198

http://192.168.12.103/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "input"

nachher: 12:11:31.238
Dauer: 41 msec phName: 'phoneName:'0''


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

vorher: 12:11:31.210

http://192.168.12.116/white/0?turn=on&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 12.72,
  "overpower": false

nachher: 12:11:31.239
Dauer: 30 msec phName: 'phoneName:'0''


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

vorher: 12:11:31.224

http://192.168.12.116/white/1?turn=on&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 12.72,
  "overpower": false

nachher: 12:11:31.261
Dauer: 38 msec phName: 'phoneName:'0''


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

vorher: 12:11:31.236

http://192.168.12.117/white/0?turn=on&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 7.13,
  "overpower": false

nachher: 12:11:31.262
Dauer: 27 msec phName: 'phoneName:'0''


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

vorher: 12:11:31.249

http://192.168.12.117/white/1?turn=on&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 7.13,
  "overpower": false

nachher: 12:11:31.335
Dauer: 86 msec phName: 'phoneName:'0''


scenario: 'Willkommen-Licht EIN-schalten' - 'welcomeLight' - 'welcomelight'

urls : 5
vorher : 12:11:31.179
nachher: 12:11:31.341
Dauer : 163 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/01//scene_welcomeLight_20240201_121131.txt'


syslog

Feb  1 12:08:01 srv4hai CRON[21516]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 12:08:21 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706785701 - 'ping_SP_0'
Feb  1 12:08:21 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 12:08:28 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb  1 12:08:28 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.28
Feb  1 12:08:28 srv4hai dhcpd[5037]: execute_statement argv[2] = harmonyhub
Feb  1 12:08:28 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Feb  1 12:08:28 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Feb  1 12:08:28 srv4hai named[14530]: client @0x7fc314035d20 192.168.12.252#57507/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  1 12:08:28 srv4hai named[14530]: client @0x7fc320081f70 192.168.12.252#38175/key rndc-key: signer "rndc-key" approved
Feb  1 12:08:28 srv4hai named[14530]: client @0x7fc320081f70 192.168.12.252#38175/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Feb  1 12:08:28 srv4hai named[14530]: client @0x7fc320081f70 192.168.12.252#38175/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Feb  1 12:08:28 srv4hai named[14530]: client @0x7fc320081f70 192.168.12.252#38175/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Feb  1 12:08:28 srv4hai named[14530]: client @0x7fc320081f70 192.168.12.252#38175/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Feb  1 12:08:28 srv4hai dhcpd[5037]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Feb  1 12:08:28 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Feb  1 12:08:28 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#40645/key rndc-key: signer "rndc-key" approved
Feb  1 12:08:28 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#40645/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Feb  1 12:08:28 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#40645/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Feb  1 12:08:28 srv4hai dhcpd[5037]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Feb  1 12:08:28 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Feb  1 12:08:51 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706785731 - 'ping_SP_0'
Feb  1 12:08:51 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 12:09:01 srv4hai CRON[21570]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Feb  1 12:09:01 srv4hai CRON[21571]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 12:09:01 srv4hai systemd[1]: Starting Clean php session files...
Feb  1 12:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Feb  1 12:09:01 srv4hai systemd[1]: Started Clean php session files.
Feb  1 12:09:21 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706785761 - 'ping_SP_0'
Feb  1 12:09:21 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 12:09:49 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb  1 12:09:49 srv4hai fetchmail[1651]: 36995 messages (36995 seen) for tmiglinci at mail.akis.at (-1225685786 octets).
Feb  1 12:09:50 srv4hai fetchmail[1651]: 9841 messages (9841 seen) for srozum at mail.akis.at (1188841561 octets).
Feb  1 12:09:50 srv4hai fetchmail[1651]: 21423 messages (21423 seen) for mrozum at mail.akis.at (-668390537 octets).
Feb  1 12:09:51 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb  1 12:09:52 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706785792 - 'ping_SP_0'
Feb  1 12:09:52 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 12:09:59 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb  1 12:09:59 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.28
Feb  1 12:09:59 srv4hai dhcpd[5037]: execute_statement argv[2] = harmonyhub
Feb  1 12:09:59 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Feb  1 12:09:59 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Feb  1 12:09:59 srv4hai named[14530]: client @0x7fc318077970 192.168.12.252#44483/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  1 12:09:59 srv4hai named[14530]: client @0x7fc3200dae40 192.168.12.252#44265/key rndc-key: signer "rndc-key" approved
Feb  1 12:09:59 srv4hai named[14530]: client @0x7fc3200dae40 192.168.12.252#44265/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Feb  1 12:09:59 srv4hai named[14530]: client @0x7fc3200dae40 192.168.12.252#44265/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Feb  1 12:09:59 srv4hai named[14530]: client @0x7fc3200dae40 192.168.12.252#44265/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Feb  1 12:09:59 srv4hai named[14530]: client @0x7fc3200dae40 192.168.12.252#44265/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Feb  1 12:09:59 srv4hai dhcpd[5037]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Feb  1 12:09:59 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Feb  1 12:09:59 srv4hai named[14530]: client @0x7fc310083bf0 192.168.12.252#48605/key rndc-key: signer "rndc-key" approved
Feb  1 12:09:59 srv4hai named[14530]: client @0x7fc310083bf0 192.168.12.252#48605/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Feb  1 12:09:59 srv4hai named[14530]: client @0x7fc310083bf0 192.168.12.252#48605/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Feb  1 12:09:59 srv4hai dhcpd[5037]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Feb  1 12:09:59 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Feb  1 12:10:01 srv4hai CRON[21716]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 12:10:01 srv4hai CRON[21717]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb  1 12:10:01 srv4hai meter.sh: SHELLY meter.sh started
Feb  1 12:10:22 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706785822 - 'ping_SP_0'
Feb  1 12:10:22 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 12:10:52 srv4hai postfix/anvil[21491]: statistics: max connection rate 1/60s for (smtp:193.222.96.32) at Feb  1 12:07:31
Feb  1 12:10:52 srv4hai postfix/anvil[21491]: statistics: max connection count 1 for (smtp:193.222.96.32) at Feb  1 12:07:31
Feb  1 12:10:52 srv4hai postfix/anvil[21491]: statistics: max cache size 1 at Feb  1 12:07:31
Feb  1 12:10:52 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706785852 - 'ping_SP_0'
Feb  1 12:10:52 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 12:11:01 srv4hai CRON[22093]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 12:11:07 srv4hai meter.sh: SHELLY meter.sh ended
Feb  1 12:11:31 srv4hai dhcpd[5037]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Feb  1 12:11:31 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb  1 12:11:31 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb  1 12:11:31 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.61
Feb  1 12:11:31 srv4hai dhcpd[5037]: execute_statement argv[2] = fpThomas
Feb  1 12:11:31 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas'
Feb  1 12:11:31 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb  1 12:11:31 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb  1 12:11:31 srv4hai named[14530]: client @0x7fc30807f600 192.168.12.252#49029/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  1 12:11:31 srv4hai named[14530]: client @0x7fc3180965b0 192.168.12.252#49817/key rndc-key: signer "rndc-key" approved
Feb  1 12:11:31 srv4hai named[14530]: client @0x7fc3180965b0 192.168.12.252#49817/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Feb  1 12:11:31 srv4hai named[14530]: client @0x7fc3180965b0 192.168.12.252#49817/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Feb  1 12:11:31 srv4hai named[14530]: client @0x7fc3180965b0 192.168.12.252#49817/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Feb  1 12:11:31 srv4hai named[14530]: client @0x7fc3180965b0 192.168.12.252#49817/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Feb  1 12:11:31 srv4hai dhcpd[5037]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Feb  1 12:11:31 srv4hai ping_SP[22121]: SHELLY ping_SP.sh started from smartphone - trcF:'/srv/www/viehai/shelly/meter/trc_22121.txt'
Feb  1 12:11:31 srv4hai named[14530]: client @0x7fc3240092c0 192.168.12.252#56289/key rndc-key: signer "rndc-key" approved
Feb  1 12:11:31 srv4hai named[14530]: client @0x7fc3240092c0 192.168.12.252#56289/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Feb  1 12:11:31 srv4hai named[14530]: client @0x7fc3240092c0 192.168.12.252#56289/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  1 12:11:31 srv4hai dhcpd[5037]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Feb  1 12:11:31 srv4hai check_presence[22126]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(BT/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb  1 12:11:31 srv4hai check_presence[22126]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb  1 12:11:31 srv4hai activate_scenario[22140]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb  1 12:11:31 srv4hai activate_scenario[22140]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished