activate_scenario.sh
Thu May 16 17:31:07 CEST 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x

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

scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/05/16/_0.log)

vorher: 17:31:07.300

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

nachher: 17:31:07.348
Dauer: 48 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

urls : 1
vorher : 17:31:07.280
nachher: 17:31:07.354
Dauer : 74 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/16//scene_pcON_20240516_173107.txt'


syslog

May 16 17:28:01 srv4hai CRON[19466]: (root) CMD (/etc/linetest/linetest.sh)
May 16 17:28:09 srv4hai ping_SP[16357]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1715873289 - 'ping_SP_1'
May 16 17:28:09 srv4hai ping_SP[16357]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
May 16 17:28:17 srv4hai mosquitto[18551]: Client shellyht-00B358 has exceeded timeout, disconnecting.
May 16 17:28:17 srv4hai mosquitto[18551]: Socket error on client shellyht-00B358, disconnecting.
May 16 17:28:23 srv4hai ping_SP[590]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1715873303 - 'ping_SP_0'
May 16 17:28:23 srv4hai ping_SP[590]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 16 17:28:29 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19523, secured, session=
May 16 17:28:29 srv4hai dovecot: imap(miglincit)<19523>: Logged out in=735 out=39479 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=15065 body_count=0 body_bytes=0
May 16 17:29:01 srv4hai CRON[19550]: (root) CMD (/etc/linetest/linetest.sh)
May 16 17:29:01 srv4hai dhcpd[22856]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0
May 16 17:29:01 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
May 16 17:29:01 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
May 16 17:29:01 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.102
May 16 17:29:01 srv4hai dhcpd[22856]: execute_statement argv[2] = shelly-02
May 16 17:29:01 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0
May 16 17:29:01 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
May 16 17:29:01 srv4hai named[15509]: client @0x7f9314074a80 192.168.12.252#37361/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
May 16 17:29:01 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#58447/key rndc-key: signer "rndc-key" approved
May 16 17:29:01 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#58447/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT
May 16 17:29:01 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#58447/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe"
May 16 17:29:01 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#58447/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A
May 16 17:29:01 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#58447/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102
May 16 17:29:01 srv4hai dhcpd[22856]: Added new forward map from shelly-02.viehai.at to 192.168.12.102
May 16 17:29:01 srv4hai named[15509]: client @0x7f92fc0b3ec0 192.168.12.252#50893/key rndc-key: signer "rndc-key" approved
May 16 17:29:01 srv4hai named[15509]: client @0x7f92fc0b3ec0 192.168.12.252#50893/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR
May 16 17:29:01 srv4hai named[15509]: client @0x7f92fc0b3ec0 192.168.12.252#50893/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '102.12.168.192.in-addr.arpa' PTR shelly-02.viehai.at.
May 16 17:29:01 srv4hai dhcpd[22856]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at
May 16 17:29:01 srv4hai common[19557]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
May 16 17:29:01 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' perform:'conf'
May 16 17:29:03 srv4hai mosquitto[18551]: New connection from 192.168.12.102 on port 1883.
May 16 17:29:03 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-02' - shIP/2:'192.168.12.102'
May 16 17:29:03 srv4hai mosquitto[18551]: New client connected from 192.168.12.102 as shelly1pm-84CCA8A8557D (c1, k60, u'shmqtt').
May 16 17:29:03 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon-Licht' already set for '192.168.12.102'
May 16 17:29:03 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping
May 16 17:29:03 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping
May 16 17:29:03 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping
May 16 17:29:03 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping
May 16 17:29:03 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping
May 16 17:29:03 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 ON : MISSING
May 16 17:29:03 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 OFF: MISSING
May 16 17:29:23 srv4hai ping_SP[16357]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1715873363 - 'ping_SP_1'
May 16 17:29:23 srv4hai ping_SP[16357]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
May 16 17:29:36 srv4hai ping_SP[590]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1715873376 - 'ping_SP_0'
May 16 17:29:36 srv4hai ping_SP[590]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 16 17:30:01 srv4hai CRON[19763]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
May 16 17:30:01 srv4hai CRON[19764]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
May 16 17:30:01 srv4hai CRON[19765]: (root) CMD (/etc/linetest/linetest.sh)
May 16 17:30:01 srv4hai common[19766]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
May 16 17:30:01 srv4hai meter.sh: SHELLY meter.sh started
May 16 17:30:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
May 16 17:30:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
May 16 17:30:07 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May 16 17:30:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
May 16 17:30:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
May 16 17:30:08 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
May 16 17:30:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
May 16 17:30:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
May 16 17:30:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May 16 17:30:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May 16 17:30:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
May 16 17:30:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
May 16 17:30:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
May 16 17:30:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
May 16 17:30:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
May 16 17:30:16 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May 16 17:30:16 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
May 16 17:30:16 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
May 16 17:30:16 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
May 16 17:30:16 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
May 16 17:30:16 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
May 16 17:30:16 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
May 16 17:30:16 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
May 16 17:30:16 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
May 16 17:30:16 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
May 16 17:30:16 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
May 16 17:30:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May 16 17:30:20 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
May 16 17:30:20 srv4hai common[20653]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
May 16 17:30:20 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
May 16 17:30:20 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
May 16 17:30:20 srv4hai meter.sh: SHELLY meter.sh ended
May 16 17:30:25 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20683, secured, session=
May 16 17:30:25 srv4hai dovecot: imap(miglincit)<20683>: Logged out in=443 out=72072 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=406 body_count=1 body_bytes=69950
May 16 17:30:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20688, secured, session=<8m4s6pMY9uUAAAAAAAAAAAAAAAAAAAAB>
May 16 17:30:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20690, secured, session=
May 16 17:30:28 srv4hai dovecot: imap(miglincit)<20690>: Logged out in=443 out=32978 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=503 body_count=1 body_bytes=30729
May 16 17:30:28 srv4hai dovecot: imap(miglincit)<20688><8m4s6pMY9uUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=616 out=14956 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=359 body_count=0 body_bytes=0
May 16 17:30:29 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20693, secured, session=<5xdF6pMY+uUAAAAAAAAAAAAAAAAAAAAB>
May 16 17:30:29 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20695, secured, session=
May 16 17:30:30 srv4hai dovecot: imap(miglincit)<20693><5xdF6pMY+uUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=616 out=14926 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=335 body_count=0 body_bytes=0
May 16 17:30:30 srv4hai dovecot: imap(miglincit)<20695>: Logged out in=441 out=74629 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=379 body_count=1 body_bytes=72703
May 16 17:30:30 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20697, secured, session=
May 16 17:30:30 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20699, secured, session=
May 16 17:30:30 srv4hai dovecot: imap(miglincit)<20697>: Logged out in=616 out=14961 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=378 body_count=0 body_bytes=0
May 16 17:30:30 srv4hai dovecot: imap(miglincit)<20699>: Logged out in=397 out=96406 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=465 body_count=1 body_bytes=94230
May 16 17:30:31 srv4hai postfix/anvil[18715]: statistics: max connection rate 1/60s for (smtp:185.196.9.120) at May 16 17:25:30
May 16 17:30:31 srv4hai postfix/anvil[18715]: statistics: max connection count 1 for (smtp:185.196.9.120) at May 16 17:25:30
May 16 17:30:31 srv4hai postfix/anvil[18715]: statistics: max cache size 2 at May 16 17:27:11
May 16 17:30:32 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20703, secured, session=
May 16 17:30:32 srv4hai dovecot: imap(miglincit)<20703>: Logged out in=445 out=23353 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=461 body_count=1 body_bytes=21097
May 16 17:30:33 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20705, secured, session=
May 16 17:30:33 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20707, secured, session=
May 16 17:30:34 srv4hai dovecot: imap(miglincit)<20707>: Logged out in=397 out=60852 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=450 body_count=1 body_bytes=58743
May 16 17:30:34 srv4hai dovecot: imap(miglincit)<20705>: Logged out in=616 out=14794 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=286 body_count=0 body_bytes=0
May 16 17:30:36 srv4hai ping_SP[16357]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1715873436 - 'ping_SP_1'
May 16 17:30:36 srv4hai ping_SP[16357]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
May 16 17:30:49 srv4hai ping_SP[590]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1715873449 - 'ping_SP_0'
May 16 17:30:49 srv4hai ping_SP[590]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 16 17:31:01 srv4hai postfix/scache[19437]: statistics: start interval May 16 17:27:37
May 16 17:31:01 srv4hai postfix/scache[19437]: statistics: domain lookup hits=0 miss=49 success=0%
May 16 17:31:01 srv4hai postfix/scache[19437]: statistics: address lookup hits=0 miss=1176 success=0%
May 16 17:31:01 srv4hai CRON[20757]: (root) CMD (/etc/linetest/linetest.sh)
May 16 17:31:07 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
May 16 17:31:07 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.10
May 16 17:31:07 srv4hai dhcpd[22856]: execute_statement argv[2] = pchai7x
May 16 17:31:07 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
May 16 17:31:07 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
May 16 17:31:07 srv4hai named[15509]: client @0x7f92fc070b50 192.168.12.252#48811/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
May 16 17:31:07 srv4hai named[15509]: client @0x7f931c720b90 192.168.12.252#48581/key rndc-key: signer "rndc-key" approved
May 16 17:31:07 srv4hai named[15509]: client @0x7f931c720b90 192.168.12.252#48581/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
May 16 17:31:07 srv4hai named[15509]: client @0x7f931c720b90 192.168.12.252#48581/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
May 16 17:31:07 srv4hai named[15509]: client @0x7f931c720b90 192.168.12.252#48581/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
May 16 17:31:07 srv4hai named[15509]: client @0x7f931c720b90 192.168.12.252#48581/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
May 16 17:31:07 srv4hai dhcpd[22856]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
May 16 17:31:07 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
May 16 17:31:07 srv4hai named[15509]: client @0x7f93141170a0 192.168.12.252#38927/key rndc-key: signer "rndc-key" approved
May 16 17:31:07 srv4hai named[15509]: client @0x7f93141170a0 192.168.12.252#38927/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
May 16 17:31:07 srv4hai named[15509]: client @0x7f93141170a0 192.168.12.252#38927/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '10.12.168.192.in-addr.arpa' PTR pchai7x.viehai.at.
May 16 17:31:07 srv4hai dhcpd[22856]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
May 16 17:31:07 srv4hai activate_scenario[20771]: SHELLY scenario: 'pcON(pcon)' started
May 16 17:31:07 srv4hai activate_scenario[20771]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished