activate_scenario.sh
Tue Apr 30 17:02:25 CEST 2024
scenario: herdzeile_UM
source: 192.168.12.129

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

scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/30/_0.log)

vorher: 17:02:25.611

http://192.168.12.117/white/0?turn=toggle&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 17:02:25.693
Dauer: 82 msec phName: 'shelly-29:'Schalter Herdzeile''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/30/_1.log)

vorher: 17:02:25.625

http://192.168.12.117/white/1?turn=toggle&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 17:02:25.688
Dauer: 64 msec phName: 'shelly-29:'Schalter Herdzeile''


scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

urls : 2
vorher : 17:02:25.591
nachher: 17:02:25.701
Dauer : 110 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/30//scene_herdzeile_UM_20240430_170225.txt'


syslog

Apr 30 16:59:01 srv4hai CRON[4583]: (root) CMD (/etc/linetest/linetest.sh)
Apr 30 16:59:17 srv4hai ping_SP[13680]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714489157 - 'ping_SP_1'
Apr 30 16:59:17 srv4hai ping_SP[13680]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 30 16:59:36 srv4hai dhcpd[22856]: DHCPREQUEST for 10.246.136.48 from 08:92:04:5f:12:67 via enp2s0: wrong network.
Apr 30 16:59:36 srv4hai dhcpd[22856]: DHCPNAK on 10.246.136.48 to 08:92:04:5f:12:67 via enp2s0
Apr 30 16:59:36 srv4hai dhcpd[22856]: DHCPDISCOVER from 08:92:04:5f:12:67 via enp2s0
Apr 30 16:59:36 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.20 to 08:92:04:5f:12:67 via enp2s0
Apr 30 16:59:36 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr 30 16:59:36 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.20
Apr 30 16:59:36 srv4hai dhcpd[22856]: execute_statement argv[2] = w-9626
Apr 30 16:59:36 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.20 (192.168.12.252) from 08:92:04:5f:12:67 via enp2s0
Apr 30 16:59:36 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.20 to 08:92:04:5f:12:67 via enp2s0
Apr 30 16:59:36 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#57315/key rndc-key: signer "rndc-key" approved
Apr 30 16:59:36 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#57315/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '20.12.168.192.in-addr.arpa' PTR
Apr 30 16:59:36 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#57315/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '20.12.168.192.in-addr.arpa' PTR W-9626.ds1.internal.
Apr 30 16:59:36 srv4hai dhcpd[22856]: Added reverse map from 20.12.168.192.in-addr.arpa. to W-9626.ds1.internal
Apr 30 16:59:36 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.20'(20) device 'w-9626'
Apr 30 16:59:36 srv4hai dhcpcommit.sh: SHELLY device 'w-9626' known and accepted
Apr 30 17:00:01 srv4hai CRON[4634]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 30 17:00:01 srv4hai CRON[4635]: (root) CMD (/etc/linetest/linetest.sh)
Apr 30 17:00:01 srv4hai common[4636]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 30 17:00:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 30 17:00:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 30 17:00:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 30 17:00:04 srv4hai dhcpd[22856]: DHCPINFORM from 192.168.12.20 via enp2s0
Apr 30 17:00:04 srv4hai dhcpd[22856]: DHCPACK to 192.168.12.20 (08:92:04:5f:12:67) via enp2s0
Apr 30 17:00:08 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 30 17:00:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 30 17:00:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 30 17:00:08 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 30 17:00:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 30 17:00:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 30 17:00:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 30 17:00:14 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 30 17:00:14 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 30 17:00:14 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 30 17:00:14 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 30 17:00:14 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 30 17:00:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 30 17:00:17 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 30 17:00:17 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 30 17:00:17 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 30 17:00:17 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 30 17:00:17 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 30 17:00:17 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 30 17:00:17 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 30 17:00:17 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 30 17:00:17 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 30 17:00:17 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 30 17:00:17 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 30 17:00:17 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 30 17:00:19 srv4hai fetchmail[1651]: 43205 messages (43202 seen) for tmiglinci at mail.akis.at (-693833597 octets).
Apr 30 17:00:19 srv4hai postfix/smtpd[5504]: connect from localhost[127.0.0.1]
Apr 30 17:00:19 srv4hai postfix/smtpd[5504]: 3E63F6319F: client=localhost[127.0.0.1]
Apr 30 17:00:19 srv4hai postfix/cleanup[5507]: 3E63F6319F: message-id=<202430041456.85do9h867l1rj@reply.tmw.at>
Apr 30 17:00:19 srv4hai postfix/qmgr[15291]: 3E63F6319F: from=, size=137271, nrcpt=1 (queue active)
Apr 30 17:00:19 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:43203 of 43205 (136983 octets) not flushed
Apr 30 17:00:19 srv4hai postfix/smtpd[5504]: 5A415631A0: client=localhost[127.0.0.1]
Apr 30 17:00:19 srv4hai postfix/local[5508]: 3E63F6319F: to=, relay=local, delay=0.13, delays=0.09/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 30 17:00:19 srv4hai postfix/qmgr[15291]: 3E63F6319F: removed
Apr 30 17:00:19 srv4hai postfix/cleanup[5507]: 5A415631A0: message-id=<20240430145725.3D1F4631A0@mail.viehai.at>
Apr 30 17:00:19 srv4hai postfix/qmgr[15291]: 5A415631A0: from=, size=8518, nrcpt=1 (queue active)
Apr 30 17:00:19 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:43204 of 43205 (8226 octets) not flushed
Apr 30 17:00:19 srv4hai postfix/local[5508]: 5A415631A0: to=, relay=local, delay=0.07, delays=0.06/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 30 17:00:19 srv4hai postfix/qmgr[15291]: 5A415631A0: removed
Apr 30 17:00:19 srv4hai postfix/smtpd[5504]: 6E1706319F: client=localhost[127.0.0.1]
Apr 30 17:00:19 srv4hai postfix/cleanup[5507]: 6E1706319F: message-id=
Apr 30 17:00:19 srv4hai postfix/qmgr[15291]: 6E1706319F: from=, size=24754, nrcpt=1 (queue active)
Apr 30 17:00:19 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:43205 of 43205 (24532 octets) not flushed
Apr 30 17:00:19 srv4hai postfix/smtpd[5504]: disconnect from localhost[127.0.0.1] ehlo=1 mail=3 rcpt=3 data=3 quit=1 commands=11
Apr 30 17:00:19 srv4hai postfix/local[5508]: 6E1706319F: to=, relay=local, delay=0.07, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 30 17:00:19 srv4hai postfix/qmgr[15291]: 6E1706319F: removed
Apr 30 17:00:19 srv4hai fetchmail[1651]: 10187 messages (10187 seen) for srozum at mail.akis.at (1228784824 octets).
Apr 30 17:00:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 30 17:00:20 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 30 17:00:20 srv4hai common[4636]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 30 17:00:20 srv4hai fetchmail[1651]: 23206 messages (23206 seen) for mrozum at mail.akis.at (-287570972 octets).
Apr 30 17:00:20 srv4hai fetchmail[1651]: 50 messages (50 seen) for admin@bastelstube.wien at pop3.world4you.com (12362835 octets).
Apr 30 17:00:20 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1714489220-1714489210
Apr 30 17:00:20 srv4hai check_presence[4636]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr 30 17:00:20 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1714489220-1714489210
Apr 30 17:00:20 srv4hai check_presence[4636]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 30 17:00:20 srv4hai check_presence[4636]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Apr 30 17:00:20 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1714489220-1714489210
Apr 30 17:00:20 srv4hai check_presence[4636]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 30 17:00:20 srv4hai check_presence[4636]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 30 17:00:20 srv4hai check_presence[4636]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 30 17:00:20 srv4hai common[4636]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 30 17:00:21 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Apr 30 17:00:21 srv4hai check_shelly.sh: SHELLY found '3' active shelly outputs
Apr 30 17:00:21 srv4hai meter.sh: SHELLY meter.sh ended
Apr 30 17:00:21 srv4hai postfix/pickup[18520]: 0A48C631A0: uid=33 from=
Apr 30 17:00:21 srv4hai postfix/cleanup[5507]: 0A48C631A0: message-id=<20240430150021.0A48C631A0@mail.viehai.at>
Apr 30 17:00:21 srv4hai postfix/qmgr[15291]: 0A48C631A0: from=, size=672, nrcpt=1 (queue active)
Apr 30 17:00:21 srv4hai postfix/local[5508]: 0A48C631A0: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 30 17:00:21 srv4hai postfix/qmgr[15291]: 0A48C631A0: removed
Apr 30 17:00:31 srv4hai ping_SP[13680]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714489231 - 'ping_SP_1'
Apr 30 17:00:31 srv4hai ping_SP[13680]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 30 17:00:48 srv4hai common[5695]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 30 17:00:58 srv4hai bt_scan[5695]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Apr 30 17:00:58 srv4hai bt_scan[5695]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr 30 17:00:58 srv4hai common[5732]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 30 17:00:59 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1714489259-1714489248
Apr 30 17:00:59 srv4hai check_presence[5732]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 30 17:00:59 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1714489259-1714489248
Apr 30 17:00:59 srv4hai check_presence[5732]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 30 17:00:59 srv4hai check_presence[5732]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Apr 30 17:00:59 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1714489259-1714489248
Apr 30 17:00:59 srv4hai check_presence[5732]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 30 17:00:59 srv4hai check_presence[5732]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 30 17:00:59 srv4hai check_presence[5732]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr 30 17:01:01 srv4hai CRON[5857]: (root) CMD (/etc/linetest/linetest.sh)
Apr 30 17:01:44 srv4hai ping_SP[13680]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714489304 - 'ping_SP_1'
Apr 30 17:01:44 srv4hai ping_SP[13680]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 30 17:02:01 srv4hai CRON[5897]: (root) CMD (/etc/linetest/linetest.sh)
Apr 30 17:02:25 srv4hai activate_scenario[5906]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started
Apr 30 17:02:25 srv4hai activate_scenario[5906]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-29:'Schalter Herdzeile'

finished