activate_scenario.sh
Sun Sep 22 16:47:28 CEST 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x

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

scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/09/22/_0.log)

vorher: 16:47:28.340

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

nachher: 16:47:28.374
Dauer: 33 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

urls : 1
vorher : 16:47:28.318
nachher: 16:47:28.380
Dauer : 61 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/22//scene_pcON_20240922_164728.txt'


syslog

Sep 22 16:44:01 srv4hai CRON[14045]: (root) CMD (/etc/linetest/linetest.sh)
Sep 22 16:44:40 srv4hai ping_SP[31510]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727016280 - 'ping_SP_1'
Sep 22 16:44:40 srv4hai ping_SP[31510]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 22 16:45:01 srv4hai CRON[14084]: (root) CMD (/etc/linetest/linetest.sh)
Sep 22 16:45:01 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 22 16:45:02 srv4hai fetchmail[1651]: 52837 messages (52837 seen) for tmiglinci at mail.akis.at (48870894 octets).
Sep 22 16:45:02 srv4hai fetchmail[1651]: 10759 messages (10759 seen) for srozum at mail.akis.at (1304814477 octets).
Sep 22 16:45:03 srv4hai fetchmail[1651]: 26076 messages (26076 seen) for mrozum at mail.akis.at (236761578 octets).
Sep 22 16:45:03 srv4hai fetchmail[1651]: 1144 messages (1144 seen) for admin@bastelstube.wien at pop3.world4you.com (51909737 octets).
Sep 22 16:45:08 srv4hai ping_SP[31325]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727016308 - 'ping_SP_0'
Sep 22 16:45:08 srv4hai ping_SP[31325]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 22 16:45:27 srv4hai common[14107]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 22 16:45:37 srv4hai bt_scan[14107]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'No'
Sep 22 16:45:37 srv4hai bt_scan[14107]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence
Sep 22 16:45:37 srv4hai common[14141]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 22 16:45:37 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'3'=1727016337-1727016334
Sep 22 16:45:37 srv4hai check_presence[14141]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Sep 22 16:45:37 srv4hai check_presence[14141]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Sep 22 16:45:37 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'3'=1727016337-1727016334
Sep 22 16:45:37 srv4hai check_presence[14141]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 22 16:45:37 srv4hai check_presence[14141]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Sep 22 16:45:37 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1727016337-1727016334
Sep 22 16:45:37 srv4hai check_presence[14141]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 22 16:45:37 srv4hai check_presence[14141]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(BT/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 22 16:45:37 srv4hai check_presence[14141]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_nasszeile_um) - sceneOFF(offAll)
Sep 22 16:45:37 srv4hai check_presence[14141]: SHELLY (bt_scan)-(1)-presence: NOT activate_scenario.shtml: offAll
Sep 22 16:45:53 srv4hai ping_SP[31510]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727016353 - 'ping_SP_1'
Sep 22 16:45:53 srv4hai ping_SP[31510]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 22 16:45:58 srv4hai common[14311]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 22 16:46:01 srv4hai CRON[14325]: (root) CMD (/etc/linetest/linetest.sh)
Sep 22 16:46:08 srv4hai bt_scan[14311]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Sep 22 16:46:08 srv4hai bt_scan[14311]: SHELLY - ping_SP.sh already running for BTmac: '1' - IPv4: '192.168.12.62'
Sep 22 16:46:21 srv4hai ping_SP[31325]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727016381 - 'ping_SP_0'
Sep 22 16:46:21 srv4hai ping_SP[31325]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 22 16:46:50 srv4hai activate_scenario[14380]: SHELLY scenario: 'buero_UM(buero_um)' started
Sep 22 16:46:50 srv4hai activate_scenario[14380]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Sep 22 16:46:50 srv4hai activate_scenario[14380]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Sep 22 16:46:50 srv4hai postfix/pickup[30089]: 757BE63463: uid=33 from=
Sep 22 16:46:50 srv4hai postfix/cleanup[14433]: 757BE63463: message-id=<20240922144650.757BE63463@mail.viehai.at>
Sep 22 16:46:50 srv4hai postfix/qmgr[8566]: 757BE63463: from=, size=5362, nrcpt=1 (queue active)
Sep 22 16:46:50 srv4hai activate_scenario[14380]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Sep 22 16:46:50 srv4hai proc_url[14451]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/22/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Sep 22 16:46:50 srv4hai activate_scenario[14380]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Sep 22 16:46:50 srv4hai proc_url[14462]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/22/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Sep 22 16:46:50 srv4hai postfix/local[14446]: 757BE63463: to=, orig_to=, relay=local, delay=0.05, delays=0.02/0/0/0.03, dsn=5.1.1, status=bounced (unknown user: "null")
Sep 22 16:46:50 srv4hai postfix/cleanup[14433]: 7F69663464: message-id=<20240922144650.7F69663464@mail.viehai.at>
Sep 22 16:46:50 srv4hai postfix/bounce[14447]: 757BE63463: sender non-delivery notification: 7F69663464
Sep 22 16:46:50 srv4hai postfix/qmgr[8566]: 7F69663464: from=<>, size=7284, nrcpt=1 (queue active)
Sep 22 16:46:50 srv4hai postfix/qmgr[8566]: 757BE63463: removed
Sep 22 16:46:50 srv4hai postfix/local[14446]: 7F69663464: to=, relay=local, delay=0.01, delays=0.01/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 22 16:46:50 srv4hai postfix/qmgr[8566]: 7F69663464: removed
Sep 22 16:46:50 srv4hai activate_scenario[14380]: SHELLY scenario: 'buero_UM(buero_um)' took 98 msec, shelly-40:'Thomas Büro Licht'
Sep 22 16:47:01 srv4hai CRON[14510]: (root) CMD (/etc/linetest/linetest.sh)
Sep 22 16:47:06 srv4hai ping_SP[31510]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727016426 - 'ping_SP_1'
Sep 22 16:47:06 srv4hai ping_SP[31510]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 22 16:47:28 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Sep 22 16:47:28 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.10
Sep 22 16:47:28 srv4hai dhcpd[30731]: execute_statement argv[2] = pchai7x
Sep 22 16:47:28 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Sep 22 16:47:28 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Sep 22 16:47:28 srv4hai named[30406]: client @0x7f932c088690 192.168.12.252#50639/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 22 16:47:28 srv4hai named[30406]: client @0x7f934c046b60 192.168.12.252#52645/key rndc-key: signer "rndc-key" approved
Sep 22 16:47:28 srv4hai named[30406]: client @0x7f934c046b60 192.168.12.252#52645/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Sep 22 16:47:28 srv4hai named[30406]: client @0x7f934c046b60 192.168.12.252#52645/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Sep 22 16:47:28 srv4hai named[30406]: client @0x7f934c046b60 192.168.12.252#52645/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Sep 22 16:47:28 srv4hai named[30406]: client @0x7f934c046b60 192.168.12.252#52645/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Sep 22 16:47:28 srv4hai dhcpd[30731]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Sep 22 16:47:28 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#58219/key rndc-key: signer "rndc-key" approved
Sep 22 16:47:28 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#58219/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Sep 22 16:47:28 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Sep 22 16:47:28 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#58219/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '10.12.168.192.in-addr.arpa' PTR pchai7x.viehai.at.
Sep 22 16:47:28 srv4hai dhcpd[30731]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Sep 22 16:47:28 srv4hai activate_scenario[14543]: SHELLY scenario: 'pcON(pcon)' started
Sep 22 16:47:28 srv4hai activate_scenario[14543]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished