activate_scenario.sh
Thu Feb 15 23:40:25 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/15/_0.log)

vorher: 23:40:25.636

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: 23:40:25.672
Dauer: 36 msec phName: 'phoneName:'0''


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

vorher: 23:40:25.648

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: 23:40:25.672
Dauer: 24 msec phName: 'phoneName:'0''


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

vorher: 23:40:25.660

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: 23:40:25.692
Dauer: 33 msec phName: 'phoneName:'0''


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

vorher: 23:40:25.673

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: 23:40:25.719
Dauer: 45 msec phName: 'phoneName:'0''


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

vorher: 23:40:25.689

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: 23:40:25.732
Dauer: 43 msec phName: 'phoneName:'0''


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

urls : 5
vorher : 23:40:25.618
nachher: 23:40:25.740
Dauer : 122 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/15//scene_welcomeLight_20240215_234025.txt'


syslog

Feb 15 23:37:01 srv4hai CRON[4216]: (root) CMD (/etc/linetest/linetest.sh)
Feb 15 23:37:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4224, secured, session=
Feb 15 23:37:19 srv4hai dovecot: imap(miglincit)<4224>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 15 23:37:30 srv4hai postfix/anvil[4167]: statistics: max connection rate 2/60s for (smtp:197.255.202.30) at Feb 15 23:33:51
Feb 15 23:37:30 srv4hai postfix/anvil[4167]: statistics: max connection count 1 for (smtp:197.255.202.30) at Feb 15 23:33:51
Feb 15 23:37:30 srv4hai postfix/anvil[4167]: statistics: max cache size 3 at Feb 15 23:34:05
Feb 15 23:38:01 srv4hai CRON[4229]: (root) CMD (/etc/linetest/linetest.sh)
Feb 15 23:38:08 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb 15 23:38:08 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.28
Feb 15 23:38:08 srv4hai dhcpd[5037]: execute_statement argv[2] = harmonyhub
Feb 15 23:38:08 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Feb 15 23:38:08 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Feb 15 23:38:08 srv4hai named[14530]: client @0x7fc3100cb8b0 192.168.12.252#33427/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 15 23:38:08 srv4hai named[14530]: client @0x7fc3180c14a0 192.168.12.252#44757/key rndc-key: signer "rndc-key" approved
Feb 15 23:38:08 srv4hai named[14530]: client @0x7fc3180c14a0 192.168.12.252#44757/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Feb 15 23:38:08 srv4hai named[14530]: client @0x7fc3180c14a0 192.168.12.252#44757/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Feb 15 23:38:08 srv4hai named[14530]: client @0x7fc3180c14a0 192.168.12.252#44757/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Feb 15 23:38:08 srv4hai named[14530]: client @0x7fc3180c14a0 192.168.12.252#44757/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Feb 15 23:38:08 srv4hai dhcpd[5037]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Feb 15 23:38:08 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Feb 15 23:38:08 srv4hai named[14530]: client @0x7fc31c0c14b0 192.168.12.252#60225/key rndc-key: signer "rndc-key" approved
Feb 15 23:38:08 srv4hai named[14530]: client @0x7fc31c0c14b0 192.168.12.252#60225/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Feb 15 23:38:08 srv4hai named[14530]: client @0x7fc31c0c14b0 192.168.12.252#60225/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Feb 15 23:38:08 srv4hai dhcpd[5037]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Feb 15 23:38:08 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Feb 15 23:38:48 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb 15 23:38:48 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.28
Feb 15 23:38:48 srv4hai dhcpd[5037]: execute_statement argv[2] = harmonyhub
Feb 15 23:38:48 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Feb 15 23:38:48 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Feb 15 23:38:48 srv4hai named[14530]: client @0x7fc3240aa080 192.168.12.252#42909/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 15 23:38:48 srv4hai named[14530]: client @0x7fc32406bb80 192.168.12.252#52227/key rndc-key: signer "rndc-key" approved
Feb 15 23:38:48 srv4hai named[14530]: client @0x7fc32406bb80 192.168.12.252#52227/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Feb 15 23:38:48 srv4hai named[14530]: client @0x7fc32406bb80 192.168.12.252#52227/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Feb 15 23:38:48 srv4hai named[14530]: client @0x7fc32406bb80 192.168.12.252#52227/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Feb 15 23:38:48 srv4hai named[14530]: client @0x7fc32406bb80 192.168.12.252#52227/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Feb 15 23:38:48 srv4hai dhcpd[5037]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Feb 15 23:38:48 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Feb 15 23:38:48 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#42571/key rndc-key: signer "rndc-key" approved
Feb 15 23:38:48 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#42571/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Feb 15 23:38:48 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#42571/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Feb 15 23:38:48 srv4hai dhcpd[5037]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Feb 15 23:38:48 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Feb 15 23:39:01 srv4hai CRON[4253]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Feb 15 23:39:01 srv4hai CRON[4254]: (root) CMD (/etc/linetest/linetest.sh)
Feb 15 23:39:01 srv4hai systemd[1]: Starting Clean php session files...
Feb 15 23:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Feb 15 23:39:01 srv4hai systemd[1]: Started Clean php session files.
Feb 15 23:40:01 srv4hai CRON[4355]: (root) CMD (/etc/linetest/linetest.sh)
Feb 15 23:40:01 srv4hai CRON[4356]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 15 23:40:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 15 23:40:09 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 23:40:11 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 23:40:14 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 23:40:16 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 23:40:19 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 23:40:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4760, secured, session=
Feb 15 23:40:19 srv4hai dovecot: imap(miglincit)<4760>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 15 23:40:21 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 23:40:24 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 23:40:25 srv4hai common[4779]: SHELLY common.sh inkludiert
Feb 15 23:40:25 srv4hai bt_scan[4779]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Feb 15 23:40:25 srv4hai common[4798]: SHELLY common.sh inkludiert
Feb 15 23:40:25 srv4hai bt_scan[4779]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb 15 23:40:25 srv4hai common[4820]: SHELLY common.sh inkludiert
Feb 15 23:40:25 srv4hai ping_SP[4820]: SHELLY ping_SP.sh started from bt_scan
Feb 15 23:40:25 srv4hai common[4830]: SHELLY common.sh inkludiert
Feb 15 23:40:25 srv4hai check_presence[4830]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Feb 15 23:40:25 srv4hai check_presence[4830]: SHELLY (0) found  and 
Feb 15 23:40:25 srv4hai check_presence[4830]: SHELLY (0) found  and 
Feb 15 23:40:25 srv4hai check_presence[4830]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 15 23:40:25 srv4hai check_presence[4830]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb 15 23:40:25 srv4hai activate_scenario[4881]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb 15 23:40:25 srv4hai activate_scenario[4881]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished