activate_scenario.sh
Sat Feb 10 20:54:11 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:54:11.956

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:54:12.014
Dauer: 58 msec phName: 'phoneName:'1''


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

vorher: 20:54:11.969

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

nachher: 20:54:12.131
Dauer: 161 msec phName: 'phoneName:'1''


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

vorher: 20:54:11.983

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

nachher: 20:54:12.131
Dauer: 148 msec phName: 'phoneName:'1''


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

vorher: 20:54:11.995

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:54:12.020
Dauer: 25 msec phName: 'phoneName:'1''


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

vorher: 20:54:12.006

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:54:12.066
Dauer: 59 msec phName: 'phoneName:'1''


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

urls : 5
vorher : 20:54:11.936
nachher: 20:54:12.140
Dauer : 204 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/10//scene_welcomeLight_20240210_205411.txt'


syslog

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'
Feb 10 20:51:52 srv4hai activate_scenario[12231]: SHELLY scenario: 'welcomeLight(welcomelight)' TO BE EXECUTED, phoneName:'1'
Feb 10 20:51:52 srv4hai postfix/pickup[2048]: DB5F860244: uid=33 from=
Feb 10 20:51:52 srv4hai postfix/cleanup[11649]: DB5F860244: message-id=<20240210195152.DB5F860244@mail.viehai.at>
Feb 10 20:51:52 srv4hai postfix/qmgr[28610]: DB5F860244: from=, size=13468, nrcpt=1 (queue active)
Feb 10 20:51:52 srv4hai activate_scenario[12231]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Feb 10 20:51:52 srv4hai proc_url[12297]: 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:51:52 srv4hai activate_scenario[12231]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=on&brightness=50'
Feb 10 20:51:52 srv4hai proc_url[12308]: 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:51:52 srv4hai activate_scenario[12231]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=on&brightness=50'
Feb 10 20:51:52 srv4hai proc_url[12319]: 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:51:52 srv4hai activate_scenario[12231]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=on&brightness=50'
Feb 10 20:51:52 srv4hai proc_url[12347]: 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:51:52 srv4hai activate_scenario[12231]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=on&brightness=50'
Feb 10 20:51:52 srv4hai proc_url[12361]: 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:51:53 srv4hai activate_scenario[12231]: SHELLY scenario: 'welcomeLight(welcomelight)' took 180 msec, phoneName:'1'
Feb 10 20:51:53 srv4hai ping_SP[12175]: SHELLY check_presence.sh coming 1 ping_SP__smartphone
Feb 10 20:51:53 srv4hai postfix/relay/smtp[11662]: DB5F860244: to=, relay=mx01.nic.name[209.131.159.47]:25, delay=0.74, delays=0.01/0/0.47/0.26, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 6C501201D5)
Feb 10 20:51:53 srv4hai postfix/qmgr[28610]: DB5F860244: removed
Feb 10 20:51:55 srv4hai ping_SP[12175]: SHELLY - new process for '192.168.12.62' - '/srv/www/viehai/shelly/meter/ping_SP_1' @~1707594715
Feb 10 20:52:01 srv4hai CRON[12439]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:52:01 srv4hai ping_SP[12175]: SHELLY (1)- ping 192.168.12.62 0 not answered (1) @~1707594721 - 'ping_SP_1'
Feb 10 20:52:16 srv4hai postfix/smtpd[12455]: connect from unknown[45.128.96.207]
Feb 10 20:52:16 srv4hai postfix/smtpd[12455]: warning: unknown[45.128.96.207]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 10 20:52:16 srv4hai postfix/smtpd[12455]: disconnect from unknown[45.128.96.207] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 10 20:52:17 srv4hai ping_SP[12175]: SHELLY (1)- ping 192.168.12.62 1 not answered (1) @~1707594737 - 'ping_SP_1'
Feb 10 20:52:33 srv4hai ping_SP[12175]: SHELLY (1)- ping 192.168.12.62 2 not answered (1) @~1707594753 - 'ping_SP_1'
Feb 10 20:52:38 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707594758 - 'ping_SP_0'
Feb 10 20:52:38 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 20:52:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12499, secured, session=
Feb 10 20:52:43 srv4hai dovecot: imap(miglincit)<12499>: 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:52:49 srv4hai ping_SP[12175]: SHELLY (1)- ping 192.168.12.62 3 not answered (1) @~1707594769 - 'ping_SP_1'
Feb 10 20:52:58 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 10 20:52:58 srv4hai fetchmail[1651]: 37834 messages (37832 seen) for tmiglinci at mail.akis.at (-1171334005 octets).
Feb 10 20:52:58 srv4hai postfix/smtpd[12455]: connect from localhost[127.0.0.1]
Feb 10 20:52:58 srv4hai postfix/smtpd[12455]: CF9376011D: client=localhost[127.0.0.1]
Feb 10 20:52:58 srv4hai postfix/cleanup[11649]: CF9376011D: message-id=<20240210195021.0C0FE60244@mail.viehai.at>
Feb 10 20:52:58 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:37833 of 37834 (13734 octets) not flushed
Feb 10 20:52:58 srv4hai postfix/qmgr[28610]: CF9376011D: from=, size=14045, nrcpt=1 (queue active)
Feb 10 20:52:58 srv4hai postfix/local[12509]: CF9376011D: to=, relay=local, delay=0.06, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 10 20:52:58 srv4hai postfix/qmgr[28610]: CF9376011D: removed
Feb 10 20:52:58 srv4hai postfix/smtpd[12455]: E41C96011D: client=localhost[127.0.0.1]
Feb 10 20:52:58 srv4hai postfix/cleanup[11649]: E41C96011D: message-id=<20240210195152.DB5F860244@mail.viehai.at>
Feb 10 20:52:58 srv4hai postfix/qmgr[28610]: E41C96011D: from=, size=14738, nrcpt=1 (queue active)
Feb 10 20:52:58 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:37834 of 37834 (14419 octets) not flushed
Feb 10 20:52:58 srv4hai postfix/smtpd[12455]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
Feb 10 20:52:58 srv4hai postfix/local[12509]: E41C96011D: to=, relay=local, delay=0.06, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 10 20:52:58 srv4hai postfix/qmgr[28610]: E41C96011D: removed
Feb 10 20:52:59 srv4hai fetchmail[1651]: 9884 messages (9884 seen) for srozum at mail.akis.at (1192891364 octets).
Feb 10 20:52:59 srv4hai fetchmail[1651]: 21580 messages (21580 seen) for mrozum at mail.akis.at (-591017502 octets).
Feb 10 20:53:00 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb 10 20:53:01 srv4hai CRON[12516]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:53:02 srv4hai ping_SP[12175]: SHELLY (1)- ping 192.168.12.62 4 not answered (1) @~1707594782 - 'ping_SP_1'
Feb 10 20:53:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12528, secured, session=<0S+SZAwRurUAAAAAAAAAAAAAAAAAAAAB>
Feb 10 20:53:04 srv4hai dovecot: imap(miglincit)<12528><0S+SZAwRurUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=686 out=49102 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=25422 body_count=0 body_bytes=0
Feb 10 20:53:19 srv4hai ping_SP[12175]: SHELLY (1)- ping 192.168.12.62 5 not answered (1) @~1707594799 - 'ping_SP_1'
Feb 10 20:53:19 srv4hai ping_SP[12175]: SHELLY (1)- ping 192.168.12.62 5 not answered - abort (12175) @~1707594799 - rm 'ping_SP_1'
Feb 10 20:53:19 srv4hai common[12558]: SHELLY common.sh inkludiert
Feb 10 20:53:19 srv4hai check_presence[12558]: SHELLY (ping_SP__NO_ping)-(1) what: 'presence' - persPresent: '(BT/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb 10 20:53:19 srv4hai check_presence[12558]: SHELLY (ping_SP__NO_ping)-(1)-presence: NOT activate_scenario.shtml: offAll
Feb 10 20:53:41 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707594821 - 'ping_SP_0'
Feb 10 20:53:41 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 20:54:01 srv4hai CRON[12635]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:54:07 srv4hai common[12641]: SHELLY common.sh inkludiert
Feb 10 20:54:07 srv4hai bt_scan[12641]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'No'
Feb 10 20:54:07 srv4hai bt_scan[12641]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Feb 10 20:54:07 srv4hai common[12674]: SHELLY common.sh inkludiert
Feb 10 20:54:07 srv4hai check_presence[12674]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 10 20:54:07 srv4hai check_presence[12674]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb 10 20:54:11 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'S20_Grete / '1''
Feb 10 20:54:11 srv4hai common[12713]: SHELLY common.sh inkludiert
Feb 10 20:54:11 srv4hai ping_SP[12713]: SHELLY ping_SP.sh started from smartphone
Feb 10 20:54:11 srv4hai common[12733]: SHELLY common.sh inkludiert
Feb 10 20:54:11 srv4hai check_presence[12733]: SHELLY (ping_SP__smartphone)-(1) what: 'coming' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb 10 20:54:11 srv4hai check_presence[12733]: SHELLY (ping_SP__smartphone)-(1)-coming: activate_scenario.shtml: welcomeLight
Feb 10 20:54:11 srv4hai activate_scenario[12767]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb 10 20:54:11 srv4hai activate_scenario[12767]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished