activate_scenario.sh
Wed Jul 24 18:11:32 CEST 2024
scenario: nasszeile_um
source: 192.168.12.128

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

scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/07/24/_0.log)

vorher: 18:11:32.194

http://192.168.12.116/white/0?turn=toggle&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 18:11:32.324
Dauer: 129 msec phName: 'shelly-28:'Schalter Nasszeile''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/07/24/_1.log)

vorher: 18:11:32.212

http://192.168.12.116/white/1?turn=toggle&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 18:11:32.323
Dauer: 111 msec phName: 'shelly-28:'Schalter Nasszeile''


scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

urls : 2
vorher : 18:11:32.168
nachher: 18:11:32.332
Dauer : 164 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/24//scene_nasszeile_um_20240724_181132.txt'


syslog

Jul 24 18:08:01 srv4hai CRON[11382]: (root) CMD (/etc/linetest/linetest.sh)
Jul 24 18:08:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11391, secured, session=
Jul 24 18:08:04 srv4hai dovecot: imap(miglincit)<11391>: Logged out in=709 out=53444 deleted=0 expunged=0 trashed=0 hdr_count=55 hdr_bytes=25960 body_count=0 body_bytes=0
Jul 24 18:08:21 srv4hai ping_SP[4840]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721837301 - 'ping_SP_0'
Jul 24 18:08:21 srv4hai ping_SP[4840]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 24 18:09:01 srv4hai CRON[11424]: (root) CMD (/etc/linetest/linetest.sh)
Jul 24 18:09:01 srv4hai CRON[11425]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jul 24 18:09:01 srv4hai systemd[1]: Starting Clean php session files...
Jul 24 18:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Jul 24 18:09:01 srv4hai systemd[1]: Started Clean php session files.
Jul 24 18:09:31 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11540, secured, session=
Jul 24 18:09:31 srv4hai dovecot: imap(miglincit)<11540>: Logged out in=441 out=11187 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=379 body_count=1 body_bytes=9264
Jul 24 18:09:34 srv4hai ping_SP[4840]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721837374 - 'ping_SP_0'
Jul 24 18:09:34 srv4hai ping_SP[4840]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 24 18:09:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11559, secured, session=
Jul 24 18:09:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11561, secured, session=
Jul 24 18:09:37 srv4hai dovecot: imap(miglincit)<11561>: Logged out in=397 out=54220 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=429 body_count=1 body_bytes=52152
Jul 24 18:09:37 srv4hai dovecot: imap(miglincit)<11559>: Logged out in=676 out=33378 deleted=0 expunged=0 trashed=6 hdr_count=6 hdr_bytes=1649 body_count=0 body_bytes=0
Jul 24 18:09:46 srv4hai activate_scenario[11564]: SHELLY scenario: 'pcOFF(pcoff)' started
Jul 24 18:09:46 srv4hai activate_scenario[11564]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''
Jul 24 18:09:46 srv4hai activate_scenario[11564]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Jul 24 18:09:46 srv4hai postfix/pickup[11528]: 315366018A: uid=33 from=
Jul 24 18:09:46 srv4hai postfix/cleanup[11617]: 315366018A: message-id=<20240724160946.315366018A@mail.viehai.at>
Jul 24 18:09:46 srv4hai activate_scenario[11564]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Jul 24 18:09:46 srv4hai postfix/qmgr[8566]: 315366018A: from=, size=23937, nrcpt=1 (queue active)
Jul 24 18:09:46 srv4hai proc_url[11633]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/24/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Jul 24 18:09:46 srv4hai postfix/local[11634]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 24 18:09:46 srv4hai postfix/local[11634]: 315366018A: to=, orig_to=, relay=local, delay=0.05, delays=0.03/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jul 24 18:09:46 srv4hai postfix/cleanup[11617]: 3A0B46018B: message-id=<20240724160946.3A0B46018B@mail.viehai.at>
Jul 24 18:09:46 srv4hai postfix/bounce[11639]: 315366018A: sender non-delivery notification: 3A0B46018B
Jul 24 18:09:46 srv4hai postfix/qmgr[8566]: 3A0B46018B: from=<>, size=25819, nrcpt=1 (queue active)
Jul 24 18:09:46 srv4hai postfix/qmgr[8566]: 315366018A: removed
Jul 24 18:09:46 srv4hai postfix/local[11634]: 3A0B46018B: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 24 18:09:46 srv4hai postfix/qmgr[8566]: 3A0B46018B: removed
Jul 24 18:09:46 srv4hai activate_scenario[11564]: SHELLY scenario: 'pcOFF(pcoff)' took 55 msec, shelly-0:''
Jul 24 18:10:01 srv4hai CRON[11666]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jul 24 18:10:01 srv4hai CRON[11667]: (root) CMD (/etc/linetest/linetest.sh)
Jul 24 18:10:01 srv4hai common[11668]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jul 24 18:10:01 srv4hai meter.sh: SHELLY meter.sh started
Jul 24 18:10:01 srv4hai postfix/anvil[9412]: statistics: max connection rate 1/60s for (smtp:65.49.1.71) at Jul 24 18:00:01
Jul 24 18:10:01 srv4hai postfix/anvil[9412]: statistics: max connection count 1 for (smtp:65.49.1.71) at Jul 24 18:00:01
Jul 24 18:10:01 srv4hai postfix/anvil[9412]: statistics: max cache size 2 at Jul 24 18:00:11
Jul 24 18:10:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jul 24 18:10:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jul 24 18:10:02 srv4hai common[11884]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 24 18:10:04 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jul 24 18:10:04 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jul 24 18:10:04 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jul 24 18:10:04 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jul 24 18:10:04 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jul 24 18:10:07 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 24 18:10:10 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 24 18:10:10 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jul 24 18:10:10 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jul 24 18:10:10 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jul 24 18:10:10 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jul 24 18:10:10 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jul 24 18:10:10 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Jul 24 18:10:10 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jul 24 18:10:10 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jul 24 18:10:10 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jul 24 18:10:10 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jul 24 18:10:10 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jul 24 18:10:10 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jul 24 18:10:10 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jul 24 18:10:10 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jul 24 18:10:10 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jul 24 18:10:10 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jul 24 18:10:12 srv4hai bt_scan[11884]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul 24 18:10:12 srv4hai bt_scan[11884]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jul 24 18:10:13 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 24 18:10:15 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 24 18:10:15 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jul 24 18:10:15 srv4hai common[12574]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jul 24 18:10:15 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcOFF'
Jul 24 18:10:15 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Jul 24 18:10:15 srv4hai meter.sh: SHELLY meter.sh ended
Jul 24 18:10:47 srv4hai ping_SP[4840]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721837447 - 'ping_SP_0'
Jul 24 18:10:47 srv4hai ping_SP[4840]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 24 18:11:01 srv4hai CRON[12623]: (root) CMD (/etc/linetest/linetest.sh)
Jul 24 18:11:19 srv4hai dhcpd[30731]: DHCPRELEASE of 192.168.12.3 from 70:a7:41:9a:7d:4e via enp2s0 (not found)
Jul 24 18:11:20 srv4hai dhcpd[30731]: DHCPDISCOVER from 70:a7:41:9a:7d:4e via enp2s0
Jul 24 18:11:20 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Jul 24 18:11:20 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Jul 24 18:11:20 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.3
Jul 24 18:11:20 srv4hai dhcpd[30731]: execute_statement argv[2] = ap3hai
Jul 24 18:11:20 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.3 (192.168.12.252) from 70:a7:41:9a:7d:4e via enp2s0
Jul 24 18:11:20 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Jul 24 18:11:20 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#49757/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: ap3hai.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 24 18:11:20 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#54241/key rndc-key: signer "rndc-key" approved
Jul 24 18:11:20 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#54241/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' TXT
Jul 24 18:11:20 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#54241/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' TXT "31763f1a8a980dd918aaf8fff3416a5028"
Jul 24 18:11:20 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#54241/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' A
Jul 24 18:11:20 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#54241/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' A 192.168.12.3
Jul 24 18:11:20 srv4hai dhcpd[30731]: Added new forward map from ap3hai.viehai.at to 192.168.12.3
Jul 24 18:11:20 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.3'(3) device 'ap3hai'
Jul 24 18:11:20 srv4hai named[30406]: client @0x7f9330095370 192.168.12.252#58353/key rndc-key: signer "rndc-key" approved
Jul 24 18:11:20 srv4hai named[30406]: client @0x7f9330095370 192.168.12.252#58353/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '3.12.168.192.in-addr.arpa' PTR
Jul 24 18:11:20 srv4hai named[30406]: client @0x7f9330095370 192.168.12.252#58353/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '3.12.168.192.in-addr.arpa' PTR ap3hai.viehai.at.
Jul 24 18:11:20 srv4hai dhcpd[30731]: Added reverse map from 3.12.168.192.in-addr.arpa. to ap3hai.viehai.at
Jul 24 18:11:20 srv4hai dhcpcommit.sh: SHELLY device 'ap3hai' known and accepted
Jul 24 18:11:25 srv4hai nmbd[2172]: [2024/07/24 18:11:25.966168,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul 24 18:11:25 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul 24 18:11:25 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul 24 18:11:25 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul 24 18:11:32 srv4hai activate_scenario[12643]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Jul 24 18:11:32 srv4hai activate_scenario[12643]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished