activate_scenario.sh
Thu Mar 7 22:41:11 CET 2024
scenario: bedlight_tom
source: 192.168.12.112

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

scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/03/07/_0.log)

vorher: 22:41:11.557

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

nachher: 22:41:11.597
Dauer: 38 msec phName: 'shelly-12:'Schlafzimmer Licht''


scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

urls : 1
vorher : 22:41:11.485
nachher: 22:41:11.604
Dauer : 120 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/07//scene_bedlight_tom_20240307_224111.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'
Mar  7 22:41:07 srv4hai activate_scenario[19072]: SHELLY scenario: 'offDownstairs(offdownstairs)' TO BE EXECUTED, shelly-23:'Licht Sekretär'
Mar  7 22:41:07 srv4hai fetchmail[1651]: 22088 messages (22088 seen) for mrozum at mail.akis.at (-482974433 octets).
Mar  7 22:41:07 srv4hai postfix/pickup[14095]: 95FF6602B8: uid=33 from=
Mar  7 22:41:07 srv4hai postfix/cleanup[19061]: 95FF6602B8: message-id=<20240307214107.95FF6602B8@mail.viehai.at>
Mar  7 22:41:07 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar  7 22:41:07 srv4hai postfix/qmgr[15291]: 95FF6602B8: from=, size=9411, nrcpt=1 (queue active)
Mar  7 22:41:07 srv4hai postfix/local[19063]: 95FF6602B8: to=, orig_to=, relay=local, delay=0.55, delays=0.53/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Mar  7 22:41:07 srv4hai postfix/cleanup[19061]: 9B3CB602B9: message-id=<20240307214107.9B3CB602B9@mail.viehai.at>
Mar  7 22:41:07 srv4hai postfix/bounce[19128]: 95FF6602B8: sender non-delivery notification: 9B3CB602B9
Mar  7 22:41:07 srv4hai postfix/qmgr[15291]: 9B3CB602B9: from=<>, size=11330, nrcpt=1 (queue active)
Mar  7 22:41:07 srv4hai postfix/qmgr[15291]: 95FF6602B8: removed
Mar  7 22:41:07 srv4hai activate_scenario[19072]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-01'-'Wandlicht beim Esstisch' --> '0?turn=off'
Mar  7 22:41:07 srv4hai proc_url[19143]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/07/_0.log' - shellyUsage:'Wandlicht beim Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  7 22:41:07 srv4hai postfix/local[19063]: 9B3CB602B9: to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  7 22:41:07 srv4hai postfix/qmgr[15291]: 9B3CB602B9: removed
Mar  7 22:41:07 srv4hai activate_scenario[19072]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-02'-'Balkon-Licht' --> '0?turn=off'
Mar  7 22:41:07 srv4hai proc_url[19154]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/07/_1.log' - shellyUsage:'Balkon-Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  7 22:41:07 srv4hai activate_scenario[19072]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off'
Mar  7 22:41:07 srv4hai proc_url[19165]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/07/_2.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  7 22:41:07 srv4hai activate_scenario[19072]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-05'-'Stehlampe Anne hell' --> '0?turn=off'
Mar  7 22:41:07 srv4hai proc_url[19176]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/07/_3.log' - shellyUsage:'Stehlampe Anne hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  7 22:41:07 srv4hai activate_scenario[19072]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=off'
Mar  7 22:41:07 srv4hai proc_url[19197]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/07/_4.log' - shellyUsage:'Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  7 22:41:07 srv4hai activate_scenario[19072]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-10'-'WZ Bücherregal' --> '0?turn=off'
Mar  7 22:41:07 srv4hai proc_url[19208]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/07/_5.log' - shellyUsage:'WZ Bücherregal' - scUrl:'http://192.168.12.110/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  7 22:41:07 srv4hai activate_scenario[19072]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=off&brightness=70'
Mar  7 22:41:07 srv4hai proc_url[19219]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/07/_6.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=off&brightness=70' - phName:'shelly-23:'Licht Sekretär''
Mar  7 22:41:07 srv4hai activate_scenario[19072]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=off&brightness=70'
Mar  7 22:41:07 srv4hai proc_url[19230]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/07/_7.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=off&brightness=70' - phName:'shelly-23:'Licht Sekretär''
Mar  7 22:41:07 srv4hai activate_scenario[19072]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=off&brightness=50'
Mar  7 22:41:07 srv4hai proc_url[19243]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/07/_8.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=off&brightness=50' - phName:'shelly-23:'Licht Sekretär''
Mar  7 22:41:07 srv4hai activate_scenario[19072]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=off&brightness=50'
Mar  7 22:41:07 srv4hai proc_url[19269]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/07/_9.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=off&brightness=50' - phName:'shelly-23:'Licht Sekretär''
Mar  7 22:41:07 srv4hai activate_scenario[19072]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-19'-'Fernsehlampe groß' --> '0?turn=off'
Mar  7 22:41:07 srv4hai proc_url[19302]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/07/_10.log' - shellyUsage:'Fernsehlampe groß' - scUrl:'http://192.168.12.119/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  7 22:41:07 srv4hai activate_scenario[19072]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-22'-'WC' --> '0?turn=off'
Mar  7 22:41:07 srv4hai proc_url[19316]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/07/_11.log' - shellyUsage:'WC' - scUrl:'http://192.168.12.122/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  7 22:41:07 srv4hai activate_scenario[19072]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-23'-'Licht Sekretär' --> '0?turn=off'
Mar  7 22:41:07 srv4hai proc_url[19327]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/07/_12.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  7 22:41:07 srv4hai activate_scenario[19072]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-25'-'Küchenlicht' --> '0?turn=off'
Mar  7 22:41:07 srv4hai proc_url[19339]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/07/_13.log' - shellyUsage:'Küchenlicht' - scUrl:'http://192.168.12.125/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  7 22:41:08 srv4hai activate_scenario[19072]: SHELLY scenario: 'offDownstairs(offdownstairs)' took 376 msec, shelly-23:'Licht Sekretär'
Mar  7 22:41:11 srv4hai activate_scenario[19497]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Mar  7 22:41:11 srv4hai activate_scenario[19497]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished