activate_scenario.sh
Mon Jul 8 17:49:57 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/08/_0.log)

vorher: 17:49:57.249

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

nachher: 17:49:57.353
Dauer: 104 msec phName: 'shelly-28:'Schalter Nasszeile''


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

vorher: 17:49:57.266

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

nachher: 17:49:57.353
Dauer: 87 msec phName: 'shelly-28:'Schalter Nasszeile''


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

urls : 2
vorher : 17:49:57.223
nachher: 17:49:57.360
Dauer : 137 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/08//scene_nasszeile_um_20240708_174957.txt'


syslog

Jul  8 17:46:01 srv4hai CRON[20720]: (root) CMD (/etc/linetest/linetest.sh)
Jul  8 17:47:01 srv4hai CRON[20733]: (root) CMD (/etc/linetest/linetest.sh)
Jul  8 17:47:28 srv4hai postfix/anvil[20704]: statistics: max connection rate 1/60s for (smtp:178.215.236.184) at Jul  8 17:44:08
Jul  8 17:47:28 srv4hai postfix/anvil[20704]: statistics: max connection count 1 for (smtp:178.215.236.184) at Jul  8 17:44:08
Jul  8 17:47:28 srv4hai postfix/anvil[20704]: statistics: max cache size 1 at Jul  8 17:44:08
Jul  8 17:48:01 srv4hai CRON[20745]: (root) CMD (/etc/linetest/linetest.sh)
Jul  8 17:48:17 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul  8 17:48:18 srv4hai fetchmail[1651]: 48238 messages (48238 seen) for tmiglinci at mail.akis.at (-312820091 octets).
Jul  8 17:48:19 srv4hai fetchmail[1651]: 10421 messages (10421 seen) for srozum at mail.akis.at (1251134706 octets).
Jul  8 17:48:19 srv4hai fetchmail[1651]: 24628 messages (24628 seen) for mrozum at mail.akis.at (19544369 octets).
Jul  8 17:48:20 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul  8 17:49:01 srv4hai CRON[20761]: (root) CMD (/etc/linetest/linetest.sh)
Jul  8 17:49:26 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jul  8 17:49:26 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul  8 17:49:26 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul  8 17:49:26 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul  8 17:49:26 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul  8 17:49:26 srv4hai common[20767]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul  8 17:49:26 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul  8 17:49:26 srv4hai common[20781]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul  8 17:49:26 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul  8 17:49:26 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul  8 17:49:26 srv4hai named[30406]: client @0x7f931c0a2850 192.168.12.252#48169/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  8 17:49:26 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#43195/key rndc-key: signer "rndc-key" approved
Jul  8 17:49:26 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#43195/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul  8 17:49:26 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#43195/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul  8 17:49:26 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#43195/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul  8 17:49:26 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#43195/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul  8 17:49:26 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul  8 17:49:26 srv4hai named[30406]: client @0x7f934c0557f0 192.168.12.252#43349/key rndc-key: signer "rndc-key" approved
Jul  8 17:49:26 srv4hai named[30406]: client @0x7f934c0557f0 192.168.12.252#43349/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul  8 17:49:26 srv4hai named[30406]: client @0x7f934c0557f0 192.168.12.252#43349/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  8 17:49:26 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul  8 17:49:26 srv4hai ping_SP[20781]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jul  8 17:49:28 srv4hai common[20804]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul  8 17:49:33 srv4hai postfix/smtpd[20817]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  8 17:49:33 srv4hai postfix/smtpd[20817]: connect from 94-154-35-194.virtualine.org[94.154.35.194]
Jul  8 17:49:33 srv4hai postfix/smtpd[20817]: warning: 94-154-35-194.virtualine.org[94.154.35.194]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul  8 17:49:34 srv4hai postfix/smtpd[20817]: disconnect from 94-154-35-194.virtualine.org[94.154.35.194] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul  8 17:49:36 srv4hai common[20829]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul  8 17:49:37 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'3'=1720453777-1720453774
Jul  8 17:49:37 srv4hai check_presence[20829]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul  8 17:49:37 srv4hai check_presence[20829]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jul  8 17:49:37 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'3'=1720453777-1720453774
Jul  8 17:49:37 srv4hai check_presence[20829]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul  8 17:49:37 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1720453777-1720453774
Jul  8 17:49:37 srv4hai check_presence[20829]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Jul  8 17:49:37 srv4hai check_presence[20829]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(BT/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jul  8 17:49:37 srv4hai check_presence[20829]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Jul  8 17:49:37 srv4hai check_presence[20829]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jul  8 17:49:37 srv4hai activate_scenario[20978]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul  8 17:49:37 srv4hai activate_scenario[20978]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Jul  8 17:49:37 srv4hai activate_scenario[20978]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Jul  8 17:49:37 srv4hai postfix/pickup[11315]: A63F86018A: uid=33 from=
Jul  8 17:49:37 srv4hai postfix/cleanup[21028]: A63F86018A: message-id=<20240708154937.A63F86018A@mail.viehai.at>
Jul  8 17:49:37 srv4hai postfix/qmgr[8566]: A63F86018A: from=, size=7231, nrcpt=1 (queue active)
Jul  8 17:49:37 srv4hai activate_scenario[20978]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Jul  8 17:49:37 srv4hai proc_url[21045]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/08/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Jul  8 17:49:37 srv4hai activate_scenario[20978]: SHELLY scenario: 'vorraumOn(vorraumon)' took 93 msec, phoneName:'0'
Jul  8 17:49:37 srv4hai ping_SP[20781]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Jul  8 17:49:38 srv4hai bt_scan[20804]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul  8 17:49:38 srv4hai bt_scan[20804]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jul  8 17:49:38 srv4hai postfix/relay/smtp[21041]: A63F86018A: to=, relay=mx04.nic.name[209.131.160.34]:25, delay=0.8, delays=0.05/0.01/0.5/0.24, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 4280E2407BED)
Jul  8 17:49:38 srv4hai postfix/qmgr[8566]: A63F86018A: removed
Jul  8 17:49:39 srv4hai ping_SP[20781]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1720453779
Jul  8 17:49:51 srv4hai activate_scenario[21108]: SHELLY scenario: 'offAll(offall)' started
Jul  8 17:49:51 srv4hai activate_scenario[21108]: SHELLY dayState='day' <--> DayTime=unchecked NightTime=unchecked - shelly-03:'Licht Vorzimmer'
Jul  8 17:49:51 srv4hai activate_scenario[21108]: SHELLY scenario: 'offAll(offall)' NOT EXECUTED, shelly-03:'Licht Vorzimmer'
Jul  8 17:49:53 srv4hai ping_SP[20781]: SHELLY (0) - ping 192.168.12.61 0 sucessfully  @~1720453793 - 'ping_SP_0'
Jul  8 17:49:53 srv4hai ping_SP[20781]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  8 17:49:57 srv4hai activate_scenario[21174]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Jul  8 17:49:57 srv4hai activate_scenario[21174]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished