activate_scenario.sh
Thu Feb 1 01:37:11 CET 2024
scenario: welcomeLight
phoneName: 0

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

vorher: 01:37:11.236

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": "http"

nachher: 01:37:11.266
Dauer: 31 msec phName: 'phoneName:'0''


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

vorher: 01:37:11.253

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

nachher: 01:37:11.279
Dauer: 26 msec phName: 'phoneName:'0''


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

vorher: 01:37:11.270

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

nachher: 01:37:11.301
Dauer: 30 msec phName: 'phoneName:'0''


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

vorher: 01:37:11.283

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

nachher: 01:37:11.313
Dauer: 30 msec phName: 'phoneName:'0''


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

vorher: 01:37:11.297

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

nachher: 01:37:11.362
Dauer: 65 msec phName: 'phoneName:'0''


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

urls : 5
vorher : 01:37:11.211
nachher: 01:37:11.369
Dauer : 158 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/01//scene_welcomeLight_20240201_013711.txt'


syslog

Feb  1 01:34:01 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb  1 01:34:01 srv4hai CRON[11204]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 01:34:02 srv4hai fetchmail[1651]: 36946 messages (36944 seen) for tmiglinci at mail.akis.at (-1228369850 octets).
Feb  1 01:34:02 srv4hai postfix/smtpd[11209]: connect from localhost[127.0.0.1]
Feb  1 01:34:02 srv4hai postfix/smtpd[11209]: CF9BB6011A: client=localhost[127.0.0.1]
Feb  1 01:34:02 srv4hai postfix/cleanup[10912]: CF9BB6011A: message-id=<20240201003119.4247760244@mail.viehai.at>
Feb  1 01:34:02 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:36945 of 36946 (16327 octets) not flushed
Feb  1 01:34:02 srv4hai postfix/qmgr[28610]: CF9BB6011A: from=, size=16633, nrcpt=1 (queue active)
Feb  1 01:34:02 srv4hai postfix/smtpd[11209]: E140460244: client=localhost[127.0.0.1]
Feb  1 01:34:02 srv4hai postfix/local[11211]: CF9BB6011A: to=, relay=local, delay=0.08, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  1 01:34:02 srv4hai postfix/qmgr[28610]: CF9BB6011A: removed
Feb  1 01:34:02 srv4hai postfix/cleanup[10912]: E140460244: message-id=<20240201003306.8C8A560244@mail.viehai.at>
Feb  1 01:34:02 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:36946 of 36946 (28487 octets) not flushed
Feb  1 01:34:02 srv4hai postfix/qmgr[28610]: E140460244: from=, size=28820, nrcpt=1 (queue active)
Feb  1 01:34:02 srv4hai postfix/smtpd[11209]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
Feb  1 01:34:02 srv4hai postfix/local[11211]: E140460244: to=, relay=local, delay=0.07, delays=0.05/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  1 01:34:02 srv4hai postfix/qmgr[28610]: E140460244: removed
Feb  1 01:34:03 srv4hai fetchmail[1651]: 9838 messages (9838 seen) for srozum at mail.akis.at (1188632446 octets).
Feb  1 01:34:03 srv4hai fetchmail[1651]: 21416 messages (21416 seen) for mrozum at mail.akis.at (-669007289 octets).
Feb  1 01:34:04 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb  1 01:34:09 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706747649 - 'ping_SP_0'
Feb  1 01:34:09 srv4hai check_presence[11229]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 01:34:09 srv4hai check_presence[11229]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb  1 01:34:09 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 01:34:15 srv4hai named[14530]: resolver priming query complete
Feb  1 01:34:19 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706747659 - 'ping_SP_1'
Feb  1 01:34:19 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  1 01:34:39 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706747679 - 'ping_SP_0'
Feb  1 01:34:40 srv4hai check_presence[11300]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 01:34:40 srv4hai check_presence[11300]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb  1 01:34:40 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 01:34:49 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706747689 - 'ping_SP_1'
Feb  1 01:34:49 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  1 01:34:51 srv4hai bt_scan[11343]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'No'
Feb  1 01:34:51 srv4hai bt_scan[11343]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Feb  1 01:34:51 srv4hai check_presence[11367]: SHELLY ()-(bt_scan) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 01:34:51 srv4hai check_presence[11367]: SHELLY ()-(bt_scan)-presence: NOT activate_scenario.shtml: offAll
Feb  1 01:35:01 srv4hai CRON[11382]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 01:35:10 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706747710 - 'ping_SP_0'
Feb  1 01:35:10 srv4hai check_presence[11407]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 01:35:10 srv4hai check_presence[11407]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb  1 01:35:10 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 01:35:20 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706747720 - 'ping_SP_1'
Feb  1 01:35:20 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  1 01:35:22 srv4hai named[14530]: resolver priming query complete
Feb  1 01:35:40 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706747740 - 'ping_SP_0'
Feb  1 01:35:40 srv4hai check_presence[11469]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 01:35:40 srv4hai check_presence[11469]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb  1 01:35:40 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 01:35:50 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706747750 - 'ping_SP_1'
Feb  1 01:35:50 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  1 01:36:01 srv4hai CRON[11519]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 01:36:10 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706747770 - 'ping_SP_0'
Feb  1 01:36:10 srv4hai check_presence[11544]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 01:36:10 srv4hai check_presence[11544]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb  1 01:36:10 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 01:36:13 srv4hai postfix/smtpd[11566]: connect from scanner-04.ch1.censys-scanner.com[162.142.125.11]
Feb  1 01:36:14 srv4hai postfix/smtpd[11566]: lost connection after STARTTLS from scanner-04.ch1.censys-scanner.com[162.142.125.11]
Feb  1 01:36:14 srv4hai postfix/smtpd[11566]: disconnect from scanner-04.ch1.censys-scanner.com[162.142.125.11] ehlo=1 starttls=1 commands=2
Feb  1 01:36:20 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706747780 - 'ping_SP_1'
Feb  1 01:36:20 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  1 01:36:34 srv4hai named[14530]: resolver priming query complete
Feb  1 01:36:40 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706747800 - 'ping_SP_0'
Feb  1 01:36:40 srv4hai check_presence[11610]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 01:36:40 srv4hai check_presence[11610]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb  1 01:36:40 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 01:36:43 srv4hai named[14530]: resolver priming query complete
Feb  1 01:36:47 srv4hai named[14530]: resolver priming query complete
Feb  1 01:36:50 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706747810 - 'ping_SP_1'
Feb  1 01:36:50 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  1 01:37:01 srv4hai CRON[11663]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 01:37:10 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706747830 - 'ping_SP_0'
Feb  1 01:37:10 srv4hai check_presence[11683]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 01:37:10 srv4hai check_presence[11683]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb  1 01:37:10 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 01:37:11 srv4hai bt_scan[11705]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'Yes'
Feb  1 01:37:11 srv4hai bt_scan[11705]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb  1 01:37:11 srv4hai ping_SP[11728]: SHELLY ping_SP.sh started from bt_scan - trcF:'/srv/www/viehai/shelly/meter/trc_11728.txt'
Feb  1 01:37:11 srv4hai check_presence[11733]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 01:37:11 srv4hai check_presence[11733]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb  1 01:37:11 srv4hai activate_scenario[11750]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb  1 01:37:11 srv4hai activate_scenario[11750]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished