activate_scenario.sh
Mon Dec 2 19:20:52 CET 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x

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

vorher: 19:20:52.774

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: 19:20:52.806
Dauer: 31 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 19:20:52.742
nachher: 19:20:52.814
Dauer : 73 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/02//scene_pcON_20241202_192052.txt'


syslog

Dec  2 19:17:01 srv4hai CRON[13143]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Dec  2 19:17:01 srv4hai CRON[13144]: (root) CMD (/etc/linetest/linetest.sh)
Dec  2 19:17:25 srv4hai postfix/smtpd[13151]: connect from unknown[43.139.166.147]
Dec  2 19:17:26 srv4hai postfix/smtpd[13151]: warning: unknown[43.139.166.147]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec  2 19:17:26 srv4hai postfix/smtpd[13151]: disconnect from unknown[43.139.166.147] ehlo=1 auth=0/1 quit=1 commands=2/3
Dec  2 19:17:49 srv4hai ping_SP[1332]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733163469 - 'ping_SP_0'
Dec  2 19:17:49 srv4hai ping_SP[1332]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  2 19:18:01 srv4hai CRON[13175]: (root) CMD (/etc/linetest/linetest.sh)
Dec  2 19:18:16 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13183, secured, session=
Dec  2 19:18:16 srv4hai dovecot: imap(miglincit)<13183>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec  2 19:18:39 srv4hai postfix/smtpd[13151]: connect from unknown[80.94.95.239]
Dec  2 19:18:42 srv4hai postfix/smtpd[13151]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec  2 19:18:43 srv4hai postfix/smtpd[13151]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec  2 19:18:52 srv4hai ping_SP[1332]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733163532 - 'ping_SP_0'
Dec  2 19:18:52 srv4hai ping_SP[1332]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  2 19:19:01 srv4hai CRON[13210]: (root) CMD (/etc/linetest/linetest.sh)
Dec  2 19:19:55 srv4hai ping_SP[1332]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733163595 - 'ping_SP_0'
Dec  2 19:19:55 srv4hai ping_SP[1332]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  2 19:20:01 srv4hai CRON[13251]: (root) CMD (/etc/linetest/linetest.sh)
Dec  2 19:20:01 srv4hai CRON[13252]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Dec  2 19:20:01 srv4hai common[13254]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Dec  2 19:20:01 srv4hai meter.sh: SHELLY meter.sh started
Dec  2 19:20:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Dec  2 19:20:01 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Dec  2 19:20:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Dec  2 19:20:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Dec  2 19:20:05 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Dec  2 19:20:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Dec  2 19:20:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Dec  2 19:20:06 srv4hai common[13971]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec  2 19:20:06 srv4hai bt_scan[13971]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Dec  2 19:20:06 srv4hai bt_scan[13971]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Dec  2 19:20:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec  2 19:20:10 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec  2 19:20:10 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Dec  2 19:20:10 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Dec  2 19:20:10 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Dec  2 19:20:10 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Dec  2 19:20:10 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Dec  2 19:20:10 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Dec  2 19:20:10 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Dec  2 19:20:10 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Dec  2 19:20:10 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Dec  2 19:20:10 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Dec  2 19:20:10 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Dec  2 19:20:11 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Dec  2 19:20:11 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Dec  2 19:20:11 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Dec  2 19:20:11 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Dec  2 19:20:11 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring
Dec  2 19:20:13 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec  2 19:20:13 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Dec  2 19:20:13 srv4hai common[14252]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Dec  2 19:20:13 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM'
Dec  2 19:20:13 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
Dec  2 19:20:13 srv4hai meter.sh: SHELLY meter.sh ended
Dec  2 19:20:38 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec  2 19:20:39 srv4hai fetchmail[1651]: 58293 messages (58293 seen) for tmiglinci at mail.akis.at (495182715 octets).
Dec  2 19:20:39 srv4hai fetchmail[1651]: 11155 messages (11155 seen) for srozum at mail.akis.at (1341809694 octets).
Dec  2 19:20:40 srv4hai fetchmail[1651]: 27623 messages (27622 seen) for mrozum at mail.akis.at (460959997 octets).
Dec  2 19:20:40 srv4hai postfix/smtpd[14276]: connect from localhost[127.0.0.1]
Dec  2 19:20:40 srv4hai postfix/smtpd[14276]: 82FBE6345A: client=localhost[127.0.0.1]
Dec  2 19:20:40 srv4hai postfix/cleanup[14279]: 82FBE6345A: message-id=<20241202191750.48030@newsletter.falter.at>
Dec  2 19:20:40 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:27623 of 27623 (71013 octets) not flushed
Dec  2 19:20:40 srv4hai postfix/qmgr[8566]: 82FBE6345A: from=, size=71280, nrcpt=1 (queue active)
Dec  2 19:20:40 srv4hai postfix/smtpd[14276]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Dec  2 19:20:40 srv4hai postfix/local[14280]: 82FBE6345A: to=, relay=local, delay=0.09, delays=0.07/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec  2 19:20:40 srv4hai postfix/qmgr[8566]: 82FBE6345A: removed
Dec  2 19:20:40 srv4hai fetchmail[1651]: 1158 messages (1158 seen) for admin@bastelstube.wien at pop3.world4you.com (52179212 octets).
Dec  2 19:20:52 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Dec  2 19:20:52 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.10
Dec  2 19:20:52 srv4hai dhcpd[21239]: execute_statement argv[2] = pchai7x
Dec  2 19:20:52 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Dec  2 19:20:52 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Dec  2 19:20:52 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#43831/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec  2 19:20:52 srv4hai named[30406]: client @0x7f93380d6d20 192.168.12.252#47459/key rndc-key: signer "rndc-key" approved
Dec  2 19:20:52 srv4hai named[30406]: client @0x7f93380d6d20 192.168.12.252#47459/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Dec  2 19:20:52 srv4hai named[30406]: client @0x7f93380d6d20 192.168.12.252#47459/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Dec  2 19:20:52 srv4hai named[30406]: client @0x7f93380d6d20 192.168.12.252#47459/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Dec  2 19:20:52 srv4hai named[30406]: client @0x7f93380d6d20 192.168.12.252#47459/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Dec  2 19:20:52 srv4hai dhcpd[21239]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Dec  2 19:20:52 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Dec  2 19:20:52 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#38847/key rndc-key: signer "rndc-key" approved
Dec  2 19:20:52 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#38847/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Dec  2 19:20:52 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#38847/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  2 19:20:52 srv4hai dhcpd[21239]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Dec  2 19:20:52 srv4hai activate_scenario[14289]: SHELLY scenario: 'pcON(pcon)' started
Dec  2 19:20:52 srv4hai activate_scenario[14289]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished