activate_scenario.sh
Mon Feb 26 07:11:08 CET 2024
scenario: buero_UM
source: 192.168.12.140

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/02/26/_0.log)

vorher: 07:11:08.689

http://192.168.12.108/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 07:11:08.724
Dauer: 34 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/02/26/_1.log)

vorher: 07:11:08.705

http://192.168.12.140/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 07:11:08.746
Dauer: 40 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 07:11:08.666
nachher: 07:11:08.752
Dauer : 87 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/26//scene_buero_UM_20240226_071108.txt'


syslog

Feb 26 07:08:01 srv4hai CRON[21974]: (root) CMD (/etc/linetest/linetest.sh)
Feb 26 07:08:02 srv4hai dhcpd[5037]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Feb 26 07:08:02 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Feb 26 07:08:02 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 26 07:08:02 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.122
Feb 26 07:08:02 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-22
Feb 26 07:08:02 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Feb 26 07:08:02 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Feb 26 07:08:02 srv4hai named[14530]: client @0x7fc3240210f0 192.168.12.252#32923/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 26 07:08:02 srv4hai named[14530]: client @0x7fc31806b450 192.168.12.252#58927/key rndc-key: signer "rndc-key" approved
Feb 26 07:08:02 srv4hai named[14530]: client @0x7fc31806b450 192.168.12.252#58927/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Feb 26 07:08:02 srv4hai named[14530]: client @0x7fc31806b450 192.168.12.252#58927/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Feb 26 07:08:02 srv4hai named[14530]: client @0x7fc31806b450 192.168.12.252#58927/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Feb 26 07:08:02 srv4hai named[14530]: client @0x7fc31806b450 192.168.12.252#58927/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Feb 26 07:08:02 srv4hai dhcpd[5037]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Feb 26 07:08:02 srv4hai named[14530]: client @0x7fc31c041220 192.168.12.252#58983/key rndc-key: signer "rndc-key" approved
Feb 26 07:08:02 srv4hai named[14530]: client @0x7fc31c041220 192.168.12.252#58983/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Feb 26 07:08:02 srv4hai named[14530]: client @0x7fc31c041220 192.168.12.252#58983/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Feb 26 07:08:02 srv4hai dhcpd[5037]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Feb 26 07:08:02 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 26 07:08:03 srv4hai bt_scan[21961]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / fixAddr: '192.168.12.62;' - found: 'Yes'
Feb 26 07:08:03 srv4hai bt_scan[21961]: SHELLY - ping_SP.sh already running for BTmac: '1' - IPv4: '192.168.12.62'
Feb 26 07:08:04 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Feb 26 07:08:04 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC' already set for '192.168.12.122'
Feb 26 07:08:04 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Feb 26 07:08:04 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Feb 26 07:08:04 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Feb 26 07:08:04 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Feb 26 07:08:04 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Feb 26 07:08:04 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 ON : MISSING
Feb 26 07:08:04 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 OFF: MISSING
Feb 26 07:08:08 srv4hai postfix/smtpd[21851]: connect from unknown[194.48.251.202]
Feb 26 07:08:08 srv4hai postfix/smtpd[21851]: warning: unknown[194.48.251.202]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 26 07:08:08 srv4hai postfix/smtpd[21851]: disconnect from unknown[194.48.251.202] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 26 07:08:17 srv4hai ping_SP[22344]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708927697 - 'ping_SP_1'
Feb 26 07:08:17 srv4hai ping_SP[22344]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 26 07:09:01 srv4hai systemd[1]: Starting Clean php session files...
Feb 26 07:09:01 srv4hai dhcpd[5037]: DHCPDISCOVER from 98:cd:ac:2d:b6:db via enp2s0
Feb 26 07:09:01 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.125 to 98:cd:ac:2d:b6:db via enp2s0
Feb 26 07:09:01 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 26 07:09:01 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.125
Feb 26 07:09:01 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-25
Feb 26 07:09:01 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.125 (192.168.12.252) from 98:cd:ac:2d:b6:db via enp2s0
Feb 26 07:09:01 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.125 to 98:cd:ac:2d:b6:db via enp2s0
Feb 26 07:09:01 srv4hai named[14530]: client @0x7fc31c0739e0 192.168.12.252#36329/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-25.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 26 07:09:01 srv4hai named[14530]: client @0x7fc32406bb80 192.168.12.252#34393/key rndc-key: signer "rndc-key" approved
Feb 26 07:09:01 srv4hai named[14530]: client @0x7fc32406bb80 192.168.12.252#34393/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-25.viehai.at' TXT
Feb 26 07:09:01 srv4hai named[14530]: client @0x7fc32406bb80 192.168.12.252#34393/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-25.viehai.at' TXT "00a4d627ad58f376691816e2e7457e7bae"
Feb 26 07:09:01 srv4hai named[14530]: client @0x7fc32406bb80 192.168.12.252#34393/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-25.viehai.at' A
Feb 26 07:09:01 srv4hai named[14530]: client @0x7fc32406bb80 192.168.12.252#34393/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-25.viehai.at' A 192.168.12.125
Feb 26 07:09:01 srv4hai dhcpd[5037]: Added new forward map from shelly-25.viehai.at to 192.168.12.125
Feb 26 07:09:01 srv4hai named[14530]: client @0x7fc314083510 192.168.12.252#48033/key rndc-key: signer "rndc-key" approved
Feb 26 07:09:01 srv4hai named[14530]: client @0x7fc314083510 192.168.12.252#48033/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '125.12.168.192.in-addr.arpa' PTR
Feb 26 07:09:01 srv4hai named[14530]: client @0x7fc314083510 192.168.12.252#48033/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '125.12.168.192.in-addr.arpa' PTR shelly-25.viehai.at.
Feb 26 07:09:01 srv4hai dhcpd[5037]: Added reverse map from 125.12.168.192.in-addr.arpa. to shelly-25.viehai.at
Feb 26 07:09:01 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-25' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 26 07:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Feb 26 07:09:01 srv4hai systemd[1]: Started Clean php session files.
Feb 26 07:09:01 srv4hai CRON[22265]: (root) CMD (/etc/linetest/linetest.sh)
Feb 26 07:09:01 srv4hai CRON[22266]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Feb 26 07:09:02 srv4hai ping_SP[9862]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708927742 - 'ping_SP_0'
Feb 26 07:09:02 srv4hai ping_SP[9862]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 26 07:09:02 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-25' - shIP/2:'192.168.12.125'
Feb 26 07:09:02 srv4hai conf_shelly.sh: SHELLY: usage/name 'Küchenlicht' already set for '192.168.12.125'
Feb 26 07:09:02 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(0)' - allready transmitted - skipping
Feb 26 07:09:02 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(1)' - allready transmitted - skipping
Feb 26 07:09:02 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(2)' - allready transmitted - skipping
Feb 26 07:09:02 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(3)' - allready transmitted - skipping
Feb 26 07:09:02 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(4)' - allready transmitted - skipping
Feb 26 07:09:03 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(5)' - allready transmitted - skipping
Feb 26 07:09:03 srv4hai conf_shelly.sh: SHELLY:'shelly-25' out:0 ON : MISSING
Feb 26 07:09:03 srv4hai conf_shelly.sh: SHELLY:'shelly-25' out:0 OFF: MISSING
Feb 26 07:09:11 srv4hai postfix/smtpd[21851]: connect from unknown[193.222.96.116]
Feb 26 07:09:11 srv4hai postfix/smtpd[21851]: disconnect from unknown[193.222.96.116] ehlo=1 quit=1 commands=2
Feb 26 07:09:30 srv4hai ping_SP[22344]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708927770 - 'ping_SP_1'
Feb 26 07:09:30 srv4hai ping_SP[22344]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 26 07:09:42 srv4hai postfix/smtpd[21851]: connect from unknown[unknown]
Feb 26 07:09:42 srv4hai postfix/smtpd[21851]: lost connection after CONNECT from unknown[unknown]
Feb 26 07:09:42 srv4hai postfix/smtpd[21851]: disconnect from unknown[unknown] commands=0/0
Feb 26 07:10:01 srv4hai CRON[22450]: (root) CMD (/etc/linetest/linetest.sh)
Feb 26 07:10:01 srv4hai CRON[22451]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 26 07:10:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 26 07:10:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22507, secured, session=
Feb 26 07:10:01 srv4hai dovecot: imap(miglincit)<22507>: Logged out in=429 out=1233 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 26 07:10:04 srv4hai meter.sh: SHELLY 'shelly-23/Licht Sekretär':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:09 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:14 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:15 srv4hai ping_SP[9862]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708927815 - 'ping_SP_0'
Feb 26 07:10:15 srv4hai ping_SP[9862]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 26 07:10:17 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:19 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:22 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:25 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:28 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:30 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:33 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:35 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:38 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:40 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 26 07:10:40 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:41 srv4hai fetchmail[1651]: 38785 messages (38785 seen) for tmiglinci at mail.akis.at (-1092260099 octets).
Feb 26 07:10:41 srv4hai fetchmail[1651]: 9938 messages (9938 seen) for srozum at mail.akis.at (1200600520 octets).
Feb 26 07:10:42 srv4hai fetchmail[1651]: 21870 messages (21870 seen) for mrozum at mail.akis.at (-549657623 octets).
Feb 26 07:10:42 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Feb 26 07:10:43 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:43 srv4hai ping_SP[22344]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708927843 - 'ping_SP_1'
Feb 26 07:10:43 srv4hai ping_SP[22344]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 26 07:10:46 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:48 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:51 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:53 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:56 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:10:58 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:11:01 srv4hai CRON[23041]: (root) CMD (/etc/linetest/linetest.sh)
Feb 26 07:11:01 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 26 07:11:01 srv4hai meter.sh: SHELLY meter.sh ended
Feb 26 07:11:01 srv4hai postfix/pickup[16627]: 7168660244: uid=33 from=
Feb 26 07:11:01 srv4hai postfix/cleanup[23059]: 7168660244: message-id=<20240226061101.7168660244@mail.viehai.at>
Feb 26 07:11:01 srv4hai postfix/qmgr[28610]: 7168660244: from=, size=654, nrcpt=1 (queue active)
Feb 26 07:11:01 srv4hai postfix/local[23061]: 7168660244: 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 26 07:11:01 srv4hai postfix/qmgr[28610]: 7168660244: removed
Feb 26 07:11:08 srv4hai activate_scenario[23069]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb 26 07:11:08 srv4hai activate_scenario[23069]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished