activate_scenario.sh
Sun Aug 4 20:06:53 CEST 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/08/04/_0.log)

vorher: 20:06:53.846

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: 20:06:54.057
Dauer: 212 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 20:06:53.792
nachher: 20:06:54.064
Dauer : 273 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/04//scene_pcOFF_20240804_200653.txt'


syslog

Aug  4 20:03:01 srv4hai CRON[5751]: (root) CMD (/etc/linetest/linetest.sh)
Aug  4 20:03:13 srv4hai ping_SP[28098]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722794593 - 'ping_SP_1'
Aug  4 20:03:13 srv4hai ping_SP[28098]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  4 20:03:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=5782, secured, session=
Aug  4 20:03:19 srv4hai dovecot: imap(miglincit)<5782>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  4 20:03:51 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=5808, secured, session=
Aug  4 20:03:51 srv4hai dovecot: imap(miglincit)<5808>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  4 20:04:01 srv4hai CRON[5820]: (root) CMD (/etc/linetest/linetest.sh)
Aug  4 20:04:03 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722794643 - 'ping_SP_0'
Aug  4 20:04:03 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  4 20:04:26 srv4hai ping_SP[28098]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722794666 - 'ping_SP_1'
Aug  4 20:04:26 srv4hai ping_SP[28098]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  4 20:04:51 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug  4 20:04:52 srv4hai fetchmail[1651]: 50065 messages (50065 seen) for tmiglinci at mail.akis.at (-161949781 octets).
Aug  4 20:04:52 srv4hai fetchmail[1651]: 10548 messages (10548 seen) for srozum at mail.akis.at (1267557768 octets).
Aug  4 20:04:53 srv4hai fetchmail[1651]: 25126 messages (25126 seen) for mrozum at mail.akis.at (86539258 octets).
Aug  4 20:04:53 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Aug  4 20:05:02 srv4hai CRON[5900]: (root) CMD (/etc/linetest/linetest.sh)
Aug  4 20:05:12 srv4hai dhcpd[30731]: DHCPDISCOVER from f0:39:65:25:8d:c7 via enp2s0
Aug  4 20:05:12 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Aug  4 20:05:12 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug  4 20:05:12 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62
Aug  4 20:05:12 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20
Aug  4 20:05:12 srv4hai common[5918]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug  4 20:05:16 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722794716 - 'ping_SP_0'
Aug  4 20:05:16 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  4 20:05:22 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.62' / 'GreteS20' / '1'
Aug  4 20:05:22 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0
Aug  4 20:05:22 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Aug  4 20:05:22 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug  4 20:05:22 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62
Aug  4 20:05:22 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20
Aug  4 20:05:22 srv4hai common[5955]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug  4 20:05:32 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.62' / 'GreteS20' / '1'
Aug  4 20:05:32 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0
Aug  4 20:05:32 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Aug  4 20:05:32 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug  4 20:05:32 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62
Aug  4 20:05:32 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20
Aug  4 20:05:32 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug  4 20:05:32 srv4hai common[5983]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug  4 20:05:39 srv4hai ping_SP[28098]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722794739 - 'ping_SP_1'
Aug  4 20:05:39 srv4hai ping_SP[28098]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  4 20:05:42 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.62' / 'GreteS20' / '1'
Aug  4 20:05:42 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0
Aug  4 20:05:42 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Aug  4 20:05:42 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug  4 20:05:42 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62
Aug  4 20:05:42 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20
Aug  4 20:05:42 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug  4 20:05:42 srv4hai named[30406]: client @0x7f931c0a2850 192.168.12.252#49979/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug  4 20:05:42 srv4hai common[6021]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug  4 20:05:52 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.62' / 'GreteS20' / '1'
Aug  4 20:05:52 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0
Aug  4 20:05:52 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: signer "rndc-key" approved
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0"
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: signer "rndc-key" approved
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT
Aug  4 20:05:52 srv4hai dhcpd[30731]: Added new forward map from GreteS20.viehai.at to 192.168.12.62
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0"
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: signer "rndc-key" approved
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0"
Aug  4 20:05:52 srv4hai dhcpd[30731]: Added new forward map from GreteS20.viehai.at to 192.168.12.62
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62
Aug  4 20:05:52 srv4hai dhcpd[30731]: Added new forward map from GreteS20.viehai.at to 192.168.12.62
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: signer "rndc-key" approved
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0"
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62
Aug  4 20:05:52 srv4hai dhcpd[30731]: Added new forward map from GreteS20.viehai.at to 192.168.12.62
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: signer "rndc-key" approved
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '62.12.168.192.in-addr.arpa' PTR GreteS20.viehai.at.
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: signer "rndc-key" approved
Aug  4 20:05:52 srv4hai dhcpd[30731]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '62.12.168.192.in-addr.arpa' PTR GreteS20.viehai.at.
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: signer "rndc-key" approved
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '62.12.168.192.in-addr.arpa' PTR GreteS20.viehai.at.
Aug  4 20:05:52 srv4hai dhcpd[30731]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: signer "rndc-key" approved
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR
Aug  4 20:05:52 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#55533/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '62.12.168.192.in-addr.arpa' PTR GreteS20.viehai.at.
Aug  4 20:05:52 srv4hai dhcpd[30731]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at
Aug  4 20:05:52 srv4hai dhcpd[30731]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at
Aug  4 20:06:01 srv4hai CRON[6054]: (root) CMD (/etc/linetest/linetest.sh)
Aug  4 20:06:16 srv4hai common[6065]: SHELLY common.sh inkludiert von ./inventar.sh
Aug  4 20:06:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8409, secured, session=
Aug  4 20:06:19 srv4hai dovecot: imap(miglincit)<8409>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  4 20:06:29 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722794789 - 'ping_SP_0'
Aug  4 20:06:29 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  4 20:06:32 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8433, secured, session=
Aug  4 20:06:32 srv4hai dovecot: imap(miglincit)<8433>: Logged out in=441 out=7761 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=379 body_count=1 body_bytes=5840
Aug  4 20:06:33 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8435, secured, session=
Aug  4 20:06:33 srv4hai dovecot: imap(miglincit)<8435>: Logged out in=606 out=30801 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=387 body_count=0 body_bytes=0
Aug  4 20:06:34 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8437, secured, session=
Aug  4 20:06:34 srv4hai dovecot: imap(miglincit)<8437>: Logged out in=397 out=39320 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=496 body_count=1 body_bytes=37205
Aug  4 20:06:52 srv4hai ping_SP[28098]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722794812 - 'ping_SP_1'
Aug  4 20:06:52 srv4hai ping_SP[28098]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  4 20:06:52 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8471, secured, session=
Aug  4 20:06:52 srv4hai dovecot: imap(miglincit)<8471>: Logged out in=590 out=1138 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  4 20:06:53 srv4hai dovecot: imap(miglincit)<24752>: Logged out in=210159 out=314802 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  4 20:06:53 srv4hai dovecot: imap(miglincit)<24771>: Logged out in=1669 out=372759 deleted=0 expunged=0 trashed=0 hdr_count=6 hdr_bytes=2151 body_count=6 body_bytes=363442
Aug  4 20:06:53 srv4hai dovecot: imap(miglincit)<24782>: Logged out in=6920 out=4035437 deleted=0 expunged=0 trashed=0 hdr_count=49 hdr_bytes=23414 body_count=49 body_bytes=3944664
Aug  4 20:06:53 srv4hai dovecot: imap(miglincit)<24768>: Logged out in=648 out=3566 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  4 20:06:53 srv4hai dovecot: imap(miglincit)<11975>: Logged out in=9870 out=3814818 deleted=0 expunged=0 trashed=0 hdr_count=73 hdr_bytes=26538 body_count=73 body_bytes=3660465
Aug  4 20:06:53 srv4hai activate_scenario[8475]: SHELLY scenario: 'pcOFF(pcoff)' started
Aug  4 20:06:53 srv4hai activate_scenario[8475]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished