activate_scenario.sh
Tue Feb 13 08:26:51 CET 2024
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/02/13/_0.log)

vorher: 08:26:51.230

http://192.168.12.108/relay/0?turn=toggle
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 08:26:51.271
Dauer: 42 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/02/13/_1.log)

vorher: 08:26:51.243

http://192.168.12.140/relay/0?turn=toggle
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 08:26:51.272
Dauer: 29 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 08:26:51.208
nachher: 08:26:51.280
Dauer : 72 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/13//scene_buero_UM_20240213_082651.txt'


syslog

Feb 13 08:23:01 srv4hai CRON[1500]: (root) CMD (/etc/linetest/linetest.sh)
Feb 13 08:23:02 srv4hai postfix/smtpd[1504]: connect from mail.shadowserver.org[154.9.2.12]
Feb 13 08:23:03 srv4hai postfix/smtpd[1504]: A345E60119: client=mail.shadowserver.org[154.9.2.12]
Feb 13 08:23:03 srv4hai postfix/cleanup[1447]: A345E60119: message-id=<20240213072300.g151w-autoreports@shadowserver.org>
Feb 13 08:23:03 srv4hai postfix/qmgr[28610]: A345E60119: from=, size=5215, nrcpt=1 (queue active)
Feb 13 08:23:03 srv4hai postfix/smtpd[1504]: disconnect from mail.shadowserver.org[154.9.2.12] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Feb 13 08:23:03 srv4hai postfix/local[1459]: A345E60119: to=, orig_to=, relay=local, delay=0.19, delays=0.18/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 13 08:23:03 srv4hai postfix/qmgr[28610]: A345E60119: removed
Feb 13 08:23:19 srv4hai dhcpd[5037]: DHCPDISCOVER from 00:22:61:78:ac:78 via enp2s0
Feb 13 08:23:19 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.25 to 00:22:61:78:ac:78 via enp2s0
Feb 13 08:23:19 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb 13 08:23:19 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.25
Feb 13 08:23:19 srv4hai dhcpd[5037]: execute_statement argv[2] = RadioKueche
Feb 13 08:23:19 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.25 (192.168.12.252) from 00:22:61:78:ac:78 via enp2s0
Feb 13 08:23:19 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.25 to 00:22:61:78:ac:78 via enp2s0
Feb 13 08:23:19 srv4hai named[14530]: client @0x7fc31403baf0 192.168.12.252#56987/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: RadioKueche.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 13 08:23:19 srv4hai named[14530]: client @0x7fc31c0d0140 192.168.12.252#33777/key rndc-key: signer "rndc-key" approved
Feb 13 08:23:19 srv4hai named[14530]: client @0x7fc31c0d0140 192.168.12.252#33777/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'RadioKueche.viehai.at' TXT
Feb 13 08:23:19 srv4hai named[14530]: client @0x7fc31c0d0140 192.168.12.252#33777/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'RadioKueche.viehai.at' TXT "00ea454d9e8190f8e991b9433de6ed5bf8"
Feb 13 08:23:19 srv4hai named[14530]: client @0x7fc31c0d0140 192.168.12.252#33777/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'RadioKueche.viehai.at' A
Feb 13 08:23:19 srv4hai named[14530]: client @0x7fc31c0d0140 192.168.12.252#33777/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'RadioKueche.viehai.at' A 192.168.12.25
Feb 13 08:23:19 srv4hai dhcpd[5037]: Added new forward map from RadioKueche.viehai.at to 192.168.12.25
Feb 13 08:23:19 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.25'(25) device 'RadioKueche'
Feb 13 08:23:19 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#57997/key rndc-key: signer "rndc-key" approved
Feb 13 08:23:19 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#57997/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '25.12.168.192.in-addr.arpa' PTR
Feb 13 08:23:19 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#57997/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '25.12.168.192.in-addr.arpa' PTR RadioKueche.viehai.at.
Feb 13 08:23:19 srv4hai dhcpd[5037]: Added reverse map from 25.12.168.192.in-addr.arpa. to RadioKueche.viehai.at
Feb 13 08:23:19 srv4hai dhcpcommit.sh: SHELLY device 'RadioKueche' known and accepted
Feb 13 08:24:01 srv4hai CRON[1524]: (root) CMD (/etc/linetest/linetest.sh)
Feb 13 08:24:09 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 13 08:24:09 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 13 08:24:09 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 13 08:24:09 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137
Feb 13 08:24:09 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37
Feb 13 08:24:09 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb 13 08:24:09 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 13 08:24:09 srv4hai named[14530]: client @0x7fc3240092c0 192.168.12.252#52985/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 13 08:24:09 srv4hai named[14530]: client @0x7fc318077970 192.168.12.252#35231/key rndc-key: signer "rndc-key" approved
Feb 13 08:24:09 srv4hai named[14530]: client @0x7fc318077970 192.168.12.252#35231/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb 13 08:24:09 srv4hai named[14530]: client @0x7fc318077970 192.168.12.252#35231/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb 13 08:24:09 srv4hai named[14530]: client @0x7fc318077970 192.168.12.252#35231/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb 13 08:24:09 srv4hai named[14530]: client @0x7fc318077970 192.168.12.252#35231/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb 13 08:24:09 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb 13 08:24:09 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#49565/key rndc-key: signer "rndc-key" approved
Feb 13 08:24:09 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#49565/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Feb 13 08:24:09 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#49565/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '137.12.168.192.in-addr.arpa' PTR shelly-37.viehai.at.
Feb 13 08:24:09 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb 13 08:24:09 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 13 08:24:10 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 13 08:24:10 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=22.12&id=shellyht-00B358
Feb 13 08:24:10 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240213.csv'
Feb 13 08:24:10 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 13 08:24:10 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 13 08:24:10 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 13 08:24:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 13 08:24:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 13 08:24:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 13 08:24:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 13 08:24:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 13 08:24:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 13 08:24:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 13 08:24:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 13 08:24:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 13 08:24:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 13 08:24:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 13 08:24:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 13 08:24:10 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 22.12° - 40%
Feb 13 08:24:10 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 22.12°/21.88° - 40%/40% - SAVED
Feb 13 08:24:10 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb 13 08:24:11 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: dweetIO='{#012  "this": "succeeded",#012  "by": "dweeting",#012  "the": "dweet",#012  "with": {#012    "thing": "viehai-37",#012    "created": "2024-02-13T07:24:11.346Z",#012    "content": {#012      "temp": 22.12,#012      "hum": 40,#012      "batt": 91#012    },#012    "transaction": "001196f2-d30d-4311-a1f3-49a1173c44ff"#012  }#012}'°
Feb 13 08:24:14 srv4hai dhcpd[5037]: DHCPRELEASE of 192.168.12.25 from 00:22:61:78:ac:78 via enp2s0 (not found)
Feb 13 08:24:15 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=22.12&id=shellyht-00B358
Feb 13 08:24:15 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240213.csv'
Feb 13 08:24:15 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240213.csv' modifed 5s ago - EXIT
Feb 13 08:24:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=1789, secured, session=
Feb 13 08:24:16 srv4hai dovecot: imap(miglincit)<1789>: Logged out in=756 out=49401 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=25943 body_count=0 body_bytes=0
Feb 13 08:24:20 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=22.12&id=shellyht-00B358
Feb 13 08:24:20 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240213.csv'
Feb 13 08:24:20 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240213.csv' modifed 10s ago - EXIT
Feb 13 08:24:25 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=22.12&id=shellyht-00B358
Feb 13 08:24:25 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240213.csv'
Feb 13 08:24:25 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240213.csv' modifed 15s ago - EXIT
Feb 13 08:24:31 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=22.12&id=shellyht-00B358
Feb 13 08:24:31 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240213.csv'
Feb 13 08:24:31 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240213.csv' modifed 21s ago - EXIT
Feb 13 08:24:36 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=22.12&id=shellyht-00B358
Feb 13 08:24:36 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240213.csv'
Feb 13 08:24:36 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240213.csv' modifed 26s ago - EXIT
Feb 13 08:25:00 srv4hai sntp[1871]: sntp 4.2.8p12@1.3728-o (1)
Feb 13 08:25:00 srv4hai sntp[1871]: 2024-02-13 08:25:00.112231 (-0100) -0.001820 +/- 0.001289 time.google.com 216.239.35.0 s1 no-leap
Feb 13 08:25:01 srv4hai CRON[1876]: (root) CMD (/etc/linetest/linetest.sh)
Feb 13 08:26:01 srv4hai CRON[1887]: (root) CMD (/etc/linetest/linetest.sh)
Feb 13 08:26:23 srv4hai postfix/anvil[777]: statistics: max connection rate 1/60s for (smtp:194.33.191.197) at Feb 13 08:19:03
Feb 13 08:26:23 srv4hai postfix/anvil[777]: statistics: max connection count 1 for (smtp:194.33.191.197) at Feb 13 08:19:03
Feb 13 08:26:23 srv4hai postfix/anvil[777]: statistics: max cache size 1 at Feb 13 08:19:03
Feb 13 08:26:51 srv4hai activate_scenario[1899]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb 13 08:26:51 srv4hai activate_scenario[1899]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished