activate_scenario.sh
Sun Sep 15 18:18:53 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/15/_0.log)

vorher: 18:18:53.705

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: 18:18:53.731
Dauer: 25 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 18:18:53.687
nachher: 18:18:53.737
Dauer : 51 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/15//scene_pcON_20240915_181853.txt'


syslog

Sep 15 18:15:01 srv4hai smartd[27489]: Device: /dev/sdd [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 108 to 107
Sep 15 18:15:01 srv4hai CRON[17661]: (root) CMD (/etc/linetest/linetest.sh)
Sep 15 18:15:42 srv4hai ping_SP[5205]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726416942 - 'ping_SP_0'
Sep 15 18:15:42 srv4hai ping_SP[5205]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 15 18:15:49 srv4hai ping_SP[11252]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726416949 - 'ping_SP_1'
Sep 15 18:15:49 srv4hai ping_SP[11252]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 15 18:16:01 srv4hai CRON[17720]: (root) CMD (/etc/linetest/linetest.sh)
Sep 15 18:16:55 srv4hai ping_SP[5205]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726417015 - 'ping_SP_0'
Sep 15 18:16:55 srv4hai ping_SP[5205]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 15 18:16:57 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Sep 15 18:16:57 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep 15 18:16:59 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Sep 15 18:16:59 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep 15 18:16:59 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Sep 15 18:16:59 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.5
Sep 15 18:16:59 srv4hai dhcpd[30731]: execute_statement argv[2] = btscan1
Sep 15 18:16:59 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Sep 15 18:16:59 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep 15 18:16:59 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#46539/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 15 18:16:59 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#46805/key rndc-key: signer "rndc-key" approved
Sep 15 18:16:59 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#46805/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Sep 15 18:16:59 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#46805/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Sep 15 18:16:59 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#46805/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Sep 15 18:16:59 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#46805/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Sep 15 18:16:59 srv4hai dhcpd[30731]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Sep 15 18:16:59 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#60733/key rndc-key: signer "rndc-key" approved
Sep 15 18:16:59 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#60733/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Sep 15 18:16:59 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Sep 15 18:16:59 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#60733/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at.
Sep 15 18:16:59 srv4hai dhcpd[30731]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Sep 15 18:16:59 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Sep 15 18:17:01 srv4hai CRON[17774]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Sep 15 18:17:01 srv4hai CRON[17775]: (root) CMD (/etc/linetest/linetest.sh)
Sep 15 18:17:02 srv4hai ping_SP[11252]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726417022 - 'ping_SP_1'
Sep 15 18:17:02 srv4hai ping_SP[11252]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 15 18:17:03 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Sep 15 18:17:32 srv4hai common[17803]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 15 18:17:42 srv4hai bt_scan[17803]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Sep 15 18:17:42 srv4hai bt_scan[17803]: SHELLY - ping_SP.sh already running for BTmac: '1' - IPv4: '192.168.12.62'
Sep 15 18:17:47 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 15 18:17:48 srv4hai fetchmail[1651]: 52366 messages (52366 seen) for tmiglinci at mail.akis.at (14731153 octets).
Sep 15 18:17:48 srv4hai fetchmail[1651]: 10724 messages (10724 seen) for srozum at mail.akis.at (1302036886 octets).
Sep 15 18:17:49 srv4hai fetchmail[1651]: 25933 messages (25933 seen) for mrozum at mail.akis.at (216153484 octets).
Sep 15 18:17:50 srv4hai fetchmail[1651]: 1143 messages (1143 seen) for admin@bastelstube.wien at pop3.world4you.com (51639660 octets).
Sep 15 18:18:01 srv4hai CRON[17850]: (root) CMD (/etc/linetest/linetest.sh)
Sep 15 18:18:08 srv4hai ping_SP[5205]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726417088 - 'ping_SP_0'
Sep 15 18:18:08 srv4hai ping_SP[5205]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 15 18:18:16 srv4hai ping_SP[11252]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726417096 - 'ping_SP_1'
Sep 15 18:18:16 srv4hai ping_SP[11252]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 15 18:18:41 srv4hai activate_scenario[17899]: SHELLY scenario: 'buero_UM(buero_um)' started
Sep 15 18:18:41 srv4hai activate_scenario[17899]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Sep 15 18:18:41 srv4hai activate_scenario[17899]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Sep 15 18:18:41 srv4hai postfix/pickup[15672]: 5A9886345B: uid=33 from=
Sep 15 18:18:41 srv4hai postfix/cleanup[17952]: 5A9886345B: message-id=<20240915161841.5A9886345B@mail.viehai.at>
Sep 15 18:18:41 srv4hai postfix/qmgr[8566]: 5A9886345B: from=, size=6552, nrcpt=1 (queue active)
Sep 15 18:18:41 srv4hai postfix/local[17965]: 5A9886345B: to=, orig_to=, relay=local, delay=0.13, delays=0.1/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Sep 15 18:18:41 srv4hai postfix/cleanup[17952]: 67CA56345C: message-id=<20240915161841.67CA56345C@mail.viehai.at>
Sep 15 18:18:41 srv4hai activate_scenario[17899]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Sep 15 18:18:41 srv4hai postfix/bounce[17966]: 5A9886345B: sender non-delivery notification: 67CA56345C
Sep 15 18:18:41 srv4hai postfix/qmgr[8566]: 67CA56345C: from=<>, size=8474, nrcpt=1 (queue active)
Sep 15 18:18:41 srv4hai proc_url[17970]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/15/_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 15 18:18:41 srv4hai postfix/qmgr[8566]: 5A9886345B: removed
Sep 15 18:18:41 srv4hai postfix/local[17965]: 67CA56345C: to=, relay=local, delay=0.02, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 15 18:18:41 srv4hai postfix/qmgr[8566]: 67CA56345C: removed
Sep 15 18:18:41 srv4hai activate_scenario[17899]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Sep 15 18:18:41 srv4hai proc_url[17982]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/15/_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 15 18:18:41 srv4hai activate_scenario[17899]: SHELLY scenario: 'buero_UM(buero_um)' took 108 msec, shelly-40:'Thomas Büro Licht'
Sep 15 18:18:53 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Sep 15 18:18:53 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.10
Sep 15 18:18:53 srv4hai dhcpd[30731]: execute_statement argv[2] = pchai7x
Sep 15 18:18:53 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Sep 15 18:18:53 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Sep 15 18:18:53 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#48277/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 15 18:18:53 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#49411/key rndc-key: signer "rndc-key" approved
Sep 15 18:18:53 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#49411/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Sep 15 18:18:53 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#49411/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Sep 15 18:18:53 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#49411/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Sep 15 18:18:53 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#49411/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Sep 15 18:18:53 srv4hai dhcpd[30731]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Sep 15 18:18:53 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#35233/key rndc-key: signer "rndc-key" approved
Sep 15 18:18:53 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#35233/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Sep 15 18:18:53 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#35233/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 15 18:18:53 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Sep 15 18:18:53 srv4hai dhcpd[30731]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Sep 15 18:18:53 srv4hai activate_scenario[18030]: SHELLY scenario: 'pcON(pcon)' started
Sep 15 18:18:53 srv4hai activate_scenario[18030]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished