activate_scenario.sh
Fri Apr 19 09:39:36 CEST 2024
scenario: LOG_kommen
source: 192.168.12.103

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to ''

scenario: 'LOG_EIN' - 'LOG_kommen' - 'log_kommen'

scenario: 'LOG_EIN' - 'LOG_kommen' - 'log_kommen'

urls : 0
vorher : 09:39:36.053
nachher: 09:39:36.058
Dauer : 5 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/19//scene_LOG_kommen_20240419_093936.txt'


syslog

Apr 19 09:36:01 srv4hai CRON[5720]: (root) CMD (/etc/linetest/linetest.sh)
Apr 19 09:37:01 srv4hai CRON[5751]: (root) CMD (/etc/linetest/linetest.sh)
Apr 19 09:37:18 srv4hai dhcpd[28085]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Apr 19 09:37:18 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr 19 09:37:18 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr 19 09:37:18 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.139
Apr 19 09:37:18 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-39
Apr 19 09:37:18 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Apr 19 09:37:18 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr 19 09:37:18 srv4hai named[15509]: client @0x7f9310041d20 192.168.12.252#46361/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 19 09:37:18 srv4hai named[15509]: client @0x7f931c6d4af0 192.168.12.252#55883/key rndc-key: signer "rndc-key" approved
Apr 19 09:37:18 srv4hai named[15509]: client @0x7f931c6d4af0 192.168.12.252#55883/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Apr 19 09:37:18 srv4hai named[15509]: client @0x7f931c6d4af0 192.168.12.252#55883/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Apr 19 09:37:18 srv4hai named[15509]: client @0x7f931c6d4af0 192.168.12.252#55883/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Apr 19 09:37:18 srv4hai named[15509]: client @0x7f931c6d4af0 192.168.12.252#55883/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Apr 19 09:37:18 srv4hai dhcpd[28085]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Apr 19 09:37:18 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#42707/key rndc-key: signer "rndc-key" approved
Apr 19 09:37:18 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#42707/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Apr 19 09:37:18 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#42707/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.
Apr 19 09:37:18 srv4hai dhcpd[28085]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Apr 19 09:37:18 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr 19 09:37:18 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Apr 19 09:37:18 srv4hai common[5776]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Apr 19 09:37:18 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=8.300000&hum=60.200000&id=C049EF8AC9D8&batt=100&volt=6.610000
Apr 19 09:37:18 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-39_20240419.csv'
Apr 19 09:37:18 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Apr 19 09:37:18 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Apr 19 09:37:18 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}'
Apr 19 09:37:18 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Apr 19 09:37:18 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}'
Apr 19 09:37:21 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 '.''
Apr 19 09:37:21 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Apr 19 09:37:21 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Apr 19 09:37:21 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 '.''
Apr 19 09:37:21 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Apr 19 09:37:21 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Apr 19 09:37:21 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 8.3° - 60.2%
Apr 19 09:37:21 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 8.3°/7.7° - 60.2%/63% - SAVED
Apr 19 09:37:21 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt=''°
Apr 19 09:37:21 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-04-19T07:37:21.768Z",#012    "content": {#012      "temp": 8.3,#012      "hum": 60.2,#012      "batt": "",#012      "csvF": "shelly-39_20240419.csv"#012    },#012    "transaction": "6ff936c6-4040-498a-abc8-8e51df171a02"#012  }#012}'°
Apr 19 09:37:23 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 19 09:37:24 srv4hai fetchmail[1651]: 42457 messages (42456 seen) for tmiglinci at mail.akis.at (-758221229 octets).
Apr 19 09:37:24 srv4hai postfix/smtpd[5929]: connect from localhost[127.0.0.1]
Apr 19 09:37:24 srv4hai postfix/smtpd[5929]: 78C9D6011A: client=localhost[127.0.0.1]
Apr 19 09:37:24 srv4hai postfix/cleanup[5932]: 78C9D6011A: message-id=<7ed36d51-f086-429c-ab4b-714818c371ff@numbirds.com>
Apr 19 09:37:24 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:42457 of 42457 (84472 octets) not flushed
Apr 19 09:37:24 srv4hai postfix/qmgr[15291]: 78C9D6011A: from=, size=84785, nrcpt=1 (queue active)
Apr 19 09:37:24 srv4hai postfix/smtpd[5929]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr 19 09:37:24 srv4hai postfix/local[5933]: 78C9D6011A: to=, relay=local, delay=0.1, delays=0.07/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 19 09:37:24 srv4hai postfix/qmgr[15291]: 78C9D6011A: removed
Apr 19 09:37:25 srv4hai fetchmail[1651]: 10152 messages (10152 seen) for srozum at mail.akis.at (1226106410 octets).
Apr 19 09:37:25 srv4hai fetchmail[1651]: 22972 messages (22971 seen) for mrozum at mail.akis.at (-313123592 octets).
Apr 19 09:37:25 srv4hai postfix/smtpd[5929]: connect from localhost[127.0.0.1]
Apr 19 09:37:25 srv4hai postfix/smtpd[5929]: B69B96011A: client=localhost[127.0.0.1]
Apr 19 09:37:25 srv4hai postfix/cleanup[5932]: B69B96011A: message-id=
Apr 19 09:37:25 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:22972 of 22972 (188991 octets) not flushed
Apr 19 09:37:25 srv4hai postfix/qmgr[15291]: B69B96011A: from=, size=189288, nrcpt=1 (queue active)
Apr 19 09:37:25 srv4hai postfix/smtpd[5929]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr 19 09:37:25 srv4hai postfix/local[5933]: B69B96011A: to=, relay=local, delay=0.13, delays=0.1/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 19 09:37:25 srv4hai postfix/qmgr[15291]: B69B96011A: removed
Apr 19 09:37:26 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr 19 09:38:01 srv4hai CRON[5951]: (root) CMD (/etc/linetest/linetest.sh)
Apr 19 09:38:16 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=5965, secured, session=
Apr 19 09:38:16 srv4hai dovecot: imap(miglincit)<5965>: Logged out in=665 out=42958 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=18802 body_count=0 body_bytes=0
Apr 19 09:39:01 srv4hai CRON[5984]: (root) CMD (/etc/linetest/linetest.sh)
Apr 19 09:39:01 srv4hai CRON[5985]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Apr 19 09:39:01 srv4hai systemd[1]: Starting Clean php session files...
Apr 19 09:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Apr 19 09:39:01 srv4hai systemd[1]: Started Clean php session files.
Apr 19 09:39:36 srv4hai activate_scenario[6096]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Apr 19 09:39:36 srv4hai activate_scenario[6096]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'

finished