activate_scenario.sh
Wed Feb 14 18:17:58 CET 2024
scenario: pcOFF
source: 192.168.12.10

'night' <--> 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/14/_0.log)

vorher: 18:17:58.946

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: 18:17:58.976
Dauer: 30 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 18:17:58.920
nachher: 18:17:58.982
Dauer : 63 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/14//scene_pcOFF_20240214_181758.txt'


syslog

Feb 14 18:14:01 srv4hai CRON[5815]: (root) CMD (/etc/linetest/linetest.sh)
Feb 14 18:14:08 srv4hai postfix/smtpd[5820]: connect from unknown[194.33.191.197]
Feb 14 18:14:08 srv4hai postfix/smtpd[5820]: warning: unknown[194.33.191.197]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 14 18:14:08 srv4hai postfix/smtpd[5820]: disconnect from unknown[194.33.191.197] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 14 18:15:00 srv4hai smartd[27489]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 52 to 51
Feb 14 18:15:00 srv4hai smartd[27489]: Device: /dev/sdd [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 107 to 106
Feb 14 18:15:01 srv4hai CRON[5851]: (root) CMD (/etc/linetest/linetest.sh)
Feb 14 18:15:08 srv4hai ping_SP[28229]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707930908 - 'ping_SP_0'
Feb 14 18:15:08 srv4hai ping_SP[28229]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 14 18:16:01 srv4hai CRON[5885]: (root) CMD (/etc/linetest/linetest.sh)
Feb 14 18:16:17 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=5903, secured, session=<25s0q1oRaJoAAAAAAAAAAAAAAAAAAAAB>
Feb 14 18:16:17 srv4hai dovecot: imap(miglincit)<5903><25s0q1oRaJoAAAAAAAAAAAAAAAAAAAAB>: Logged out in=527 out=1239 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 14 18:16:21 srv4hai ping_SP[28229]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707930981 - 'ping_SP_0'
Feb 14 18:16:21 srv4hai ping_SP[28229]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 14 18:16:39 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 14 18:16:39 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 14 18:16:39 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 14 18:16:39 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137
Feb 14 18:16:39 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37
Feb 14 18:16:39 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb 14 18:16:39 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 14 18:16:39 srv4hai named[14530]: client @0x7fc32406bb80 192.168.12.252#42671/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 14 18:16:39 srv4hai named[14530]: client @0x7fc30807f600 192.168.12.252#56771/key rndc-key: signer "rndc-key" approved
Feb 14 18:16:39 srv4hai named[14530]: client @0x7fc30807f600 192.168.12.252#56771/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb 14 18:16:39 srv4hai named[14530]: client @0x7fc30807f600 192.168.12.252#56771/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb 14 18:16:39 srv4hai named[14530]: client @0x7fc30807f600 192.168.12.252#56771/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb 14 18:16:39 srv4hai named[14530]: client @0x7fc30807f600 192.168.12.252#56771/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb 14 18:16:39 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb 14 18:16:39 srv4hai named[14530]: client @0x7fc3140a1100 192.168.12.252#59903/key rndc-key: signer "rndc-key" approved
Feb 14 18:16:39 srv4hai named[14530]: client @0x7fc3140a1100 192.168.12.252#59903/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Feb 14 18:16:39 srv4hai named[14530]: client @0x7fc3140a1100 192.168.12.252#59903/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 14 18:16:39 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb 14 18:16:39 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 14 18:16:40 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 14 18:16:40 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=24.25&id=shellyht-00B358
Feb 14 18:16:40 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240214.csv'
Feb 14 18:16:40 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240214.csv' modifed 495s ago - EXIT
Feb 14 18:16:40 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 14 18:16:40 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 14 18:16:40 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 14 18:16:40 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 14 18:16:40 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 14 18:16:40 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 14 18:16:40 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 14 18:16:45 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=24.25&id=shellyht-00B358
Feb 14 18:16:45 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240214.csv'
Feb 14 18:16:45 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240214.csv' modifed 500s ago - EXIT
Feb 14 18:16:46 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 14 18:16:47 srv4hai fetchmail[1651]: 38104 messages (38104 seen) for tmiglinci at mail.akis.at (-1150221857 octets).
Feb 14 18:16:47 srv4hai fetchmail[1651]: 9897 messages (9897 seen) for srozum at mail.akis.at (1194298714 octets).
Feb 14 18:16:48 srv4hai fetchmail[1651]: 21648 messages (21648 seen) for mrozum at mail.akis.at (-583138319 octets).
Feb 14 18:16:48 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb 14 18:16:50 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=24.25&id=shellyht-00B358
Feb 14 18:16:50 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240214.csv'
Feb 14 18:16:50 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240214.csv' modifed 505s ago - EXIT
Feb 14 18:16:52 srv4hai dovecot: imap(miglincit)<31473>: Disconnected for inactivity in=206315 out=491482 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 14 18:16:55 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=24.25&id=shellyht-00B358
Feb 14 18:16:55 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240214.csv'
Feb 14 18:16:55 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240214.csv' modifed 510s ago - EXIT
Feb 14 18:17:01 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=24.25&id=shellyht-00B358
Feb 14 18:17:01 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240214.csv'
Feb 14 18:17:01 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240214.csv' modifed 516s ago - EXIT
Feb 14 18:17:01 srv4hai CRON[6126]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Feb 14 18:17:01 srv4hai CRON[6127]: (root) CMD (/etc/linetest/linetest.sh)
Feb 14 18:17:06 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=24.25&id=shellyht-00B358
Feb 14 18:17:06 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240214.csv'
Feb 14 18:17:06 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240214.csv' modifed 521s ago - EXIT
Feb 14 18:17:18 srv4hai postfix/anvil[3937]: statistics: max connection rate 2/60s for (smtp:222.141.124.244) at Feb 14 18:07:18
Feb 14 18:17:18 srv4hai postfix/anvil[3937]: statistics: max connection count 1 for (smtp:123.138.199.66) at Feb 14 18:07:17
Feb 14 18:17:18 srv4hai postfix/anvil[3937]: statistics: max cache size 5 at Feb 14 18:07:29
Feb 14 18:17:34 srv4hai ping_SP[28229]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707931054 - 'ping_SP_0'
Feb 14 18:17:34 srv4hai ping_SP[28229]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 14 18:17:52 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6184, secured, session=
Feb 14 18:17:52 srv4hai dovecot: imap(miglincit)<6184>: Logged out in=443 out=76640 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=443 body_count=1 body_bytes=74454
Feb 14 18:17:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6188, secured, session=
Feb 14 18:17:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6190, secured, session=<0QHzsFoR1poAAAAAAAAAAAAAAAAAAAAB>
Feb 14 18:17:53 srv4hai dovecot: imap(miglincit)<6190><0QHzsFoR1poAAAAAAAAAAAAAAAAAAAAB>: Logged out in=397 out=54200 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=411 body_count=1 body_bytes=52140
Feb 14 18:17:53 srv4hai dovecot: imap(miglincit)<6188>: Logged out in=616 out=14032 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=323 body_count=0 body_bytes=0
Feb 14 18:17:58 srv4hai dovecot: imap(miglincit)<31472>: Logged out in=4386 out=1011551 deleted=0 expunged=0 trashed=0 hdr_count=24 hdr_bytes=9377 body_count=24 body_bytes=913933
Feb 14 18:17:58 srv4hai dovecot: imap(miglincit)<31476>: Logged out in=1549 out=6271 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 14 18:17:58 srv4hai dovecot: imap(miglincit)<31493>: Logged out in=4054 out=1444250 deleted=0 expunged=0 trashed=0 hdr_count=91 hdr_bytes=35121 body_count=90 body_bytes=1364646
Feb 14 18:17:58 srv4hai dovecot: imap(miglincit)<31491>: Logged out in=2283 out=101331 deleted=0 expunged=0 trashed=0 hdr_count=2 hdr_bytes=708 body_count=2 body_bytes=93440
Feb 14 18:17:58 srv4hai activate_scenario[6195]: SHELLY scenario: 'pcOFF(pcoff)' started
Feb 14 18:17:58 srv4hai activate_scenario[6195]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''

finished