activate_scenario.sh
Wed Feb 7 17:20:47 CET 2024
scenario: nasszeile_um
source: 192.168.12.128

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

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

vorher: 17:20:47.745

http://192.168.12.116/white/0?turn=toggle&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": 0,
  "overpower": false

nachher: 17:20:47.879
Dauer: 135 msec phName: 'shelly-28:'Schalter Nasszeile''


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

vorher: 17:20:47.763

http://192.168.12.116/white/1?turn=toggle&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": 0,
  "overpower": false

nachher: 17:20:47.878
Dauer: 116 msec phName: 'shelly-28:'Schalter Nasszeile''


scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

urls : 2
vorher : 17:20:47.722
nachher: 17:20:47.886
Dauer : 164 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/07//scene_nasszeile_um_20240207_172047.txt'


syslog

Feb  7 17:17:01 srv4hai CRON[21641]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Feb  7 17:17:01 srv4hai CRON[21642]: (root) CMD (/etc/linetest/linetest.sh)
Feb  7 17:18:01 srv4hai CRON[21670]: (root) CMD (/etc/linetest/linetest.sh)
Feb  7 17:18:45 srv4hai trace_events[21696]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240207.txt'
Feb  7 17:18:45 srv4hai activate_scenario[21696]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Feb  7 17:18:45 srv4hai activate_scenario[21696]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Feb  7 17:18:45 srv4hai activate_scenario[21696]: SHELLY scenario: 'LOG_kommen(log_kommen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Feb  7 17:18:45 srv4hai activate_scenario[21696]: SHELLY scenario: 'LOG_kommen(log_kommen)' took 5 msec, shelly-03:'Licht Vorzimmer'
Feb  7 17:18:46 srv4hai trace_events[21768]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240207.txt'
Feb  7 17:18:46 srv4hai bt_scan[21768]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'Yes'
Feb  7 17:18:46 srv4hai bt_scan[21768]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb  7 17:18:46 srv4hai trace_events[21805]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240207.txt'
Feb  7 17:18:46 srv4hai ping_SP[21805]: SHELLY ping_SP.sh started from bt_scan
Feb  7 17:18:46 srv4hai trace_events[21813]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240207.txt'
Feb  7 17:18:46 srv4hai check_presence[21813]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb  7 17:18:46 srv4hai check_presence[21813]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb  7 17:18:46 srv4hai trace_events[21834]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240207.txt'
Feb  7 17:18:46 srv4hai activate_scenario[21834]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb  7 17:18:46 srv4hai activate_scenario[21834]: SHELLY dayState='night' <--> DayTime=checked NightTime=unchecked - phoneName:'0'
Feb  7 17:18:46 srv4hai activate_scenario[21834]: SHELLY scenario: 'welcomeLight(welcomelight)' NOT EXECUTED, phoneName:'0'
Feb  7 17:18:46 srv4hai ping_SP[21805]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Feb  7 17:18:46 srv4hai postfix/pickup[13370]: 6541560244: uid=33 from=
Feb  7 17:18:46 srv4hai postfix/cleanup[21889]: 6541560244: message-id=<20240207161846.6541560244@mail.viehai.at>
Feb  7 17:18:46 srv4hai postfix/qmgr[28610]: 6541560244: from=, size=14949, nrcpt=1 (queue active)
Feb  7 17:18:46 srv4hai ping_SP[21805]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly/meter/ping_SP_0' @~1707322726
Feb  7 17:18:47 srv4hai postfix/relay/smtp[21896]: 6541560244: to=, relay=mx03.nic.name[209.131.161.54]:25, delay=0.84, delays=0.02/0.01/0.47/0.34, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as E977480028)
Feb  7 17:18:47 srv4hai postfix/qmgr[28610]: 6541560244: removed
Feb  7 17:18:49 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb  7 17:18:49 srv4hai fetchmail[1651]: 37580 messages (37580 seen) for tmiglinci at mail.akis.at (-1188192966 octets).
Feb  7 17:18:50 srv4hai fetchmail[1651]: 9869 messages (9869 seen) for srozum at mail.akis.at (1191379055 octets).
Feb  7 17:18:50 srv4hai fetchmail[1651]: 21532 messages (21532 seen) for mrozum at mail.akis.at (-605522282 octets).
Feb  7 17:18:51 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb  7 17:18:52 srv4hai ping_SP[21805]: SHELLY (0)- ping 192.168.12.61 0 not answered (1) @~1707322732 - 'ping_SP_0'
Feb  7 17:18:53 srv4hai dhcpd[5037]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Feb  7 17:18:53 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb  7 17:18:53 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb  7 17:18:53 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.61
Feb  7 17:18:53 srv4hai dhcpd[5037]: execute_statement argv[2] = fpThomas
Feb  7 17:18:53 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas'
Feb  7 17:18:53 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb  7 17:18:53 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb  7 17:18:53 srv4hai named[14530]: client @0x7fc3140a1100 192.168.12.252#37095/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  7 17:18:53 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#34527/key rndc-key: signer "rndc-key" approved
Feb  7 17:18:53 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#34527/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Feb  7 17:18:53 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#34527/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Feb  7 17:18:53 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#34527/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Feb  7 17:18:53 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#34527/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Feb  7 17:18:53 srv4hai dhcpd[5037]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Feb  7 17:18:53 srv4hai named[14530]: client @0x7fc328157870 192.168.12.252#46799/key rndc-key: signer "rndc-key" approved
Feb  7 17:18:53 srv4hai named[14530]: client @0x7fc328157870 192.168.12.252#46799/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Feb  7 17:18:53 srv4hai named[14530]: client @0x7fc328157870 192.168.12.252#46799/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  7 17:18:53 srv4hai dhcpd[5037]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Feb  7 17:18:53 srv4hai ping_SP[21911]: SHELLY ping_SP.sh started from smartphone
Feb  7 17:18:53 srv4hai check_presence[21915]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(BT/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb  7 17:18:53 srv4hai check_presence[21915]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb  7 17:18:53 srv4hai trace_events[21933]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240207.txt'
Feb  7 17:18:53 srv4hai activate_scenario[21933]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb  7 17:18:53 srv4hai activate_scenario[21933]: SHELLY dayState='night' <--> DayTime=checked NightTime=unchecked - phoneName:'0'
Feb  7 17:18:53 srv4hai activate_scenario[21933]: SHELLY scenario: 'welcomeLight(welcomelight)' NOT EXECUTED, phoneName:'0'
Feb  7 17:18:53 srv4hai postfix/pickup[13370]: 716C560244: uid=33 from=
Feb  7 17:18:53 srv4hai postfix/cleanup[21889]: 716C560244: message-id=<20240207161853.716C560244@mail.viehai.at>
Feb  7 17:18:53 srv4hai ping_SP[21911]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Feb  7 17:18:53 srv4hai postfix/qmgr[28610]: 716C560244: from=, size=20364, nrcpt=1 (queue active)
Feb  7 17:18:54 srv4hai postfix/relay/smtp[21896]: 716C560244: to=, relay=mx01.nic.name[209.131.159.47]:25, delay=0.96, delays=0.02/0/0.55/0.39, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 165562021B)
Feb  7 17:18:54 srv4hai postfix/qmgr[28610]: 716C560244: removed
Feb  7 17:18:55 srv4hai ping_SP[21911]: SHELLY - running process-id(21911): '21805 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan#01221911 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone' - 'ping_SP_0' - exiting ==============
Feb  7 17:19:01 srv4hai CRON[21999]: (root) CMD (/etc/linetest/linetest.sh)
Feb  7 17:19:05 srv4hai ping_SP[21805]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707322745 - 'ping_SP_0'
Feb  7 17:19:05 srv4hai ping_SP[21805]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  7 17:20:01 srv4hai CRON[22039]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb  7 17:20:01 srv4hai CRON[22040]: (root) CMD (/etc/linetest/linetest.sh)
Feb  7 17:20:01 srv4hai meter.sh: SHELLY meter.sh started
Feb  7 17:20:04 srv4hai meter.sh: SHELLY 'shelly-22/WC':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  7 17:20:08 srv4hai ping_SP[21805]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707322808 - 'ping_SP_0'
Feb  7 17:20:08 srv4hai ping_SP[21805]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  7 17:20:09 srv4hai meter.sh: SHELLY 'shelly-02/Balkon-Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  7 17:20:13 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  7 17:20:16 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  7 17:20:18 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  7 17:20:21 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  7 17:20:23 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  7 17:20:26 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  7 17:20:29 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  7 17:20:31 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  7 17:20:33 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb  7 17:20:33 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.28
Feb  7 17:20:33 srv4hai dhcpd[5037]: execute_statement argv[2] = harmonyhub
Feb  7 17:20:33 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Feb  7 17:20:33 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Feb  7 17:20:33 srv4hai named[14530]: client @0x7fc3240d1310 192.168.12.252#38749/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  7 17:20:33 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#53455/key rndc-key: signer "rndc-key" approved
Feb  7 17:20:33 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#53455/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Feb  7 17:20:33 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#53455/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Feb  7 17:20:33 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#53455/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Feb  7 17:20:33 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#53455/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Feb  7 17:20:33 srv4hai dhcpd[5037]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Feb  7 17:20:33 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Feb  7 17:20:33 srv4hai named[14530]: client @0x7fc328677140 192.168.12.252#42843/key rndc-key: signer "rndc-key" approved
Feb  7 17:20:33 srv4hai named[14530]: client @0x7fc328677140 192.168.12.252#42843/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Feb  7 17:20:33 srv4hai named[14530]: client @0x7fc328677140 192.168.12.252#42843/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  7 17:20:33 srv4hai dhcpd[5037]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Feb  7 17:20:33 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Feb  7 17:20:34 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  7 17:20:36 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  7 17:20:39 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  7 17:20:41 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  7 17:20:44 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  7 17:20:46 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  7 17:20:47 srv4hai trace_events[22522]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240207.txt'
Feb  7 17:20:47 srv4hai activate_scenario[22522]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Feb  7 17:20:47 srv4hai activate_scenario[22522]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished