activate_scenario.sh
Tue Dec 24 17:42:38 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/12/24/_0.log)

vorher: 17:42:38.573

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: 17:42:38.644
Dauer: 71 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 17:42:38.536
nachher: 17:42:38.650
Dauer : 116 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/24//scene_vorraumOn_20241224_174238.txt'


syslog

Dec 24 17:39:01 srv4hai CRON[24604]: (root) CMD (/etc/linetest/linetest.sh)
Dec 24 17:39:01 srv4hai CRON[24605]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Dec 24 17:39:01 srv4hai systemd[1]: Starting Clean php session files...
Dec 24 17:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Dec 24 17:39:01 srv4hai systemd[1]: Started Clean php session files.
Dec 24 17:39:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24703, secured, session=
Dec 24 17:39:07 srv4hai dovecot: imap(rozumm)<24703>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 24 17:39:18 srv4hai ping_SP[21133]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1735058358 - 'ping_SP_1'
Dec 24 17:39:18 srv4hai ping_SP[21133]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 24 17:39:52 srv4hai postfix/anvil[23854]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Dec 24 17:32:31
Dec 24 17:39:52 srv4hai postfix/anvil[23854]: statistics: max connection count 1 for (smtp:80.94.95.239) at Dec 24 17:32:31
Dec 24 17:39:52 srv4hai postfix/anvil[23854]: statistics: max cache size 2 at Dec 24 17:33:30
Dec 24 17:39:58 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec 24 17:39:58 srv4hai fetchmail[1651]: 60042 messages (60042 seen) for tmiglinci at mail.akis.at (639942709 octets).
Dec 24 17:39:59 srv4hai fetchmail[1651]: 11278 messages (11278 seen) for srozum at mail.akis.at (1351758903 octets).
Dec 24 17:39:59 srv4hai fetchmail[1651]: 28030 messages (28030 seen) for mrozum at mail.akis.at (520016902 octets).
Dec 24 17:40:00 srv4hai fetchmail[1651]: 1161 messages (1161 seen) for admin@bastelstube.wien at pop3.world4you.com (52202045 octets).
Dec 24 17:40:01 srv4hai CRON[24741]: (root) CMD (/etc/linetest/linetest.sh)
Dec 24 17:40:01 srv4hai CRON[24742]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Dec 24 17:40:01 srv4hai common[24744]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Dec 24 17:40:01 srv4hai meter.sh: SHELLY meter.sh started
Dec 24 17:40:04 srv4hai meter.sh: SHELLY 'shelly-22/WC Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 24 17:40:04 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Dec 24 17:40:04 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Dec 24 17:40:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25283, secured, session=
Dec 24 17:40:07 srv4hai dovecot: imap(rozumm)<25283>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 24 17:40:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Dec 24 17:40:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Dec 24 17:40:08 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Dec 24 17:40:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Dec 24 17:40:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Dec 24 17:40:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 24 17:40:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 24 17:40:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Dec 24 17:40:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Dec 24 17:40:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Dec 24 17:40:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Dec 24 17:40:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Dec 24 17:40:14 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Dec 24 17:40:14 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Dec 24 17:40:14 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Dec 24 17:40:14 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Dec 24 17:40:14 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Dec 24 17:40:14 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Dec 24 17:40:14 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Dec 24 17:40:14 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Dec 24 17:40:14 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Dec 24 17:40:14 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Dec 24 17:40:14 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring
Dec 24 17:40:17 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 24 17:40:17 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Dec 24 17:40:17 srv4hai common[25735]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Dec 24 17:40:17 srv4hai check_shelly.sh: SHELLY last scenery executed: 'herdzeile_UM'
Dec 24 17:40:17 srv4hai check_shelly.sh: SHELLY found '7' active shelly outputs
Dec 24 17:40:17 srv4hai meter.sh: SHELLY meter.sh ended
Dec 24 17:40:24 srv4hai postfix/smtpd[25768]: connect from unknown[80.94.95.239]
Dec 24 17:40:27 srv4hai postfix/smtpd[25768]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 24 17:40:28 srv4hai postfix/smtpd[25768]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 24 17:40:32 srv4hai ping_SP[21133]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1735058432 - 'ping_SP_1'
Dec 24 17:40:32 srv4hai ping_SP[21133]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 24 17:41:01 srv4hai CRON[25795]: (root) CMD (/etc/linetest/linetest.sh)
Dec 24 17:41:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25803, secured, session=<1mGhxwYqBpcAAAAAAAAAAAAAAAAAAAAB>
Dec 24 17:41:07 srv4hai dovecot: imap(rozumm)<25803><1mGhxwYqBpcAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 24 17:41:40 srv4hai dhcpd[4995]: uid lease 192.168.12.51 for client cc:8d:a2:5b:90:00 is duplicate on 192.168.12.0/24
Dec 24 17:41:40 srv4hai dhcpd[4995]: DHCPDISCOVER from cc:8d:a2:5b:90:00 via enp2s0
Dec 24 17:41:40 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.152 to cc:8d:a2:5b:90:00 via enp2s0
Dec 24 17:41:40 srv4hai dhcpd[4995]: uid lease 192.168.12.51 for client cc:8d:a2:5b:90:00 is duplicate on 192.168.12.0/24
Dec 24 17:41:40 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 24 17:41:40 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.152
Dec 24 17:41:40 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-52
Dec 24 17:41:40 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.152 (192.168.12.252) from cc:8d:a2:5b:90:00 via enp2s0
Dec 24 17:41:40 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.152 to cc:8d:a2:5b:90:00 via enp2s0
Dec 24 17:41:40 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#40509/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-52.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 24 17:41:40 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#37037/key rndc-key: signer "rndc-key" approved
Dec 24 17:41:40 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#37037/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-52.viehai.at' TXT
Dec 24 17:41:40 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#37037/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-52.viehai.at' TXT "31578df257b0aa989faa996200c0f6c957"
Dec 24 17:41:40 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#37037/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-52.viehai.at' A
Dec 24 17:41:40 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#37037/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-52.viehai.at' A 192.168.12.152
Dec 24 17:41:40 srv4hai dhcpd[4995]: Added new forward map from shelly-52.viehai.at to 192.168.12.152
Dec 24 17:41:40 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#56055/key rndc-key: signer "rndc-key" approved
Dec 24 17:41:40 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#56055/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '152.12.168.192.in-addr.arpa' PTR
Dec 24 17:41:40 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#56055/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '152.12.168.192.in-addr.arpa' PTR shelly-52.viehai.at.
Dec 24 17:41:40 srv4hai dhcpd[4995]: Added reverse map from 152.12.168.192.in-addr.arpa. to shelly-52.viehai.at
Dec 24 17:41:40 srv4hai dhcpd[4995]: Wrote 0 deleted host decls to leases file.
Dec 24 17:41:40 srv4hai dhcpd[4995]: Wrote 0 new dynamic host decls to leases file.
Dec 24 17:41:40 srv4hai dhcpd[4995]: Wrote 28 leases to leases file.
Dec 24 17:41:40 srv4hai common[25822]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 24 17:41:40 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-52' - shIP/2:'' perform:'conf'
Dec 24 17:41:41 srv4hai mosquitto[29419]: New connection from 192.168.12.152 on port 1883.
Dec 24 17:41:41 srv4hai mosquitto[29419]: Client shelly1minig3-cc8da25b9000 already connected, closing old connection.
Dec 24 17:41:41 srv4hai mosquitto[29419]: Socket error on client shelly1minig3-cc8da25b9000, disconnecting.
Dec 24 17:41:41 srv4hai mosquitto[29419]: New client connected from 192.168.12.152 as shelly1minig3-cc8da25b9000 (c1, k60, u'shmqtt').
Dec 24 17:41:41 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-52' - shIP/2:'192.168.12.152'
Dec 24 17:41:41 srv4hai conf_shelly.sh: SHELLY: usage/name 'WZ ovale Lampe' already set for '192.168.12.152'
Dec 24 17:41:45 srv4hai ping_SP[21133]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1735058505 - 'ping_SP_1'
Dec 24 17:41:45 srv4hai ping_SP[21133]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 24 17:42:01 srv4hai CRON[25888]: (root) CMD (/etc/linetest/linetest.sh)
Dec 24 17:42:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25896, secured, session=<0ZU0ywYqFpcAAAAAAAAAAAAAAAAAAAAB>
Dec 24 17:42:07 srv4hai dovecot: imap(rozumm)<25896><0ZU0ywYqFpcAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 24 17:42:27 srv4hai common[25902]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 24 17:42:37 srv4hai bt_scan[25902]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Dec 24 17:42:37 srv4hai bt_scan[25902]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Dec 24 17:42:37 srv4hai common[25935]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Dec 24 17:42:37 srv4hai ping_SP[25935]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Dec 24 17:42:37 srv4hai common[25956]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Dec 24 17:42:38 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'3'=1735058558-1735058555
Dec 24 17:42:38 srv4hai check_presence[25956]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Dec 24 17:42:38 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'3'=1735058558-1735058555
Dec 24 17:42:38 srv4hai check_presence[25956]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Dec 24 17:42:38 srv4hai check_presence[25956]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Dec 24 17:42:38 srv4hai check_presence[25956]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (__/LIVE)' - anyPresent: 'true' - otherPresent:'true'
Dec 24 17:42:38 srv4hai check_presence[25956]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_herdzeile_UM) - sceneONsmall(vorraumOn)
Dec 24 17:42:38 srv4hai check_presence[25956]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Dec 24 17:42:38 srv4hai activate_scenario[26070]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Dec 24 17:42:38 srv4hai activate_scenario[26070]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished