activate_scenario.sh
Thu Feb 22 13:24:35 CET 2024
scenario: pcOFF
source: 192.168.12.10

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

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/02/22/_0.log)

vorher: 13:24:35.915

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

nachher: 13:24:35.947
Dauer: 31 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 13:24:35.881
nachher: 13:24:35.953
Dauer : 72 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/22//scene_pcOFF_20240222_132435.txt'


syslog

Feb 22 13:21:01 srv4hai CRON[19639]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 13:21:01 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 13:21:01 srv4hai meter.sh: SHELLY meter.sh ended
Feb 22 13:21:01 srv4hai postfix/pickup[14367]: E087360244: uid=33 from=
Feb 22 13:21:01 srv4hai postfix/cleanup[19657]: E087360244: message-id=<20240222122101.E087360244@mail.viehai.at>
Feb 22 13:21:01 srv4hai postfix/qmgr[28610]: E087360244: from=, size=654, nrcpt=1 (queue active)
Feb 22 13:21:01 srv4hai postfix/local[19659]: E087360244: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 22 13:21:01 srv4hai postfix/qmgr[28610]: E087360244: removed
Feb 22 13:21:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19680, secured, session=
Feb 22 13:21:24 srv4hai dovecot: imap(rozumm)<19680>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 13:21:43 srv4hai ping_SP[5777]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708604503 - 'ping_SP_0'
Feb 22 13:21:43 srv4hai ping_SP[5777]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 22 13:22:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19717, secured, session=
Feb 22 13:22:01 srv4hai dovecot: imap(miglincit)<19717>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 13:22:01 srv4hai CRON[19719]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 13:22:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19737, secured, session=
Feb 22 13:22:24 srv4hai dovecot: imap(rozumm)<19737>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 13:22:57 srv4hai ping_SP[5777]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708604577 - 'ping_SP_0'
Feb 22 13:22:57 srv4hai ping_SP[5777]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 22 13:23:01 srv4hai CRON[19766]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 13:23:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19786, secured, session=
Feb 22 13:23:24 srv4hai dovecot: imap(rozumm)<19786>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 13:23:29 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 22 13:23:29 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 22 13:23:29 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 22 13:23:29 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137
Feb 22 13:23:29 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37
Feb 22 13:23:29 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb 22 13:23:29 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 22 13:23:29 srv4hai named[14530]: client @0x7fc3180a5240 192.168.12.252#33055/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 22 13:23:29 srv4hai named[14530]: client @0x7fc310083bf0 192.168.12.252#44853/key rndc-key: signer "rndc-key" approved
Feb 22 13:23:29 srv4hai named[14530]: client @0x7fc310083bf0 192.168.12.252#44853/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb 22 13:23:29 srv4hai named[14530]: client @0x7fc310083bf0 192.168.12.252#44853/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb 22 13:23:29 srv4hai named[14530]: client @0x7fc310083bf0 192.168.12.252#44853/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb 22 13:23:29 srv4hai named[14530]: client @0x7fc310083bf0 192.168.12.252#44853/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb 22 13:23:29 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb 22 13:23:29 srv4hai named[14530]: client @0x7fc318077970 192.168.12.252#55125/key rndc-key: signer "rndc-key" approved
Feb 22 13:23:29 srv4hai named[14530]: client @0x7fc318077970 192.168.12.252#55125/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Feb 22 13:23:29 srv4hai named[14530]: client @0x7fc318077970 192.168.12.252#55125/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 22 13:23:29 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb 22 13:23:29 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 22 13:23:29 srv4hai postfix/anvil[19429]: statistics: max connection rate 1/60s for (smtp:193.222.96.116) at Feb 22 13:20:09
Feb 22 13:23:29 srv4hai postfix/anvil[19429]: statistics: max connection count 1 for (smtp:193.222.96.116) at Feb 22 13:20:09
Feb 22 13:23:29 srv4hai postfix/anvil[19429]: statistics: max cache size 1 at Feb 22 13:20:09
Feb 22 13:23:30 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 22 13:23:30 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=23.12&id=shellyht-00B358
Feb 22 13:23:30 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv'
Feb 22 13:23:30 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 22 13:23:30 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 22 13:23:30 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 22 13:23:30 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 22 13:23:30 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 22 13:23:30 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 22 13:23:30 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 22 13:23:30 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 22 13:23:30 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 22 13:23:30 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 22 13:23:30 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 22 13:23:30 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 22 13:23:30 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 22 13:23:30 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 22 13:23:30 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 22 13:23:30 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 23.12° - 40%
Feb 22 13:23:30 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 23.12°/23.12° - 40%/40% - SAVED
Feb 22 13:23:30 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb 22 13:23:31 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-22T12:23:31.180Z",#012    "content": {#012      "temp": 23.12,#012      "hum": 40,#012      "batt": 91#012    },#012    "transaction": "f5424131-6771-4995-b75c-8952d594b391"#012  }#012}'°
Feb 22 13:23:35 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=23.12&id=shellyht-00B358
Feb 22 13:23:35 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv'
Feb 22 13:23:35 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv' modifed 5s ago - EXIT
Feb 22 13:23:40 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=23.12&id=shellyht-00B358
Feb 22 13:23:40 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv'
Feb 22 13:23:40 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv' modifed 10s ago - EXIT
Feb 22 13:23:45 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=23.12&id=shellyht-00B358
Feb 22 13:23:45 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv'
Feb 22 13:23:45 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv' modifed 15s ago - EXIT
Feb 22 13:23:50 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=23.12&id=shellyht-00B358
Feb 22 13:23:50 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv'
Feb 22 13:23:50 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv' modifed 20s ago - EXIT
Feb 22 13:23:55 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=23.12&id=shellyht-00B358
Feb 22 13:23:55 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv'
Feb 22 13:23:55 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240222.csv' modifed 25s ago - EXIT
Feb 22 13:24:01 srv4hai CRON[20133]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 13:24:06 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 22 13:24:07 srv4hai fetchmail[1651]: 38596 messages (38595 seen) for tmiglinci at mail.akis.at (-1106883172 octets).
Feb 22 13:24:07 srv4hai postfix/smtpd[20141]: connect from localhost[127.0.0.1]
Feb 22 13:24:07 srv4hai postfix/smtpd[20141]: 3A79460119: client=localhost[127.0.0.1]
Feb 22 13:24:07 srv4hai postfix/cleanup[20144]: 3A79460119: message-id=<1708604312954.e247bd5a-0bad-4b6a-a108-b1e7d3fda7d4@bf07.eu1.hubspotemail.net>
Feb 22 13:24:07 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:38596 of 38596 (77331 octets) not flushed
Feb 22 13:24:07 srv4hai postfix/qmgr[28610]: 3A79460119: from=, size=77552, nrcpt=1 (queue active)
Feb 22 13:24:07 srv4hai postfix/smtpd[20141]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 22 13:24:07 srv4hai postfix/local[20145]: 3A79460119: to=, relay=local, delay=0.07, delays=0.06/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 22 13:24:07 srv4hai postfix/qmgr[28610]: 3A79460119: removed
Feb 22 13:24:07 srv4hai fetchmail[1651]: 9920 messages (9920 seen) for srozum at mail.akis.at (1196562469 octets).
Feb 22 13:24:08 srv4hai fetchmail[1651]: 21797 messages (21796 seen) for mrozum at mail.akis.at (-565772186 octets).
Feb 22 13:24:08 srv4hai postfix/smtpd[20141]: connect from localhost[127.0.0.1]
Feb 22 13:24:08 srv4hai postfix/smtpd[20141]: 52C7260119: client=localhost[127.0.0.1]
Feb 22 13:24:08 srv4hai postfix/cleanup[20144]: 52C7260119: message-id=<1f50d6921b03481abf06bc46f565c62f@wien.gv.at>
Feb 22 13:24:09 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:21797 of 21797 (2872078 octets) not flushed
Feb 22 13:24:09 srv4hai postfix/qmgr[28610]: 52C7260119: from=, size=2872346, nrcpt=1 (queue active)
Feb 22 13:24:09 srv4hai postfix/smtpd[20141]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 22 13:24:09 srv4hai postfix/local[20145]: 52C7260119: to=, relay=local, delay=1.1, delays=1/0/0/0.03, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 22 13:24:09 srv4hai postfix/qmgr[28610]: 52C7260119: removed
Feb 22 13:24:09 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Feb 22 13:24:10 srv4hai ping_SP[5777]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708604650 - 'ping_SP_0'
Feb 22 13:24:10 srv4hai ping_SP[5777]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 22 13:24:25 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20176, secured, session=<8VYehvcRvKEAAAAAAAAAAAAAAAAAAAAB>
Feb 22 13:24:25 srv4hai dovecot: imap(rozumm)<20176><8VYehvcRvKEAAAAAAAAAAAAAAAAAAAAB>: Logged out in=538 out=37340 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=19596 body_count=0 body_bytes=0
Feb 22 13:24:35 srv4hai dovecot: imap(miglincit)<1122>: Logged out in=8491 out=10171523 deleted=0 expunged=0 trashed=0 hdr_count=13 hdr_bytes=5915 body_count=13 body_bytes=10066338
Feb 22 13:24:35 srv4hai activate_scenario[20183]: SHELLY scenario: 'pcOFF(pcoff)' started
Feb 22 13:24:35 srv4hai activate_scenario[20183]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished