activate_scenario.sh
Fri Apr 19 20:26:43 CEST 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x
vorher: 20:26:43.115
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:26:43.152
Dauer: 37 msec
phName: 'origin:'dhcpcommit.sh-pchai7x''
urls : 1
vorher : 20:26:43.097
nachher: 20:26:43.160
Dauer : 62 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/19//scene_pcON_20240419_202643.txt'
Apr 19 20:23:01 srv4hai CRON[5415]: (root) CMD (/etc/linetest/linetest.sh) Apr 19 20:23:12 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=5426, secured, session=<5Ec0LncW6OcAAAAAAAAAAAAAAAAAAAAB> Apr 19 20:23:12 srv4hai dovecot: imap(rozumm)<5426><5Ec0LncW6OcAAAAAAAAAAAAAAAAAAAAB>: Logged out in=93 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Apr 19 20:23:20 srv4hai ping_SP[6196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1713551000 - 'ping_SP_0' Apr 19 20:23:20 srv4hai ping_SP[6196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 19 20:23:56 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=5450, secured, session= Apr 19 20:23:56 srv4hai dovecot: imap(miglincit)<5450> : Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Apr 19 20:24:01 srv4hai CRON[5452]: (root) CMD (/etc/linetest/linetest.sh) Apr 19 20:24:12 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=5459, secured, session= Apr 19 20:24:12 srv4hai dovecot: imap(rozumm)<5459> : Logged out in=93 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Apr 19 20:24:30 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=5467, secured, session= Apr 19 20:24:30 srv4hai dovecot: imap(miglincit)<5467> : Logged out in=443 out=45092 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=510 body_count=1 body_bytes=42886 Apr 19 20:24:32 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=5469, secured, session= Apr 19 20:24:32 srv4hai dovecot: imap(miglincit)<5469> : Logged out in=616 out=14572 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=279 body_count=0 body_bytes=0 Apr 19 20:24:32 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=5471, secured, session= Apr 19 20:24:32 srv4hai dovecot: imap(miglincit)<5471> : Logged out in=395 out=2079 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=476 body_count=1 body_bytes=127 Apr 19 20:24:33 srv4hai ping_SP[6196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1713551073 - 'ping_SP_0' Apr 19 20:24:33 srv4hai ping_SP[6196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 19 20:24:37 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=5487, secured, session= Apr 19 20:24:37 srv4hai dovecot: imap(miglincit)<5487> : Logged out in=749 out=42650 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=18510 body_count=0 body_bytes=0 Apr 19 20:24:57 srv4hai dovecot: imap(miglincit)<7059> : Connection closed (close finished 0.036 secs ago) in=9251 out=2091421 deleted=0 expunged=0 trashed=0 hdr_count=22 hdr_bytes=8162 body_count=22 body_bytes=1973704 Apr 19 20:24:57 srv4hai activate_scenario[5490]: SHELLY scenario: 'pcOFF(pcoff)' started Apr 19 20:24:57 srv4hai activate_scenario[5490]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:'' Apr 19 20:24:57 srv4hai activate_scenario[5490]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:'' Apr 19 20:24:57 srv4hai postfix/pickup[27779]: E00E46022F: uid=33 from= Apr 19 20:24:57 srv4hai postfix/cleanup[5543]: E00E46022F: message-id=<20240419182457.E00E46022F@mail.viehai.at> Apr 19 20:24:57 srv4hai postfix/qmgr[15291]: E00E46022F: from= , size=6051, nrcpt=1 (queue active) Apr 19 20:24:57 srv4hai activate_scenario[5490]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off' Apr 19 20:24:57 srv4hai postfix/local[5556]: E00E46022F: to= , orig_to= , relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Apr 19 20:24:57 srv4hai postfix/cleanup[5543]: EA35760230: message-id=<20240419182457.EA35760230@mail.viehai.at> Apr 19 20:24:57 srv4hai proc_url[5561]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/19/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:''' Apr 19 20:24:57 srv4hai postfix/bounce[5557]: E00E46022F: sender non-delivery notification: EA35760230 Apr 19 20:24:57 srv4hai postfix/qmgr[15291]: EA35760230: from=<>, size=7933, nrcpt=1 (queue active) Apr 19 20:24:57 srv4hai postfix/qmgr[15291]: E00E46022F: removed Apr 19 20:24:57 srv4hai postfix/local[5556]: EA35760230: to= , relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Apr 19 20:24:57 srv4hai postfix/qmgr[15291]: EA35760230: removed Apr 19 20:24:57 srv4hai activate_scenario[5490]: SHELLY scenario: 'pcOFF(pcoff)' took 76 msec, shelly-0:'' Apr 19 20:25:00 srv4hai activate_scenario[5589]: SHELLY scenario: 'buero_UM(buero_um)' started Apr 19 20:25:00 srv4hai activate_scenario[5589]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht' Apr 19 20:25:00 srv4hai activate_scenario[5589]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht' Apr 19 20:25:00 srv4hai postfix/pickup[27779]: 884E66022F: uid=33 from= Apr 19 20:25:00 srv4hai postfix/cleanup[5543]: 884E66022F: message-id=<20240419182500.884E66022F@mail.viehai.at> Apr 19 20:25:00 srv4hai postfix/qmgr[15291]: 884E66022F: from= , size=6932, nrcpt=1 (queue active) Apr 19 20:25:00 srv4hai postfix/local[5556]: 884E66022F: to= , orig_to= , relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Apr 19 20:25:00 srv4hai postfix/cleanup[5543]: 8C68E60230: message-id=<20240419182500.8C68E60230@mail.viehai.at> Apr 19 20:25:00 srv4hai postfix/bounce[5557]: 884E66022F: sender non-delivery notification: 8C68E60230 Apr 19 20:25:00 srv4hai postfix/qmgr[15291]: 8C68E60230: from=<>, size=8854, nrcpt=1 (queue active) Apr 19 20:25:00 srv4hai postfix/qmgr[15291]: 884E66022F: removed Apr 19 20:25:00 srv4hai postfix/local[5556]: 8C68E60230: to= , relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Apr 19 20:25:00 srv4hai postfix/qmgr[15291]: 8C68E60230: removed Apr 19 20:25:00 srv4hai activate_scenario[5589]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle' Apr 19 20:25:00 srv4hai proc_url[5657]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/19/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht'' Apr 19 20:25:00 srv4hai activate_scenario[5589]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle' Apr 19 20:25:00 srv4hai proc_url[5668]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/19/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht'' Apr 19 20:25:01 srv4hai sntp[5687]: sntp 4.2.8p12@1.3728-o (1) Apr 19 20:25:01 srv4hai sntp[5687]: 2024-04-19 20:25:01.446846 (-0100) -0.001068 +/- 0.000803 time.google.com 216.239.35.12 s1 no-leap Apr 19 20:25:01 srv4hai CRON[5692]: (root) CMD (/etc/linetest/linetest.sh) Apr 19 20:25:01 srv4hai activate_scenario[5589]: SHELLY scenario: 'buero_UM(buero_um)' took 937 msec, shelly-40:'Thomas Büro Licht' Apr 19 20:25:13 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=5724, secured, session= Apr 19 20:25:13 srv4hai dovecot: imap(rozumm)<5724> : Logged out in=93 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Apr 19 20:25:46 srv4hai ping_SP[6196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1713551146 - 'ping_SP_0' Apr 19 20:25:46 srv4hai ping_SP[6196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 19 20:26:00 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Apr 19 20:26:01 srv4hai CRON[5749]: (root) CMD (/etc/linetest/linetest.sh) Apr 19 20:26:01 srv4hai fetchmail[1651]: 42492 messages (42492 seen) for tmiglinci at mail.akis.at (-754132715 octets). Apr 19 20:26:01 srv4hai fetchmail[1651]: 10153 messages (10153 seen) for srozum at mail.akis.at (1226224079 octets). Apr 19 20:26:02 srv4hai fetchmail[1651]: 22983 messages (22983 seen) for mrozum at mail.akis.at (-311879461 octets). Apr 19 20:26:02 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets). Apr 19 20:26:13 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=5756, secured, session= Apr 19 20:26:13 srv4hai dovecot: imap(rozumm)<5756> : Logged out in=93 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Apr 19 20:26:14 srv4hai common[5758]: SHELLY common.sh inkludiert von ./bt_scan.sh Apr 19 20:26:14 srv4hai mosquitto[25830]: Client mosqsub|20367-pchai7x has exceeded timeout, disconnecting. Apr 19 20:26:14 srv4hai mosquitto[25830]: Socket error on client mosqsub|20367-pchai7x, disconnecting. Apr 19 20:26:24 srv4hai bt_scan[5758]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes' Apr 19 20:26:24 srv4hai bt_scan[5758]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61' Apr 19 20:26:35 srv4hai dhcpd[28085]: DHCPRELEASE of 192.168.12.3 from 70:a7:41:9a:7d:4e via enp2s0 (not found) Apr 19 20:26:35 srv4hai dhcpd[28085]: DHCPDISCOVER from 70:a7:41:9a:7d:4e via enp2s0 Apr 19 20:26:35 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0 Apr 19 20:26:35 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Apr 19 20:26:35 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.3 Apr 19 20:26:35 srv4hai dhcpd[28085]: execute_statement argv[2] = ap3hai Apr 19 20:26:35 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.3 (192.168.12.252) from 70:a7:41:9a:7d:4e via enp2s0 Apr 19 20:26:35 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0 Apr 19 20:26:35 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#38925/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: ap3hai.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 19 20:26:35 srv4hai named[15509]: client @0x7f93080202a0 192.168.12.252#53963/key rndc-key: signer "rndc-key" approved Apr 19 20:26:35 srv4hai named[15509]: client @0x7f93080202a0 192.168.12.252#53963/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' TXT Apr 19 20:26:35 srv4hai named[15509]: client @0x7f93080202a0 192.168.12.252#53963/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' TXT "31763f1a8a980dd918aaf8fff3416a5028" Apr 19 20:26:35 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.3'(3) device 'ap3hai' Apr 19 20:26:35 srv4hai named[15509]: client @0x7f93080202a0 192.168.12.252#53963/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' A Apr 19 20:26:35 srv4hai named[15509]: client @0x7f93080202a0 192.168.12.252#53963/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' A 192.168.12.3 Apr 19 20:26:35 srv4hai dhcpd[28085]: Added new forward map from ap3hai.viehai.at to 192.168.12.3 Apr 19 20:26:35 srv4hai named[15509]: client @0x7f931c6a6030 192.168.12.252#48713/key rndc-key: signer "rndc-key" approved Apr 19 20:26:35 srv4hai named[15509]: client @0x7f931c6a6030 192.168.12.252#48713/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '3.12.168.192.in-addr.arpa' PTR Apr 19 20:26:35 srv4hai named[15509]: client @0x7f931c6a6030 192.168.12.252#48713/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '3.12.168.192.in-addr.arpa' PTR ap3hai.viehai.at. Apr 19 20:26:35 srv4hai dhcpd[28085]: Added reverse map from 3.12.168.192.in-addr.arpa. to ap3hai.viehai.at Apr 19 20:26:35 srv4hai dhcpcommit.sh: SHELLY device 'ap3hai' known and accepted Apr 19 20:26:43 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Apr 19 20:26:43 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.10 Apr 19 20:26:43 srv4hai dhcpd[28085]: execute_statement argv[2] = pchai7x Apr 19 20:26:43 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0 Apr 19 20:26:43 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0 Apr 19 20:26:43 srv4hai named[15509]: client @0x7f92fc0061b0 192.168.12.252#51183/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 19 20:26:43 srv4hai named[15509]: client @0x7f93100017f0 192.168.12.252#59079/key rndc-key: signer "rndc-key" approved Apr 19 20:26:43 srv4hai named[15509]: client @0x7f93100017f0 192.168.12.252#59079/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT Apr 19 20:26:43 srv4hai named[15509]: client @0x7f93100017f0 192.168.12.252#59079/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52" Apr 19 20:26:43 srv4hai named[15509]: client @0x7f93100017f0 192.168.12.252#59079/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A Apr 19 20:26:43 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x' Apr 19 20:26:43 srv4hai named[15509]: client @0x7f93100017f0 192.168.12.252#59079/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10 Apr 19 20:26:43 srv4hai dhcpd[28085]: Added new forward map from pchai7x.viehai.at to 192.168.12.10 Apr 19 20:26:43 srv4hai named[15509]: client @0x7f930c069dc0 192.168.12.252#33393/key rndc-key: signer "rndc-key" approved Apr 19 20:26:43 srv4hai named[15509]: client @0x7f930c069dc0 192.168.12.252#33393/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR Apr 19 20:26:43 srv4hai named[15509]: client @0x7f930c069dc0 192.168.12.252#33393/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. Apr 19 20:26:43 srv4hai dhcpd[28085]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at Apr 19 20:26:43 srv4hai activate_scenario[5806]: SHELLY scenario: 'pcON(pcon)' started Apr 19 20:26:43 srv4hai activate_scenario[5806]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'
finished