activate_scenario.sh
Thu Mar 7 22:41:07 CET 2024
scenario: offDownstairs
source: 192.168.12.123

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

scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

Wandlicht beim Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/03/07/_0.log)

vorher: 22:41:07.646

http://192.168.12.101/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 22:41:07.756
Dauer: 111 msec phName: 'shelly-23:'Licht Sekretär''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/03/07/_1.log)

vorher: 22:41:07.659

http://192.168.12.102/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 22:41:07.686
Dauer: 27 msec phName: 'shelly-23:'Licht Sekretär''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/03/07/_2.log)

vorher: 22:41:07.672

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

nachher: 22:41:07.740
Dauer: 68 msec phName: 'shelly-23:'Licht Sekretär''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/03/07/_3.log)

vorher: 22:41:07.683

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

nachher: 22:41:07.763
Dauer: 80 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/03/07/_4.log)

vorher: 22:41:07.695

http://192.168.12.106/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 22:41:07.845
Dauer: 150 msec phName: 'shelly-23:'Licht Sekretär''


WZ Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/03/07/_5.log)

vorher: 22:41:07.707

http://192.168.12.110/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 22:41:07.751
Dauer: 44 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:41:07.719

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

nachher: 22:41:07.849
Dauer: 131 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:41:07.730

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

nachher: 22:41:07.863
Dauer: 133 msec phName: 'shelly-23:'Licht Sekretär''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/03/07/_8.log)

vorher: 22:41:07.742

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "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: 22:41:07.802
Dauer: 59 msec phName: 'shelly-23:'Licht Sekretär''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/03/07/_9.log)

vorher: 22:41:07.755

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "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: 22:41:07.993
Dauer: 237 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/03/07/_10.log)

vorher: 22:41:07.769

http://192.168.12.119/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 22:41:07.814
Dauer: 45 msec phName: 'shelly-23:'Licht Sekretär''


WC (/srv/www/viehai/shelly/log_scenarios/2024/03/07/_11.log)

vorher: 22:41:07.781

http://192.168.12.122/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 22:41:07.827
Dauer: 46 msec phName: 'shelly-23:'Licht Sekretär''


Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/03/07/_12.log)

vorher: 22:41:07.793

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

nachher: 22:41:07.863
Dauer: 71 msec phName: 'shelly-23:'Licht Sekretär''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/03/07/_13.log)

vorher: 22:41:07.804

http://192.168.12.125/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 22:41:07.864
Dauer: 60 msec phName: 'shelly-23:'Licht Sekretär''


scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

urls : 14
vorher : 22:41:07.627
nachher: 22:41:08.003
Dauer : 376 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/07//scene_offDownstairs_20240307_224107.txt'


syslog

Mar  7 22:38:01 srv4hai CRON[18157]: (root) CMD (/etc/linetest/linetest.sh)
Mar  7 22:38:04 srv4hai common[18165]: SHELLY common.sh inkludiert
Mar  7 22:38:14 srv4hai bt_scan[18165]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'No'
Mar  7 22:38:14 srv4hai bt_scan[18165]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Mar  7 22:38:14 srv4hai common[18196]: SHELLY common.sh inkludiert
Mar  7 22:38:14 srv4hai check_presence[18196]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Mar  7 22:38:14 srv4hai check_presence[18196]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Mar  7 22:38:14 srv4hai check_presence[18196]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Mar  7 22:38:14 srv4hai check_presence[18196]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Mar  7 22:38:14 srv4hai check_presence[18196]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Mar  7 22:38:18 srv4hai postfix/anvil[17685]: statistics: max connection rate 1/60s for (smtp:193.222.96.116) at Mar  7 22:32:59
Mar  7 22:38:18 srv4hai postfix/anvil[17685]: statistics: max connection count 1 for (smtp:193.222.96.116) at Mar  7 22:32:59
Mar  7 22:38:18 srv4hai postfix/anvil[17685]: statistics: max cache size 1 at Mar  7 22:32:59
Mar  7 22:38:24 srv4hai ping_SP[31585]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709847504 - 'ping_SP_1'
Mar  7 22:38:24 srv4hai ping_SP[31585]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  7 22:38:30 srv4hai ping_SP[26982]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709847510 - 'ping_SP_0'
Mar  7 22:38:30 srv4hai ping_SP[26982]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  7 22:38:38 srv4hai common[18296]: SHELLY common.sh inkludiert
Mar  7 22:38:48 srv4hai bt_scan[18296]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Mar  7 22:38:48 srv4hai bt_scan[18296]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Mar  7 22:39:01 srv4hai CRON[18334]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Mar  7 22:39:01 srv4hai CRON[18335]: (root) CMD (/etc/linetest/linetest.sh)
Mar  7 22:39:01 srv4hai systemd[1]: Starting Clean php session files...
Mar  7 22:39:02 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Mar  7 22:39:02 srv4hai systemd[1]: Started Clean php session files.
Mar  7 22:39:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18437, secured, session=
Mar  7 22:39:13 srv4hai dovecot: imap(miglincit)<18437>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  7 22:39:38 srv4hai ping_SP[31585]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709847578 - 'ping_SP_1'
Mar  7 22:39:38 srv4hai ping_SP[31585]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  7 22:39:44 srv4hai ping_SP[26982]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709847584 - 'ping_SP_0'
Mar  7 22:39:44 srv4hai ping_SP[26982]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  7 22:40:01 srv4hai CRON[18495]: (root) CMD (/etc/linetest/linetest.sh)
Mar  7 22:40:01 srv4hai CRON[18496]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar  7 22:40:01 srv4hai meter.sh: SHELLY meter.sh started
Mar  7 22:40:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:13 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:18 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:21 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:23 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:26 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:28 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:31 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:34 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:36 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:39 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:41 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:43 srv4hai postfix/smtpd[18986]: connect from unknown[193.222.96.70]
Mar  7 22:40:43 srv4hai postfix/smtpd[18986]: warning: unknown[193.222.96.70]: SASL LOGIN authentication failed: Invalid authentication mechanism
Mar  7 22:40:43 srv4hai postfix/smtpd[18986]: disconnect from unknown[193.222.96.70] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Mar  7 22:40:44 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:47 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:49 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:51 srv4hai ping_SP[31585]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709847651 - 'ping_SP_1'
Mar  7 22:40:51 srv4hai ping_SP[31585]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  7 22:40:52 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:54 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:57 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:57 srv4hai ping_SP[26982]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709847657 - 'ping_SP_0'
Mar  7 22:40:57 srv4hai ping_SP[26982]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  7 22:40:59 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  7 22:40:59 srv4hai meter.sh: SHELLY meter.sh ended
Mar  7 22:40:59 srv4hai postfix/pickup[14095]: D2916602B8: uid=33 from=
Mar  7 22:40:59 srv4hai postfix/cleanup[19061]: D2916602B8: message-id=<20240307214059.D2916602B8@mail.viehai.at>
Mar  7 22:40:59 srv4hai postfix/qmgr[15291]: D2916602B8: from=, size=654, nrcpt=1 (queue active)
Mar  7 22:40:59 srv4hai postfix/local[19063]: D2916602B8: to=, orig_to=, relay=local, delay=0.04, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  7 22:40:59 srv4hai postfix/qmgr[15291]: D2916602B8: removed
Mar  7 22:41:01 srv4hai CRON[19066]: (root) CMD (/etc/linetest/linetest.sh)
Mar  7 22:41:05 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar  7 22:41:06 srv4hai fetchmail[1651]: 39478 messages (39478 seen) for tmiglinci at mail.akis.at (-1033888522 octets).
Mar  7 22:41:06 srv4hai fetchmail[1651]: 9975 messages (9975 seen) for srozum at mail.akis.at (1205987321 octets).
Mar  7 22:41:07 srv4hai activate_scenario[19072]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Mar  7 22:41:07 srv4hai activate_scenario[19072]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'

finished