activate_scenario.sh
Sat Mar 30 14:08:32 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/03/30/_0.log)

vorher: 14:08:32.698

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: 14:08:32.746
Dauer: 47 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 14:08:32.712

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: 14:08:32.754
Dauer: 43 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 14:08:32.664
nachher: 14:08:32.760
Dauer : 98 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/30//scene_buero_UM_20240330_140832.txt'


syslog

Mar 30 14:05:01 srv4hai CRON[31041]: (root) CMD (/etc/linetest/linetest.sh)
Mar 30 14:05:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31055, secured, session=
Mar 30 14:05:24 srv4hai dovecot: imap(miglincit)<31055>: Logged out in=297 out=1682 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 30 14:05:28 srv4hai ping_SP[3143]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1711803928 - 'ping_SP_0'
Mar 30 14:05:28 srv4hai ping_SP[3143]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 30 14:05:44 srv4hai ping_SP[28860]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1711803944 - 'ping_SP_1'
Mar 30 14:05:44 srv4hai ping_SP[28860]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 30 14:05:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31093, secured, session=
Mar 30 14:05:48 srv4hai dovecot: imap(miglincit)<31093>: Logged out in=735 out=40434 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=16516 body_count=0 body_bytes=0
Mar 30 14:06:01 srv4hai CRON[31095]: (root) CMD (/etc/linetest/linetest.sh)
Mar 30 14:06:38 srv4hai dhcpd[5037]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Mar 30 14:06:38 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Mar 30 14:06:38 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar 30 14:06:38 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.139
Mar 30 14:06:38 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-39
Mar 30 14:06:38 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Mar 30 14:06:38 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Mar 30 14:06:38 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#37111/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 30 14:06:38 srv4hai named[15509]: client @0x7f930803b0f0 192.168.12.252#59433/key rndc-key: signer "rndc-key" approved
Mar 30 14:06:38 srv4hai named[15509]: client @0x7f930803b0f0 192.168.12.252#59433/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Mar 30 14:06:38 srv4hai named[15509]: client @0x7f930803b0f0 192.168.12.252#59433/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Mar 30 14:06:38 srv4hai named[15509]: client @0x7f930803b0f0 192.168.12.252#59433/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Mar 30 14:06:38 srv4hai named[15509]: client @0x7f930803b0f0 192.168.12.252#59433/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Mar 30 14:06:38 srv4hai dhcpd[5037]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Mar 30 14:06:38 srv4hai named[15509]: client @0x7f930c0d2a30 192.168.12.252#37069/key rndc-key: signer "rndc-key" approved
Mar 30 14:06:38 srv4hai named[15509]: client @0x7f930c0d2a30 192.168.12.252#37069/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Mar 30 14:06:38 srv4hai named[15509]: client @0x7f930c0d2a30 192.168.12.252#37069/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 30 14:06:38 srv4hai dhcpd[5037]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Mar 30 14:06:38 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Mar 30 14:06:38 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=21&hum=36.300000&id=C049EF8AC9D8&batt=100&volt=6.740000
Mar 30 14:06:38 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/03/shelly-39_20240330.csv'
Mar 30 14:06:38 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Mar 30 14:06:38 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Mar 30 14:06:39 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 30 14:06:39 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Mar 30 14:06:39 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Mar 30 14:06:39 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 30 14:06:40 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 30 14:06:40 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Mar 30 14:06:40 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Mar 30 14:06:40 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar 30 14:06:41 srv4hai fetchmail[1651]: 40887 messages (40886 seen) for tmiglinci at mail.akis.at (-885200562 octets).
Mar 30 14:06:41 srv4hai postfix/smtpd[31200]: connect from localhost[127.0.0.1]
Mar 30 14:06:41 srv4hai postfix/smtpd[31200]: 75B736011D: client=localhost[127.0.0.1]
Mar 30 14:06:41 srv4hai postfix/cleanup[31203]: 75B736011D: message-id=
Mar 30 14:06:41 srv4hai postfix/qmgr[15291]: 75B736011D: from=, size=38126, nrcpt=1 (queue active)
Mar 30 14:06:41 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:40887 of 40887 (37884 octets) not flushed
Mar 30 14:06:41 srv4hai postfix/smtpd[31200]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Mar 30 14:06:41 srv4hai postfix/local[31204]: 75B736011D: to=, relay=local, delay=0.39, delays=0.07/0.01/0/0.31, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 30 14:06:41 srv4hai postfix/qmgr[15291]: 75B736011D: removed
Mar 30 14:06:41 srv4hai ping_SP[3143]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1711804001 - 'ping_SP_0'
Mar 30 14:06:41 srv4hai ping_SP[3143]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 30 14:06:41 srv4hai fetchmail[1651]: 10070 messages (10070 seen) for srozum at mail.akis.at (1216196809 octets).
Mar 30 14:06:42 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 30 14:06:42 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Mar 30 14:06:42 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Mar 30 14:06:42 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 21° - 36.3%
Mar 30 14:06:42 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 21°/20.3° - 36.3%/37.7% - SAVED
Mar 30 14:06:42 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Mar 30 14:06:42 srv4hai fetchmail[1651]: 22558 messages (22558 seen) for mrozum at mail.akis.at (-386344517 octets).
Mar 30 14:06:42 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-03-30T13:06:42.521Z",#012    "content": {#012      "temp": 21,#012      "hum": 36.3,#012      "batt": 100#012    },#012    "transaction": "9b85f39f-d6c5-4001-a67c-ebf78456431e"#012  }#012}'°
Mar 30 14:06:42 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar 30 14:06:57 srv4hai ping_SP[28860]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1711804017 - 'ping_SP_1'
Mar 30 14:06:57 srv4hai ping_SP[28860]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 30 14:07:01 srv4hai CRON[31302]: (root) CMD (/etc/linetest/linetest.sh)
Mar 30 14:07:54 srv4hai ping_SP[3143]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1711804074 - 'ping_SP_0'
Mar 30 14:07:54 srv4hai ping_SP[3143]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 30 14:08:01 srv4hai CRON[31337]: (root) CMD (/etc/linetest/linetest.sh)
Mar 30 14:08:11 srv4hai ping_SP[28860]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1711804091 - 'ping_SP_1'
Mar 30 14:08:11 srv4hai ping_SP[28860]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 30 14:08:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31358, secured, session=
Mar 30 14:08:24 srv4hai dovecot: imap(miglincit)<31358>: Logged out in=297 out=1716 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 30 14:08:32 srv4hai activate_scenario[31361]: SHELLY scenario: 'buero_UM(buero_um)' started
Mar 30 14:08:32 srv4hai activate_scenario[31361]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished