activate_scenario.sh
Tue Apr 2 06:57:25 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 : 06:57:25.566
nachher: 06:57:25.571
Dauer : 4 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/02//scene_LOG_kommen_20240402_065725.txt'


syslog

Apr  2 06:54:01 srv4hai CRON[14111]: (root) CMD (/etc/linetest/linetest.sh)
Apr  2 06:54:33 srv4hai named[15509]: resolver priming query complete
Apr  2 06:54:48 srv4hai ping_SP[10772]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712033688 - 'ping_SP_0'
Apr  2 06:54:48 srv4hai ping_SP[10772]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  2 06:54:50 srv4hai named[15509]: resolver priming query complete
Apr  2 06:54:58 srv4hai named[15509]: resolver priming query complete
Apr  2 06:54:59 srv4hai dhcpd[5037]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Apr  2 06:54:59 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr  2 06:54:59 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr  2 06:54:59 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.139
Apr  2 06:54:59 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-39
Apr  2 06:54:59 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Apr  2 06:54:59 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr  2 06:54:59 srv4hai named[15509]: client @0x7f930c0b39c0 192.168.12.252#39511/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  2 06:54:59 srv4hai named[15509]: client @0x7f93180107e0 192.168.12.252#40853/key rndc-key: signer "rndc-key" approved
Apr  2 06:54:59 srv4hai named[15509]: client @0x7f93180107e0 192.168.12.252#40853/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Apr  2 06:54:59 srv4hai named[15509]: client @0x7f93180107e0 192.168.12.252#40853/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Apr  2 06:54:59 srv4hai named[15509]: client @0x7f93180107e0 192.168.12.252#40853/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Apr  2 06:54:59 srv4hai named[15509]: client @0x7f93180107e0 192.168.12.252#40853/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Apr  2 06:54:59 srv4hai dhcpd[5037]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Apr  2 06:54:59 srv4hai named[15509]: client @0x7f930c0d2a30 192.168.12.252#47007/key rndc-key: signer "rndc-key" approved
Apr  2 06:54:59 srv4hai named[15509]: client @0x7f930c0d2a30 192.168.12.252#47007/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Apr  2 06:54:59 srv4hai named[15509]: client @0x7f930c0d2a30 192.168.12.252#47007/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  2 06:54:59 srv4hai dhcpd[5037]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Apr  2 06:54:59 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr  2 06:55:00 srv4hai grab_shelly.sh: SHELLY 'shelly-39':  OFFLINE, resp. not answering within connect-timeout 1.500000s
Apr  2 06:55:01 srv4hai CRON[14151]: (root) CMD (/etc/linetest/linetest.sh)
Apr  2 06:55:03 srv4hai postfix/smtpd[14156]: connect from unknown[45.227.254.119]
Apr  2 06:55:03 srv4hai postfix/smtpd[14156]: lost connection after CONNECT from unknown[45.227.254.119]
Apr  2 06:55:03 srv4hai postfix/smtpd[14156]: disconnect from unknown[45.227.254.119] commands=0/0
Apr  2 06:55:06 srv4hai common[14160]: SHELLY common.sh inkludiert
Apr  2 06:55:06 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=11.300000&hum=64&id=C049EF8AC9D8&batt=100&volt=6.710000
Apr  2 06:55:06 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-39_20240402.csv'
Apr  2 06:55:06 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Apr  2 06:55:06 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Apr  2 06:55:06 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  2 06:55:06 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  2 06:55:06 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Apr  2 06:55:06 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Apr  2 06:55:06 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 11.3° - 64%
Apr  2 06:55:06 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 11.3°/11.7° - 64%/64% - SAVED
Apr  2 06:55:06 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Apr  2 06:55:06 srv4hai named[15509]: resolver priming query complete
Apr  2 06:55:06 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-02T04:55:06.823Z",#012    "content": {#012      "temp": 11.3,#012      "hum": 64,#012      "batt": 100,#012      "csvF": "shelly-39_20240402.csv"#012    },#012    "transaction": "02b1a2ac-6583-460d-aad8-dd0d66124ee7"#012  }#012}'°
Apr  2 06:56:01 srv4hai CRON[14264]: (root) CMD (/etc/linetest/linetest.sh)
Apr  2 06:56:01 srv4hai ping_SP[10772]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712033761 - 'ping_SP_0'
Apr  2 06:56:01 srv4hai ping_SP[10772]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  2 06:56:02 srv4hai named[15509]: resolver priming query complete
Apr  2 06:56:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14287, secured, session=<1vn/7hUVCpoAAAAAAAAAAAAAAAAAAAAB>
Apr  2 06:56:48 srv4hai dovecot: imap(miglincit)<14287><1vn/7hUVCpoAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  2 06:57:01 srv4hai named[15509]: resolver priming query complete
Apr  2 06:57:01 srv4hai CRON[14291]: (root) CMD (/etc/linetest/linetest.sh)
Apr  2 06:57:01 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr  2 06:57:02 srv4hai fetchmail[1651]: 41076 messages (41075 seen) for tmiglinci at mail.akis.at (-873538381 octets).
Apr  2 06:57:02 srv4hai postfix/smtpd[14297]: connect from localhost[127.0.0.1]
Apr  2 06:57:02 srv4hai postfix/smtpd[14297]: 3921860119: client=localhost[127.0.0.1]
Apr  2 06:57:02 srv4hai postfix/cleanup[14300]: 3921860119: message-id=<0000000000008f52a7061515e00c@google.com>
Apr  2 06:57:02 srv4hai postfix/qmgr[15291]: 3921860119: from=, size=55153, nrcpt=1 (queue active)
Apr  2 06:57:02 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:41076 of 41076 (54909 octets) not flushed
Apr  2 06:57:02 srv4hai postfix/smtpd[14297]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr  2 06:57:02 srv4hai postfix/local[14302]: 3921860119: to=, relay=local, delay=0.1, delays=0.07/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  2 06:57:02 srv4hai postfix/qmgr[15291]: 3921860119: removed
Apr  2 06:57:02 srv4hai fetchmail[1651]: 10077 messages (10077 seen) for srozum at mail.akis.at (1216602893 octets).
Apr  2 06:57:03 srv4hai fetchmail[1651]: 22587 messages (22587 seen) for mrozum at mail.akis.at (-383657682 octets).
Apr  2 06:57:03 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr  2 06:57:06 srv4hai named[15509]: resolver priming query complete
Apr  2 06:57:15 srv4hai ping_SP[10772]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712033835 - 'ping_SP_0'
Apr  2 06:57:15 srv4hai ping_SP[10772]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  2 06:57:25 srv4hai activate_scenario[14326]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Apr  2 06:57:25 srv4hai activate_scenario[14326]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'

finished