activate_scenario.sh
Mon Feb 12 15:50:55 CET 2024
scenario: welcomeLight
phoneName: 0

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Willkommen-Licht EIN-schalten' - 'welcomeLight' - 'welcomelight'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/02/12/_0.log)

vorher: 15:50:55.783

http://192.168.12.103/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "input"

nachher: 15:50:55.882
Dauer: 98 msec phName: 'phoneName:'0''


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

vorher: 15:50:55.795

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

nachher: 15:50:55.878
Dauer: 83 msec phName: 'phoneName:'0''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/12/_2.log)

vorher: 15:50:55.809

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

nachher: 15:50:55.888
Dauer: 80 msec phName: 'phoneName:'0''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/12/_3.log)

vorher: 15:50:55.822

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

nachher: 15:50:55.849
Dauer: 28 msec phName: 'phoneName:'0''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/12/_4.log)

vorher: 15:50:55.833

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

nachher: 15:50:55.876
Dauer: 43 msec phName: 'phoneName:'0''


scenario: 'Willkommen-Licht EIN-schalten' - 'welcomeLight' - 'welcomelight'

urls : 5
vorher : 15:50:55.765
nachher: 15:50:55.896
Dauer : 132 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/12//scene_welcomeLight_20240212_155055.txt'


syslog

Feb 12 15:47:01 srv4hai CRON[31479]: (root) CMD (/etc/linetest/linetest.sh)
Feb 12 15:47:05 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31486, secured, session=
Feb 12 15:47:05 srv4hai dovecot: imap(miglincit)<31486>: Logged out in=756 out=49814 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=26342 body_count=0 body_bytes=0
Feb 12 15:48:01 srv4hai CRON[31502]: (root) CMD (/etc/linetest/linetest.sh)
Feb 12 15:48:17 srv4hai postfix/anvil[30100]: statistics: max connection rate 1/60s for (smtp:194.48.251.112) at Feb 12 15:40:55
Feb 12 15:48:17 srv4hai postfix/anvil[30100]: statistics: max connection count 1 for (smtp:194.48.251.112) at Feb 12 15:40:55
Feb 12 15:48:17 srv4hai postfix/anvil[30100]: statistics: max cache size 2 at Feb 12 15:44:56
Feb 12 15:49:01 srv4hai postfix/smtpd[31512]: connect from unknown[194.33.191.90]
Feb 12 15:49:01 srv4hai postfix/smtpd[31512]: warning: unknown[194.33.191.90]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 12 15:49:01 srv4hai postfix/smtpd[31512]: disconnect from unknown[194.33.191.90] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Feb 12 15:49:01 srv4hai CRON[31516]: (root) CMD (/etc/linetest/linetest.sh)
Feb 12 15:50:01 srv4hai CRON[31528]: (root) CMD (/etc/linetest/linetest.sh)
Feb 12 15:50:01 srv4hai CRON[31529]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 12 15:50:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 12 15:50:05 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31707, secured, session=<7LCrZDARbqAAAAAAAAAAAAAAAAAAAAAB>
Feb 12 15:50:05 srv4hai dovecot: imap(miglincit)<31707><7LCrZDARbqAAAAAAAAAAAAAAAAAAAAAB>: Logged out in=534 out=1232 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 12 15:50:10 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 15:50:13 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 15:50:15 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 15:50:18 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 15:50:20 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 15:50:23 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 15:50:26 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 15:50:28 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 15:50:31 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 15:50:33 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 15:50:36 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 15:50:38 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 15:50:41 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 15:50:42 srv4hai activate_scenario[31961]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Feb 12 15:50:42 srv4hai activate_scenario[31961]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Feb 12 15:50:42 srv4hai activate_scenario[31961]: SHELLY scenario: 'LOG_kommen(log_kommen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Feb 12 15:50:42 srv4hai activate_scenario[31961]: SHELLY scenario: 'LOG_kommen(log_kommen)' took 5 msec, shelly-03:'Licht Vorzimmer'
Feb 12 15:50:43 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 15:50:45 srv4hai dhcpd[5037]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Feb 12 15:50:45 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 12 15:50:45 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb 12 15:50:45 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.61
Feb 12 15:50:45 srv4hai dhcpd[5037]: execute_statement argv[2] = fpThomas
Feb 12 15:50:45 srv4hai common[32090]: SHELLY common.sh inkludiert
Feb 12 15:50:45 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Feb 12 15:50:45 srv4hai common[32102]: SHELLY common.sh inkludiert
Feb 12 15:50:45 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb 12 15:50:45 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 12 15:50:45 srv4hai named[14530]: client @0x7fc3180c14a0 192.168.12.252#55793/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 12 15:50:45 srv4hai named[14530]: client @0x7fc328100b10 192.168.12.252#41925/key rndc-key: signer "rndc-key" approved
Feb 12 15:50:45 srv4hai named[14530]: client @0x7fc328100b10 192.168.12.252#41925/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Feb 12 15:50:45 srv4hai named[14530]: client @0x7fc328100b10 192.168.12.252#41925/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Feb 12 15:50:45 srv4hai named[14530]: client @0x7fc328100b10 192.168.12.252#41925/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Feb 12 15:50:45 srv4hai named[14530]: client @0x7fc328100b10 192.168.12.252#41925/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Feb 12 15:50:45 srv4hai dhcpd[5037]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Feb 12 15:50:45 srv4hai named[14530]: client @0x7fc31403baf0 192.168.12.252#37729/key rndc-key: signer "rndc-key" approved
Feb 12 15:50:45 srv4hai named[14530]: client @0x7fc31403baf0 192.168.12.252#37729/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Feb 12 15:50:45 srv4hai named[14530]: client @0x7fc31403baf0 192.168.12.252#37729/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Feb 12 15:50:45 srv4hai dhcpd[5037]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Feb 12 15:50:45 srv4hai ping_SP[32102]: SHELLY ping_SP.sh started from smartphone
Feb 12 15:50:47 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 15:50:50 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 15:50:52 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 15:50:53 srv4hai common[32128]: SHELLY common.sh inkludiert
Feb 12 15:50:55 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 15:50:55 srv4hai common[32151]: SHELLY common.sh inkludiert
Feb 12 15:50:55 srv4hai check_presence[32151]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Feb 12 15:50:55 srv4hai check_presence[32151]: SHELLY (0) found  and 
Feb 12 15:50:55 srv4hai check_presence[32151]: SHELLY (0) found  and 
Feb 12 15:50:55 srv4hai check_presence[32151]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 12 15:50:55 srv4hai check_presence[32151]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb 12 15:50:55 srv4hai activate_scenario[32201]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb 12 15:50:55 srv4hai activate_scenario[32201]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished