activate_scenario.sh
Mon Feb 12 22:55:02 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/12/_0.log)

vorher: 22:55:02.804

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: 22:55:02.834
Dauer: 30 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 22:55:02.757
nachher: 22:55:02.841
Dauer : 85 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/12//scene_pcOFF_20240212_225502.txt'


syslog

Feb 12 22:52:01 srv4hai CRON[27908]: (root) CMD (/etc/linetest/linetest.sh)
Feb 12 22:52:16 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 12 22:52:17 srv4hai fetchmail[1651]: 37962 messages (37962 seen) for tmiglinci at mail.akis.at (-1165048530 octets).
Feb 12 22:52:17 srv4hai fetchmail[1651]: 9890 messages (9890 seen) for srozum at mail.akis.at (1193430831 octets).
Feb 12 22:52:18 srv4hai fetchmail[1651]: 21608 messages (21608 seen) for mrozum at mail.akis.at (-586253040 octets).
Feb 12 22:52:18 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb 12 22:53:01 srv4hai CRON[27943]: (root) CMD (/etc/linetest/linetest.sh)
Feb 12 22:53:03 srv4hai ping_SP[5005]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707774783 - 'ping_SP_0'
Feb 12 22:53:03 srv4hai ping_SP[5005]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 12 22:53:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27980, secured, session=
Feb 12 22:53:37 srv4hai dovecot: imap(miglincit)<27980>: 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 12 22:53:50 srv4hai dhcpd[5037]: DHCPDISCOVER from 98:cd:ac:2d:c5:cd via enp2s0
Feb 12 22:53:50 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.120 to 98:cd:ac:2d:c5:cd via enp2s0
Feb 12 22:53:50 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 12 22:53:50 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.120
Feb 12 22:53:50 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-20
Feb 12 22:53:50 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.120 (192.168.12.252) from 98:cd:ac:2d:c5:cd via enp2s0
Feb 12 22:53:50 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.120 to 98:cd:ac:2d:c5:cd via enp2s0
Feb 12 22:53:50 srv4hai named[14530]: client @0x7fc31806b450 192.168.12.252#38543/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 12 22:53:50 srv4hai named[14530]: client @0x7fc320075e30 192.168.12.252#57965/key rndc-key: signer "rndc-key" approved
Feb 12 22:53:50 srv4hai named[14530]: client @0x7fc320075e30 192.168.12.252#57965/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-20.viehai.at' TXT
Feb 12 22:53:50 srv4hai named[14530]: client @0x7fc320075e30 192.168.12.252#57965/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-20.viehai.at' TXT "009bbe3438977123c398f031397c5087ad"
Feb 12 22:53:50 srv4hai named[14530]: client @0x7fc320075e30 192.168.12.252#57965/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-20.viehai.at' A
Feb 12 22:53:50 srv4hai named[14530]: client @0x7fc320075e30 192.168.12.252#57965/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-20.viehai.at' A 192.168.12.120
Feb 12 22:53:50 srv4hai dhcpd[5037]: Added new forward map from shelly-20.viehai.at to 192.168.12.120
Feb 12 22:53:50 srv4hai named[14530]: client @0x7fc328100b10 192.168.12.252#49591/key rndc-key: signer "rndc-key" approved
Feb 12 22:53:50 srv4hai named[14530]: client @0x7fc328100b10 192.168.12.252#49591/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '120.12.168.192.in-addr.arpa' PTR
Feb 12 22:53:50 srv4hai named[14530]: client @0x7fc328100b10 192.168.12.252#49591/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '120.12.168.192.in-addr.arpa' PTR shelly-20.viehai.at.
Feb 12 22:53:50 srv4hai dhcpd[5037]: Added reverse map from 120.12.168.192.in-addr.arpa. to shelly-20.viehai.at
Feb 12 22:53:50 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-20' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 12 22:53:51 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-20' - shIP/2:'192.168.12.120'
Feb 12 22:53:51 srv4hai conf_shelly.sh: SHELLY: usage/name 'Thomas Schreibtischlampe' already set for '192.168.12.120'
Feb 12 22:53:51 srv4hai conf_shelly.sh: SHELLY:'shelly-20' 'conf(0)' - allready transmitted - skipping
Feb 12 22:53:51 srv4hai conf_shelly.sh: SHELLY:'shelly-20' 'conf(1)' - allready transmitted - skipping
Feb 12 22:53:51 srv4hai conf_shelly.sh: SHELLY:'shelly-20' 'conf(2)' - allready transmitted - skipping
Feb 12 22:53:51 srv4hai conf_shelly.sh: SHELLY:'shelly-20' 'conf(3)' - allready transmitted - skipping
Feb 12 22:53:51 srv4hai conf_shelly.sh: SHELLY:'shelly-20' out:0 ON : MISSING
Feb 12 22:53:51 srv4hai conf_shelly.sh: SHELLY:'shelly-20' out:0 OFF: MISSING
Feb 12 22:53:52 srv4hai postfix/anvil[26869]: statistics: max connection rate 1/60s for (smtp:194.33.191.197) at Feb 12 22:45:28
Feb 12 22:53:52 srv4hai postfix/anvil[26869]: statistics: max connection count 1 for (smtp:194.33.191.197) at Feb 12 22:45:28
Feb 12 22:53:52 srv4hai postfix/anvil[26869]: statistics: max cache size 1 at Feb 12 22:45:28
Feb 12 22:54:01 srv4hai CRON[28135]: (root) CMD (/etc/linetest/linetest.sh)
Feb 12 22:54:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28171, secured, session=
Feb 12 22:54:15 srv4hai dovecot: imap(miglincit)<28171>: Logged out in=443 out=10324 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=465 body_count=1 body_bytes=8304
Feb 12 22:54:16 srv4hai ping_SP[5005]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707774856 - 'ping_SP_0'
Feb 12 22:54:16 srv4hai ping_SP[5005]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 12 22:54:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28219, secured, session=
Feb 12 22:54:24 srv4hai dovecot: imap(miglincit)<28219>: Logged out in=443 out=10789 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=480 body_count=1 body_bytes=8754
Feb 12 22:54:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28221, secured, session=
Feb 12 22:54:24 srv4hai dovecot: imap(miglincit)<28221>: Logged out in=443 out=28647 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=482 body_count=1 body_bytes=26422
Feb 12 22:54:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28223, secured, session=
Feb 12 22:54:28 srv4hai dovecot: imap(miglincit)<28223>: Logged out in=443 out=44289 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=702 body_count=1 body_bytes=41857
Feb 12 22:54:29 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28225, secured, session=
Feb 12 22:54:29 srv4hai dovecot: imap(miglincit)<28225>: Logged out in=441 out=2767 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=598 body_count=1 body_bytes=637
Feb 12 22:54:31 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28227, secured, session=
Feb 12 22:54:31 srv4hai dovecot: imap(miglincit)<28227>: Logged out in=482 out=8048 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=441 body_count=1 body_bytes=5791
Feb 12 22:54:32 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28231, secured, session=
Feb 12 22:54:32 srv4hai dovecot: imap(miglincit)<28231>: Logged out in=397 out=30225 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=529 body_count=1 body_bytes=28055
Feb 12 22:54:32 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28233, secured, session=
Feb 12 22:54:32 srv4hai dovecot: imap(miglincit)<28233>: Logged out in=441 out=6128 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=443 body_count=1 body_bytes=4146
Feb 12 22:54:33 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28235, secured, session=
Feb 12 22:54:33 srv4hai dovecot: imap(miglincit)<28235>: Logged out in=397 out=30225 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=529 body_count=1 body_bytes=28055
Feb 12 22:54:33 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28237, secured, session=
Feb 12 22:54:33 srv4hai dovecot: imap(miglincit)<28237>: Logged out in=395 out=16269 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=1431 body_count=1 body_bytes=13350
Feb 12 22:54:33 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28239, secured, session=<7/a3UjYRjq8AAAAAAAAAAAAAAAAAAAAB>
Feb 12 22:54:34 srv4hai dovecot: imap(miglincit)<28239><7/a3UjYRjq8AAAAAAAAAAAAAAAAAAAAB>: Logged out in=397 out=30225 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=529 body_count=1 body_bytes=28055
Feb 12 22:54:34 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28241, secured, session=
Feb 12 22:54:34 srv4hai dovecot: imap(miglincit)<28241>: Logged out in=395 out=6077 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=443 body_count=1 body_bytes=4146
Feb 12 22:54:35 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28243, secured, session=
Feb 12 22:54:35 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28245, secured, session=
Feb 12 22:54:35 srv4hai dovecot: imap(miglincit)<28245>: Logged out in=397 out=30233 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=529 body_count=1 body_bytes=28055
Feb 12 22:54:35 srv4hai dovecot: imap(miglincit)<28243>: Logged out in=616 out=14282 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=511 body_count=0 body_bytes=0
Feb 12 22:54:36 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28248, secured, session=<8cveUjYRlq8AAAAAAAAAAAAAAAAAAAAB>
Feb 12 22:54:36 srv4hai dovecot: imap(miglincit)<28248><8cveUjYRlq8AAAAAAAAAAAAAAAAAAAAB>: Logged out in=436 out=7997 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=441 body_count=1 body_bytes=5791
Feb 12 22:54:39 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28250, secured, session=<9+0EUzYRmq8AAAAAAAAAAAAAAAAAAAAB>
Feb 12 22:54:39 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28253, secured, session=
Feb 12 22:54:39 srv4hai dovecot: imap(miglincit)<28253>: Logged out in=395 out=4493 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=707 body_count=1 body_bytes=2319
Feb 12 22:54:39 srv4hai dovecot: imap(miglincit)<28250><9+0EUzYRmq8AAAAAAAAAAAAAAAAAAAAB>: Logged out in=714 out=17987 deleted=0 expunged=0 trashed=8 hdr_count=8 hdr_bytes=2574 body_count=0 body_bytes=0
Feb 12 22:55:01 srv4hai CRON[28264]: (root) CMD (/etc/linetest/linetest.sh)
Feb 12 22:55:02 srv4hai activate_scenario[28270]: SHELLY scenario: 'pcOFF(pcoff)' started
Feb 12 22:55:02 srv4hai activate_scenario[28270]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''

finished