activate_scenario.sh
Mon Jun 3 13:03:41 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/06/03/_0.log)

vorher: 13:03:41.172

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: 13:03:41.201
Dauer: 30 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 13:03:41.152
nachher: 13:03:41.208
Dauer : 56 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/03//scene_vorraumOn_20240603_130341.txt'


syslog

Jun  3 13:00:01 srv4hai CRON[14136]: (root) CMD (/etc/linetest/linetest.sh)
Jun  3 13:00:01 srv4hai CRON[14137]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jun  3 13:00:01 srv4hai common[14138]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jun  3 13:00:01 srv4hai meter.sh: SHELLY meter.sh started
Jun  3 13:00:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jun  3 13:00:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jun  3 13:00:05 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  3 13:00:08 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  3 13:00:10 srv4hai meter.sh: SHELLY 'shelly-06/Fernsehlampe klein':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  3 13:00:13 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jun  3 13:00:13 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jun  3 13:00:13 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jun  3 13:00:13 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jun  3 13:00:13 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jun  3 13:00:15 srv4hai postfix/anvil[13753]: statistics: max connection rate 1/60s for (smtp:193.138.195.133) at Jun  3 12:56:55
Jun  3 13:00:15 srv4hai postfix/anvil[13753]: statistics: max connection count 1 for (smtp:193.138.195.133) at Jun  3 12:56:55
Jun  3 13:00:15 srv4hai postfix/anvil[13753]: statistics: max cache size 1 at Jun  3 12:56:55
Jun  3 13:00:16 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  3 13:00:18 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  3 13:00:18 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jun  3 13:00:18 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jun  3 13:00:18 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jun  3 13:00:18 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jun  3 13:00:18 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jun  3 13:00:21 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  3 13:00:21 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jun  3 13:00:21 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jun  3 13:00:21 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jun  3 13:00:21 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jun  3 13:00:21 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jun  3 13:00:21 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jun  3 13:00:21 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jun  3 13:00:21 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jun  3 13:00:21 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jun  3 13:00:21 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jun  3 13:00:24 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  3 13:00:24 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jun  3 13:00:24 srv4hai common[15003]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jun  3 13:00:24 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Jun  3 13:00:24 srv4hai check_shelly.sh: SHELLY found '3' active shelly outputs
Jun  3 13:00:24 srv4hai meter.sh: SHELLY meter.sh ended
Jun  3 13:01:01 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun  3 13:01:01 srv4hai CRON[15031]: (root) CMD (/etc/linetest/linetest.sh)
Jun  3 13:01:02 srv4hai fetchmail[1651]: 45605 messages (45604 seen) for tmiglinci at mail.akis.at (-531290903 octets).
Jun  3 13:01:02 srv4hai postfix/smtpd[15035]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun  3 13:01:02 srv4hai postfix/smtpd[15035]: connect from localhost[127.0.0.1]
Jun  3 13:01:02 srv4hai postfix/smtpd[15035]: 247F96018A: client=localhost[127.0.0.1]
Jun  3 13:01:02 srv4hai postfix/cleanup[15038]: 247F96018A: message-id=<20240603105845.1277D60197@mail.viehai.at>
Jun  3 13:01:02 srv4hai postfix/qmgr[31004]: 247F96018A: from=, size=11240, nrcpt=1 (queue active)
Jun  3 13:01:02 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:45605 of 45605 (10935 octets) not flushed
Jun  3 13:01:02 srv4hai postfix/local[15039]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun  3 13:01:02 srv4hai postfix/smtpd[15035]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jun  3 13:01:02 srv4hai postfix/local[15039]: 247F96018A: to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jun  3 13:01:02 srv4hai postfix/qmgr[31004]: 247F96018A: removed
Jun  3 13:01:02 srv4hai fetchmail[1651]: 10286 messages (10286 seen) for srozum at mail.akis.at (1238307482 octets).
Jun  3 13:01:03 srv4hai fetchmail[1651]: 23843 messages (23843 seen) for mrozum at mail.akis.at (-178617634 octets).
Jun  3 13:01:03 srv4hai fetchmail[1651]: 86 messages (86 seen) for admin@bastelstube.wien at pop3.world4you.com (33311211 octets).
Jun  3 13:02:01 srv4hai CRON[15051]: (root) CMD (/etc/linetest/linetest.sh)
Jun  3 13:03:01 srv4hai CRON[15063]: (root) CMD (/etc/linetest/linetest.sh)
Jun  3 13:03:30 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jun  3 13:03:30 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun  3 13:03:30 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun  3 13:03:30 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun  3 13:03:30 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun  3 13:03:30 srv4hai common[15076]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun  3 13:03:30 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun  3 13:03:30 srv4hai common[15090]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun  3 13:03:30 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun  3 13:03:30 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun  3 13:03:30 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#50801/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun  3 13:03:30 srv4hai named[30406]: client @0x7f9350157870 192.168.12.252#48817/key rndc-key: signer "rndc-key" approved
Jun  3 13:03:30 srv4hai named[30406]: client @0x7f9350157870 192.168.12.252#48817/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jun  3 13:03:30 srv4hai named[30406]: client @0x7f9350157870 192.168.12.252#48817/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jun  3 13:03:30 srv4hai named[30406]: client @0x7f9350157870 192.168.12.252#48817/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jun  3 13:03:30 srv4hai named[30406]: client @0x7f9350157870 192.168.12.252#48817/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jun  3 13:03:30 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jun  3 13:03:30 srv4hai named[30406]: client @0x7f934c0b2c60 192.168.12.252#48459/key rndc-key: signer "rndc-key" approved
Jun  3 13:03:30 srv4hai named[30406]: client @0x7f934c0b2c60 192.168.12.252#48459/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jun  3 13:03:30 srv4hai named[30406]: client @0x7f934c0b2c60 192.168.12.252#48459/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.
Jun  3 13:03:30 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jun  3 13:03:30 srv4hai ping_SP[15090]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun  3 13:03:40 srv4hai common[15122]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun  3 13:03:40 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_older_60sec' dweetAge:'174'=1717412620-1717412446
Jun  3 13:03:40 srv4hai check_presence[15122]: 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
Jun  3 13:03:40 srv4hai check_presence[15122]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jun  3 13:03:40 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_older_60sec' dweetAge:'174'=1717412620-1717412446
Jun  3 13:03:40 srv4hai check_presence[15122]: 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
Jun  3 13:03:40 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_older_60sec' dweetAge:'174'=1717412620-1717412446
Jun  3 13:03:40 srv4hai check_presence[15122]: 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
Jun  3 13:03:40 srv4hai check_presence[15122]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jun  3 13:03:41 srv4hai check_presence[15122]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Jun  3 13:03:41 srv4hai check_presence[15122]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jun  3 13:03:41 srv4hai activate_scenario[15262]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun  3 13:03:41 srv4hai activate_scenario[15262]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished