activate_scenario.sh
Sun Dec 1 09:23:50 CET 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'

TB Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/12/01/_0.log)

vorher: 09:23:50.272

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: 09:23:50.315
Dauer: 43 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 09:23:50.221
nachher: 09:23:50.322
Dauer : 102 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/01//scene_pcON_20241201_092350.txt'


syslog

Dec  1 09:20:01 srv4hai CRON[10610]: (root) CMD (/etc/linetest/linetest.sh)
Dec  1 09:20:01 srv4hai CRON[10611]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Dec  1 09:20:01 srv4hai common[10613]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Dec  1 09:20:01 srv4hai meter.sh: SHELLY meter.sh started
Dec  1 09:20:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Dec  1 09:20:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Dec  1 09:20:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Dec  1 09:20:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Dec  1 09:20:08 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Dec  1 09:20:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Dec  1 09:20:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Dec  1 09:20:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec  1 09:20:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec  1 09:20:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Dec  1 09:20:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Dec  1 09:20:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Dec  1 09:20:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Dec  1 09:20:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Dec  1 09:20:13 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Dec  1 09:20:13 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Dec  1 09:20:14 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Dec  1 09:20:14 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Dec  1 09:20:14 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Dec  1 09:20:14 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Dec  1 09:20:14 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Dec  1 09:20:14 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Dec  1 09:20:14 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Dec  1 09:20:14 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Dec  1 09:20:14 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring
Dec  1 09:20:16 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec  1 09:20:16 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Dec  1 09:20:17 srv4hai common[11580]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Dec  1 09:20:17 srv4hai check_shelly.sh: SHELLY last scenery executed: 'homeOffice'
Dec  1 09:20:17 srv4hai check_shelly.sh: SHELLY found '5' active shelly outputs
Dec  1 09:20:17 srv4hai meter.sh: SHELLY meter.sh ended
Dec  1 09:20:41 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec  1 09:20:42 srv4hai fetchmail[1651]: 58152 messages (58150 seen) for tmiglinci at mail.akis.at (485171052 octets).
Dec  1 09:20:42 srv4hai postfix/smtpd[9799]: connect from localhost[127.0.0.1]
Dec  1 09:20:42 srv4hai postfix/smtpd[9799]: 776A76345A: client=localhost[127.0.0.1]
Dec  1 09:20:42 srv4hai postfix/cleanup[11608]: 776A76345A: message-id=<01020193814d3166-4e61d6db-74e1-4ecf-90a4-3c2d9e9db5e2-000000@eu-west-1.amazonses.com>
Dec  1 09:20:42 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:58151 of 58152 (132369 octets) not flushed
Dec  1 09:20:42 srv4hai postfix/qmgr[8566]: 776A76345A: from=, size=132591, nrcpt=1 (queue active)
Dec  1 09:20:42 srv4hai postfix/smtpd[9799]: 8F49363463: client=localhost[127.0.0.1]
Dec  1 09:20:42 srv4hai postfix/local[11609]: 776A76345A: to=, relay=local, delay=0.11, delays=0.08/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec  1 09:20:42 srv4hai postfix/qmgr[8566]: 776A76345A: removed
Dec  1 09:20:42 srv4hai postfix/cleanup[11608]: 8F49363463: message-id=<0.0.6C.714.1DB43C9DF9B58E2.0@mta-2d56755a.ip4.emsmtp.us>
Dec  1 09:20:42 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:58152 of 58152 (124234 octets) not flushed
Dec  1 09:20:42 srv4hai postfix/qmgr[8566]: 8F49363463: from=, size=124506, nrcpt=1 (queue active)
Dec  1 09:20:42 srv4hai postfix/local[11609]: 8F49363463: to=, relay=local, delay=0.09, delays=0.07/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec  1 09:20:42 srv4hai postfix/qmgr[8566]: 8F49363463: removed
Dec  1 09:20:42 srv4hai postfix/smtpd[9799]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
Dec  1 09:20:43 srv4hai fetchmail[1651]: 11138 messages (11138 seen) for srozum at mail.akis.at (1340582688 octets).
Dec  1 09:20:43 srv4hai fetchmail[1651]: 27592 messages (27592 seen) for mrozum at mail.akis.at (458212989 octets).
Dec  1 09:20:44 srv4hai fetchmail[1651]: 1158 messages (1158 seen) for admin@bastelstube.wien at pop3.world4you.com (52179212 octets).
Dec  1 09:20:56 srv4hai ping_SP[26197]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733041256 - 'ping_SP_0'
Dec  1 09:20:56 srv4hai ping_SP[26197]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  1 09:21:01 srv4hai CRON[11634]: (root) CMD (/etc/linetest/linetest.sh)
Dec  1 09:21:06 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11641, secured, session=
Dec  1 09:21:06 srv4hai dovecot: imap(miglincit)<11641>: Logged out in=373 out=43524 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=15695 body_count=0 body_bytes=0
Dec  1 09:21:32 srv4hai postfix/smtpd[9799]: connect from unknown[80.94.95.239]
Dec  1 09:21:35 srv4hai postfix/smtpd[9799]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec  1 09:21:36 srv4hai postfix/smtpd[9799]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec  1 09:22:01 srv4hai CRON[11669]: (root) CMD (/etc/linetest/linetest.sh)
Dec  1 09:22:08 srv4hai dhcpd[21239]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Dec  1 09:22:08 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Dec  1 09:22:08 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec  1 09:22:08 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.147
Dec  1 09:22:08 srv4hai dhcpd[21239]: execute_statement argv[2] = shelly-47
Dec  1 09:22:08 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Dec  1 09:22:08 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Dec  1 09:22:08 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#53207/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec  1 09:22:08 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#37557/key rndc-key: signer "rndc-key" approved
Dec  1 09:22:08 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#37557/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Dec  1 09:22:08 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#37557/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Dec  1 09:22:08 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#37557/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Dec  1 09:22:08 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#37557/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Dec  1 09:22:08 srv4hai dhcpd[21239]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Dec  1 09:22:08 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#46217/key rndc-key: signer "rndc-key" approved
Dec  1 09:22:08 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#46217/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Dec  1 09:22:08 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#46217/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '147.12.168.192.in-addr.arpa' PTR shelly-47.viehai.at.
Dec  1 09:22:08 srv4hai dhcpd[21239]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Dec  1 09:22:08 srv4hai common[11675]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec  1 09:22:08 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Dec  1 09:22:08 srv4hai mosquitto[32087]: New connection from 192.168.12.147 on port 1883.
Dec  1 09:22:08 srv4hai mosquitto[32087]: Client shellyplus1-441793a58ae4 already connected, closing old connection.
Dec  1 09:22:08 srv4hai mosquitto[32087]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Dec  1 09:22:08 srv4hai mosquitto[32087]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Dec  1 09:22:09 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Dec  1 09:22:09 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Dec  1 09:22:09 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Dec  1 09:22:09 srv4hai ping_SP[26197]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733041329 - 'ping_SP_0'
Dec  1 09:22:09 srv4hai ping_SP[26197]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  1 09:23:01 srv4hai CRON[11759]: (root) CMD (/etc/linetest/linetest.sh)
Dec  1 09:23:22 srv4hai ping_SP[26197]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733041402 - 'ping_SP_0'
Dec  1 09:23:22 srv4hai ping_SP[26197]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  1 09:23:50 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Dec  1 09:23:50 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.10
Dec  1 09:23:50 srv4hai dhcpd[21239]: execute_statement argv[2] = pchai7x
Dec  1 09:23:50 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Dec  1 09:23:50 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Dec  1 09:23:50 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#44871/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec  1 09:23:50 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#43345/key rndc-key: signer "rndc-key" approved
Dec  1 09:23:50 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#43345/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Dec  1 09:23:50 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#43345/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Dec  1 09:23:50 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#43345/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Dec  1 09:23:50 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#43345/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Dec  1 09:23:50 srv4hai dhcpd[21239]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Dec  1 09:23:50 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Dec  1 09:23:50 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#42673/key rndc-key: signer "rndc-key" approved
Dec  1 09:23:50 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#42673/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Dec  1 09:23:50 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#42673/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.
Dec  1 09:23:50 srv4hai dhcpd[21239]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Dec  1 09:23:50 srv4hai activate_scenario[11796]: SHELLY scenario: 'pcON(pcon)' started
Dec  1 09:23:50 srv4hai activate_scenario[11796]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished