activate_scenario.sh
Tue Jan 30 19:42:30 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/01/30/_0.log)

vorher: 19:42:30.354

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: 19:42:30.481
Dauer: 127 msec phName: 'phoneName:'1''


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

vorher: 19:42:30.370

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

nachher: 19:42:30.487
Dauer: 116 msec phName: 'phoneName:'1''


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

vorher: 19:42:30.382

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

nachher: 19:42:30.490
Dauer: 108 msec phName: 'phoneName:'1''


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

vorher: 19:42:30.395

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

nachher: 19:42:30.433
Dauer: 38 msec phName: 'phoneName:'1''


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

vorher: 19:42:30.409

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

nachher: 19:42:30.473
Dauer: 64 msec phName: 'phoneName:'1''


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

urls : 5
vorher : 19:42:30.331
nachher: 19:42:30.499
Dauer : 168 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/01/30//scene_welcomeLight_20240130_194230.txt'


syslog

Jan 30 19:39:01 srv4hai CRON[787]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jan 30 19:39:01 srv4hai CRON[788]: (root) CMD (/etc/linetest/linetest.sh)
Jan 30 19:39:01 srv4hai systemd[1]: Starting Clean php session files...
Jan 30 19:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Jan 30 19:39:01 srv4hai systemd[1]: Started Clean php session files.
Jan 30 19:39:02 srv4hai ping_SP[25996]: SHELLY (1) - ping 192.168.12.62 0 sucessfully  @~1706639942 - 'ping_SP_1'
Jan 30 19:39:02 srv4hai ping_SP[25996]: SHELLY (1) - ping 192.168.12.62 pCnt:'0'
Jan 30 19:39:02 srv4hai check_presence[901]: SHELLY (ping_SP)-(1) found './meter/ping_SP_0' more than one (1) line for what: 'presence'
Jan 30 19:39:02 srv4hai check_presence[901]: SHELLY (ping_SP)-(1) found './meter/ping_SP_1' more than one (1) line for what: 'presence'
Jan 30 19:39:02 srv4hai check_presence[901]: SHELLY (ping_SP)-(1) what: 'presence' - persPresent: 'false/ping, scanBT/ping, false/no IP,' - anyPresent: 'true'
Jan 30 19:39:02 srv4hai check_presence[901]: SHELLY (ping_SP)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 19:39:28 srv4hai ping_SP[30651]: SHELLY (0) - ping 192.168.12.61 0 sucessfully  @~1706639968 - 'ping_SP_0'
Jan 30 19:39:28 srv4hai ping_SP[30651]: SHELLY (0) - ping 192.168.12.61 pCnt:'0'
Jan 30 19:39:28 srv4hai check_presence[948]: SHELLY (ping_SP)-(0) found './meter/ping_SP_0' more than one (1) line for what: 'presence'
Jan 30 19:39:28 srv4hai check_presence[948]: SHELLY (ping_SP)-(0) found './meter/ping_SP_1' more than one (1) line for what: 'presence'
Jan 30 19:39:28 srv4hai check_presence[948]: SHELLY (ping_SP)-(0) what: 'presence' - persPresent: 'false/ping, scanBT/ping, false/no IP,' - anyPresent: 'true'
Jan 30 19:39:28 srv4hai check_presence[948]: SHELLY (ping_SP)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 19:39:32 srv4hai ping_SP[25996]: SHELLY (1) - ping 192.168.12.62 0 sucessfully  @~1706639972 - 'ping_SP_1'
Jan 30 19:39:32 srv4hai ping_SP[25996]: SHELLY (1) - ping 192.168.12.62 pCnt:'0'
Jan 30 19:39:32 srv4hai check_presence[980]: SHELLY (ping_SP)-(1) found './meter/ping_SP_0' more than one (1) line for what: 'presence'
Jan 30 19:39:32 srv4hai check_presence[980]: SHELLY (ping_SP)-(1) found './meter/ping_SP_1' more than one (1) line for what: 'presence'
Jan 30 19:39:32 srv4hai check_presence[980]: SHELLY (ping_SP)-(1) what: 'presence' - persPresent: 'false/ping, scanBT/ping, false/no IP,' - anyPresent: 'true'
Jan 30 19:39:32 srv4hai check_presence[980]: SHELLY (ping_SP)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 19:39:51 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=1005, secured, session=
Jan 30 19:39:51 srv4hai dovecot: imap(rozumm)<1005>: Logged out in=131 out=1148 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 30 19:39:58 srv4hai ping_SP[30651]: SHELLY (0) - ping 192.168.12.61 0 sucessfully  @~1706639998 - 'ping_SP_0'
Jan 30 19:39:58 srv4hai ping_SP[30651]: SHELLY (0) - ping 192.168.12.61 pCnt:'0'
Jan 30 19:39:58 srv4hai check_presence[1015]: SHELLY (ping_SP)-(0) found './meter/ping_SP_0' more than one (1) line for what: 'presence'
Jan 30 19:39:58 srv4hai check_presence[1015]: SHELLY (ping_SP)-(0) found './meter/ping_SP_1' more than one (1) line for what: 'presence'
Jan 30 19:39:58 srv4hai check_presence[1015]: SHELLY (ping_SP)-(0) what: 'presence' - persPresent: 'false/ping, scanBT/ping, false/no IP,' - anyPresent: 'true'
Jan 30 19:39:58 srv4hai check_presence[1015]: SHELLY (ping_SP)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 19:40:01 srv4hai CRON[1037]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jan 30 19:40:01 srv4hai CRON[1038]: (root) CMD (/etc/linetest/linetest.sh)
Jan 30 19:40:01 srv4hai meter.sh: SHELLY meter.sh started
Jan 30 19:40:03 srv4hai ping_SP[25996]: SHELLY (1) - ping 192.168.12.62 0 sucessfully  @~1706640003 - 'ping_SP_1'
Jan 30 19:40:03 srv4hai ping_SP[25996]: SHELLY (1) - ping 192.168.12.62 pCnt:'0'
Jan 30 19:40:03 srv4hai check_presence[1136]: SHELLY (ping_SP)-(1) found './meter/ping_SP_0' more than one (1) line for what: 'presence'
Jan 30 19:40:03 srv4hai check_presence[1136]: SHELLY (ping_SP)-(1) found './meter/ping_SP_1' more than one (1) line for what: 'presence'
Jan 30 19:40:03 srv4hai check_presence[1136]: SHELLY (ping_SP)-(1) what: 'presence' - persPresent: 'false/ping, scanBT/ping, false/no IP,' - anyPresent: 'true'
Jan 30 19:40:03 srv4hai check_presence[1136]: SHELLY (ping_SP)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 19:40:28 srv4hai ping_SP[30651]: SHELLY (0) - ping 192.168.12.61 0 sucessfully  @~1706640028 - 'ping_SP_0'
Jan 30 19:40:28 srv4hai ping_SP[30651]: SHELLY (0) - ping 192.168.12.61 pCnt:'0'
Jan 30 19:40:28 srv4hai check_presence[1335]: SHELLY (ping_SP)-(0) found './meter/ping_SP_0' more than one (1) line for what: 'presence'
Jan 30 19:40:28 srv4hai check_presence[1335]: SHELLY (ping_SP)-(0) found './meter/ping_SP_1' more than one (1) line for what: 'presence'
Jan 30 19:40:28 srv4hai check_presence[1335]: SHELLY (ping_SP)-(0) what: 'presence' - persPresent: 'false/ping, scanBT/ping, false/no IP,' - anyPresent: 'true'
Jan 30 19:40:28 srv4hai check_presence[1335]: SHELLY (ping_SP)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 19:40:29 srv4hai bt_scan[1360]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' found: 'No'
Jan 30 19:40:29 srv4hai bt_scan[1360]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence
Jan 30 19:40:29 srv4hai check_presence[1384]: SHELLY ()-(bt_scan) found './meter/ping_SP_0' more than one (1) line for what: 'presence'
Jan 30 19:40:29 srv4hai check_presence[1384]: SHELLY ()-(bt_scan) found './meter/ping_SP_1' more than one (1) line for what: 'presence'
Jan 30 19:40:29 srv4hai check_presence[1384]: SHELLY ()-(bt_scan) what: 'presence' - persPresent: 'false/ping, false/ping, false/no IP,' - anyPresent: 'true'
Jan 30 19:40:29 srv4hai check_presence[1384]: SHELLY ()-(bt_scan)-presence: NOT activate_scenario.shtml: offAll
Jan 30 19:40:33 srv4hai ping_SP[25996]: SHELLY (1) - ping 192.168.12.62 0 sucessfully  @~1706640033 - 'ping_SP_1'
Jan 30 19:40:33 srv4hai ping_SP[25996]: SHELLY (1) - ping 192.168.12.62 pCnt:'0'
Jan 30 19:40:33 srv4hai check_presence[1414]: SHELLY (ping_SP)-(1) found './meter/ping_SP_0' more than one (1) line for what: 'presence'
Jan 30 19:40:33 srv4hai check_presence[1414]: SHELLY (ping_SP)-(1) found './meter/ping_SP_1' more than one (1) line for what: 'presence'
Jan 30 19:40:33 srv4hai check_presence[1414]: SHELLY (ping_SP)-(1) what: 'presence' - persPresent: 'false/ping, false/ping, false/no IP,' - anyPresent: 'true'
Jan 30 19:40:33 srv4hai check_presence[1414]: SHELLY (ping_SP)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 19:40:45 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jan 30 19:40:45 srv4hai fetchmail[1651]: 36797 messages (36797 seen) for tmiglinci at mail.akis.at (-1236633229 octets).
Jan 30 19:40:46 srv4hai fetchmail[1651]: 9833 messages (9833 seen) for srozum at mail.akis.at (1188232552 octets).
Jan 30 19:40:46 srv4hai fetchmail[1651]: 21396 messages (21396 seen) for mrozum at mail.akis.at (-675174806 octets).
Jan 30 19:40:46 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Jan 30 19:40:51 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=1496, secured, session=<7BoLGi4QjugAAAAAAAAAAAAAAAAAAAAB>
Jan 30 19:40:51 srv4hai dovecot: imap(rozumm)<1496><7BoLGi4QjugAAAAAAAAAAAAAAAAAAAAB>: Logged out in=131 out=1148 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 30 19:40:58 srv4hai ping_SP[30651]: SHELLY (0) - ping 192.168.12.61 0 sucessfully  @~1706640058 - 'ping_SP_0'
Jan 30 19:40:58 srv4hai ping_SP[30651]: SHELLY (0) - ping 192.168.12.61 pCnt:'0'
Jan 30 19:40:58 srv4hai check_presence[1513]: SHELLY (ping_SP)-(0) found './meter/ping_SP_0' more than one (1) line for what: 'presence'
Jan 30 19:40:58 srv4hai check_presence[1513]: SHELLY (ping_SP)-(0) found './meter/ping_SP_1' more than one (1) line for what: 'presence'
Jan 30 19:40:58 srv4hai check_presence[1513]: SHELLY (ping_SP)-(0) what: 'presence' - persPresent: 'false/ping, false/ping, false/no IP,' - anyPresent: 'true'
Jan 30 19:40:58 srv4hai check_presence[1513]: SHELLY (ping_SP)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 19:41:01 srv4hai CRON[1536]: (root) CMD (/etc/linetest/linetest.sh)
Jan 30 19:41:03 srv4hai ping_SP[25996]: SHELLY (1) - ping 192.168.12.62 0 sucessfully  @~1706640063 - 'ping_SP_1'
Jan 30 19:41:03 srv4hai ping_SP[25996]: SHELLY (1) - ping 192.168.12.62 pCnt:'0'
Jan 30 19:41:08 srv4hai meter.sh: SHELLY meter.sh ended
Jan 30 19:41:28 srv4hai ping_SP[30651]: SHELLY (0) - ping 192.168.12.61 0 sucessfully  @~1706640088 - 'ping_SP_0'
Jan 30 19:41:28 srv4hai ping_SP[30651]: SHELLY (0) - ping 192.168.12.61 pCnt:'0'
Jan 30 19:41:28 srv4hai check_presence[1586]: SHELLY (ping_SP)-(0) found './meter/ping_SP_0' more than one (1) line for what: 'presence'
Jan 30 19:41:28 srv4hai check_presence[1586]: SHELLY (ping_SP)-(0) found './meter/ping_SP_1' more than one (1) line for what: 'presence'
Jan 30 19:41:28 srv4hai check_presence[1586]: SHELLY (ping_SP)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 19:41:33 srv4hai ping_SP[25996]: SHELLY (1) - ping 192.168.12.62 0 sucessfully  @~1706640093 - 'ping_SP_1'
Jan 30 19:41:33 srv4hai ping_SP[25996]: SHELLY (1) - ping 192.168.12.62 pCnt:'0'
Jan 30 19:41:33 srv4hai check_presence[1611]: SHELLY (ping_SP)-(1) found './meter/ping_SP_0' more than one (1) line for what: 'presence'
Jan 30 19:41:33 srv4hai check_presence[1611]: SHELLY (ping_SP)-(1) found './meter/ping_SP_1' more than one (1) line for what: 'presence'
Jan 30 19:41:33 srv4hai check_presence[1611]: SHELLY (ping_SP)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 19:41:51 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=1633, secured, session=
Jan 30 19:41:51 srv4hai dovecot: imap(rozumm)<1633>: Logged out in=131 out=1148 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 30 19:41:51 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=1635, secured, session=
Jan 30 19:41:51 srv4hai dovecot: imap(miglincit)<1635>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 30 19:41:59 srv4hai ping_SP[30651]: SHELLY (0) - ping 192.168.12.61 0 sucessfully  @~1706640119 - 'ping_SP_0'
Jan 30 19:41:59 srv4hai ping_SP[30651]: SHELLY (0) - ping 192.168.12.61 pCnt:'0'
Jan 30 19:41:59 srv4hai check_presence[1646]: SHELLY (ping_SP)-(0) found './meter/ping_SP_0' more than one (1) line for what: 'presence'
Jan 30 19:41:59 srv4hai check_presence[1646]: SHELLY (ping_SP)-(0) found './meter/ping_SP_1' more than one (1) line for what: 'presence'
Jan 30 19:41:59 srv4hai check_presence[1646]: SHELLY (ping_SP)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 19:42:01 srv4hai CRON[1666]: (root) CMD (/etc/linetest/linetest.sh)
Jan 30 19:42:04 srv4hai ping_SP[25996]: SHELLY (1) - ping 192.168.12.62 0 sucessfully  @~1706640124 - 'ping_SP_1'
Jan 30 19:42:04 srv4hai ping_SP[25996]: SHELLY (1) - ping 192.168.12.62 pCnt:'0'
Jan 30 19:42:04 srv4hai check_presence[1678]: SHELLY (ping_SP)-(1) found './meter/ping_SP_0' more than one (1) line for what: 'presence'
Jan 30 19:42:04 srv4hai check_presence[1678]: SHELLY (ping_SP)-(1) found './meter/ping_SP_1' more than one (1) line for what: 'presence'
Jan 30 19:42:04 srv4hai check_presence[1678]: SHELLY (ping_SP)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 30 19:42:25 srv4hai systemd[1]: Started Session 1023251 of user root.
Jan 30 19:42:29 srv4hai ping_SP[30651]: SHELLY (0) - ping 192.168.12.61 0 sucessfully  @~1706640149 - 'ping_SP_0'
Jan 30 19:42:29 srv4hai ping_SP[30651]: SHELLY (0) - ping 192.168.12.61 pCnt:'0'
Jan 30 19:42:29 srv4hai check_presence[1722]: SHELLY (ping_SP)-(0) found './meter/ping_SP_0' more than one (1) line for what: 'presence'
Jan 30 19:42:29 srv4hai check_presence[1722]: SHELLY (ping_SP)-(0) found './meter/ping_SP_1' more than one (1) line for what: 'presence'
Jan 30 19:42:29 srv4hai check_presence[1722]: SHELLY (ping_SP)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 30 19:42:30 srv4hai bt_scan[1741]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' found: 'Yes'
Jan 30 19:42:30 srv4hai bt_scan[1741]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Jan 30 19:42:30 srv4hai ping_SP[1764]: SHELLY ping_SP.sh started from bt_scan
Jan 30 19:42:30 srv4hai check_presence[1767]: SHELLY (ping_SP__bt_scan)-(1) found './meter/ping_SP_0' more than one (1) line for what: 'coming'
Jan 30 19:42:30 srv4hai check_presence[1767]: SHELLY (ping_SP__bt_scan)-(1) found './meter/ping_SP_1' more than one (1) line for what: 'coming'
Jan 30 19:42:30 srv4hai check_presence[1767]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: welcomeLight
Jan 30 19:42:30 srv4hai ping_SP[1764]: SHELLY - running process-id(1764): '1764 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.62 bt_scan#01225996 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.62 bt_scan' - 'ping_SP_1' - exiting ==============
Jan 30 19:42:30 srv4hai activate_scenario[1791]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Jan 30 19:42:30 srv4hai activate_scenario[1791]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished