activate_scenario.sh
Mon Mar 4 08:59:21 CET 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/03/04/_0.log)

vorher: 08:59:21.188

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: 08:59:21.220
Dauer: 32 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 08:59:21.167
nachher: 08:59:21.226
Dauer : 60 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/04//scene_pcON_20240304_085921.txt'


syslog

Mar  4 08:56:01 srv4hai CRON[10589]: (root) CMD (/etc/linetest/linetest.sh)
Mar  4 08:56:11 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10595, secured, session=
Mar  4 08:56:11 srv4hai dovecot: imap(miglincit)<10595>: Logged out in=545 out=957 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  4 08:56:18 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10598, secured, session=
Mar  4 08:56:18 srv4hai dovecot: imap(miglincit)<10598>: Logged out in=235 out=210398 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  4 08:56:45 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10605, secured, session=<0NcnEdESdNwAAAAAAAAAAAAAAAAAAAAB>
Mar  4 08:56:45 srv4hai dovecot: imap(miglincit)<10605><0NcnEdESdNwAAAAAAAAAAAAAAAAAAAAB>: Logged out in=578 out=963 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  4 08:56:49 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10607, secured, session=<3IdpEdESdtwAAAAAAAAAAAAAAAAAAAAB>
Mar  4 08:56:50 srv4hai dovecot: imap(miglincit)<10607><3IdpEdESdtwAAAAAAAAAAAAAAAAAAAAB>: Logged out in=44 out=183076 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  4 08:56:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10612, secured, session=
Mar  4 08:56:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10613, secured, session=
Mar  4 08:56:50 srv4hai dovecot: imap(miglincit)<10612>: Logged out in=702 out=47057 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=23446 body_count=0 body_bytes=0
Mar  4 08:56:50 srv4hai dovecot: imap(miglincit)<10613>: Logged out in=696 out=186344 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  4 08:57:01 srv4hai CRON[10618]: (root) CMD (/etc/linetest/linetest.sh)
Mar  4 08:58:01 srv4hai CRON[10634]: (root) CMD (/etc/linetest/linetest.sh)
Mar  4 08:58:23 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10646, secured, session=
Mar  4 08:58:23 srv4hai dovecot: imap(miglincit)<10646>: Logged out in=443 out=57561 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=461 body_count=1 body_bytes=55465
Mar  4 08:58:26 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10648, secured, session=
Mar  4 08:58:26 srv4hai dovecot: imap(miglincit)<10648>: Logged out in=132 out=1035 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  4 08:58:31 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10652, secured, session=
Mar  4 08:58:31 srv4hai dovecot: imap(miglincit)<10652>: Logged out in=397 out=179815 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=676 body_count=1 body_bytes=177481
Mar  4 08:58:31 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10656, secured, session=
Mar  4 08:58:31 srv4hai dovecot: imap(miglincit)<10656>: Logged out in=78 out=748 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  4 08:58:31 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10658, secured, session=
Mar  4 08:58:31 srv4hai dovecot: imap(miglincit)<10658>: Logged out in=684 out=16626 deleted=0 expunged=0 trashed=0 hdr_count=2 hdr_bytes=2736 body_count=0 body_bytes=0
Mar  4 08:58:35 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10663, secured, session=
Mar  4 08:58:35 srv4hai dovecot: imap(miglincit)<10663>: Logged out in=409 out=2025 deleted=0 expunged=0 trashed=0 hdr_count=2 hdr_bytes=549 body_count=0 body_bytes=0
Mar  4 08:58:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10665, secured, session=
Mar  4 08:58:37 srv4hai dovecot: imap(miglincit)<10665>: Logged out in=431 out=3693 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=362 body_count=1 body_bytes=2009
Mar  4 08:58:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10667, secured, session=
Mar  4 08:58:37 srv4hai dovecot: imap(miglincit)<10667>: Logged out in=433 out=57341 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=461 body_count=1 body_bytes=55465
Mar  4 08:58:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10671, secured, session=
Mar  4 08:58:47 srv4hai dovecot: imap(miglincit)<10671>: Logged out in=702 out=49210 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=25633 body_count=0 body_bytes=0
Mar  4 08:58:56 srv4hai dhcpd[5037]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Mar  4 08:58:56 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Mar  4 08:58:56 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar  4 08:58:56 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.139
Mar  4 08:58:56 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-39
Mar  4 08:58:57 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Mar  4 08:58:57 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Mar  4 08:58:57 srv4hai named[14530]: client @0x7fc32810f2a0 192.168.12.252#58339/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar  4 08:58:57 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#36721/key rndc-key: signer "rndc-key" approved
Mar  4 08:58:57 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#36721/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Mar  4 08:58:57 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#36721/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Mar  4 08:58:57 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#36721/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Mar  4 08:58:57 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#36721/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Mar  4 08:58:57 srv4hai dhcpd[5037]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Mar  4 08:58:57 srv4hai named[14530]: client @0x7fc328166000 192.168.12.252#53385/key rndc-key: signer "rndc-key" approved
Mar  4 08:58:57 srv4hai named[14530]: client @0x7fc328166000 192.168.12.252#53385/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Mar  4 08:58:57 srv4hai named[14530]: client @0x7fc328166000 192.168.12.252#53385/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.
Mar  4 08:58:57 srv4hai dhcpd[5037]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Mar  4 08:58:57 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Mar  4 08:58:57 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Mar  4 08:58:57 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=10.500000&hum=62.200000&id=C049EF8AC9D8&batt=100&volt=6.710000
Mar  4 08:58:57 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/03/shelly-39_20240304.csv'
Mar  4 08:58:57 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/03/shelly-39_20240304.csv' modifed 489s ago - EXIT
Mar  4 08:58:57 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Mar  4 08:58:57 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}'
Mar  4 08:58:57 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 '.''
Mar  4 08:58:57 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Mar  4 08:58:57 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Mar  4 08:58:57 srv4hai nmbd[30864]: [2024/03/04 08:58:57.548903,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Mar  4 08:58:57 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Mar  4 08:58:57 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Mar  4 08:58:57 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Mar  4 08:59:01 srv4hai CRON[10762]: (root) CMD (/etc/linetest/linetest.sh)
Mar  4 08:59:17 srv4hai postfix/anvil[10583]: statistics: max connection rate 1/60s for (smtp:193.222.96.116) at Mar  4 08:55:43
Mar  4 08:59:17 srv4hai postfix/anvil[10583]: statistics: max connection count 1 for (smtp:193.222.96.116) at Mar  4 08:55:43
Mar  4 08:59:17 srv4hai postfix/anvil[10583]: statistics: max cache size 2 at Mar  4 08:55:56
Mar  4 08:59:21 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar  4 08:59:21 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.10
Mar  4 08:59:21 srv4hai dhcpd[5037]: execute_statement argv[2] = pchai7x
Mar  4 08:59:21 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Mar  4 08:59:21 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Mar  4 08:59:21 srv4hai named[14530]: client @0x7fc3240894a0 192.168.12.252#36667/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar  4 08:59:21 srv4hai named[14530]: client @0x7fc3180de750 192.168.12.252#56033/key rndc-key: signer "rndc-key" approved
Mar  4 08:59:21 srv4hai named[14530]: client @0x7fc3180de750 192.168.12.252#56033/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Mar  4 08:59:21 srv4hai named[14530]: client @0x7fc3180de750 192.168.12.252#56033/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Mar  4 08:59:21 srv4hai named[14530]: client @0x7fc3180de750 192.168.12.252#56033/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Mar  4 08:59:21 srv4hai named[14530]: client @0x7fc3180de750 192.168.12.252#56033/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Mar  4 08:59:21 srv4hai dhcpd[5037]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Mar  4 08:59:21 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Mar  4 08:59:21 srv4hai named[14530]: client @0x7fc3200bd520 192.168.12.252#55879/key rndc-key: signer "rndc-key" approved
Mar  4 08:59:21 srv4hai named[14530]: client @0x7fc3200bd520 192.168.12.252#55879/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Mar  4 08:59:21 srv4hai named[14530]: client @0x7fc3200bd520 192.168.12.252#55879/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  4 08:59:21 srv4hai dhcpd[5037]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Mar  4 08:59:21 srv4hai activate_scenario[10776]: SHELLY scenario: 'pcON(pcon)' started
Mar  4 08:59:21 srv4hai activate_scenario[10776]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished