activate_scenario.sh
Mon Feb 17 10:36:46 CET 2025
scenario: pcON
origin: dhcpcommit.sh-pchai7x
vorher: 10:36:46.948
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: 10:36:46.982
Dauer: 34 msec
phName: 'origin:'dhcpcommit.sh-pchai7x''
urls : 1
vorher : 10:36:46.903
nachher: 10:36:46.989
Dauer : 86 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/17//scene_pcON_20250217_103646.txt'
Feb 17 10:33:00 srv4hai common[20099]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:33:00 srv4hai systemd[1]: Started Run anacron jobs. Feb 17 10:33:00 srv4hai anacron[20103]: Anacron 2.3 started on 2025-02-17 Feb 17 10:33:00 srv4hai anacron[20103]: Normal exit (0 jobs run) Feb 17 10:33:00 srv4hai systemd[1]: anacron.service: Succeeded. Feb 17 10:33:00 srv4hai common[20125]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:33:00 srv4hai common[20149]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:33:01 srv4hai CRON[20174]: (root) CMD (/etc/linetest/linetest.sh) Feb 17 10:33:09 srv4hai dhcpd[4995]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Feb 17 10:33:09 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Feb 17 10:33:09 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Feb 17 10:33:09 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.139 Feb 17 10:33:09 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-39 Feb 17 10:33:09 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Feb 17 10:33:09 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Feb 17 10:33:09 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#42581/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 17 10:33:09 srv4hai named[30406]: client @0x7f93100a5fe0 192.168.12.252#58179/key rndc-key: signer "rndc-key" approved Feb 17 10:33:09 srv4hai named[30406]: client @0x7f93100a5fe0 192.168.12.252#58179/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Feb 17 10:33:09 srv4hai named[30406]: client @0x7f93100a5fe0 192.168.12.252#58179/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Feb 17 10:33:09 srv4hai named[30406]: client @0x7f93100a5fe0 192.168.12.252#58179/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Feb 17 10:33:09 srv4hai named[30406]: client @0x7f93100a5fe0 192.168.12.252#58179/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Feb 17 10:33:09 srv4hai dhcpd[4995]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Feb 17 10:33:09 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#33285/key rndc-key: signer "rndc-key" approved Feb 17 10:33:09 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#33285/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Feb 17 10:33:09 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#33285/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. Feb 17 10:33:09 srv4hai dhcpd[4995]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Feb 17 10:33:09 srv4hai common[20182]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Feb 17 10:33:09 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Feb 17 10:33:09 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Feb 17 10:33:09 srv4hai common[20199]: SHELLY common.sh inkludiert von ./ht_shelly.sh Feb 17 10:33:09 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=3.600000&hum=51.300000&id=C049EF8AC9D8&batt=88&volt=5.770000 Feb 17 10:33:09 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2025/02/shelly-39_20250217.csv' Feb 17 10:33:09 srv4hai ht_shelly.sh: SHELLY - 'shelly-39_20250217.csv' modifed 367s ago - EXIT Feb 17 10:33:09 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Feb 17 10:33:09 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}' Feb 17 10:33:09 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -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 '.'' Feb 17 10:33:09 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Feb 17 10:33:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20269, secured, session= Feb 17 10:33:13 srv4hai dovecot: imap(miglincit)<20269> : Logged out in=397 out=3285 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=451 body_count=1 body_bytes=1171 Feb 17 10:33:39 srv4hai common[20284]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:33:39 srv4hai common[20308]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:33:59 srv4hai common[20343]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:33:59 srv4hai common[20368]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:34:00 srv4hai common[20392]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:34:00 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1739784840 - 'ping_SP_0' Feb 17 10:34:00 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 17 10:34:01 srv4hai CRON[20431]: (root) CMD (/etc/linetest/linetest.sh) Feb 17 10:34:01 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20436, secured, session=<93R5OVMuEsYAAAAAAAAAAAAAAAAAAAAB> Feb 17 10:34:01 srv4hai dovecot: imap(miglincit)<20436><93R5OVMuEsYAAAAAAAAAAAAAAAAAAAAB>: Logged out in=399 out=88964 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=539 body_count=1 body_bytes=82762 Feb 17 10:34:01 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20438, secured, session=<5sh7OVMuFMYAAAAAAAAAAAAAAAAAAAAB> Feb 17 10:34:02 srv4hai dovecot: imap(miglincit)<20438><5sh7OVMuFMYAAAAAAAAAAAAAAAAAAAAB>: Logged out in=399 out=267579 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=539 body_count=1 body_bytes=261368 Feb 17 10:34:02 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20441, secured, session= Feb 17 10:34:02 srv4hai dovecot: imap(miglincit)<20441> : Logged out in=399 out=33273 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=539 body_count=1 body_bytes=27071 Feb 17 10:34:02 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20445, secured, session= Feb 17 10:34:02 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20446, secured, session= Feb 17 10:34:02 srv4hai dovecot: imap(miglincit)<20445> : Logged out in=399 out=150161 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=539 body_count=1 body_bytes=143958 Feb 17 10:34:02 srv4hai dovecot: imap(miglincit)<20446> : Logged out in=399 out=56018 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=539 body_count=1 body_bytes=49816 Feb 17 10:34:02 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20450, secured, session= Feb 17 10:34:02 srv4hai dovecot: imap(miglincit)<20450> : Logged out in=399 out=46596 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=539 body_count=1 body_bytes=40394 Feb 17 10:34:02 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20452, secured, session=<+FCGOVMuHsYAAAAAAAAAAAAAAAAAAAAB> Feb 17 10:34:02 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20454, secured, session= Feb 17 10:34:02 srv4hai dovecot: imap(miglincit)<20452><+FCGOVMuHsYAAAAAAAAAAAAAAAAAAAAB>: Logged out in=399 out=106766 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=539 body_count=1 body_bytes=100563 Feb 17 10:34:02 srv4hai dovecot: imap(miglincit)<20454> : Logged out in=399 out=130321 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=539 body_count=1 body_bytes=124118 Feb 17 10:34:02 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20456, secured, session= Feb 17 10:34:02 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20458, secured, session= Feb 17 10:34:02 srv4hai dovecot: imap(miglincit)<20456> : Logged out in=399 out=100610 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=539 body_count=1 body_bytes=94400 Feb 17 10:34:02 srv4hai dovecot: imap(miglincit)<20458> : Logged out in=400 out=44670 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=539 body_count=1 body_bytes=38467 Feb 17 10:34:03 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20460, secured, session=<0zaNOVMuJsYAAAAAAAAAAAAAAAAAAAAB> Feb 17 10:34:03 srv4hai dovecot: imap(miglincit)<20460><0zaNOVMuJsYAAAAAAAAAAAAAAAAAAAAB>: Logged out in=400 out=34244 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=539 body_count=1 body_bytes=28033 Feb 17 10:34:03 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20463, secured, session= Feb 17 10:34:03 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20464, secured, session= Feb 17 10:34:03 srv4hai dovecot: imap(miglincit)<20463> : Logged out in=400 out=28987 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=539 body_count=1 body_bytes=22784 Feb 17 10:34:03 srv4hai dovecot: imap(miglincit)<20464> : Logged out in=400 out=58690 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=539 body_count=1 body_bytes=52487 Feb 17 10:34:03 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20468, secured, session= Feb 17 10:34:03 srv4hai dovecot: imap(miglincit)<20468> : Logged out in=400 out=27721 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=539 body_count=1 body_bytes=21510 Feb 17 10:34:07 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20474, secured, session= Feb 17 10:34:07 srv4hai dovecot: imap(miglincit)<20474> : Logged out in=1934 out=1366 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 17 10:34:16 srv4hai postfix/smtpd[20477]: connect from unknown[92.118.39.65] Feb 17 10:34:20 srv4hai postfix/smtpd[20477]: warning: unknown[92.118.39.65]: SASL PLAIN authentication failed: Feb 17 10:34:20 srv4hai postfix/smtpd[20477]: disconnect from unknown[92.118.39.65] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 17 10:34:39 srv4hai common[20489]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:34:39 srv4hai common[20513]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:35:00 srv4hai common[20540]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:35:00 srv4hai common[20564]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:35:00 srv4hai common[20588]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:35:01 srv4hai CRON[20615]: (root) CMD (/etc/linetest/linetest.sh) Feb 17 10:35:13 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1739784913 - 'ping_SP_0' Feb 17 10:35:13 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 17 10:35:33 srv4hai postfix/smtpd[20477]: connect from ns3244392.ip-57-129-64.eu[57.129.64.219] Feb 17 10:35:33 srv4hai postfix/smtpd[20477]: warning: non-SMTP command from ns3244392.ip-57-129-64.eu[57.129.64.219]: GET / HTTP/1.1 Feb 17 10:35:33 srv4hai postfix/smtpd[20477]: disconnect from ns3244392.ip-57-129-64.eu[57.129.64.219] unknown=0/1 commands=0/1 Feb 17 10:35:39 srv4hai common[20646]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:35:39 srv4hai common[20670]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:36:00 srv4hai common[20697]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:36:00 srv4hai common[20721]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:36:00 srv4hai common[20746]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:36:01 srv4hai CRON[20771]: (root) CMD (/etc/linetest/linetest.sh) Feb 17 10:36:27 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1739784987 - 'ping_SP_0' Feb 17 10:36:27 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 17 10:36:39 srv4hai common[20802]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:36:39 srv4hai common[20826]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 17 10:36:46 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Feb 17 10:36:46 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.10 Feb 17 10:36:46 srv4hai dhcpd[4995]: execute_statement argv[2] = pchai7x Feb 17 10:36:46 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0 Feb 17 10:36:46 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0 Feb 17 10:36:46 srv4hai named[30406]: client @0x7f935010f2a0 192.168.12.252#40829/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 17 10:36:46 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#36531/key rndc-key: signer "rndc-key" approved Feb 17 10:36:46 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#36531/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT Feb 17 10:36:46 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#36531/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52" Feb 17 10:36:46 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#36531/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A Feb 17 10:36:46 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#36531/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10 Feb 17 10:36:46 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x' Feb 17 10:36:46 srv4hai dhcpd[4995]: Added new forward map from pchai7x.viehai.at to 192.168.12.10 Feb 17 10:36:46 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#51197/key rndc-key: signer "rndc-key" approved Feb 17 10:36:46 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#51197/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR Feb 17 10:36:46 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#51197/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. Feb 17 10:36:46 srv4hai dhcpd[4995]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at Feb 17 10:36:46 srv4hai activate_scenario[20857]: SHELLY scenario: 'pcON(pcon)' started Feb 17 10:36:46 srv4hai activate_scenario[20857]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'
finished