activate_scenario.sh
Thu Jan 23 12:23:22 CET 2025
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/01/23/_0.log)

vorher: 12:23:22.924

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

nachher: 12:23:22.955
Dauer: 31 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/23/_1.log)

vorher: 12:23:22.948

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

nachher: 12:23:22.998
Dauer: 50 msec phName: 'shelly-40:'TB Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 12:23:22.884
nachher: 12:23:23.004
Dauer : 121 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/23//scene_buero_UM_20250123_122322.txt'


syslog

Jan 23 12:20:01 srv4hai CRON[13688]: (root) CMD (/etc/linetest/linetest.sh)
Jan 23 12:20:01 srv4hai CRON[13689]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jan 23 12:20:01 srv4hai common[13691]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jan 23 12:20:01 srv4hai meter.sh: SHELLY meter.sh started
Jan 23 12:20:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jan 23 12:20:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jan 23 12:20:07 srv4hai meter.sh: SHELLY 'shelly-54/GB Kugellampe':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 23 12:20:09 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jan 23 12:20:09 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jan 23 12:20:09 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Jan 23 12:20:09 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jan 23 12:20:09 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jan 23 12:20:12 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 23 12:20:15 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 23 12:20:15 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jan 23 12:20:15 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jan 23 12:20:15 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jan 23 12:20:15 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jan 23 12:20:15 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jan 23 12:20:15 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jan 23 12:20:15 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jan 23 12:20:15 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jan 23 12:20:15 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jan 23 12:20:15 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jan 23 12:20:15 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jan 23 12:20:15 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Jan 23 12:20:15 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Jan 23 12:20:15 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jan 23 12:20:15 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jan 23 12:20:18 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 23 12:20:18 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jan 23 12:20:21 srv4hai meter.sh: SHELLY 'shelly-99/99-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 23 12:20:21 srv4hai common[14695]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jan 23 12:20:21 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Jan 23 12:20:21 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs
Jan 23 12:20:21 srv4hai meter.sh: SHELLY meter.sh ended
Jan 23 12:20:46 srv4hai postfix/anvil[13291]: statistics: max connection rate 1/60s for (smtp:195.178.110.211) at Jan 23 12:14:10
Jan 23 12:20:46 srv4hai postfix/anvil[13291]: statistics: max connection count 1 for (smtp:195.178.110.211) at Jan 23 12:14:10
Jan 23 12:20:46 srv4hai postfix/anvil[13291]: statistics: max cache size 3 at Jan 23 12:17:25
Jan 23 12:20:50 srv4hai dhcpd[4995]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Jan 23 12:20:50 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Jan 23 12:20:50 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Jan 23 12:20:50 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.5
Jan 23 12:20:50 srv4hai dhcpd[4995]: execute_statement argv[2] = btscan1
Jan 23 12:20:50 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Jan 23 12:20:50 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Jan 23 12:20:50 srv4hai named[30406]: client @0x7f93380d6d20 192.168.12.252#60249/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan 23 12:20:50 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#37369/key rndc-key: signer "rndc-key" approved
Jan 23 12:20:50 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#37369/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Jan 23 12:20:50 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#37369/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Jan 23 12:20:50 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#37369/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Jan 23 12:20:50 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#37369/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Jan 23 12:20:50 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Jan 23 12:20:50 srv4hai dhcpd[4995]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Jan 23 12:20:50 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#47185/key rndc-key: signer "rndc-key" approved
Jan 23 12:20:50 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#47185/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Jan 23 12:20:50 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#47185/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at.
Jan 23 12:20:50 srv4hai dhcpd[4995]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Jan 23 12:20:50 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Jan 23 12:20:57 srv4hai ping_SP[8282]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737631257 - 'ping_SP_0'
Jan 23 12:20:57 srv4hai ping_SP[8282]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 23 12:21:00 srv4hai common[14760]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jan 23 12:21:01 srv4hai CRON[14774]: (root) CMD (/etc/linetest/linetest.sh)
Jan 23 12:21:10 srv4hai bt_scan[14760]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jan 23 12:21:10 srv4hai bt_scan[14760]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jan 23 12:21:12 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jan 23 12:21:13 srv4hai fetchmail[1651]: 62079 messages (62079 seen) for tmiglinci at mail.akis.at (783792076 octets).
Jan 23 12:21:13 srv4hai fetchmail[1651]: 11432 messages (11432 seen) for srozum at mail.akis.at (1361267489 octets).
Jan 23 12:21:14 srv4hai fetchmail[1651]: 28487 messages (28487 seen) for mrozum at mail.akis.at (586853955 octets).
Jan 23 12:21:14 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Jan 23 12:22:01 srv4hai CRON[14825]: (root) CMD (/etc/linetest/linetest.sh)
Jan 23 12:22:10 srv4hai ping_SP[8282]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737631330 - 'ping_SP_0'
Jan 23 12:22:10 srv4hai ping_SP[8282]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 23 12:22:36 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14852, secured, session=
Jan 23 12:22:36 srv4hai dovecot: imap(miglincit)<14852>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 23 12:23:01 srv4hai CRON[14866]: (root) CMD (/etc/linetest/linetest.sh)
Jan 23 12:23:20 srv4hai postfix/smtpd[14887]: connect from unknown[92.118.39.65]
Jan 23 12:23:22 srv4hai activate_scenario[14891]: SHELLY last scenario: 'offAll' @ '110532' from 'scene_offAll_20250123_110532.txt' - delta=10
Jan 23 12:23:22 srv4hai activate_scenario[14891]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20250123122322 20250123110532  -f '%S'
Jan 23 12:23:22 srv4hai activate_scenario[14891]: SHELLY  new scenario: 'buero_UM' different - GO ON
Jan 23 12:23:22 srv4hai activate_scenario[14891]: SHELLY scenario: 'buero_UM(buero_um)' started
Jan 23 12:23:22 srv4hai activate_scenario[14891]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished