activate_scenario.sh
Fri Jul 5 16:16:15 CEST 2024
scenario: nasszeile_um
source: 192.168.12.128

'day' <--> 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/07/05/_0.log)

vorher: 16:16:15.518

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: 16:16:15.631
Dauer: 112 msec phName: 'shelly-28:'Schalter Nasszeile''


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

vorher: 16:16:15.533

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: 16:16:15.630
Dauer: 98 msec phName: 'shelly-28:'Schalter Nasszeile''


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

urls : 2
vorher : 16:16:15.474
nachher: 16:16:15.638
Dauer : 166 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/05//scene_nasszeile_um_20240705_161615.txt'


syslog

Jul  5 16:13:01 srv4hai CRON[32284]: (root) CMD (/etc/linetest/linetest.sh)
Jul  5 16:13:26 srv4hai ping_SP[21836]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720188806 - 'ping_SP_1'
Jul  5 16:13:26 srv4hai ping_SP[21836]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  5 16:14:02 srv4hai CRON[32317]: (root) CMD (/etc/linetest/linetest.sh)
Jul  5 16:14:10 srv4hai common[32323]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul  5 16:14:10 srv4hai bt_scan[32323]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul  5 16:14:10 srv4hai bt_scan[32323]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Jul  5 16:14:10 srv4hai common[32354]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul  5 16:14:10 srv4hai ping_SP[32354]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jul  5 16:14:10 srv4hai common[32375]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul  5 16:14:10 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1720188850-1720188850
Jul  5 16:14:10 srv4hai check_presence[32375]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Jul  5 16:14:10 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1720188850-1720188850
Jul  5 16:14:10 srv4hai check_presence[32375]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jul  5 16:14:10 srv4hai check_presence[32375]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jul  5 16:14:10 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1720188850-1720188850
Jul  5 16:14:11 srv4hai check_presence[32375]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Jul  5 16:14:11 srv4hai check_presence[32375]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul  5 16:14:11 srv4hai check_presence[32375]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jul  5 16:14:11 srv4hai check_presence[32375]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Jul  5 16:14:11 srv4hai activate_scenario[32504]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul  5 16:14:11 srv4hai activate_scenario[32504]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Jul  5 16:14:11 srv4hai activate_scenario[32504]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Jul  5 16:14:11 srv4hai postfix/pickup[10127]: 334366018A: uid=33 from=
Jul  5 16:14:11 srv4hai postfix/cleanup[32554]: 334366018A: message-id=<20240705141411.334366018A@mail.viehai.at>
Jul  5 16:14:11 srv4hai postfix/qmgr[8566]: 334366018A: from=, size=5721, nrcpt=1 (queue active)
Jul  5 16:14:11 srv4hai activate_scenario[32504]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Jul  5 16:14:11 srv4hai proc_url[32571]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/05/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Jul  5 16:14:11 srv4hai activate_scenario[32504]: SHELLY scenario: 'vorraumOn(vorraumon)' took 52 msec, phoneName:'0'
Jul  5 16:14:11 srv4hai ping_SP[32354]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Jul  5 16:14:11 srv4hai ping_SP[32354]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1720188851
Jul  5 16:14:11 srv4hai postfix/relay/smtp[32567]: 334366018A: to=, relay=mx03.nic.name[209.131.161.54]:25, delay=0.79, delays=0.02/0/0.52/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as C758780052)
Jul  5 16:14:11 srv4hai postfix/qmgr[8566]: 334366018A: removed
Jul  5 16:14:27 srv4hai ping_SP[32354]: SHELLY (0)- ping 192.168.12.61 0 not answered (1) @~1720188867 - 'ping_SP_0'
Jul  5 16:14:29 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32629, secured, session=
Jul  5 16:14:29 srv4hai dovecot: imap(miglincit)<32629>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul  5 16:14:40 srv4hai ping_SP[21836]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720188880 - 'ping_SP_1'
Jul  5 16:14:40 srv4hai ping_SP[21836]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  5 16:14:50 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jul  5 16:14:50 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul  5 16:14:50 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul  5 16:14:50 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul  5 16:14:50 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul  5 16:14:50 srv4hai common[32656]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul  5 16:14:51 srv4hai postfix/smtpd[32668]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  5 16:14:51 srv4hai postfix/smtpd[32668]: connect from unknown[185.208.158.123]
Jul  5 16:14:51 srv4hai postfix/smtpd[32668]: warning: unknown[185.208.158.123]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul  5 16:14:51 srv4hai postfix/smtpd[32668]: disconnect from unknown[185.208.158.123] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul  5 16:14:53 srv4hai ping_SP[32354]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1720188893 - 'ping_SP_0'
Jul  5 16:15:00 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul  5 16:15:00 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul  5 16:15:00 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul  5 16:15:00 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul  5 16:15:00 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul  5 16:15:00 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul  5 16:15:00 srv4hai common[32693]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul  5 16:15:01 srv4hai CRON[32706]: (root) CMD (/etc/linetest/linetest.sh)
Jul  5 16:15:10 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul  5 16:15:10 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul  5 16:15:10 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul  5 16:15:10 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul  5 16:15:10 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul  5 16:15:10 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul  5 16:15:10 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  5 16:15:10 srv4hai common[32724]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul  5 16:15:16 srv4hai ping_SP[32354]: SHELLY (0) - ping 192.168.12.61 2 sucessfully  @~1720188916 - 'ping_SP_0'
Jul  5 16:15:16 srv4hai ping_SP[32354]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  5 16:15:20 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul  5 16:15:20 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul  5 16:15:20 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul  5 16:15:20 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul  5 16:15:20 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul  5 16:15:20 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul  5 16:15:20 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  5 16:15:20 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#44799/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  5 16:15:20 srv4hai common[32759]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul  5 16:15:30 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul  5 16:15:30 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul  5 16:15:30 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: signer "rndc-key" approved
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul  5 16:15:30 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: signer "rndc-key" approved
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul  5 16:15:30 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: signer "rndc-key" approved
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul  5 16:15:30 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: signer "rndc-key" approved
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: signer "rndc-key" approved
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/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.
Jul  5 16:15:30 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: signer "rndc-key" approved
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul  5 16:15:30 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/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.
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: signer "rndc-key" approved
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/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.
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: signer "rndc-key" approved
Jul  5 16:15:30 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul  5 16:15:30 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#46793/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.
Jul  5 16:15:30 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul  5 16:15:30 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul  5 16:15:53 srv4hai ping_SP[21836]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720188953 - 'ping_SP_1'
Jul  5 16:15:53 srv4hai ping_SP[21836]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  5 16:16:01 srv4hai CRON[339]: (root) CMD (/etc/linetest/linetest.sh)
Jul  5 16:16:15 srv4hai activate_scenario[348]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Jul  5 16:16:15 srv4hai activate_scenario[348]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished