activate_scenario.sh
Wed Feb 28 21:33:35 CET 2024
scenario: vorraumOn
phoneName: 0

'night' <--> DayTime=unchecked , 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/02/28/_0.log)

vorher: 21:33:35.679

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: 21:33:35.756
Dauer: 77 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 21:33:35.661
nachher: 21:33:35.762
Dauer : 102 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/28//scene_vorraumOn_20240228_213335.txt'


syslog

Feb 28 21:30:01 srv4hai CRON[13227]: (root) CMD (/etc/linetest/linetest.sh)
Feb 28 21:30:01 srv4hai CRON[13228]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Feb 28 21:30:01 srv4hai CRON[13229]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 28 21:30:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 28 21:30:04 srv4hai meter.sh: SHELLY 'shelly-22/WC':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:30:09 srv4hai meter.sh: SHELLY 'shelly-23/Licht Sekretär':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:30:16 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:30:19 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:30:21 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:30:24 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:30:25 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13551, secured, session=
Feb 28 21:30:25 srv4hai dovecot: imap(rozumm)<13551>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 28 21:30:26 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:30:29 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:30:31 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:30:34 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:30:37 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:30:37 srv4hai ping_SP[23712]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709152237 - 'ping_SP_1'
Feb 28 21:30:37 srv4hai ping_SP[23712]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 28 21:30:39 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:30:42 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:30:43 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb 28 21:30:43 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.28
Feb 28 21:30:43 srv4hai dhcpd[5037]: execute_statement argv[2] = harmonyhub
Feb 28 21:30:43 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Feb 28 21:30:43 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Feb 28 21:30:43 srv4hai named[14530]: client @0x7fc31405bd50 192.168.12.252#59679/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 28 21:30:43 srv4hai named[14530]: client @0x7fc31806b450 192.168.12.252#51419/key rndc-key: signer "rndc-key" approved
Feb 28 21:30:43 srv4hai named[14530]: client @0x7fc31806b450 192.168.12.252#51419/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Feb 28 21:30:43 srv4hai named[14530]: client @0x7fc31806b450 192.168.12.252#51419/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Feb 28 21:30:43 srv4hai named[14530]: client @0x7fc31806b450 192.168.12.252#51419/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Feb 28 21:30:43 srv4hai named[14530]: client @0x7fc31806b450 192.168.12.252#51419/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Feb 28 21:30:43 srv4hai dhcpd[5037]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Feb 28 21:30:43 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Feb 28 21:30:43 srv4hai named[14530]: client @0x7fc3180965b0 192.168.12.252#42609/key rndc-key: signer "rndc-key" approved
Feb 28 21:30:43 srv4hai named[14530]: client @0x7fc3180965b0 192.168.12.252#42609/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Feb 28 21:30:43 srv4hai named[14530]: client @0x7fc3180965b0 192.168.12.252#42609/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 28 21:30:43 srv4hai dhcpd[5037]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Feb 28 21:30:43 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Feb 28 21:30:44 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:30:47 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:30:49 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:30:52 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:30:55 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:30:57 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:31:00 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:31:01 srv4hai CRON[13741]: (root) CMD (/etc/linetest/linetest.sh)
Feb 28 21:31:02 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:31:05 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:31:07 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 21:31:07 srv4hai meter.sh: SHELLY meter.sh ended
Feb 28 21:31:07 srv4hai postfix/pickup[13604]: C7F0F60244: uid=33 from=
Feb 28 21:31:07 srv4hai postfix/cleanup[13768]: C7F0F60244: message-id=<20240228203107.C7F0F60244@mail.viehai.at>
Feb 28 21:31:07 srv4hai postfix/qmgr[28610]: C7F0F60244: from=, size=654, nrcpt=1 (queue active)
Feb 28 21:31:07 srv4hai postfix/local[13770]: C7F0F60244: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 28 21:31:07 srv4hai postfix/qmgr[28610]: C7F0F60244: removed
Feb 28 21:31:18 srv4hai systemd[1]: Started Run anacron jobs.
Feb 28 21:31:18 srv4hai anacron[13777]: Anacron 2.3 started on 2024-02-28
Feb 28 21:31:18 srv4hai anacron[13777]: Normal exit (0 jobs run)
Feb 28 21:31:18 srv4hai systemd[1]: anacron.service: Succeeded.
Feb 28 21:31:25 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13784, secured, session=
Feb 28 21:31:25 srv4hai dovecot: imap(rozumm)<13784>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 28 21:31:50 srv4hai ping_SP[23712]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709152310 - 'ping_SP_1'
Feb 28 21:31:50 srv4hai ping_SP[23712]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 28 21:32:01 srv4hai CRON[13825]: (root) CMD (/etc/linetest/linetest.sh)
Feb 28 21:32:25 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13837, secured, session=<3wdrCncS8oEAAAAAAAAAAAAAAAAAAAAB>
Feb 28 21:32:25 srv4hai dovecot: imap(rozumm)<13837><3wdrCncS8oEAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 28 21:33:01 srv4hai CRON[13860]: (root) CMD (/etc/linetest/linetest.sh)
Feb 28 21:33:03 srv4hai ping_SP[23712]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709152383 - 'ping_SP_1'
Feb 28 21:33:03 srv4hai ping_SP[23712]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 28 21:33:05 srv4hai dhcpd[5037]: DHCPDISCOVER from 30:83:98:8c:05:9d via enp2s0
Feb 28 21:33:05 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Feb 28 21:33:05 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 28 21:33:05 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.123
Feb 28 21:33:05 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-23
Feb 28 21:33:05 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.123 (192.168.12.252) from 30:83:98:8c:05:9d via enp2s0
Feb 28 21:33:05 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Feb 28 21:33:05 srv4hai named[14530]: client @0x7fc3180a5240 192.168.12.252#49429/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-23.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 28 21:33:05 srv4hai named[14530]: client @0x7fc31c041220 192.168.12.252#41897/key rndc-key: signer "rndc-key" approved
Feb 28 21:33:05 srv4hai named[14530]: client @0x7fc31c041220 192.168.12.252#41897/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' TXT
Feb 28 21:33:05 srv4hai named[14530]: client @0x7fc31c041220 192.168.12.252#41897/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' TXT "0067c4eae5f3400bd02ff9ebe320262416"
Feb 28 21:33:05 srv4hai named[14530]: client @0x7fc31c041220 192.168.12.252#41897/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' A
Feb 28 21:33:05 srv4hai named[14530]: client @0x7fc31c041220 192.168.12.252#41897/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' A 192.168.12.123
Feb 28 21:33:05 srv4hai dhcpd[5037]: Added new forward map from shelly-23.viehai.at to 192.168.12.123
Feb 28 21:33:05 srv4hai named[14530]: client @0x7fc3100adf90 192.168.12.252#50523/key rndc-key: signer "rndc-key" approved
Feb 28 21:33:05 srv4hai named[14530]: client @0x7fc3100adf90 192.168.12.252#50523/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '123.12.168.192.in-addr.arpa' PTR
Feb 28 21:33:05 srv4hai named[14530]: client @0x7fc3100adf90 192.168.12.252#50523/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '123.12.168.192.in-addr.arpa' PTR shelly-23.viehai.at.
Feb 28 21:33:05 srv4hai dhcpd[5037]: Added reverse map from 123.12.168.192.in-addr.arpa. to shelly-23.viehai.at
Feb 28 21:33:05 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-23' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 28 21:33:06 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-23' - shIP/2:'192.168.12.123'
Feb 28 21:33:06 srv4hai conf_shelly.sh: SHELLY: usage/name 'Licht Sekretär' already set for '192.168.12.123'
Feb 28 21:33:06 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(0)' - allready transmitted - skipping
Feb 28 21:33:06 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(1)' - allready transmitted - skipping
Feb 28 21:33:06 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(2)' - allready transmitted - skipping
Feb 28 21:33:06 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(3)' - allready transmitted - skipping
Feb 28 21:33:06 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(4)' - allready transmitted - skipping
Feb 28 21:33:06 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(5)' - allready transmitted - skipping
Feb 28 21:33:06 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 ON : MISSING
Feb 28 21:33:06 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 OFF: MISSING
Feb 28 21:33:25 srv4hai common[14025]: SHELLY common.sh inkludiert
Feb 28 21:33:25 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14040, secured, session=<8OT/DXcSNIIAAAAAAAAAAAAAAAAAAAAB>
Feb 28 21:33:25 srv4hai dovecot: imap(rozumm)<14040><8OT/DXcSNIIAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 28 21:33:35 srv4hai bt_scan[14025]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Feb 28 21:33:35 srv4hai bt_scan[14025]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb 28 21:33:35 srv4hai common[14064]: SHELLY common.sh inkludiert
Feb 28 21:33:35 srv4hai ping_SP[14064]: SHELLY ping_SP.sh started from bt_scan
Feb 28 21:33:35 srv4hai common[14074]: SHELLY common.sh inkludiert
Feb 28 21:33:35 srv4hai check_presence[14074]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Feb 28 21:33:35 srv4hai check_presence[14074]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Feb 28 21:33:35 srv4hai check_presence[14074]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Feb 28 21:33:35 srv4hai check_presence[14074]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb 28 21:33:35 srv4hai check_presence[14074]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Feb 28 21:33:35 srv4hai activate_scenario[14125]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Feb 28 21:33:35 srv4hai activate_scenario[14125]: SHELLY dayState='night' <--> DayTime=unchecked NightTime=checked - phoneName:'0'

finished