activate_scenario.sh
Tue May 7 06:50:16 CEST 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x

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

scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/05/07/_0.log)

vorher: 06:50:16.246

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

nachher: 06:50:16.307
Dauer: 62 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

urls : 1
vorher : 06:50:16.226
nachher: 06:50:16.315
Dauer : 89 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/07//scene_pcON_20240507_065016.txt'


syslog

May  7 06:47:01 srv4hai CRON[11457]: (root) CMD (/etc/linetest/linetest.sh)
May  7 06:47:21 srv4hai ping_SP[30638]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1715057241 - 'ping_SP_0'
May  7 06:47:21 srv4hai ping_SP[30638]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May  7 06:47:41 srv4hai postfix/anvil[11350]: statistics: max connection rate 1/60s for (smtp:80.76.49.171) at May  7 06:43:27
May  7 06:47:41 srv4hai postfix/anvil[11350]: statistics: max connection count 1 for (smtp:80.76.49.171) at May  7 06:43:27
May  7 06:47:41 srv4hai postfix/anvil[11350]: statistics: max cache size 2 at May  7 06:44:20
May  7 06:48:01 srv4hai CRON[11486]: (root) CMD (/etc/linetest/linetest.sh)
May  7 06:48:34 srv4hai ping_SP[30638]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1715057314 - 'ping_SP_0'
May  7 06:48:34 srv4hai ping_SP[30638]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May  7 06:48:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11519, secured, session=
May  7 06:48:48 srv4hai dovecot: imap(miglincit)<11519>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May  7 06:49:01 srv4hai CRON[11526]: (root) CMD (/etc/linetest/linetest.sh)
May  7 06:49:47 srv4hai dhcpd[22856]: DHCPDISCOVER from c8:db:26:0c:f3:8e via enp2s0
May  7 06:49:47 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
May  7 06:49:47 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
May  7 06:49:47 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.28
May  7 06:49:47 srv4hai dhcpd[22856]: execute_statement argv[2] = harmonyhub
May  7 06:49:47 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.28 (192.168.12.252) from c8:db:26:0c:f3:8e via enp2s0
May  7 06:49:47 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
May  7 06:49:47 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#58357/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
May  7 06:49:47 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#42575/key rndc-key: signer "rndc-key" approved
May  7 06:49:47 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#42575/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
May  7 06:49:47 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#42575/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
May  7 06:49:47 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#42575/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
May  7 06:49:47 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#42575/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
May  7 06:49:47 srv4hai dhcpd[22856]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
May  7 06:49:47 srv4hai named[15509]: client @0x7f931c11da30 192.168.12.252#44111/key rndc-key: signer "rndc-key" approved
May  7 06:49:47 srv4hai named[15509]: client @0x7f931c11da30 192.168.12.252#44111/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
May  7 06:49:47 srv4hai named[15509]: client @0x7f931c11da30 192.168.12.252#44111/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.
May  7 06:49:47 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
May  7 06:49:47 srv4hai dhcpd[22856]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
May  7 06:49:47 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
May  7 06:49:47 srv4hai ping_SP[30638]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1715057387 - 'ping_SP_0'
May  7 06:49:47 srv4hai ping_SP[30638]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May  7 06:50:01 srv4hai CRON[11563]: (root) CMD (/etc/linetest/linetest.sh)
May  7 06:50:01 srv4hai CRON[11564]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
May  7 06:50:01 srv4hai common[11565]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
May  7 06:50:01 srv4hai meter.sh: SHELLY meter.sh started
May  7 06:50:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
May  7 06:50:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
May  7 06:50:06 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
May  7 06:50:06 srv4hai activate_scenario[12028]: SHELLY scenario: 'buero_UM(buero_um)' started
May  7 06:50:06 srv4hai activate_scenario[12028]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
May  7 06:50:06 srv4hai activate_scenario[12028]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
May  7 06:50:06 srv4hai postfix/pickup[30923]: DA932631A0: uid=33 from=
May  7 06:50:06 srv4hai postfix/cleanup[12081]: DA932631A0: message-id=<20240507045006.DA932631A0@mail.viehai.at>
May  7 06:50:06 srv4hai postfix/qmgr[15291]: DA932631A0: from=, size=5830, nrcpt=1 (queue active)
May  7 06:50:06 srv4hai fetchmail[1651]: 43804 messages (43804 seen) for tmiglinci at mail.akis.at (-660047835 octets).
May  7 06:50:06 srv4hai activate_scenario[12028]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
May  7 06:50:06 srv4hai proc_url[12099]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/07/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
May  7 06:50:06 srv4hai postfix/local[12094]: DA932631A0: to=, orig_to=, relay=local, delay=0.06, delays=0.04/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
May  7 06:50:06 srv4hai postfix/cleanup[12081]: E4E6B631A1: message-id=<20240507045006.E4E6B631A1@mail.viehai.at>
May  7 06:50:06 srv4hai postfix/bounce[12095]: DA932631A0: sender non-delivery notification: E4E6B631A1
May  7 06:50:06 srv4hai postfix/qmgr[15291]: E4E6B631A1: from=<>, size=7752, nrcpt=1 (queue active)
May  7 06:50:06 srv4hai postfix/qmgr[15291]: DA932631A0: removed
May  7 06:50:06 srv4hai activate_scenario[12028]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
May  7 06:50:06 srv4hai proc_url[12111]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/07/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
May  7 06:50:06 srv4hai postfix/local[12094]: E4E6B631A1: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
May  7 06:50:06 srv4hai postfix/qmgr[15291]: E4E6B631A1: removed
May  7 06:50:07 srv4hai fetchmail[1651]: 10213 messages (10213 seen) for srozum at mail.akis.at (1232511045 octets).
May  7 06:50:07 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  7 06:50:07 srv4hai activate_scenario[12028]: SHELLY scenario: 'buero_UM(buero_um)' took 736 msec, shelly-40:'Thomas Büro Licht'
May  7 06:50:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
May  7 06:50:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
May  7 06:50:07 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
May  7 06:50:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
May  7 06:50:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
May  7 06:50:07 srv4hai fetchmail[1651]: 23338 messages (23338 seen) for mrozum at mail.akis.at (-260539449 octets).
May  7 06:50:08 srv4hai fetchmail[1651]: 52 messages (52 seen) for admin@bastelstube.wien at pop3.world4you.com (12587653 octets).
May  7 06:50:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  7 06:50:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  7 06:50:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
May  7 06:50:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
May  7 06:50:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
May  7 06:50:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
May  7 06:50:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
May  7 06:50:15 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  7 06:50:16 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
May  7 06:50:16 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
May  7 06:50:16 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
May  7 06:50:16 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
May  7 06:50:16 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
May  7 06:50:16 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.10
May  7 06:50:16 srv4hai dhcpd[22856]: execute_statement argv[2] = pchai7x
May  7 06:50:16 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
May  7 06:50:16 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
May  7 06:50:16 srv4hai named[15509]: client @0x7f93040065c0 192.168.12.252#57963/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
May  7 06:50:16 srv4hai named[15509]: client @0x7f931c67a760 192.168.12.252#36885/key rndc-key: signer "rndc-key" approved
May  7 06:50:16 srv4hai named[15509]: client @0x7f931c67a760 192.168.12.252#36885/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
May  7 06:50:16 srv4hai named[15509]: client @0x7f931c67a760 192.168.12.252#36885/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
May  7 06:50:16 srv4hai named[15509]: client @0x7f931c67a760 192.168.12.252#36885/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
May  7 06:50:16 srv4hai named[15509]: client @0x7f931c67a760 192.168.12.252#36885/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
May  7 06:50:16 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
May  7 06:50:16 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
May  7 06:50:16 srv4hai dhcpd[22856]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
May  7 06:50:16 srv4hai named[15509]: client @0x7f930807c330 192.168.12.252#44953/key rndc-key: signer "rndc-key" approved
May  7 06:50:16 srv4hai named[15509]: client @0x7f930807c330 192.168.12.252#44953/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
May  7 06:50:16 srv4hai named[15509]: client @0x7f930807c330 192.168.12.252#44953/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '10.12.168.192.in-addr.arpa' PTR pchai7x.viehai.at.
May  7 06:50:16 srv4hai dhcpd[22856]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
May  7 06:50:16 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
May  7 06:50:16 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
May  7 06:50:16 srv4hai activate_scenario[12458]: SHELLY scenario: 'pcON(pcon)' started
May  7 06:50:16 srv4hai activate_scenario[12458]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'
May  7 06:50:16 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring

finished