activate_scenario.sh
Tue Jan 30 20:53:22 CET 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x

'night' <--> 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/01/30/_0.log)

vorher: 20:53:22.612

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: 20:53:22.641
Dauer: 30 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 20:53:22.594
nachher: 20:53:22.647
Dauer : 54 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/01/30//scene_pcON_20240130_205322.txt'


syslog

Jan 30 20:50:01 srv4hai CRON[16892]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jan 30 20:50:01 srv4hai CRON[16893]: (root) CMD (/etc/linetest/linetest.sh)
Jan 30 20:50:01 srv4hai meter.sh: SHELLY meter.sh started
Jan 30 20:50:12 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706644212 - 'ping_SP_1'
Jan 30 20:50:12 srv4hai check_presence[17096]: SHELLY (ping_SP__ping_OK)-(1) what: 'presence' - persPresent: '(BT/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:50:12 srv4hai check_presence[17096]: SHELLY (ping_SP__ping_OK)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:50:12 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 30 20:50:15 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706644215 - 'ping_SP_0'
Jan 30 20:50:15 srv4hai check_presence[17125]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:50:15 srv4hai check_presence[17125]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:50:15 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 30 20:50:42 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706644242 - 'ping_SP_1'
Jan 30 20:50:42 srv4hai check_presence[17225]: SHELLY (ping_SP__ping_OK)-(1) what: 'presence' - persPresent: '(BT/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:50:42 srv4hai check_presence[17225]: SHELLY (ping_SP__ping_OK)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:50:42 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 30 20:50:45 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706644245 - 'ping_SP_0'
Jan 30 20:50:45 srv4hai check_presence[17252]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:50:45 srv4hai check_presence[17252]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:50:45 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 30 20:51:02 srv4hai CRON[17327]: (root) CMD (/etc/linetest/linetest.sh)
Jan 30 20:51:09 srv4hai meter.sh: SHELLY meter.sh ended
Jan 30 20:51:13 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706644273 - 'ping_SP_1'
Jan 30 20:51:13 srv4hai check_presence[17357]: SHELLY (ping_SP__ping_OK)-(1) what: 'presence' - persPresent: '(BT/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:51:13 srv4hai check_presence[17357]: SHELLY (ping_SP__ping_OK)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:51:13 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 30 20:51:16 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706644276 - 'ping_SP_0'
Jan 30 20:51:16 srv4hai check_presence[17380]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:51:16 srv4hai check_presence[17380]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:51:16 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 30 20:51:21 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jan 30 20:51:22 srv4hai fetchmail[1651]: 36807 messages (36807 seen) for tmiglinci at mail.akis.at (-1236355987 octets).
Jan 30 20:51:22 srv4hai fetchmail[1651]: 9833 messages (9833 seen) for srozum at mail.akis.at (1188232552 octets).
Jan 30 20:51:23 srv4hai fetchmail[1651]: 21397 messages (21397 seen) for mrozum at mail.akis.at (-674560659 octets).
Jan 30 20:51:23 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Jan 30 20:51:43 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706644303 - 'ping_SP_1'
Jan 30 20:51:43 srv4hai check_presence[17405]: SHELLY (ping_SP__ping_OK)-(1) what: 'presence' - persPresent: '(BT/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:51:43 srv4hai check_presence[17405]: SHELLY (ping_SP__ping_OK)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:51:43 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 30 20:51:46 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706644306 - 'ping_SP_0'
Jan 30 20:51:46 srv4hai check_presence[17428]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:51:46 srv4hai check_presence[17428]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:51:46 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 30 20:52:01 srv4hai CRON[17448]: (root) CMD (/etc/linetest/linetest.sh)
Jan 30 20:52:13 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706644333 - 'ping_SP_1'
Jan 30 20:52:13 srv4hai check_presence[17461]: SHELLY (ping_SP__ping_OK)-(1) what: 'presence' - persPresent: '(BT/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:52:13 srv4hai check_presence[17461]: SHELLY (ping_SP__ping_OK)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:52:13 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 30 20:52:16 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706644336 - 'ping_SP_0'
Jan 30 20:52:16 srv4hai check_presence[17484]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:52:16 srv4hai check_presence[17484]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:52:16 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 30 20:52:44 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706644364 - 'ping_SP_1'
Jan 30 20:52:44 srv4hai check_presence[17510]: SHELLY (ping_SP__ping_OK)-(1) what: 'presence' - persPresent: '(BT/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:52:44 srv4hai check_presence[17510]: SHELLY (ping_SP__ping_OK)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:52:44 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 30 20:52:46 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706644366 - 'ping_SP_0'
Jan 30 20:52:47 srv4hai check_presence[17533]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:52:47 srv4hai check_presence[17533]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:52:47 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 30 20:53:01 srv4hai CRON[17552]: (root) CMD (/etc/linetest/linetest.sh)
Jan 30 20:53:07 srv4hai activate_scenario[17558]: SHELLY scenario: 'buero_UM(buero_um)' started
Jan 30 20:53:07 srv4hai activate_scenario[17558]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Jan 30 20:53:07 srv4hai activate_scenario[17558]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Jan 30 20:53:07 srv4hai postfix/pickup[3415]: 5DE1560244: uid=33 from=
Jan 30 20:53:07 srv4hai postfix/cleanup[17608]: 5DE1560244: message-id=<20240130195307.5DE1560244@mail.viehai.at>
Jan 30 20:53:07 srv4hai postfix/qmgr[28610]: 5DE1560244: from=, size=8055, nrcpt=1 (queue active)
Jan 30 20:53:07 srv4hai activate_scenario[17558]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Jan 30 20:53:07 srv4hai proc_url[17626]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/01/30/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jan 30 20:53:07 srv4hai activate_scenario[17558]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Jan 30 20:53:07 srv4hai postfix/local[17621]: 5DE1560244: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Jan 30 20:53:07 srv4hai postfix/cleanup[17608]: 64FE560245: message-id=<20240130195307.64FE560245@mail.viehai.at>
Jan 30 20:53:07 srv4hai proc_url[17637]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/01/30/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jan 30 20:53:07 srv4hai postfix/bounce[17622]: 5DE1560244: sender non-delivery notification: 64FE560245
Jan 30 20:53:07 srv4hai postfix/qmgr[28610]: 64FE560245: from=<>, size=9974, nrcpt=1 (queue active)
Jan 30 20:53:07 srv4hai postfix/qmgr[28610]: 5DE1560244: removed
Jan 30 20:53:07 srv4hai postfix/local[17621]: 64FE560245: to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jan 30 20:53:07 srv4hai postfix/qmgr[28610]: 64FE560245: removed
Jan 30 20:53:08 srv4hai activate_scenario[17558]: SHELLY scenario: 'buero_UM(buero_um)' took 1237 msec, shelly-40:'Thomas Büro Licht'
Jan 30 20:53:14 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706644394 - 'ping_SP_1'
Jan 30 20:53:14 srv4hai check_presence[17687]: SHELLY (ping_SP__ping_OK)-(1) what: 'presence' - persPresent: '(BT/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:53:14 srv4hai check_presence[17687]: SHELLY (ping_SP__ping_OK)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:53:14 srv4hai ping_SP[7035]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 30 20:53:17 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706644397 - 'ping_SP_0'
Jan 30 20:53:17 srv4hai check_presence[17710]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 30 20:53:17 srv4hai check_presence[17710]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 20:53:17 srv4hai ping_SP[9746]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 30 20:53:22 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Jan 30 20:53:22 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.10
Jan 30 20:53:22 srv4hai dhcpd[5037]: execute_statement argv[2] = pchai7x
Jan 30 20:53:22 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Jan 30 20:53:22 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Jan 30 20:53:22 srv4hai named[14530]: client @0x7fc3281490e0 192.168.12.252#51069/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan 30 20:53:22 srv4hai named[14530]: client @0x7fc3240d1310 192.168.12.252#55847/key rndc-key: signer "rndc-key" approved
Jan 30 20:53:22 srv4hai named[14530]: client @0x7fc3240d1310 192.168.12.252#55847/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Jan 30 20:53:22 srv4hai named[14530]: client @0x7fc3240d1310 192.168.12.252#55847/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Jan 30 20:53:22 srv4hai named[14530]: client @0x7fc3240d1310 192.168.12.252#55847/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Jan 30 20:53:22 srv4hai named[14530]: client @0x7fc3240d1310 192.168.12.252#55847/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Jan 30 20:53:22 srv4hai dhcpd[5037]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Jan 30 20:53:22 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Jan 30 20:53:22 srv4hai named[14530]: client @0x7fc32000a250 192.168.12.252#33079/key rndc-key: signer "rndc-key" approved
Jan 30 20:53:22 srv4hai named[14530]: client @0x7fc32000a250 192.168.12.252#33079/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Jan 30 20:53:22 srv4hai named[14530]: client @0x7fc32000a250 192.168.12.252#33079/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.
Jan 30 20:53:22 srv4hai dhcpd[5037]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Jan 30 20:53:22 srv4hai activate_scenario[17733]: SHELLY scenario: 'pcON(pcon)' started
Jan 30 20:53:22 srv4hai activate_scenario[17733]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished