activate_scenario.sh
Sat Feb 17 09:17:09 CET 2024
scenario: welcomeLight
phoneName: 0

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

vorher: 09:17:09.300

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: 09:17:09.431
Dauer: 130 msec phName: 'phoneName:'0''


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

vorher: 09:17:09.312

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

nachher: 09:17:09.396
Dauer: 83 msec phName: 'phoneName:'0''


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

vorher: 09:17:09.324

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

nachher: 09:17:09.411
Dauer: 86 msec phName: 'phoneName:'0''


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

vorher: 09:17:09.336

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

nachher: 09:17:09.371
Dauer: 35 msec phName: 'phoneName:'0''


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

vorher: 09:17:09.347

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

nachher: 09:17:09.471
Dauer: 123 msec phName: 'phoneName:'0''


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

urls : 5
vorher : 09:17:09.261
nachher: 09:17:09.477
Dauer : 219 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/17//scene_welcomeLight_20240217_091709.txt'


syslog

Feb 17 09:14:01 srv4hai CRON[30598]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 09:15:01 srv4hai CRON[30623]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 09:15:40 srv4hai postfix/smtpd[30641]: connect from unknown[194.33.191.90]
Feb 17 09:15:40 srv4hai postfix/smtpd[30641]: warning: unknown[194.33.191.90]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 17 09:15:41 srv4hai postfix/smtpd[30641]: disconnect from unknown[194.33.191.90] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Feb 17 09:16:01 srv4hai dhcpd[5037]: DHCPDISCOVER from e8:db:84:a8:91:c9 via enp2s0
Feb 17 09:16:01 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.117 to e8:db:84:a8:91:c9 via enp2s0
Feb 17 09:16:01 srv4hai CRON[30649]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 09:16:03 srv4hai dhcpd[5037]: DHCPDISCOVER from e8:db:84:a8:91:c9 via enp2s0
Feb 17 09:16:03 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.117 to e8:db:84:a8:91:c9 via enp2s0
Feb 17 09:16:07 srv4hai dhcpd[5037]: DHCPDISCOVER from e8:db:84:a8:91:c9 via enp2s0
Feb 17 09:16:07 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.117 to e8:db:84:a8:91:c9 via enp2s0
Feb 17 09:16:07 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 17 09:16:07 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.117
Feb 17 09:16:07 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-17
Feb 17 09:16:07 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.117 (192.168.12.252) from e8:db:84:a8:91:c9 via enp2s0
Feb 17 09:16:07 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.117 to e8:db:84:a8:91:c9 via enp2s0
Feb 17 09:16:07 srv4hai named[14530]: client @0x7fc3281490e0 192.168.12.252#51433/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-17.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 17 09:16:07 srv4hai named[14530]: client @0x7fc3180a5240 192.168.12.252#58669/key rndc-key: signer "rndc-key" approved
Feb 17 09:16:07 srv4hai named[14530]: client @0x7fc3180a5240 192.168.12.252#58669/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-17.viehai.at' TXT
Feb 17 09:16:07 srv4hai named[14530]: client @0x7fc3180a5240 192.168.12.252#58669/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-17.viehai.at' TXT "00b598fea4f634c10c92531f66051bcfce"
Feb 17 09:16:07 srv4hai named[14530]: client @0x7fc3180a5240 192.168.12.252#58669/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-17.viehai.at' A
Feb 17 09:16:07 srv4hai named[14530]: client @0x7fc3180a5240 192.168.12.252#58669/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-17.viehai.at' A 192.168.12.117
Feb 17 09:16:07 srv4hai dhcpd[5037]: Added new forward map from shelly-17.viehai.at to 192.168.12.117
Feb 17 09:16:07 srv4hai named[14530]: client @0x7fc3100adf90 192.168.12.252#37609/key rndc-key: signer "rndc-key" approved
Feb 17 09:16:07 srv4hai named[14530]: client @0x7fc3100adf90 192.168.12.252#37609/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '117.12.168.192.in-addr.arpa' PTR
Feb 17 09:16:07 srv4hai named[14530]: client @0x7fc3100adf90 192.168.12.252#37609/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '117.12.168.192.in-addr.arpa' PTR shelly-17.viehai.at.
Feb 17 09:16:07 srv4hai dhcpd[5037]: Added reverse map from 117.12.168.192.in-addr.arpa. to shelly-17.viehai.at
Feb 17 09:16:07 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-17' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 17 09:16:09 srv4hai grab_shelly.sh: SHELLY 'shelly-17':  OFFLINE, resp. not answering within connect-timeout 1.500000s
Feb 17 09:16:09 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 17 09:16:09 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.117
Feb 17 09:16:09 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-17
Feb 17 09:16:09 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.117 (192.168.12.252) from e8:db:84:a8:91:c9 via enp2s0
Feb 17 09:16:09 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.117 to e8:db:84:a8:91:c9 via enp2s0
Feb 17 09:16:09 srv4hai named[14530]: client @0x7fc31c0d0140 192.168.12.252#56043/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-17.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 17 09:16:09 srv4hai named[14530]: client @0x7fc32865edd0 192.168.12.252#35581/key rndc-key: signer "rndc-key" approved
Feb 17 09:16:09 srv4hai named[14530]: client @0x7fc32865edd0 192.168.12.252#35581/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-17.viehai.at' TXT
Feb 17 09:16:09 srv4hai named[14530]: client @0x7fc32865edd0 192.168.12.252#35581/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-17.viehai.at' TXT "00b598fea4f634c10c92531f66051bcfce"
Feb 17 09:16:09 srv4hai named[14530]: client @0x7fc32865edd0 192.168.12.252#35581/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-17.viehai.at' A
Feb 17 09:16:09 srv4hai named[14530]: client @0x7fc32865edd0 192.168.12.252#35581/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-17.viehai.at' A 192.168.12.117
Feb 17 09:16:09 srv4hai dhcpd[5037]: Added new forward map from shelly-17.viehai.at to 192.168.12.117
Feb 17 09:16:09 srv4hai named[14530]: client @0x7fc3240894a0 192.168.12.252#36737/key rndc-key: signer "rndc-key" approved
Feb 17 09:16:09 srv4hai named[14530]: client @0x7fc3240894a0 192.168.12.252#36737/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '117.12.168.192.in-addr.arpa' PTR
Feb 17 09:16:09 srv4hai named[14530]: client @0x7fc3240894a0 192.168.12.252#36737/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '117.12.168.192.in-addr.arpa' PTR shelly-17.viehai.at.
Feb 17 09:16:09 srv4hai dhcpd[5037]: Added reverse map from 117.12.168.192.in-addr.arpa. to shelly-17.viehai.at
Feb 17 09:16:09 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-17' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 17 09:16:11 srv4hai grab_shelly.sh: SHELLY 'shelly-17':  OFFLINE, resp. not answering within connect-timeout 1.500000s
Feb 17 09:16:13 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 17 09:16:13 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.117
Feb 17 09:16:13 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-17
Feb 17 09:16:13 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.117 (192.168.12.252) from e8:db:84:a8:91:c9 via enp2s0
Feb 17 09:16:13 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.117 to e8:db:84:a8:91:c9 via enp2s0
Feb 17 09:16:13 srv4hai named[14530]: client @0x7fc328677140 192.168.12.252#46391/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-17.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 17 09:16:13 srv4hai named[14530]: client @0x7fc30807f600 192.168.12.252#57457/key rndc-key: signer "rndc-key" approved
Feb 17 09:16:13 srv4hai named[14530]: client @0x7fc30807f600 192.168.12.252#57457/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-17.viehai.at' TXT
Feb 17 09:16:13 srv4hai named[14530]: client @0x7fc30807f600 192.168.12.252#57457/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-17.viehai.at' TXT "00b598fea4f634c10c92531f66051bcfce"
Feb 17 09:16:13 srv4hai named[14530]: client @0x7fc30807f600 192.168.12.252#57457/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-17.viehai.at' A
Feb 17 09:16:13 srv4hai named[14530]: client @0x7fc30807f600 192.168.12.252#57457/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-17.viehai.at' A 192.168.12.117
Feb 17 09:16:13 srv4hai dhcpd[5037]: Added new forward map from shelly-17.viehai.at to 192.168.12.117
Feb 17 09:16:13 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#40973/key rndc-key: signer "rndc-key" approved
Feb 17 09:16:13 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#40973/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '117.12.168.192.in-addr.arpa' PTR
Feb 17 09:16:13 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#40973/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '117.12.168.192.in-addr.arpa' PTR shelly-17.viehai.at.
Feb 17 09:16:13 srv4hai dhcpd[5037]: Added reverse map from 117.12.168.192.in-addr.arpa. to shelly-17.viehai.at
Feb 17 09:16:13 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-17' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 17 09:16:14 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-17' - shIP/2:'192.168.12.117'
Feb 17 09:16:15 srv4hai conf_shelly.sh: SHELLY: usage/name 'Küche Licht Herdzeile' already set for '192.168.12.117'
Feb 17 09:16:15 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(0)' - allready transmitted - skipping
Feb 17 09:16:15 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(1)' - allready transmitted - skipping
Feb 17 09:16:15 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(2)' - allready transmitted - skipping
Feb 17 09:16:15 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(3)' - allready transmitted - skipping
Feb 17 09:16:15 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(4)' - allready transmitted - skipping
Feb 17 09:16:15 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(5)' - allready transmitted - skipping
Feb 17 09:16:15 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(6)' - allready transmitted - skipping
Feb 17 09:16:15 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(7)' - allready transmitted - skipping
Feb 17 09:16:15 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:0 ON : MISSING
Feb 17 09:16:15 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:1 ON : MISSING
Feb 17 09:16:15 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:2 ON : MISSING
Feb 17 09:16:15 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:3 ON : MISSING
Feb 17 09:16:15 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:0 OFF: MISSING
Feb 17 09:16:15 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:1 OFF: MISSING
Feb 17 09:16:15 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:2 OFF: MISSING
Feb 17 09:16:15 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:3 OFF: MISSING
Feb 17 09:16:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30880, secured, session=
Feb 17 09:16:19 srv4hai dovecot: imap(miglincit)<30880>: 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 17 09:17:01 srv4hai CRON[30901]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Feb 17 09:17:01 srv4hai CRON[30902]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 09:17:08 srv4hai activate_scenario[30909]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Feb 17 09:17:08 srv4hai activate_scenario[30909]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Feb 17 09:17:08 srv4hai activate_scenario[30909]: SHELLY scenario: 'LOG_kommen(log_kommen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Feb 17 09:17:08 srv4hai activate_scenario[30909]: SHELLY scenario: 'LOG_kommen(log_kommen)' took 5 msec, shelly-03:'Licht Vorzimmer'
Feb 17 09:17:09 srv4hai common[30976]: SHELLY common.sh inkludiert
Feb 17 09:17:09 srv4hai bt_scan[30976]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Feb 17 09:17:09 srv4hai bt_scan[30976]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb 17 09:17:09 srv4hai common[31005]: SHELLY common.sh inkludiert
Feb 17 09:17:09 srv4hai ping_SP[31005]: SHELLY ping_SP.sh started from bt_scan
Feb 17 09:17:09 srv4hai common[31015]: SHELLY common.sh inkludiert
Feb 17 09:17:09 srv4hai check_presence[31015]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Feb 17 09:17:09 srv4hai check_presence[31015]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Feb 17 09:17:09 srv4hai check_presence[31015]: SHELLY (0) found  and 
Feb 17 09:17:09 srv4hai check_presence[31015]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 17 09:17:09 srv4hai check_presence[31015]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb 17 09:17:09 srv4hai activate_scenario[31066]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb 17 09:17:09 srv4hai activate_scenario[31066]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished