activate_scenario.sh
Thu Jul 11 21:48:35 CEST 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/07/11/_0.log)

vorher: 21:48:35.375

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: 21:48:35.408
Dauer: 33 msec phName: 'shelly-23:'Licht Sekretär''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/11/_1.log)

vorher: 21:48:35.393

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: 21:48:35.428
Dauer: 36 msec phName: 'shelly-23:'Licht Sekretär''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/07/11/_2.log)

vorher: 21:48:35.414

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": "http"

nachher: 21:48:35.532
Dauer: 118 msec phName: 'shelly-23:'Licht Sekretär''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/07/11/_3.log)

vorher: 21:48:35.435

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

nachher: 21:48:35.519
Dauer: 85 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/07/11/_4.log)

vorher: 21:48:35.449

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: 21:48:35.527
Dauer: 77 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 21:48:35.463

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

nachher: 21:48:35.649
Dauer: 186 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 21:48:35.477

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: 21:48:35.514
Dauer: 38 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 21:48:35.491

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: 21:48:35.543
Dauer: 53 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 21:48:35.503

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: 21:48:36.560
Dauer: 1057 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 21:48:35.517

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: 21:48:35.653
Dauer: 137 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/07/11/_10.log)

vorher: 21:48:35.532

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

        

nachher: 21:48:38.611
Dauer: 3079 msec phName: 'shelly-23:'Licht Sekretär''


WC (/srv/www/viehai/shelly/log_scenarios/2024/07/11/_11.log)

vorher: 21:48:35.547

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: 21:48:35.578
Dauer: 31 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 21:48:35.560

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: 21:48:35.655
Dauer: 96 msec phName: 'shelly-23:'Licht Sekretär''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/07/11/_13.log)

vorher: 21:48:35.572

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


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

urls : 14
vorher : 21:48:35.327
nachher: 21:48:38.621
Dauer : 3295 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/11//scene_offDownstairs_20240711_214835.txt'


syslog

Jul 11 21:45:01 srv4hai CRON[2931]: (root) CMD (/etc/linetest/linetest.sh)
Jul 11 21:45:42 srv4hai ping_SP[23260]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720727142 - 'ping_SP_1'
Jul 11 21:45:42 srv4hai ping_SP[23260]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 11 21:45:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2974, secured, session=
Jul 11 21:45:43 srv4hai dovecot: imap(rozumm)<2974>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 11 21:45:50 srv4hai ping_SP[2543]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720727150 - 'ping_SP_0'
Jul 11 21:45:50 srv4hai ping_SP[2543]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 11 21:46:01 srv4hai CRON[2991]: (root) CMD (/etc/linetest/linetest.sh)
Jul 11 21:46:44 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3013, secured, session=
Jul 11 21:46:44 srv4hai dovecot: imap(rozumm)<3013>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 11 21:46:56 srv4hai ping_SP[23260]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720727216 - 'ping_SP_1'
Jul 11 21:46:56 srv4hai ping_SP[23260]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 11 21:47:01 srv4hai CRON[3039]: (root) CMD (/etc/linetest/linetest.sh)
Jul 11 21:47:04 srv4hai ping_SP[2543]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720727224 - 'ping_SP_0'
Jul 11 21:47:04 srv4hai ping_SP[2543]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 11 21:47:05 srv4hai dhcpd[30731]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0
Jul 11 21:47:05 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Jul 11 21:47:05 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul 11 21:47:05 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.102
Jul 11 21:47:05 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-02
Jul 11 21:47:05 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0
Jul 11 21:47:05 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Jul 11 21:47:05 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#47525/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 11 21:47:05 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#49465/key rndc-key: signer "rndc-key" approved
Jul 11 21:47:05 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#49465/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT
Jul 11 21:47:05 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#49465/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe"
Jul 11 21:47:05 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#49465/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A
Jul 11 21:47:05 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#49465/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102
Jul 11 21:47:05 srv4hai dhcpd[30731]: Added new forward map from shelly-02.viehai.at to 192.168.12.102
Jul 11 21:47:05 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#52839/key rndc-key: signer "rndc-key" approved
Jul 11 21:47:05 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#52839/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR
Jul 11 21:47:05 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#52839/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '102.12.168.192.in-addr.arpa' PTR shelly-02.viehai.at.
Jul 11 21:47:05 srv4hai dhcpd[30731]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at
Jul 11 21:47:05 srv4hai common[3059]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul 11 21:47:05 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' perform:'conf'
Jul 11 21:47:06 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-02' - shIP/2:'192.168.12.102'
Jul 11 21:47:06 srv4hai mosquitto[18551]: New connection from 192.168.12.102 on port 1883.
Jul 11 21:47:06 srv4hai mosquitto[18551]: New client connected from 192.168.12.102 as shelly1pm-84CCA8A8557D (c1, k60, u'shmqtt').
Jul 11 21:47:06 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon-Licht' already set for '192.168.12.102'
Jul 11 21:47:06 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping
Jul 11 21:47:06 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping
Jul 11 21:47:06 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping
Jul 11 21:47:06 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping
Jul 11 21:47:06 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping
Jul 11 21:47:07 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 ON : MISSING
Jul 11 21:47:07 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 OFF: MISSING
Jul 11 21:47:26 srv4hai activate_scenario[3189]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul 11 21:47:26 srv4hai activate_scenario[3189]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Jul 11 21:47:26 srv4hai activate_scenario[3189]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Jul 11 21:47:26 srv4hai postfix/pickup[26417]: 8FF796018B: uid=33 from=
Jul 11 21:47:26 srv4hai postfix/cleanup[3242]: 8FF796018B: message-id=<20240711194726.8FF796018B@mail.viehai.at>
Jul 11 21:47:26 srv4hai postfix/qmgr[8566]: 8FF796018B: from=, size=9829, nrcpt=1 (queue active)
Jul 11 21:47:26 srv4hai postfix/local[3255]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 11 21:47:26 srv4hai activate_scenario[3189]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Jul 11 21:47:26 srv4hai proc_url[3260]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/11/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jul 11 21:47:26 srv4hai postfix/local[3255]: 8FF796018B: to=, orig_to=, relay=local, delay=0.05, delays=0.02/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Jul 11 21:47:26 srv4hai postfix/cleanup[3242]: 986C1601BE: message-id=<20240711194726.986C1601BE@mail.viehai.at>
Jul 11 21:47:26 srv4hai postfix/bounce[3256]: 8FF796018B: sender non-delivery notification: 986C1601BE
Jul 11 21:47:26 srv4hai postfix/qmgr[8566]: 986C1601BE: from=<>, size=11751, nrcpt=1 (queue active)
Jul 11 21:47:26 srv4hai postfix/qmgr[8566]: 8FF796018B: removed
Jul 11 21:47:26 srv4hai postfix/local[3255]: 986C1601BE: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 11 21:47:26 srv4hai postfix/qmgr[8566]: 986C1601BE: removed
Jul 11 21:47:26 srv4hai activate_scenario[3189]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Jul 11 21:47:26 srv4hai proc_url[3272]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/11/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jul 11 21:47:26 srv4hai activate_scenario[3189]: SHELLY scenario: 'buero_UM(buero_um)' took 140 msec, shelly-40:'Thomas Büro Licht'
Jul 11 21:47:36 srv4hai activate_scenario[3316]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul 11 21:47:36 srv4hai activate_scenario[3316]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Jul 11 21:47:36 srv4hai activate_scenario[3316]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Jul 11 21:47:36 srv4hai postfix/pickup[26417]: 11CD86018B: uid=33 from=
Jul 11 21:47:36 srv4hai postfix/cleanup[3242]: 11CD86018B: message-id=<20240711194736.11CD86018B@mail.viehai.at>
Jul 11 21:47:36 srv4hai postfix/qmgr[8566]: 11CD86018B: from=, size=12399, nrcpt=1 (queue active)
Jul 11 21:47:36 srv4hai postfix/local[3255]: 11CD86018B: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jul 11 21:47:36 srv4hai postfix/cleanup[3242]: 16CF3601BE: message-id=<20240711194736.16CF3601BE@mail.viehai.at>
Jul 11 21:47:36 srv4hai postfix/bounce[3256]: 11CD86018B: sender non-delivery notification: 16CF3601BE
Jul 11 21:47:36 srv4hai postfix/qmgr[8566]: 16CF3601BE: from=<>, size=14321, nrcpt=1 (queue active)
Jul 11 21:47:36 srv4hai postfix/qmgr[8566]: 11CD86018B: removed
Jul 11 21:47:36 srv4hai postfix/local[3255]: 16CF3601BE: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 11 21:47:36 srv4hai postfix/qmgr[8566]: 16CF3601BE: removed
Jul 11 21:47:36 srv4hai activate_scenario[3316]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Jul 11 21:47:36 srv4hai proc_url[3384]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/11/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jul 11 21:47:36 srv4hai activate_scenario[3316]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Jul 11 21:47:36 srv4hai proc_url[3395]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/11/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jul 11 21:47:36 srv4hai activate_scenario[3316]: SHELLY scenario: 'buero_UM(buero_um)' took 475 msec, shelly-40:'Thomas Büro Licht'
Jul 11 21:47:44 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3439, secured, session=
Jul 11 21:47:44 srv4hai dovecot: imap(rozumm)<3439>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 11 21:48:01 srv4hai CRON[3451]: (root) CMD (/etc/linetest/linetest.sh)
Jul 11 21:48:09 srv4hai ping_SP[23260]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720727289 - 'ping_SP_1'
Jul 11 21:48:09 srv4hai ping_SP[23260]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 11 21:48:18 srv4hai ping_SP[2543]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720727298 - 'ping_SP_0'
Jul 11 21:48:18 srv4hai ping_SP[2543]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 11 21:48:18 srv4hai postfix/anvil[2928]: statistics: max connection rate 1/60s for (smtp:94.154.35.194) at Jul 11 21:44:57
Jul 11 21:48:18 srv4hai postfix/anvil[2928]: statistics: max connection count 1 for (smtp:94.154.35.194) at Jul 11 21:44:57
Jul 11 21:48:18 srv4hai postfix/anvil[2928]: statistics: max cache size 1 at Jul 11 21:44:57
Jul 11 21:48:35 srv4hai activate_scenario[3499]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Jul 11 21:48:35 srv4hai activate_scenario[3499]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'

finished