activate_scenario.sh
Mon Mar 4 22:18: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/04/_0.log)

vorher: 22:18:56.458

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:18:56.517
Dauer: 60 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:18:56.474

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:18:56.512
Dauer: 37 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:18:56.490

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:18:56.633
Dauer: 143 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:18:56.504

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:18:56.622
Dauer: 117 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:18:56.517

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

nachher: 22:18:56.636
Dauer: 119 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:18:56.530

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:18:56.561
Dauer: 30 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:18:56.544

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:18:56.629
Dauer: 85 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:18:56.557

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:18:56.643
Dauer: 86 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:18:56.570

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:18:56.644
Dauer: 73 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:18:56.584

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:18:56.676
Dauer: 93 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:18:56.598

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

nachher: 22:18:56.635
Dauer: 37 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:18:56.610

http://192.168.12.122/relay/0?turn=off

        

nachher: 22:19:00.618
Dauer: 4008 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:18:56.623

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

nachher: 22:18:56.683
Dauer: 59 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:18:56.638

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

nachher: 22:18:56.673
Dauer: 36 msec phName: 'shelly-23:'Licht Sekretär''


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

urls : 14
vorher : 22:18:56.430
nachher: 22:19:00.627
Dauer : 4197 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/04//scene_offDownstairs_20240304_221856.txt'


syslog

Mar  4 22:15:00 srv4hai bt_scan[31516]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'No'
Mar  4 22:15:00 srv4hai bt_scan[31516]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Mar  4 22:15:00 srv4hai common[31563]: SHELLY common.sh inkludiert
Mar  4 22:15:00 srv4hai check_presence[31563]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Mar  4 22:15:00 srv4hai check_presence[31563]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Mar  4 22:15:00 srv4hai check_presence[31563]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Mar  4 22:15:00 srv4hai check_presence[31563]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/IP) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Mar  4 22:15:00 srv4hai check_presence[31563]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Mar  4 22:15:01 srv4hai CRON[31614]: (root) CMD (/etc/linetest/linetest.sh)
Mar  4 22:16:01 srv4hai CRON[31641]: (root) CMD (/etc/linetest/linetest.sh)
Mar  4 22:16:08 srv4hai dhcpd[5037]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Mar  4 22:16:08 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Mar  4 22:16:08 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar  4 22:16:08 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.122
Mar  4 22:16:08 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-22
Mar  4 22:16:08 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Mar  4 22:16:08 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Mar  4 22:16:08 srv4hai named[14530]: client @0x7fc308064dd0 192.168.12.252#58937/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar  4 22:16:08 srv4hai named[14530]: client @0x7fc3180de750 192.168.12.252#36489/key rndc-key: signer "rndc-key" approved
Mar  4 22:16:08 srv4hai named[14530]: client @0x7fc3180de750 192.168.12.252#36489/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Mar  4 22:16:08 srv4hai named[14530]: client @0x7fc3180de750 192.168.12.252#36489/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Mar  4 22:16:08 srv4hai named[14530]: client @0x7fc3180de750 192.168.12.252#36489/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Mar  4 22:16:08 srv4hai named[14530]: client @0x7fc3180de750 192.168.12.252#36489/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Mar  4 22:16:08 srv4hai dhcpd[5037]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Mar  4 22:16:08 srv4hai named[14530]: client @0x7fc3140a1100 192.168.12.252#58933/key rndc-key: signer "rndc-key" approved
Mar  4 22:16:08 srv4hai named[14530]: client @0x7fc3140a1100 192.168.12.252#58933/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Mar  4 22:16:08 srv4hai named[14530]: client @0x7fc3140a1100 192.168.12.252#58933/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Mar  4 22:16:08 srv4hai dhcpd[5037]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Mar  4 22:16:08 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Mar  4 22:16:08 srv4hai ping_SP[8247]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709586968 - 'ping_SP_0'
Mar  4 22:16:08 srv4hai ping_SP[8247]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  4 22:16:10 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Mar  4 22:16:10 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC' already set for '192.168.12.122'
Mar  4 22:16:10 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Mar  4 22:16:10 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Mar  4 22:16:10 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Mar  4 22:16:10 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Mar  4 22:16:10 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Mar  4 22:16:10 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 ON : MISSING
Mar  4 22:16:10 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 OFF: MISSING
Mar  4 22:17:01 srv4hai CRON[31795]: (root) CMD (/etc/linetest/linetest.sh)
Mar  4 22:17:01 srv4hai CRON[31796]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Mar  4 22:17:09 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31813, secured, session=
Mar  4 22:17:09 srv4hai dovecot: imap(miglincit)<31813>: Logged out in=277 out=1676 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  4 22:17:22 srv4hai ping_SP[8247]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709587042 - 'ping_SP_0'
Mar  4 22:17:22 srv4hai ping_SP[8247]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  4 22:17:34 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar  4 22:17:34 srv4hai fetchmail[1651]: 39243 messages (39243 seen) for tmiglinci at mail.akis.at (-1053588191 octets).
Mar  4 22:17:35 srv4hai fetchmail[1651]: 9963 messages (9963 seen) for srozum at mail.akis.at (1205069730 octets).
Mar  4 22:17:36 srv4hai fetchmail[1651]: 22010 messages (22010 seen) for mrozum at mail.akis.at (-494091823 octets).
Mar  4 22:17:36 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar  4 22:17:40 srv4hai postfix/anvil[31278]: statistics: max connection rate 1/60s for (smtp:193.222.96.116) at Mar  4 22:12:49
Mar  4 22:17:40 srv4hai postfix/anvil[31278]: statistics: max connection count 1 for (smtp:193.222.96.116) at Mar  4 22:12:49
Mar  4 22:17:40 srv4hai postfix/anvil[31278]: statistics: max cache size 1 at Mar  4 22:12:49
Mar  4 22:17:44 srv4hai common[31838]: SHELLY common.sh inkludiert
Mar  4 22:17:54 srv4hai bt_scan[31838]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Mar  4 22:17:54 srv4hai bt_scan[31838]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Mar  4 22:18:01 srv4hai CRON[31873]: (root) CMD (/etc/linetest/linetest.sh)
Mar  4 22:18:35 srv4hai ping_SP[8247]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709587115 - 'ping_SP_0'
Mar  4 22:18:35 srv4hai ping_SP[8247]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  4 22:18:56 srv4hai activate_scenario[31915]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Mar  4 22:18:56 srv4hai activate_scenario[31915]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'

finished