activate_scenario.sh
Mon Dec 30 08:52:28 CET 2024
scenario: vorraumOn
phoneName: 1

'day' <--> 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/12/30/_0.log)

vorher: 08:52:28.539

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: 08:52:28.609
Dauer: 69 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 08:52:28.518
nachher: 08:52:28.615
Dauer : 96 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/30//scene_vorraumOn_20241230_085228.txt'


syslog

Dec 30 08:49:01 srv4hai CRON[2842]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 08:49:18 srv4hai ping_SP[6391]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735544958 - 'ping_SP_0'
Dec 30 08:49:18 srv4hai ping_SP[6391]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 30 08:49:28 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Dec 30 08:49:28 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.28
Dec 30 08:49:28 srv4hai dhcpd[4995]: execute_statement argv[2] = harmonyhub
Dec 30 08:49:28 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Dec 30 08:49:28 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Dec 30 08:49:28 srv4hai named[30406]: client @0x7f933004a8d0 192.168.12.252#38465/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 30 08:49:28 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#55073/key rndc-key: signer "rndc-key" approved
Dec 30 08:49:28 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#55073/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Dec 30 08:49:28 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#55073/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Dec 30 08:49:28 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#55073/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Dec 30 08:49:28 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#55073/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Dec 30 08:49:28 srv4hai dhcpd[4995]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Dec 30 08:49:28 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Dec 30 08:49:28 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#38263/key rndc-key: signer "rndc-key" approved
Dec 30 08:49:28 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#38263/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Dec 30 08:49:28 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#38263/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.
Dec 30 08:49:28 srv4hai dhcpd[4995]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Dec 30 08:49:28 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Dec 30 08:50:01 srv4hai CRON[2894]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Dec 30 08:50:01 srv4hai CRON[2895]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 08:50:01 srv4hai common[2896]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Dec 30 08:50:01 srv4hai meter.sh: SHELLY meter.sh started
Dec 30 08:50:04 srv4hai meter.sh: SHELLY 'shelly-22/WC Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 30 08:50:04 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Dec 30 08:50:04 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Dec 30 08:50:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Dec 30 08:50:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Dec 30 08:50:08 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Dec 30 08:50:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Dec 30 08:50:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Dec 30 08:50:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 30 08:50:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 30 08:50:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Dec 30 08:50:14 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Dec 30 08:50:14 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Dec 30 08:50:14 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Dec 30 08:50:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Dec 30 08:50:14 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Dec 30 08:50:14 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Dec 30 08:50:14 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Dec 30 08:50:14 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Dec 30 08:50:14 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Dec 30 08:50:14 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Dec 30 08:50:14 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Dec 30 08:50:14 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Dec 30 08:50:14 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Dec 30 08:50:14 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Dec 30 08:50:14 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring
Dec 30 08:50:17 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 30 08:50:17 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Dec 30 08:50:17 srv4hai common[3880]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Dec 30 08:50:17 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON'
Dec 30 08:50:17 srv4hai check_shelly.sh: SHELLY found '8' active shelly outputs
Dec 30 08:50:17 srv4hai meter.sh: SHELLY meter.sh ended
Dec 30 08:50:21 srv4hai ping_SP[6391]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735545021 - 'ping_SP_0'
Dec 30 08:50:21 srv4hai ping_SP[6391]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 30 08:51:01 srv4hai CRON[3932]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 08:51:24 srv4hai ping_SP[6391]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735545084 - 'ping_SP_0'
Dec 30 08:51:24 srv4hai ping_SP[6391]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 30 08:51:26 srv4hai postfix/anvil[2670]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Dec 30 08:48:02
Dec 30 08:51:26 srv4hai postfix/anvil[2670]: statistics: max connection count 1 for (smtp:80.94.95.239) at Dec 30 08:48:02
Dec 30 08:51:26 srv4hai postfix/anvil[2670]: statistics: max cache size 1 at Dec 30 08:48:02
Dec 30 08:51:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3970, secured, session=
Dec 30 08:51:47 srv4hai dovecot: imap(miglincit)<3970>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 30 08:51:56 srv4hai postfix/smtpd[3974]: connect from unknown[80.94.95.239]
Dec 30 08:51:58 srv4hai postfix/smtpd[3974]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 30 08:52:00 srv4hai postfix/smtpd[3974]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 30 08:52:01 srv4hai CRON[3979]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 08:52:15 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec 30 08:52:16 srv4hai fetchmail[1651]: 60384 messages (60384 seen) for tmiglinci at mail.akis.at (664675677 octets).
Dec 30 08:52:17 srv4hai fetchmail[1651]: 11305 messages (11305 seen) for srozum at mail.akis.at (1353426037 octets).
Dec 30 08:52:17 srv4hai fetchmail[1651]: 28093 messages (28093 seen) for mrozum at mail.akis.at (526880359 octets).
Dec 30 08:52:18 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Dec 30 08:52:20 srv4hai dhcpd[4995]: DHCPDISCOVER from c8:db:26:0c:f3:8e via enp2s0
Dec 30 08:52:20 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Dec 30 08:52:20 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Dec 30 08:52:20 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.28
Dec 30 08:52:20 srv4hai dhcpd[4995]: execute_statement argv[2] = harmonyhub
Dec 30 08:52:20 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.28 (192.168.12.252) from c8:db:26:0c:f3:8e via enp2s0
Dec 30 08:52:20 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Dec 30 08:52:20 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#47855/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 30 08:52:20 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#54579/key rndc-key: signer "rndc-key" approved
Dec 30 08:52:20 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#54579/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Dec 30 08:52:20 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#54579/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Dec 30 08:52:20 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#54579/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Dec 30 08:52:20 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#54579/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Dec 30 08:52:20 srv4hai dhcpd[4995]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Dec 30 08:52:20 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Dec 30 08:52:20 srv4hai named[30406]: client @0x7f931c067c00 192.168.12.252#39931/key rndc-key: signer "rndc-key" approved
Dec 30 08:52:20 srv4hai named[30406]: client @0x7f931c067c00 192.168.12.252#39931/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Dec 30 08:52:20 srv4hai named[30406]: client @0x7f931c067c00 192.168.12.252#39931/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.
Dec 30 08:52:20 srv4hai dhcpd[4995]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Dec 30 08:52:20 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Dec 30 08:52:27 srv4hai common[4002]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 30 08:52:27 srv4hai bt_scan[4002]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Dec 30 08:52:27 srv4hai bt_scan[4002]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Dec 30 08:52:27 srv4hai common[4033]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Dec 30 08:52:27 srv4hai ping_SP[4033]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Dec 30 08:52:27 srv4hai common[4054]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Dec 30 08:52:28 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1735545148-1735545147
Dec 30 08:52:28 srv4hai check_presence[4054]: 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
Dec 30 08:52:28 srv4hai check_presence[4054]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Dec 30 08:52:28 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1735545148-1735545147
Dec 30 08:52:28 srv4hai check_presence[4054]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Dec 30 08:52:28 srv4hai check_presence[4054]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Dec 30 08:52:28 srv4hai check_presence[4054]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_pcON) - sceneONsmall(vorraumOn)
Dec 30 08:52:28 srv4hai check_presence[4054]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Dec 30 08:52:28 srv4hai activate_scenario[4158]: SHELLY last scenario: 'pcON' @ '075126' from 'scene_pcON_20241230_075126.txt' - delta=-2
Dec 30 08:52:28 srv4hai activate_scenario[4158]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20241230085228 20241230075126  -f '%S'
Dec 30 08:52:28 srv4hai activate_scenario[4158]: SHELLY  new scenario: 'vorraumOn' different - GO ON
Dec 30 08:52:28 srv4hai activate_scenario[4158]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Dec 30 08:52:28 srv4hai activate_scenario[4158]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished