activate_scenario.sh
Sat Feb 10 20:51:52 CET 2024
scenario: welcomeLight
phoneName: 1

'night' <--> 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/10/_0.log)

vorher: 20:51:52.921

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: 20:51:52.948
Dauer: 26 msec phName: 'phoneName:'1''


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

vorher: 20:51:52.934

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": 20.88,
  "overpower": false

nachher: 20:51:52.956
Dauer: 23 msec phName: 'phoneName:'1''


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

vorher: 20:51:52.947

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": 20.88,
  "overpower": false

nachher: 20:51:52.978
Dauer: 31 msec phName: 'phoneName:'1''


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

vorher: 20:51:52.961

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": 13.21,
  "overpower": false

nachher: 20:51:52.992
Dauer: 31 msec phName: 'phoneName:'1''


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

vorher: 20:51:52.973

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": 13.21,
  "overpower": false

nachher: 20:51:53.077
Dauer: 104 msec phName: 'phoneName:'1''


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

urls : 5
vorher : 20:51:52.903
nachher: 20:51:53.084
Dauer : 180 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/10//scene_welcomeLight_20240210_205152.txt'


syslog

Feb 10 20:48:01 srv4hai CRON[11054]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:48:07 srv4hai systemd[1]: Started Session 1041829 of user root.
Feb 10 20:48:25 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707594505 - 'ping_SP_0'
Feb 10 20:48:25 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 20:49:01 srv4hai CRON[11100]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:49:10 srv4hai common[11106]: SHELLY common.sh inkludiert
Feb 10 20:49:10 srv4hai bt_scan[11106]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'No'
Feb 10 20:49:10 srv4hai bt_scan[11106]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Feb 10 20:49:10 srv4hai common[11139]: SHELLY common.sh inkludiert
Feb 10 20:49:10 srv4hai check_presence[11139]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 10 20:49:10 srv4hai check_presence[11139]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb 10 20:49:28 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707594568 - 'ping_SP_0'
Feb 10 20:49:28 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 20:49:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11202, secured, session=
Feb 10 20:49:43 srv4hai dovecot: imap(miglincit)<11202>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 10 20:50:01 srv4hai CRON[11206]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 10 20:50:01 srv4hai CRON[11207]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:50:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 10 20:50:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11342, secured, session=
Feb 10 20:50:04 srv4hai dovecot: imap(miglincit)<11342>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 10 20:50:05 srv4hai meter.sh: SHELLY 'shelly-23/Licht Sekretär':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:11 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:14 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:16 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:19 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:20 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'S20_Grete / '192.168.12.62''
Feb 10 20:50:20 srv4hai common[11545]: SHELLY common.sh inkludiert
Feb 10 20:50:20 srv4hai ping_SP[11545]: SHELLY ping_SP.sh started from smartphone
Feb 10 20:50:20 srv4hai common[11565]: SHELLY common.sh inkludiert
Feb 10 20:50:20 srv4hai check_presence[11565]: SHELLY (ping_SP__smartphone)-(1) what: 'coming' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb 10 20:50:20 srv4hai check_presence[11565]: SHELLY (ping_SP__smartphone)-(1)-coming: activate_scenario.shtml: welcomeLight
Feb 10 20:50:21 srv4hai activate_scenario[11599]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb 10 20:50:21 srv4hai activate_scenario[11599]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1'
Feb 10 20:50:21 srv4hai activate_scenario[11599]: SHELLY scenario: 'welcomeLight(welcomelight)' TO BE EXECUTED, phoneName:'1'
Feb 10 20:50:21 srv4hai postfix/pickup[2048]: 0C0FE60244: uid=33 from=
Feb 10 20:50:21 srv4hai postfix/cleanup[11649]: 0C0FE60244: message-id=<20240210195021.0C0FE60244@mail.viehai.at>
Feb 10 20:50:21 srv4hai postfix/qmgr[28610]: 0C0FE60244: from=, size=12775, nrcpt=1 (queue active)
Feb 10 20:50:21 srv4hai activate_scenario[11599]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Feb 10 20:50:21 srv4hai proc_url[11666]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/10/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'1''
Feb 10 20:50:21 srv4hai activate_scenario[11599]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=on&brightness=50'
Feb 10 20:50:21 srv4hai proc_url[11677]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/10/_1.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=on&brightness=50' - phName:'phoneName:'1''
Feb 10 20:50:21 srv4hai activate_scenario[11599]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=on&brightness=50'
Feb 10 20:50:21 srv4hai proc_url[11688]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/10/_2.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=on&brightness=50' - phName:'phoneName:'1''
Feb 10 20:50:21 srv4hai activate_scenario[11599]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=on&brightness=50'
Feb 10 20:50:21 srv4hai proc_url[11699]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/10/_3.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=on&brightness=50' - phName:'phoneName:'1''
Feb 10 20:50:21 srv4hai activate_scenario[11599]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=on&brightness=50'
Feb 10 20:50:21 srv4hai proc_url[11710]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/10/_4.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=on&brightness=50' - phName:'phoneName:'1''
Feb 10 20:50:21 srv4hai activate_scenario[11599]: SHELLY scenario: 'welcomeLight(welcomelight)' took 169 msec, phoneName:'1'
Feb 10 20:50:21 srv4hai ping_SP[11545]: SHELLY check_presence.sh coming 1 ping_SP__smartphone
Feb 10 20:50:21 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:22 srv4hai postfix/relay/smtp[11662]: 0C0FE60244: to=, relay=mx01.nic.name[209.131.159.47]:25, delay=0.98, delays=0.03/0.01/0.69/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as CB2C5200AC)
Feb 10 20:50:22 srv4hai postfix/qmgr[28610]: 0C0FE60244: removed
Feb 10 20:50:23 srv4hai ping_SP[11545]: SHELLY - new process for '192.168.12.62' - '/srv/www/viehai/shelly/meter/ping_SP_1' @~1707594623
Feb 10 20:50:24 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:26 srv4hai ping_SP[11545]: SHELLY (1)- ping 192.168.12.62 0 not answered (1) @~1707594626 - 'ping_SP_1'
Feb 10 20:50:27 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:29 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:31 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707594631 - 'ping_SP_0'
Feb 10 20:50:31 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 20:50:32 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:34 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:37 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:39 srv4hai ping_SP[11545]: SHELLY (1)- ping 192.168.12.62 1 not answered (1) @~1707594639 - 'ping_SP_1'
Feb 10 20:50:39 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:42 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:44 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:47 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:50 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:52 srv4hai ping_SP[11545]: SHELLY (1)- ping 192.168.12.62 2 not answered (1) @~1707594652 - 'ping_SP_1'
Feb 10 20:50:52 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:53 srv4hai common[12006]: SHELLY common.sh inkludiert
Feb 10 20:50:53 srv4hai bt_scan[12006]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Feb 10 20:50:53 srv4hai bt_scan[12006]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Feb 10 20:50:55 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:50:57 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:51:00 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:51:01 srv4hai CRON[12050]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:51:02 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:51:03 srv4hai meter.sh: SHELLY meter.sh ended
Feb 10 20:51:03 srv4hai postfix/pickup[2048]: 119A960244: uid=33 from=
Feb 10 20:51:03 srv4hai postfix/cleanup[11649]: 119A960244: message-id=<20240210195103.119A960244@mail.viehai.at>
Feb 10 20:51:03 srv4hai postfix/qmgr[28610]: 119A960244: from=, size=654, nrcpt=1 (queue active)
Feb 10 20:51:03 srv4hai postfix/local[12071]: 119A960244: 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)
Feb 10 20:51:03 srv4hai postfix/qmgr[28610]: 119A960244: removed
Feb 10 20:51:05 srv4hai ping_SP[11545]: SHELLY (1)- ping 192.168.12.62 3 not answered (1) @~1707594665 - 'ping_SP_1'
Feb 10 20:51:21 srv4hai ping_SP[11545]: SHELLY (1)- ping 192.168.12.62 4 not answered (1) @~1707594681 - 'ping_SP_1'
Feb 10 20:51:34 srv4hai ping_SP[11545]: SHELLY (1)- ping 192.168.12.62 5 not answered (1) @~1707594694 - 'ping_SP_1'
Feb 10 20:51:34 srv4hai ping_SP[11545]: SHELLY (1)- ping 192.168.12.62 5 not answered - abort (11545) @~1707594694 - rm 'ping_SP_1'
Feb 10 20:51:34 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707594694 - 'ping_SP_0'
Feb 10 20:51:34 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 20:51:35 srv4hai common[12133]: SHELLY common.sh inkludiert
Feb 10 20:51:35 srv4hai check_presence[12133]: SHELLY (ping_SP__NO_ping)-(1) what: 'presence' - persPresent: '(BT/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb 10 20:51:35 srv4hai check_presence[12133]: SHELLY (ping_SP__NO_ping)-(1)-presence: NOT activate_scenario.shtml: offAll
Feb 10 20:51:52 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'S20_Grete / '192.168.12.6''
Feb 10 20:51:52 srv4hai common[12175]: SHELLY common.sh inkludiert
Feb 10 20:51:52 srv4hai ping_SP[12175]: SHELLY ping_SP.sh started from smartphone
Feb 10 20:51:52 srv4hai common[12195]: SHELLY common.sh inkludiert
Feb 10 20:51:52 srv4hai check_presence[12195]: SHELLY (ping_SP__smartphone)-(1) what: 'coming' - persPresent: '(BT/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb 10 20:51:52 srv4hai check_presence[12195]: SHELLY (ping_SP__smartphone)-(1)-coming: activate_scenario.shtml: welcomeLight
Feb 10 20:51:52 srv4hai activate_scenario[12231]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb 10 20:51:52 srv4hai activate_scenario[12231]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished