activate_scenario.sh
Sat Feb 3 00:51:59 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/03/_0.log)

vorher: 00:51:59.932

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: 00:52:00.073
Dauer: 141 msec phName: 'phoneName:'0''


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

vorher: 00:51:59.944

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: 00:52:00.048
Dauer: 104 msec phName: 'phoneName:'0''


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

vorher: 00:51:59.958

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: 00:52:00.070
Dauer: 113 msec phName: 'phoneName:'0''


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

vorher: 00:51:59.971

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: 00:51:59.994
Dauer: 23 msec phName: 'phoneName:'0''


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

vorher: 00:51:59.984

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: 00:52:00.022
Dauer: 39 msec phName: 'phoneName:'0''


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

urls : 5
vorher : 00:51:59.913
nachher: 00:52:00.083
Dauer : 170 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/03//scene_welcomeLight_20240203_005159.txt'


syslog

Feb  3 00:48:01 srv4hai CRON[12691]: (root) CMD (/etc/linetest/linetest.sh)
Feb  3 00:48:17 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706917697 - 'ping_SP_0'
Feb  3 00:48:17 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 00:48:48 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706917728 - 'ping_SP_0'
Feb  3 00:48:48 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 00:49:01 srv4hai CRON[12744]: (root) CMD (/etc/linetest/linetest.sh)
Feb  3 00:49:08 srv4hai trace_events[12750]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt'
Feb  3 00:49:08 srv4hai bt_scan[12750]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'No'
Feb  3 00:49:08 srv4hai bt_scan[12750]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Feb  3 00:49:08 srv4hai trace_events[12778]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt'
Feb  3 00:49:08 srv4hai check_presence[12778]: SHELLY ()-(bt_scan) what: 'presence' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  3 00:49:08 srv4hai check_presence[12778]: SHELLY ()-(bt_scan)-presence: NOT activate_scenario.shtml: offAll
Feb  3 00:49:18 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706917758 - 'ping_SP_0'
Feb  3 00:49:18 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 00:49:48 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706917788 - 'ping_SP_0'
Feb  3 00:49:48 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 00:50:00 srv4hai postfix/anvil[12094]: statistics: max connection rate 1/60s for (smtp:193.222.96.32) at Feb  3 00:46:39
Feb  3 00:50:00 srv4hai postfix/anvil[12094]: statistics: max connection count 1 for (smtp:193.222.96.32) at Feb  3 00:46:39
Feb  3 00:50:00 srv4hai postfix/anvil[12094]: statistics: max cache size 1 at Feb  3 00:46:39
Feb  3 00:50:01 srv4hai CRON[12838]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb  3 00:50:01 srv4hai CRON[12839]: (root) CMD (/etc/linetest/linetest.sh)
Feb  3 00:50:01 srv4hai meter.sh: SHELLY meter.sh started
Feb  3 00:50:18 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706917818 - 'ping_SP_0'
Feb  3 00:50:18 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 00:50:22 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13118, secured, session=
Feb  3 00:50:22 srv4hai dovecot: imap(miglincit)<13118>: 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  3 00:50:29 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb  3 00:50:29 srv4hai fetchmail[1651]: 37163 messages (37162 seen) for tmiglinci at mail.akis.at (-1216276899 octets).
Feb  3 00:50:29 srv4hai postfix/smtpd[13137]: connect from localhost[127.0.0.1]
Feb  3 00:50:29 srv4hai postfix/smtpd[13137]: CF88C6011D: client=localhost[127.0.0.1]
Feb  3 00:50:29 srv4hai postfix/cleanup[13140]: CF88C6011D: message-id=<20240202234718.8153760244@mail.viehai.at>
Feb  3 00:50:29 srv4hai postfix/qmgr[28610]: CF88C6011D: from=, size=27689, nrcpt=1 (queue active)
Feb  3 00:50:29 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:37163 of 37163 (27369 octets) not flushed
Feb  3 00:50:29 srv4hai postfix/smtpd[13137]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb  3 00:50:29 srv4hai postfix/local[13141]: CF88C6011D: to=, relay=local, delay=0.1, delays=0.06/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  3 00:50:29 srv4hai postfix/qmgr[28610]: CF88C6011D: removed
Feb  3 00:50:30 srv4hai fetchmail[1651]: 9851 messages (9851 seen) for srozum at mail.akis.at (1189777371 octets).
Feb  3 00:50:30 srv4hai fetchmail[1651]: 21462 messages (21462 seen) for mrozum at mail.akis.at (-633847704 octets).
Feb  3 00:50:31 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb  3 00:50:48 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706917848 - 'ping_SP_0'
Feb  3 00:50:48 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 00:51:01 srv4hai CRON[13242]: (root) CMD (/etc/linetest/linetest.sh)
Feb  3 00:51:09 srv4hai meter.sh: SHELLY meter.sh ended
Feb  3 00:51:18 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706917878 - 'ping_SP_0'
Feb  3 00:51:18 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 00:51:48 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706917908 - 'ping_SP_0'
Feb  3 00:51:48 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 00:51:49 srv4hai dhcpd[5037]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Feb  3 00:51:49 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Feb  3 00:51:49 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb  3 00:51:49 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.139
Feb  3 00:51:49 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-39
Feb  3 00:51:49 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Feb  3 00:51:49 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Feb  3 00:51:49 srv4hai named[14530]: client @0x7fc31803cbb0 192.168.12.252#43625/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  3 00:51:49 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#56951/key rndc-key: signer "rndc-key" approved
Feb  3 00:51:49 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#56951/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Feb  3 00:51:49 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#56951/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Feb  3 00:51:49 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#56951/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Feb  3 00:51:49 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#56951/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Feb  3 00:51:49 srv4hai dhcpd[5037]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Feb  3 00:51:49 srv4hai named[14530]: client @0x7fc328650140 192.168.12.252#33221/key rndc-key: signer "rndc-key" approved
Feb  3 00:51:49 srv4hai named[14530]: client @0x7fc328650140 192.168.12.252#33221/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Feb  3 00:51:49 srv4hai named[14530]: client @0x7fc328650140 192.168.12.252#33221/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '139.12.168.192.in-addr.arpa' PTR shelly-39.viehai.at.
Feb  3 00:51:49 srv4hai dhcpd[5037]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Feb  3 00:51:49 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb  3 00:51:50 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Feb  3 00:51:50 srv4hai ht_shelly.sh: SHELLY - working dir '/srv/www/viehai/shelly/wetter/2024/02'
Feb  3 00:51:50 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=10.400000&hum=50.800000&id=C049EF8AC9D8&batt=100&volt=6.760000
Feb  3 00:51:50 srv4hai ht_shelly.sh: SHELLY id  => macID: '8A:C9:D8'
Feb  3 00:51:50 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Feb  3 00:51:50 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Feb  3 00:51:50 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}'
Feb  3 00:51:50 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Feb  3 00:51:50 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -X -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.''
Feb  3 00:51:50 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}'
Feb  3 00:51:50 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Feb  3 00:51:50 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Feb  3 00:51:50 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -X -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.''
Feb  3 00:51:50 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Feb  3 00:51:50 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Feb  3 00:51:50 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 10.4° - 50.8%
Feb  3 00:51:50 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-39_20240203.csv'
Feb  3 00:51:50 srv4hai ht_shelly.sh: SHELLY - initial creation of '/srv/www/viehai/shelly/wetter/2024/02/shelly-39_20240203.csv'
Feb  3 00:51:50 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 10.4°/° - 50.8%/% - SAVED
Feb  3 00:51:50 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Feb  3 00:51:50 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: dweetIO='{#012  "this": "succeeded",#012  "by": "dweeting",#012  "the": "dweet",#012  "with": {#012    "thing": "viehai-39",#012    "created": "2024-02-02T23:51:50.672Z",#012    "content": {#012      "temp": 10.4,#012      "hum": 50.8,#012      "batt": 100#012    },#012    "transaction": "b5fd3ae0-f60b-40db-a823-8a07a1732ce3"#012  }#012}'°
Feb  3 00:51:59 srv4hai trace_events[13458]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt'
Feb  3 00:51:59 srv4hai bt_scan[13458]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'Yes'
Feb  3 00:51:59 srv4hai bt_scan[13458]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb  3 00:51:59 srv4hai trace_events[13485]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt'
Feb  3 00:51:59 srv4hai ping_SP[13485]: SHELLY ping_SP.sh started from bt_scan - trcF:'/srv/www/viehai/shelly/meter/trc_13485.txt'
Feb  3 00:51:59 srv4hai trace_events[13494]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt'
Feb  3 00:51:59 srv4hai check_presence[13494]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb  3 00:51:59 srv4hai check_presence[13494]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb  3 00:51:59 srv4hai trace_events[13514]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt'
Feb  3 00:51:59 srv4hai activate_scenario[13514]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb  3 00:51:59 srv4hai activate_scenario[13514]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished