activate_scenario.sh
Tue Jul 9 18:15:05 CEST 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x
vorher: 18:15:05.438
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:15:05.471
Dauer: 32 msec
phName: 'origin:'dhcpcommit.sh-pchai7x''
urls : 1
vorher : 18:15:05.418
nachher: 18:15:05.477
Dauer : 58 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/09//scene_pcON_20240709_181505.txt'
Jul 9 18:12:01 srv4hai CRON[13861]: (root) CMD (/etc/linetest/linetest.sh) Jul 9 18:12:14 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Jul 9 18:12:14 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Jul 9 18:12:14 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jul 9 18:12:14 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139 Jul 9 18:12:14 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39 Jul 9 18:12:14 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Jul 9 18:12:14 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Jul 9 18:12:14 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#55677/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jul 9 18:12:14 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#35535/key rndc-key: signer "rndc-key" approved Jul 9 18:12:14 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#35535/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Jul 9 18:12:14 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#35535/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Jul 9 18:12:14 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#35535/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Jul 9 18:12:14 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#35535/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Jul 9 18:12:14 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Jul 9 18:12:14 srv4hai named[30406]: client @0x7f93501490e0 192.168.12.252#54261/key rndc-key: signer "rndc-key" approved Jul 9 18:12:14 srv4hai named[30406]: client @0x7f93501490e0 192.168.12.252#54261/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Jul 9 18:12:14 srv4hai named[30406]: client @0x7f93501490e0 192.168.12.252#54261/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '139.12.168.192.in-addr.arpa' PTR shelly-39.viehai.at. Jul 9 18:12:14 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Jul 9 18:12:14 srv4hai common[13870]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jul 9 18:12:14 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Jul 9 18:12:16 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Jul 9 18:12:16 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Jul 9 18:12:16 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' Jul 9 18:12:16 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -X -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.'' Jul 9 18:12:16 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Jul 9 18:12:16 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Jul 9 18:12:22 srv4hai common[13937]: SHELLY common.sh inkludiert von ./ht_shelly.sh Jul 9 18:12:22 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=30.800000&hum=50.600000&id=C049EF8AC9D8&batt=100&volt=6.780000 Jul 9 18:12:22 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/07/shelly-39_20240709.csv' Jul 9 18:12:22 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Jul 9 18:12:23 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Jul 9 18:12:23 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' Jul 9 18:12:23 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -X -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.'' Jul 9 18:12:23 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Jul 9 18:12:23 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Jul 9 18:12:23 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 30.8° - 50.6% Jul 9 18:12:23 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 30.8°/31.3° - 50.6%/49.3% - SAVED Jul 9 18:12:23 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'° Jul 9 18:12:23 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: dweetIO='{#012 "this": "succeeded",#012 "by": "dweeting",#012 "the": "dweet",#012 "with": {#012 "thing": "viehai-39",#012 "created": "2024-07-09T16:12:23.643Z",#012 "content": {#012 "temp": 30.8,#012 "hum": 50.6,#012 "batt": 100,#012 "csvF": "shelly-39_20240709.csv"#012 },#012 "transaction": "a282de18-75f6-493b-812d-9c5185b8d55b"#012 }#012}'° Jul 9 18:12:42 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1720541562 - 'ping_SP_0' Jul 9 18:12:42 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 9 18:12:57 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Jul 9 18:12:58 srv4hai fetchmail[1651]: 48317 messages (48316 seen) for tmiglinci at mail.akis.at (-306807235 octets). Jul 9 18:12:58 srv4hai postfix/smtpd[14054]: warning: database /etc/aliases.db is older than source file /etc/aliases Jul 9 18:12:58 srv4hai postfix/smtpd[14054]: connect from localhost[127.0.0.1] Jul 9 18:12:58 srv4hai postfix/smtpd[14054]: 68A576004E: client=localhost[127.0.0.1] Jul 9 18:12:58 srv4hai postfix/cleanup[14056]: 68A576004E: message-id=<20240709160800.b9a921fc62be0554@backercity.com> Jul 9 18:12:58 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:48317 of 48317 (13022 octets) not flushed Jul 9 18:12:58 srv4hai postfix/qmgr[8566]: 68A576004E: from=, size=13273, nrcpt=1 (queue active) Jul 9 18:12:58 srv4hai postfix/local[14057]: warning: database /etc/aliases.db is older than source file /etc/aliases Jul 9 18:12:58 srv4hai postfix/local[14057]: 68A576004E: to= , relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Jul 9 18:12:58 srv4hai postfix/qmgr[8566]: 68A576004E: removed Jul 9 18:12:58 srv4hai postfix/smtpd[14054]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 Jul 9 18:12:58 srv4hai fetchmail[1651]: 10425 messages (10425 seen) for srozum at mail.akis.at (1251423200 octets). Jul 9 18:12:59 srv4hai fetchmail[1651]: 24645 messages (24645 seen) for mrozum at mail.akis.at (22152080 octets). Jul 9 18:13:00 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets). Jul 9 18:13:01 srv4hai CRON[14060]: (root) CMD (/etc/linetest/linetest.sh) Jul 9 18:13:55 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1720541635 - 'ping_SP_0' Jul 9 18:13:55 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 9 18:14:01 srv4hai CRON[14096]: (root) CMD (/etc/linetest/linetest.sh) Jul 9 18:14:55 srv4hai activate_scenario[14107]: SHELLY scenario: 'buero_UM(buero_um)' started Jul 9 18:14:55 srv4hai activate_scenario[14107]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht' Jul 9 18:14:55 srv4hai activate_scenario[14107]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht' Jul 9 18:14:55 srv4hai postfix/pickup[3913]: 8B0786018B: uid=33 from= Jul 9 18:14:55 srv4hai postfix/cleanup[14160]: 8B0786018B: message-id=<20240709161455.8B0786018B@mail.viehai.at> Jul 9 18:14:55 srv4hai postfix/qmgr[8566]: 8B0786018B: from= , size=10924, nrcpt=1 (queue active) Jul 9 18:14:55 srv4hai postfix/local[14173]: warning: database /etc/aliases.db is older than source file /etc/aliases Jul 9 18:14:55 srv4hai activate_scenario[14107]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle' Jul 9 18:14:55 srv4hai proc_url[14178]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/09/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht'' Jul 9 18:14:55 srv4hai postfix/local[14173]: 8B0786018B: to= , orig_to= , relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Jul 9 18:14:55 srv4hai postfix/cleanup[14160]: 917D4601BE: message-id=<20240709161455.917D4601BE@mail.viehai.at> Jul 9 18:14:55 srv4hai activate_scenario[14107]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle' Jul 9 18:14:55 srv4hai proc_url[14189]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/09/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht'' Jul 9 18:14:55 srv4hai postfix/bounce[14177]: 8B0786018B: sender non-delivery notification: 917D4601BE Jul 9 18:14:55 srv4hai postfix/qmgr[8566]: 917D4601BE: from=<>, size=12846, nrcpt=1 (queue active) Jul 9 18:14:55 srv4hai postfix/qmgr[8566]: 8B0786018B: removed Jul 9 18:14:55 srv4hai postfix/local[14173]: 917D4601BE: to= , relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Jul 9 18:14:55 srv4hai postfix/qmgr[8566]: 917D4601BE: removed Jul 9 18:14:55 srv4hai activate_scenario[14107]: SHELLY scenario: 'buero_UM(buero_um)' took 76 msec, shelly-40:'Thomas Büro Licht' Jul 9 18:15:01 srv4hai CRON[14234]: (root) CMD (/etc/linetest/linetest.sh) Jul 9 18:15:05 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Jul 9 18:15:05 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.10 Jul 9 18:15:05 srv4hai dhcpd[30731]: execute_statement argv[2] = pchai7x Jul 9 18:15:05 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0 Jul 9 18:15:05 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0 Jul 9 18:15:05 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#36935/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jul 9 18:15:05 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#46283/key rndc-key: signer "rndc-key" approved Jul 9 18:15:05 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#46283/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT Jul 9 18:15:05 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#46283/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52" Jul 9 18:15:05 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#46283/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A Jul 9 18:15:05 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#46283/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10 Jul 9 18:15:05 srv4hai dhcpd[30731]: Added new forward map from pchai7x.viehai.at to 192.168.12.10 Jul 9 18:15:05 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x' Jul 9 18:15:05 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#54175/key rndc-key: signer "rndc-key" approved Jul 9 18:15:05 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#54175/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR Jul 9 18:15:05 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#54175/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. Jul 9 18:15:05 srv4hai dhcpd[30731]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at Jul 9 18:15:05 srv4hai activate_scenario[14245]: SHELLY scenario: 'pcON(pcon)' started Jul 9 18:15:05 srv4hai activate_scenario[14245]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'
finished