activate_scenario.sh
Mon Nov 25 19:38:36 CET 2024
scenario: vorraumOn
phoneName: 0

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

VZ Licht (/srv/www/viehai/shelly/log_scenarios/2024/11/25/_0.log)

vorher: 19:38:36.197

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

nachher: 19:38:36.246
Dauer: 50 msec phName: 'phoneName:'0''


scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

urls : 1
vorher : 19:38:36.177
nachher: 19:38:36.254
Dauer : 76 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/11/25//scene_vorraumOn_20241125_193836.txt'


syslog

Nov 25 19:35:01 srv4hai CRON[22890]: (root) CMD (/etc/linetest/linetest.sh)
Nov 25 19:35:34 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22902, secured, session=
Nov 25 19:35:34 srv4hai dovecot: imap(rozumm)<22902>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 25 19:35:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22907, secured, session=
Nov 25 19:35:48 srv4hai dovecot: imap(miglincit)<22907>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 25 19:35:49 srv4hai dhcpd[21239]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Nov 25 19:35:49 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Nov 25 19:35:49 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Nov 25 19:35:49 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.147
Nov 25 19:35:49 srv4hai dhcpd[21239]: execute_statement argv[2] = shelly-47
Nov 25 19:35:49 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Nov 25 19:35:49 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Nov 25 19:35:49 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#38325/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Nov 25 19:35:49 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#35841/key rndc-key: signer "rndc-key" approved
Nov 25 19:35:49 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#35841/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Nov 25 19:35:49 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#35841/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Nov 25 19:35:49 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#35841/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Nov 25 19:35:49 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#35841/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Nov 25 19:35:49 srv4hai dhcpd[21239]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Nov 25 19:35:49 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#42671/key rndc-key: signer "rndc-key" approved
Nov 25 19:35:49 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#42671/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Nov 25 19:35:49 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#42671/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '147.12.168.192.in-addr.arpa' PTR shelly-47.viehai.at.
Nov 25 19:35:49 srv4hai dhcpd[21239]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Nov 25 19:35:49 srv4hai common[22913]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Nov 25 19:35:49 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Nov 25 19:35:50 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Nov 25 19:35:50 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Nov 25 19:35:50 srv4hai mosquitto[18551]: New connection from 192.168.12.147 on port 1883.
Nov 25 19:35:50 srv4hai mosquitto[18551]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Nov 25 19:35:50 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Nov 25 19:36:01 srv4hai CRON[22971]: (root) CMD (/etc/linetest/linetest.sh)
Nov 25 19:36:35 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22983, secured, session=
Nov 25 19:36:35 srv4hai dovecot: imap(rozumm)<22983>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 25 19:36:44 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Nov 25 19:37:01 srv4hai CRON[22995]: (root) CMD (/etc/linetest/linetest.sh)
Nov 25 19:37:15 srv4hai fetchmail[1651]: 57688 messages (57688 seen) for tmiglinci at mail.akis.at (442132367 octets).
Nov 25 19:37:25 srv4hai fetchmail[1651]: 11105 messages (11105 seen) for srozum at mail.akis.at (1338053134 octets).
Nov 25 19:37:35 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=23009, secured, session=
Nov 25 19:37:35 srv4hai dovecot: imap(rozumm)<23009>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 25 19:37:40 srv4hai postfix/anvil[22861]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Nov 25 19:34:18
Nov 25 19:37:40 srv4hai postfix/anvil[22861]: statistics: max connection count 1 for (smtp:80.94.95.239) at Nov 25 19:34:18
Nov 25 19:37:40 srv4hai postfix/anvil[22861]: statistics: max cache size 1 at Nov 25 19:34:18
Nov 25 19:37:43 srv4hai fetchmail[1651]: 27449 messages (27449 seen) for mrozum at mail.akis.at (437667784 octets).
Nov 25 19:37:44 srv4hai fetchmail[1651]: 1157 messages (1157 seen) for admin@bastelstube.wien at pop3.world4you.com (52170273 octets).
Nov 25 19:38:01 srv4hai CRON[23029]: (root) CMD (/etc/linetest/linetest.sh)
Nov 25 19:38:08 srv4hai postfix/smtpd[23034]: connect from unknown[80.94.95.239]
Nov 25 19:38:10 srv4hai postfix/smtpd[23034]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Nov 25 19:38:12 srv4hai postfix/smtpd[23034]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Nov 25 19:38:25 srv4hai dhcpd[21239]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Nov 25 19:38:25 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Nov 25 19:38:25 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Nov 25 19:38:25 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.61
Nov 25 19:38:25 srv4hai dhcpd[21239]: execute_statement argv[2] = fpThomas
Nov 25 19:38:25 srv4hai common[23042]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Nov 25 19:38:25 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Nov 25 19:38:25 srv4hai common[23057]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Nov 25 19:38:25 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Nov 25 19:38:25 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Nov 25 19:38:25 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#46425/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Nov 25 19:38:25 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#58397/key rndc-key: signer "rndc-key" approved
Nov 25 19:38:25 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#58397/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Nov 25 19:38:25 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#58397/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Nov 25 19:38:25 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#58397/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Nov 25 19:38:25 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#58397/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Nov 25 19:38:25 srv4hai dhcpd[21239]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Nov 25 19:38:25 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#52153/key rndc-key: signer "rndc-key" approved
Nov 25 19:38:25 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#52153/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Nov 25 19:38:25 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#52153/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Nov 25 19:38:25 srv4hai dhcpd[21239]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Nov 25 19:38:25 srv4hai ping_SP[23057]: SHELLY ping_SP.sh started from smartphone, user:'root'
Nov 25 19:38:35 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=23082, secured, session=
Nov 25 19:38:35 srv4hai dovecot: imap(rozumm)<23082>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 25 19:38:35 srv4hai common[23093]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Nov 25 19:38:35 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_older_60sec' dweetAge:'9265'=1732559915-1732550650
Nov 25 19:38:35 srv4hai check_presence[23093]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Nov 25 19:38:35 srv4hai check_presence[23093]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Nov 25 19:38:35 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_older_60sec' dweetAge:'9265'=1732559915-1732550650
Nov 25 19:38:35 srv4hai check_presence[23093]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Nov 25 19:38:35 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_older_60sec' dweetAge:'9265'=1732559915-1732550650
Nov 25 19:38:35 srv4hai check_presence[23093]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Nov 25 19:38:35 srv4hai check_presence[23093]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Nov 25 19:38:36 srv4hai check_presence[23093]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Nov 25 19:38:36 srv4hai check_presence[23093]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Nov 25 19:38:36 srv4hai activate_scenario[23232]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Nov 25 19:38:36 srv4hai activate_scenario[23232]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished