activate_scenario.sh
Thu Aug 1 09:39:31 CEST 2024
scenario: vorraumOn
phoneName: 0

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

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

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/08/01/_0.log)

vorher: 09:39:31.935

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: 09:39:32.015
Dauer: 80 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 09:39:31.900
nachher: 09:39:32.021
Dauer : 123 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/01//scene_vorraumOn_20240801_093931.txt'


syslog

Aug  1 09:36:01 srv4hai CRON[11530]: (root) CMD (/etc/linetest/linetest.sh)
Aug  1 09:36:39 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug  1 09:36:39 srv4hai fetchmail[1651]: 49816 messages (49815 seen) for tmiglinci at mail.akis.at (-177134669 octets).
Aug  1 09:36:39 srv4hai postfix/smtpd[11539]: warning: database /etc/aliases.db is older than source file /etc/aliases
Aug  1 09:36:39 srv4hai postfix/smtpd[11539]: connect from localhost[127.0.0.1]
Aug  1 09:36:39 srv4hai postfix/smtpd[11539]: CE34860189: client=localhost[127.0.0.1]
Aug  1 09:36:39 srv4hai postfix/cleanup[11542]: CE34860189: message-id=
Aug  1 09:36:39 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:49816 of 49816 (176049 octets) not flushed
Aug  1 09:36:39 srv4hai postfix/qmgr[8566]: CE34860189: from=, size=176353, nrcpt=1 (queue active)
Aug  1 09:36:39 srv4hai postfix/local[11543]: warning: database /etc/aliases.db is older than source file /etc/aliases
Aug  1 09:36:39 srv4hai postfix/smtpd[11539]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Aug  1 09:36:39 srv4hai postfix/local[11543]: CE34860189: to=, relay=local, delay=0.14, delays=0.13/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Aug  1 09:36:39 srv4hai postfix/qmgr[8566]: CE34860189: removed
Aug  1 09:36:40 srv4hai fetchmail[1651]: 10535 messages (10535 seen) for srozum at mail.akis.at (1266681161 octets).
Aug  1 09:36:40 srv4hai fetchmail[1651]: 25060 messages (25060 seen) for mrozum at mail.akis.at (80504805 octets).
Aug  1 09:36:41 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Aug  1 09:37:01 srv4hai CRON[11548]: (root) CMD (/etc/linetest/linetest.sh)
Aug  1 09:37:30 srv4hai postfix/anvil[11500]: statistics: max connection rate 1/60s for (smtp:178.215.236.216) at Aug  1 09:33:50
Aug  1 09:37:30 srv4hai postfix/anvil[11500]: statistics: max connection count 1 for (smtp:178.215.236.216) at Aug  1 09:33:50
Aug  1 09:37:30 srv4hai postfix/anvil[11500]: statistics: max cache size 2 at Aug  1 09:34:10
Aug  1 09:38:01 srv4hai CRON[11559]: (root) CMD (/etc/linetest/linetest.sh)
Aug  1 09:38:03 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11566, secured, session=<5Vp1SpoePtgAAAAAAAAAAAAAAAAAAAAB>
Aug  1 09:38:03 srv4hai dovecot: imap(miglincit)<11566><5Vp1SpoePtgAAAAAAAAAAAAAAAAAAAAB>: Logged out in=730 out=54981 deleted=0 expunged=0 trashed=0 hdr_count=58 hdr_bytes=26803 body_count=0 body_bytes=0
Aug  1 09:39:01 srv4hai CRON[11576]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Aug  1 09:39:01 srv4hai CRON[11577]: (root) CMD (/etc/linetest/linetest.sh)
Aug  1 09:39:01 srv4hai systemd[1]: Starting Clean php session files...
Aug  1 09:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Aug  1 09:39:01 srv4hai systemd[1]: Started Clean php session files.
Aug  1 09:39:20 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Aug  1 09:39:20 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug  1 09:39:21 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug  1 09:39:21 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Aug  1 09:39:21 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Aug  1 09:39:21 srv4hai common[11679]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug  1 09:39:21 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Aug  1 09:39:21 srv4hai common[11693]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Aug  1 09:39:21 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Aug  1 09:39:21 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug  1 09:39:21 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#36781/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug  1 09:39:21 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#47339/key rndc-key: signer "rndc-key" approved
Aug  1 09:39:21 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#47339/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Aug  1 09:39:21 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#47339/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Aug  1 09:39:21 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#47339/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Aug  1 09:39:21 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#47339/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Aug  1 09:39:21 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Aug  1 09:39:21 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#51251/key rndc-key: signer "rndc-key" approved
Aug  1 09:39:21 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#51251/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Aug  1 09:39:21 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#51251/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.
Aug  1 09:39:21 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Aug  1 09:39:21 srv4hai ping_SP[11693]: SHELLY ping_SP.sh started from smartphone, user:'root'
Aug  1 09:39:31 srv4hai common[11725]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug  1 09:39:31 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1722497971-1722497970
Aug  1 09:39:31 srv4hai check_presence[11725]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug  1 09:39:31 srv4hai check_presence[11725]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Aug  1 09:39:31 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1722497971-1722497970
Aug  1 09:39:31 srv4hai check_presence[11725]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Aug  1 09:39:31 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1722497971-1722497970
Aug  1 09:39:31 srv4hai check_presence[11725]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug  1 09:39:31 srv4hai check_presence[11725]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Aug  1 09:39:31 srv4hai check_presence[11725]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Aug  1 09:39:31 srv4hai check_presence[11725]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Aug  1 09:39:31 srv4hai activate_scenario[11858]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Aug  1 09:39:31 srv4hai activate_scenario[11858]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished