activate_scenario.sh
Fri Mar 1 22:34:56 CET 2024
scenario: offDownstairs
source: 192.168.12.123

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

Wandlicht beim Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/03/01/_0.log)

vorher: 22:34:57.037

http://192.168.12.101/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 22:34:57.076
Dauer: 39 msec phName: 'shelly-23:'Licht Sekretär''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/03/01/_1.log)

vorher: 22:34:57.055

http://192.168.12.102/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 22:34:57.100
Dauer: 45 msec phName: 'shelly-23:'Licht Sekretär''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/03/01/_2.log)

vorher: 22:34:57.073

http://192.168.12.103/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "input"

nachher: 22:34:57.222
Dauer: 149 msec phName: 'shelly-23:'Licht Sekretär''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/03/01/_3.log)

vorher: 22:34:57.091

http://192.168.12.105/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:34:57.127
Dauer: 36 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/03/01/_4.log)

vorher: 22:34:57.104

http://192.168.12.106/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:34:57.251
Dauer: 148 msec phName: 'shelly-23:'Licht Sekretär''


WZ Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/03/01/_5.log)

vorher: 22:34:57.117

http://192.168.12.110/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 22:34:57.156
Dauer: 38 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:34:57.132

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

nachher: 22:34:57.216
Dauer: 85 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:34:57.145

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

nachher: 22:34:57.248
Dauer: 103 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:34:57.158

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "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: 22:34:57.210
Dauer: 53 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:34:57.172

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "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: 22:34:57.269
Dauer: 97 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/03/01/_10.log)

vorher: 22:34:57.184

http://192.168.12.119/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:34:57.247
Dauer: 63 msec phName: 'shelly-23:'Licht Sekretär''


WC (/srv/www/viehai/shelly/log_scenarios/2024/03/01/_11.log)

vorher: 22:34:57.195

http://192.168.12.122/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 22:34:57.251
Dauer: 56 msec phName: 'shelly-23:'Licht Sekretär''


Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/03/01/_12.log)

vorher: 22:34:57.207

http://192.168.12.123/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:34:57.289
Dauer: 81 msec phName: 'shelly-23:'Licht Sekretär''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/03/01/_13.log)

vorher: 22:34:57.219

http://192.168.12.125/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 22:34:57.288
Dauer: 68 msec phName: 'shelly-23:'Licht Sekretär''


scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

urls : 14
vorher : 22:34:57.008
nachher: 22:34:57.296
Dauer : 288 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/01//scene_offDownstairs_20240301_223456.txt'


syslog

Mar  1 22:31:00 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 22:31:01 srv4hai CRON[16771]: (root) CMD (/etc/linetest/linetest.sh)
Mar  1 22:31:02 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 22:31:02 srv4hai meter.sh: SHELLY meter.sh ended
Mar  1 22:31:02 srv4hai postfix/pickup[3082]: EFACF60244: uid=33 from=
Mar  1 22:31:02 srv4hai postfix/cleanup[15914]: EFACF60244: message-id=<20240301213102.EFACF60244@mail.viehai.at>
Mar  1 22:31:02 srv4hai postfix/qmgr[28610]: EFACF60244: from=, size=654, nrcpt=1 (queue active)
Mar  1 22:31:03 srv4hai postfix/local[15915]: EFACF60244: to=, orig_to=, relay=local, delay=0.03, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  1 22:31:03 srv4hai postfix/qmgr[28610]: EFACF60244: removed
Mar  1 22:31:04 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=45&temp=22.00&id=shellyht-00B358
Mar  1 22:31:04 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/03/shelly-37_20240301.csv'
Mar  1 22:31:04 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/03/shelly-37_20240301.csv' modifed 20s ago - EXIT
Mar  1 22:31:09 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=45&temp=22.00&id=shellyht-00B358
Mar  1 22:31:09 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/03/shelly-37_20240301.csv'
Mar  1 22:31:09 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/03/shelly-37_20240301.csv' modifed 25s ago - EXIT
Mar  1 22:31:09 srv4hai ping_SP[21632]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709328669 - 'ping_SP_0'
Mar  1 22:31:09 srv4hai ping_SP[21632]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  1 22:31:17 srv4hai common[16844]: SHELLY common.sh inkludiert
Mar  1 22:31:17 srv4hai check_shelly.sh: SHELLY last scenery executed: 'LOG_gehen'
Mar  1 22:31:17 srv4hai check_shelly.sh: SHELLY found '3' active shelly outputs
Mar  1 22:31:17 srv4hai common[16866]: SHELLY common.sh inkludiert
Mar  1 22:31:42 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709328702 - 'ping_SP_1'
Mar  1 22:31:42 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  1 22:32:01 srv4hai CRON[16900]: (root) CMD (/etc/linetest/linetest.sh)
Mar  1 22:32:22 srv4hai ping_SP[21632]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709328742 - 'ping_SP_0'
Mar  1 22:32:22 srv4hai ping_SP[21632]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  1 22:32:55 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709328775 - 'ping_SP_1'
Mar  1 22:32:55 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  1 22:33:01 srv4hai CRON[16968]: (root) CMD (/etc/linetest/linetest.sh)
Mar  1 22:33:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16975, secured, session=
Mar  1 22:33:02 srv4hai dovecot: imap(miglincit)<16975>: Logged out in=506 out=1232 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  1 22:33:35 srv4hai ping_SP[21632]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709328815 - 'ping_SP_0'
Mar  1 22:33:35 srv4hai ping_SP[21632]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  1 22:33:59 srv4hai dhcpd[5037]: DHCPDISCOVER from 30:83:98:8c:05:9d via enp2s0
Mar  1 22:33:59 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Mar  1 22:33:59 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar  1 22:33:59 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.123
Mar  1 22:33:59 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-23
Mar  1 22:33:59 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.123 (192.168.12.252) from 30:83:98:8c:05:9d via enp2s0
Mar  1 22:33:59 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Mar  1 22:33:59 srv4hai named[14530]: client @0x7fc32811da30 192.168.12.252#47491/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-23.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar  1 22:33:59 srv4hai named[14530]: client @0x7fc32409b3f0 192.168.12.252#51593/key rndc-key: signer "rndc-key" approved
Mar  1 22:33:59 srv4hai named[14530]: client @0x7fc32409b3f0 192.168.12.252#51593/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' TXT
Mar  1 22:33:59 srv4hai named[14530]: client @0x7fc32409b3f0 192.168.12.252#51593/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' TXT "0067c4eae5f3400bd02ff9ebe320262416"
Mar  1 22:33:59 srv4hai named[14530]: client @0x7fc32409b3f0 192.168.12.252#51593/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' A
Mar  1 22:33:59 srv4hai named[14530]: client @0x7fc32409b3f0 192.168.12.252#51593/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' A 192.168.12.123
Mar  1 22:33:59 srv4hai dhcpd[5037]: Added new forward map from shelly-23.viehai.at to 192.168.12.123
Mar  1 22:33:59 srv4hai named[14530]: client @0x7fc3240092c0 192.168.12.252#55085/key rndc-key: signer "rndc-key" approved
Mar  1 22:33:59 srv4hai named[14530]: client @0x7fc3240092c0 192.168.12.252#55085/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '123.12.168.192.in-addr.arpa' PTR
Mar  1 22:33:59 srv4hai named[14530]: client @0x7fc3240092c0 192.168.12.252#55085/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '123.12.168.192.in-addr.arpa' PTR shelly-23.viehai.at.
Mar  1 22:33:59 srv4hai dhcpd[5037]: Added reverse map from 123.12.168.192.in-addr.arpa. to shelly-23.viehai.at
Mar  1 22:33:59 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-23' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Mar  1 22:34:00 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-23' - shIP/2:'192.168.12.123'
Mar  1 22:34:00 srv4hai conf_shelly.sh: SHELLY: usage/name 'Licht Sekretär' already set for '192.168.12.123'
Mar  1 22:34:00 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(0)' - allready transmitted - skipping
Mar  1 22:34:00 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(1)' - allready transmitted - skipping
Mar  1 22:34:00 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(2)' - allready transmitted - skipping
Mar  1 22:34:00 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(3)' - allready transmitted - skipping
Mar  1 22:34:00 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(4)' - allready transmitted - skipping
Mar  1 22:34:00 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(5)' - allready transmitted - skipping
Mar  1 22:34:01 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 ON : MISSING
Mar  1 22:34:01 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 OFF: MISSING
Mar  1 22:34:01 srv4hai CRON[17144]: (root) CMD (/etc/linetest/linetest.sh)
Mar  1 22:34:07 srv4hai common[17167]: SHELLY common.sh inkludiert
Mar  1 22:34:08 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709328848 - 'ping_SP_1'
Mar  1 22:34:08 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  1 22:34:17 srv4hai bt_scan[17167]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'No'
Mar  1 22:34:17 srv4hai bt_scan[17167]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Mar  1 22:34:17 srv4hai common[17216]: SHELLY common.sh inkludiert
Mar  1 22:34:17 srv4hai check_presence[17216]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Mar  1 22:34:17 srv4hai check_presence[17216]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Mar  1 22:34:17 srv4hai check_presence[17216]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Mar  1 22:34:17 srv4hai check_presence[17216]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Mar  1 22:34:17 srv4hai check_presence[17216]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Mar  1 22:34:22 srv4hai common[17267]: SHELLY common.sh inkludiert
Mar  1 22:34:32 srv4hai bt_scan[17267]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Mar  1 22:34:32 srv4hai bt_scan[17267]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Mar  1 22:34:38 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar  1 22:34:39 srv4hai fetchmail[1651]: 39105 messages (39105 seen) for tmiglinci at mail.akis.at (-1062221684 octets).
Mar  1 22:34:39 srv4hai fetchmail[1651]: 9955 messages (9955 seen) for srozum at mail.akis.at (1202092031 octets).
Mar  1 22:34:40 srv4hai fetchmail[1651]: 21968 messages (21968 seen) for mrozum at mail.akis.at (-527850436 octets).
Mar  1 22:34:40 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar  1 22:34:48 srv4hai ping_SP[21632]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709328888 - 'ping_SP_0'
Mar  1 22:34:48 srv4hai ping_SP[21632]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  1 22:34:56 srv4hai activate_scenario[17320]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Mar  1 22:34:56 srv4hai activate_scenario[17320]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'

finished