activate_scenario.sh
Mon Apr 15 16:22:17 CEST 2024
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'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/04/15/_0.log)

vorher: 16:22:17.774

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

nachher: 16:22:17.841
Dauer: 67 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/15/_1.log)

vorher: 16:22:17.789

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

nachher: 16:22:17.879
Dauer: 91 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 16:22:17.737
nachher: 16:22:17.886
Dauer : 150 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/15//scene_buero_UM_20240415_162217.txt'


syslog

Apr 15 16:19:01 srv4hai CRON[5631]: (root) CMD (/etc/linetest/linetest.sh)
Apr 15 16:19:35 srv4hai ping_SP[29809]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713190775 - 'ping_SP_0'
Apr 15 16:19:35 srv4hai ping_SP[29809]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 15 16:19:40 srv4hai dovecot: imap(miglincit)<20987>: Logged out in=5637 out=12824 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 15 16:19:40 srv4hai dovecot: imap(miglincit)<20984>: Logged out in=826 out=4380 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 15 16:19:40 srv4hai dovecot: imap(miglincit)<5188>: Logged out in=10597 out=1497962 deleted=0 expunged=0 trashed=0 hdr_count=23 hdr_bytes=9106 body_count=23 body_bytes=1376799
Apr 15 16:19:40 srv4hai dovecot: imap(miglincit)<20958>: Logged out in=1643 out=19334 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=294 body_count=1 body_bytes=11622
Apr 15 16:19:40 srv4hai activate_scenario[5660]: SHELLY scenario: 'pcOFF(pcoff)' started
Apr 15 16:19:40 srv4hai activate_scenario[5660]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''
Apr 15 16:19:40 srv4hai activate_scenario[5660]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Apr 15 16:19:40 srv4hai postfix/pickup[19568]: 5878F6022F: uid=33 from=
Apr 15 16:19:40 srv4hai postfix/cleanup[5713]: 5878F6022F: message-id=<20240415141940.5878F6022F@mail.viehai.at>
Apr 15 16:19:40 srv4hai postfix/qmgr[15291]: 5878F6022F: from=, size=5334, nrcpt=1 (queue active)
Apr 15 16:19:40 srv4hai activate_scenario[5660]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Apr 15 16:19:40 srv4hai proc_url[5731]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/15/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Apr 15 16:19:40 srv4hai postfix/local[5726]: 5878F6022F: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Apr 15 16:19:40 srv4hai postfix/cleanup[5713]: 5DDC460230: message-id=<20240415141940.5DDC460230@mail.viehai.at>
Apr 15 16:19:40 srv4hai postfix/bounce[5727]: 5878F6022F: sender non-delivery notification: 5DDC460230
Apr 15 16:19:40 srv4hai postfix/qmgr[15291]: 5DDC460230: from=<>, size=7216, nrcpt=1 (queue active)
Apr 15 16:19:40 srv4hai postfix/qmgr[15291]: 5878F6022F: removed
Apr 15 16:19:40 srv4hai postfix/local[5726]: 5DDC460230: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 15 16:19:40 srv4hai postfix/qmgr[15291]: 5DDC460230: removed
Apr 15 16:19:40 srv4hai activate_scenario[5660]: SHELLY scenario: 'pcOFF(pcoff)' took 55 msec, shelly-0:''
Apr 15 16:20:01 srv4hai CRON[5769]: (root) CMD (/etc/linetest/linetest.sh)
Apr 15 16:20:01 srv4hai CRON[5770]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 15 16:20:01 srv4hai common[5772]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 15 16:20:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 15 16:20:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 15 16:20:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 15 16:20:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 15 16:20:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 15 16:20:06 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 15 16:20:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 15 16:20:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 15 16:20:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 15 16:20:12 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 15 16:20:12 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 15 16:20:12 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 15 16:20:12 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 15 16:20:12 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 15 16:20:12 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 15 16:20:14 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 15 16:20:15 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 15 16:20:15 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 15 16:20:15 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 15 16:20:15 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 15 16:20:15 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 15 16:20:15 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 15 16:20:15 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 15 16:20:15 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 15 16:20:15 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 15 16:20:15 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 15 16:20:18 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 15 16:20:18 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 15 16:20:18 srv4hai common[5772]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 15 16:20:18 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'16'=1713190818-1713190802
Apr 15 16:20:18 srv4hai check_presence[5772]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 15 16:20:18 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'16'=1713190818-1713190802
Apr 15 16:20:18 srv4hai check_presence[5772]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr 15 16:20:18 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'16'=1713190818-1713190802
Apr 15 16:20:18 srv4hai check_presence[5772]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 15 16:20:18 srv4hai check_presence[5772]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 15 16:20:18 srv4hai check_presence[5772]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 15 16:20:18 srv4hai common[5772]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 15 16:20:18 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcOFF'
Apr 15 16:20:18 srv4hai check_shelly.sh: SHELLY found '5' active shelly outputs
Apr 15 16:20:18 srv4hai meter.sh: SHELLY meter.sh ended
Apr 15 16:20:18 srv4hai postfix/pickup[19568]: EA8E56022F: uid=33 from=
Apr 15 16:20:18 srv4hai postfix/cleanup[5713]: EA8E56022F: message-id=<20240415142018.EA8E56022F@mail.viehai.at>
Apr 15 16:20:18 srv4hai postfix/qmgr[15291]: EA8E56022F: from=, size=642, nrcpt=1 (queue active)
Apr 15 16:20:18 srv4hai postfix/local[5726]: EA8E56022F: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 15 16:20:18 srv4hai postfix/qmgr[15291]: EA8E56022F: removed
Apr 15 16:20:48 srv4hai ping_SP[29809]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713190848 - 'ping_SP_0'
Apr 15 16:20:48 srv4hai ping_SP[29809]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 15 16:21:01 srv4hai CRON[6853]: (root) CMD (/etc/linetest/linetest.sh)
Apr 15 16:21:16 srv4hai postfix/smtpd[6859]: connect from unknown[87.120.84.171]
Apr 15 16:21:16 srv4hai postfix/smtpd[6859]: warning: unknown[87.120.84.171]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr 15 16:21:17 srv4hai postfix/smtpd[6859]: disconnect from unknown[87.120.84.171] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr 15 16:21:26 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 15 16:21:26 srv4hai fetchmail[1651]: 42082 messages (42082 seen) for tmiglinci at mail.akis.at (-783580207 octets).
Apr 15 16:21:27 srv4hai fetchmail[1651]: 10133 messages (10133 seen) for srozum at mail.akis.at (1224936503 octets).
Apr 15 16:21:27 srv4hai fetchmail[1651]: 22874 messages (22874 seen) for mrozum at mail.akis.at (-343199569 octets).
Apr 15 16:21:28 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr 15 16:21:34 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr 15 16:21:34 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.3
Apr 15 16:21:34 srv4hai dhcpd[28085]: execute_statement argv[2] = ap3hai
Apr 15 16:21:34 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.3 from 70:a7:41:9a:7d:4e via enp2s0
Apr 15 16:21:34 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Apr 15 16:21:34 srv4hai dhcpd[28085]: DHCPRELEASE of 192.168.12.3 from 70:a7:41:9a:7d:4e via enp2s0 (not found)
Apr 15 16:21:34 srv4hai named[15509]: client @0x7f930807c330 192.168.12.252#50983/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: ap3hai.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 15 16:21:34 srv4hai named[15509]: client @0x7f93100a9530 192.168.12.252#45163/key rndc-key: signer "rndc-key" approved
Apr 15 16:21:34 srv4hai named[15509]: client @0x7f93100a9530 192.168.12.252#45163/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' TXT
Apr 15 16:21:34 srv4hai named[15509]: client @0x7f93100a9530 192.168.12.252#45163/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' TXT "31763f1a8a980dd918aaf8fff3416a5028"
Apr 15 16:21:34 srv4hai named[15509]: client @0x7f93100a9530 192.168.12.252#45163/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' A
Apr 15 16:21:34 srv4hai named[15509]: client @0x7f93100a9530 192.168.12.252#45163/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' A 192.168.12.3
Apr 15 16:21:34 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.3'(3) device 'ap3hai'
Apr 15 16:21:34 srv4hai dhcpd[28085]: Added new forward map from ap3hai.viehai.at to 192.168.12.3
Apr 15 16:21:34 srv4hai named[15509]: client @0x7f931c67a760 192.168.12.252#36527/key rndc-key: signer "rndc-key" approved
Apr 15 16:21:34 srv4hai named[15509]: client @0x7f931c67a760 192.168.12.252#36527/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '3.12.168.192.in-addr.arpa' PTR
Apr 15 16:21:34 srv4hai named[15509]: client @0x7f931c67a760 192.168.12.252#36527/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.
Apr 15 16:21:34 srv4hai dhcpd[28085]: Added reverse map from 3.12.168.192.in-addr.arpa. to ap3hai.viehai.at
Apr 15 16:21:34 srv4hai dhcpcommit.sh: SHELLY device 'ap3hai' known and accepted
Apr 15 16:21:35 srv4hai dhcpd[28085]: DHCPDISCOVER from 70:a7:41:9a:7d:4e via enp2s0
Apr 15 16:21:35 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Apr 15 16:21:35 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr 15 16:21:35 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.3
Apr 15 16:21:35 srv4hai dhcpd[28085]: execute_statement argv[2] = ap3hai
Apr 15 16:21:35 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.3 (192.168.12.252) from 70:a7:41:9a:7d:4e via enp2s0
Apr 15 16:21:35 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Apr 15 16:21:35 srv4hai named[15509]: client @0x7f930801c730 192.168.12.252#47555/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: ap3hai.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 15 16:21:35 srv4hai named[15509]: client @0x7f93180676c0 192.168.12.252#48861/key rndc-key: signer "rndc-key" approved
Apr 15 16:21:35 srv4hai named[15509]: client @0x7f93180676c0 192.168.12.252#48861/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' TXT
Apr 15 16:21:35 srv4hai named[15509]: client @0x7f93180676c0 192.168.12.252#48861/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' TXT "31763f1a8a980dd918aaf8fff3416a5028"
Apr 15 16:21:35 srv4hai named[15509]: client @0x7f93180676c0 192.168.12.252#48861/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' A
Apr 15 16:21:35 srv4hai named[15509]: client @0x7f93180676c0 192.168.12.252#48861/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' A 192.168.12.3
Apr 15 16:21:35 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.3'(3) device 'ap3hai'
Apr 15 16:21:35 srv4hai dhcpd[28085]: Added new forward map from ap3hai.viehai.at to 192.168.12.3
Apr 15 16:21:35 srv4hai named[15509]: client @0x7f9318034020 192.168.12.252#44503/key rndc-key: signer "rndc-key" approved
Apr 15 16:21:35 srv4hai named[15509]: client @0x7f9318034020 192.168.12.252#44503/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '3.12.168.192.in-addr.arpa' PTR
Apr 15 16:21:35 srv4hai named[15509]: client @0x7f9318034020 192.168.12.252#44503/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.
Apr 15 16:21:35 srv4hai dhcpd[28085]: Added reverse map from 3.12.168.192.in-addr.arpa. to ap3hai.viehai.at
Apr 15 16:21:35 srv4hai dhcpcommit.sh: SHELLY device 'ap3hai' known and accepted
Apr 15 16:21:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6882, secured, session=
Apr 15 16:21:41 srv4hai dovecot: imap(miglincit)<6882>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 15 16:22:01 srv4hai CRON[6890]: (root) CMD (/etc/linetest/linetest.sh)
Apr 15 16:22:01 srv4hai ping_SP[29809]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713190921 - 'ping_SP_0'
Apr 15 16:22:01 srv4hai ping_SP[29809]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 15 16:22:17 srv4hai activate_scenario[6911]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr 15 16:22:17 srv4hai activate_scenario[6911]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished