activate_scenario.sh
Sat Mar 2 18:26:39 CET 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x
vorher: 18:26:39.706
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:26:39.732
Dauer: 26 msec
phName: 'origin:'dhcpcommit.sh-pchai7x''
urls : 1
vorher : 18:26:39.661
nachher: 18:26:39.741
Dauer : 81 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/02//scene_pcON_20240302_182639.txt'
Mar 2 18:23:01 srv4hai CRON[9599]: (root) CMD (/etc/linetest/linetest.sh) Mar 2 18:23:12 srv4hai dhcpd[5037]: DHCPINFORM from 192.168.12.20 via enp2s0 Mar 2 18:23:12 srv4hai dhcpd[5037]: DHCPACK to 192.168.12.20 (08:92:04:5f:12:67) via enp2s0 Mar 2 18:23:41 srv4hai postfix/smtpd[9612]: connect from unknown[193.222.96.116] Mar 2 18:23:41 srv4hai postfix/smtpd[9612]: disconnect from unknown[193.222.96.116] ehlo=1 quit=1 commands=2 Mar 2 18:23:47 srv4hai ping_SP[1207]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1709400227 - 'ping_SP_1' Mar 2 18:23:47 srv4hai ping_SP[1207]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Mar 2 18:24:01 srv4hai CRON[9637]: (root) CMD (/etc/linetest/linetest.sh) Mar 2 18:24:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9643, secured, session= Mar 2 18:24:02 srv4hai dovecot: imap(miglincit)<9643> : Logged out in=471 out=1233 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Mar 2 18:24:23 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Mar 2 18:24:24 srv4hai fetchmail[1651]: 39132 messages (39132 seen) for tmiglinci at mail.akis.at (-1061465885 octets). Mar 2 18:24:25 srv4hai fetchmail[1651]: 9956 messages (9956 seen) for srozum at mail.akis.at (1202159683 octets). Mar 2 18:24:26 srv4hai fetchmail[1651]: 21975 messages (21975 seen) for mrozum at mail.akis.at (-501326724 octets). Mar 2 18:24:26 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets). Mar 2 18:25:00 srv4hai sntp[9661]: sntp 4.2.8p12@1.3728-o (1) Mar 2 18:25:00 srv4hai sntp[9661]: 2024-03-02 18:25:00.651251 (-0100) -0.000535 +/- 0.000448 time.google.com 216.239.35.12 s1 no-leap Mar 2 18:25:01 srv4hai ping_SP[1207]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1709400301 - 'ping_SP_1' Mar 2 18:25:01 srv4hai ping_SP[1207]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Mar 2 18:25:01 srv4hai CRON[9681]: (root) CMD (/etc/linetest/linetest.sh) Mar 2 18:25:56 srv4hai dhcpd[5037]: DHCPDISCOVER from e8:db:84:a8:91:c9 via enp2s0 Mar 2 18:25:56 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.117 to e8:db:84:a8:91:c9 via enp2s0 Mar 2 18:25:56 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Mar 2 18:25:56 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.117 Mar 2 18:25:56 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-17 Mar 2 18:25:56 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.117 (192.168.12.252) from e8:db:84:a8:91:c9 via enp2s0 Mar 2 18:25:56 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.117 to e8:db:84:a8:91:c9 via enp2s0 Mar 2 18:25:56 srv4hai named[14530]: client @0x7fc3140a1100 192.168.12.252#48763/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-17.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Mar 2 18:25:56 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#47319/key rndc-key: signer "rndc-key" approved Mar 2 18:25:56 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#47319/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-17.viehai.at' TXT Mar 2 18:25:56 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#47319/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-17.viehai.at' TXT "00b598fea4f634c10c92531f66051bcfce" Mar 2 18:25:56 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#47319/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-17.viehai.at' A Mar 2 18:25:56 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#47319/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-17.viehai.at' A 192.168.12.117 Mar 2 18:25:56 srv4hai dhcpd[5037]: Added new forward map from shelly-17.viehai.at to 192.168.12.117 Mar 2 18:25:56 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#33431/key rndc-key: signer "rndc-key" approved Mar 2 18:25:56 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#33431/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '117.12.168.192.in-addr.arpa' PTR Mar 2 18:25:56 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#33431/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '117.12.168.192.in-addr.arpa' PTR shelly-17.viehai.at. Mar 2 18:25:56 srv4hai dhcpd[5037]: Added reverse map from 117.12.168.192.in-addr.arpa. to shelly-17.viehai.at Mar 2 18:25:56 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-17' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Mar 2 18:25:57 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-17' - shIP/2:'192.168.12.117' Mar 2 18:25:57 srv4hai conf_shelly.sh: SHELLY: usage/name 'Küche Licht Herdzeile' already set for '192.168.12.117' Mar 2 18:25:57 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(0)' - allready transmitted - skipping Mar 2 18:25:57 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(1)' - allready transmitted - skipping Mar 2 18:25:57 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(2)' - allready transmitted - skipping Mar 2 18:25:57 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(3)' - allready transmitted - skipping Mar 2 18:25:57 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(4)' - allready transmitted - skipping Mar 2 18:25:57 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(5)' - allready transmitted - skipping Mar 2 18:25:57 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(6)' - allready transmitted - skipping Mar 2 18:25:57 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(7)' - allready transmitted - skipping Mar 2 18:25:59 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:0 ON : MISSING Mar 2 18:25:59 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:1 ON : MISSING Mar 2 18:25:59 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:2 ON : MISSING Mar 2 18:25:59 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:3 ON : MISSING Mar 2 18:25:59 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:0 OFF: MISSING Mar 2 18:25:59 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:1 OFF: MISSING Mar 2 18:25:59 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:2 OFF: MISSING Mar 2 18:25:59 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:3 OFF: MISSING Mar 2 18:26:01 srv4hai CRON[9879]: (root) CMD (/etc/linetest/linetest.sh) Mar 2 18:26:14 srv4hai ping_SP[1207]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1709400374 - 'ping_SP_1' Mar 2 18:26:14 srv4hai ping_SP[1207]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Mar 2 18:26:29 srv4hai activate_scenario[9911]: SHELLY scenario: 'buero_UM(buero_um)' started Mar 2 18:26:29 srv4hai activate_scenario[9911]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht' Mar 2 18:26:29 srv4hai activate_scenario[9911]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht' Mar 2 18:26:29 srv4hai postfix/pickup[7349]: 3C68960244: uid=33 from= Mar 2 18:26:29 srv4hai postfix/cleanup[9964]: 3C68960244: message-id=<20240302172629.3C68960244@mail.viehai.at> Mar 2 18:26:29 srv4hai postfix/qmgr[28610]: 3C68960244: from= , size=7702, nrcpt=1 (queue active) Mar 2 18:26:29 srv4hai activate_scenario[9911]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle' Mar 2 18:26:29 srv4hai proc_url[9983]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/02/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht'' Mar 2 18:26:29 srv4hai postfix/local[9977]: 3C68960244: to= , orig_to= , relay=local, delay=0.08, delays=0.05/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null") Mar 2 18:26:29 srv4hai postfix/cleanup[9964]: 4968360245: message-id=<20240302172629.4968360245@mail.viehai.at> Mar 2 18:26:29 srv4hai postfix/bounce[9978]: 3C68960244: sender non-delivery notification: 4968360245 Mar 2 18:26:29 srv4hai postfix/qmgr[28610]: 4968360245: from=<>, size=9621, nrcpt=1 (queue active) Mar 2 18:26:29 srv4hai postfix/qmgr[28610]: 3C68960244: removed Mar 2 18:26:29 srv4hai activate_scenario[9911]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle' Mar 2 18:26:29 srv4hai proc_url[9996]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/02/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht'' Mar 2 18:26:29 srv4hai postfix/local[9977]: 4968360245: to= , relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Mar 2 18:26:29 srv4hai postfix/qmgr[28610]: 4968360245: removed Mar 2 18:26:29 srv4hai activate_scenario[9911]: SHELLY scenario: 'buero_UM(buero_um)' took 139 msec, shelly-40:'Thomas Büro Licht' Mar 2 18:26:39 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Mar 2 18:26:39 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.10 Mar 2 18:26:39 srv4hai dhcpd[5037]: execute_statement argv[2] = pchai7x Mar 2 18:26:39 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0 Mar 2 18:26:39 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0 Mar 2 18:26:39 srv4hai named[14530]: client @0x7fc31c0d0140 192.168.12.252#38813/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Mar 2 18:26:39 srv4hai named[14530]: client @0x7fc31405af30 192.168.12.252#57591/key rndc-key: signer "rndc-key" approved Mar 2 18:26:39 srv4hai named[14530]: client @0x7fc31405af30 192.168.12.252#57591/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT Mar 2 18:26:39 srv4hai named[14530]: client @0x7fc31405af30 192.168.12.252#57591/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52" Mar 2 18:26:39 srv4hai named[14530]: client @0x7fc31405af30 192.168.12.252#57591/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A Mar 2 18:26:39 srv4hai named[14530]: client @0x7fc31405af30 192.168.12.252#57591/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10 Mar 2 18:26:39 srv4hai dhcpd[5037]: Added new forward map from pchai7x.viehai.at to 192.168.12.10 Mar 2 18:26:39 srv4hai named[14530]: client @0x7fc32865edd0 192.168.12.252#42373/key rndc-key: signer "rndc-key" approved Mar 2 18:26:39 srv4hai named[14530]: client @0x7fc32865edd0 192.168.12.252#42373/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR Mar 2 18:26:39 srv4hai named[14530]: client @0x7fc32865edd0 192.168.12.252#42373/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. Mar 2 18:26:39 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x' Mar 2 18:26:39 srv4hai dhcpd[5037]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at Mar 2 18:26:39 srv4hai activate_scenario[10042]: SHELLY scenario: 'pcON(pcon)' started Mar 2 18:26:39 srv4hai activate_scenario[10042]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'
finished