activate_scenario.sh
Sun Feb 18 22:01:22 CET 2024
scenario: nasszeile_um
source: 192.168.12.128

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

scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/18/_0.log)

vorher: 22:01:22.928

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

nachher: 22:01:22.960
Dauer: 31 msec phName: 'shelly-28:'Schalter Nasszeile''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/18/_1.log)

vorher: 22:01:22.948

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

nachher: 22:01:22.979
Dauer: 31 msec phName: 'shelly-28:'Schalter Nasszeile''


scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

urls : 2
vorher : 22:01:22.882
nachher: 22:01:22.986
Dauer : 105 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/18//scene_nasszeile_um_20240218_220122.txt'


syslog

Feb 18 21:58:01 srv4hai CRON[1120]: (root) CMD (/etc/linetest/linetest.sh)
Feb 18 21:58:20 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=1140, secured, session=
Feb 18 21:58:20 srv4hai dovecot: imap(miglincit)<1140>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 18 21:58:26 srv4hai ping_SP[9472]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708289906 - 'ping_SP_0'
Feb 18 21:58:26 srv4hai ping_SP[9472]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 18 21:58:29 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 18 21:58:34 srv4hai fetchmail[1651]: 38357 messages (38357 seen) for tmiglinci at mail.akis.at (-1134636772 octets).
Feb 18 21:58:35 srv4hai fetchmail[1651]: 9911 messages (9911 seen) for srozum at mail.akis.at (1195777266 octets).
Feb 18 21:58:37 srv4hai fetchmail[1651]: 21726 messages (21726 seen) for mrozum at mail.akis.at (-574589553 octets).
Feb 18 21:58:37 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Feb 18 21:58:47 srv4hai nmbd[30864]: [2024/02/18 21:58:47.113466,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb 18 21:58:47 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Feb 18 21:58:47 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb 18 21:58:47 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Feb 18 21:59:01 srv4hai CRON[1179]: (root) CMD (/etc/linetest/linetest.sh)
Feb 18 21:59:04 srv4hai ping_SP[18265]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708289944 - 'ping_SP_1'
Feb 18 21:59:04 srv4hai ping_SP[18265]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 18 21:59:39 srv4hai ping_SP[9472]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708289979 - 'ping_SP_0'
Feb 18 21:59:39 srv4hai ping_SP[9472]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 18 22:00:01 srv4hai CRON[1240]: (root) CMD (/etc/linetest/linetest.sh)
Feb 18 22:00:01 srv4hai CRON[1241]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 18 22:00:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 18 22:00:01 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 18 22:00:01 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 18 22:00:03 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 18 22:00:03 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 18 22:00:03 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 18 22:00:03 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137
Feb 18 22:00:03 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37
Feb 18 22:00:03 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb 18 22:00:03 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 18 22:00:03 srv4hai named[14530]: client @0x7fc31803cbb0 192.168.12.252#45523/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 18 22:00:03 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#58223/key rndc-key: signer "rndc-key" approved
Feb 18 22:00:03 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#58223/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb 18 22:00:03 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#58223/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb 18 22:00:03 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#58223/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb 18 22:00:03 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#58223/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb 18 22:00:03 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb 18 22:00:03 srv4hai named[14530]: client @0x7fc31009ec90 192.168.12.252#41295/key rndc-key: signer "rndc-key" approved
Feb 18 22:00:03 srv4hai named[14530]: client @0x7fc31009ec90 192.168.12.252#41295/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Feb 18 22:00:03 srv4hai named[14530]: client @0x7fc31009ec90 192.168.12.252#41295/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '137.12.168.192.in-addr.arpa' PTR shelly-37.viehai.at.
Feb 18 22:00:03 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb 18 22:00:03 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 18 22:00:04 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 18 22:00:04 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=22.88&id=shellyht-00B358
Feb 18 22:00:04 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv'
Feb 18 22:00:04 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 18 22:00:05 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 18 22:00:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 18 22:00:05 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 18 22:00:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 18 22:00:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 18 22:00:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 18 22:00:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 18 22:00:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 18 22:00:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 18 22:00:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 18 22:00:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 18 22:00:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 18 22:00:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 18 22:00:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 18 22:00:05 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 22.88° - 39%
Feb 18 22:00:05 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 22.88°/23.12° - 39%/39% - SAVED
Feb 18 22:00:05 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb 18 22:00:05 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: dweetIO='{#012  "this": "succeeded",#012  "by": "dweeting",#012  "the": "dweet",#012  "with": {#012    "thing": "viehai-37",#012    "created": "2024-02-18T21:00:05.733Z",#012    "content": {#012      "temp": 22.88,#012      "hum": 39,#012      "batt": 91#012    },#012    "transaction": "36aa043d-5b41-4c7f-8406-5b33c9703cb2"#012  }#012}'°
Feb 18 22:00:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:10 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=22.88&id=shellyht-00B358
Feb 18 22:00:10 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv'
Feb 18 22:00:10 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' modifed 5s ago - EXIT
Feb 18 22:00:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:12 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:15 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=22.88&id=shellyht-00B358
Feb 18 22:00:15 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv'
Feb 18 22:00:15 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' modifed 10s ago - EXIT
Feb 18 22:00:15 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:17 srv4hai ping_SP[18265]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708290017 - 'ping_SP_1'
Feb 18 22:00:17 srv4hai ping_SP[18265]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 18 22:00:18 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:20 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=22.88&id=shellyht-00B358
Feb 18 22:00:20 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv'
Feb 18 22:00:20 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' modifed 15s ago - EXIT
Feb 18 22:00:20 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:23 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:25 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=22.88&id=shellyht-00B358
Feb 18 22:00:25 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv'
Feb 18 22:00:25 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' modifed 20s ago - EXIT
Feb 18 22:00:25 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:28 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:30 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=22.88&id=shellyht-00B358
Feb 18 22:00:30 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv'
Feb 18 22:00:30 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' modifed 25s ago - EXIT
Feb 18 22:00:30 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:33 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:35 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:38 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:41 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:43 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:46 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:48 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:51 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:52 srv4hai ping_SP[9472]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708290052 - 'ping_SP_0'
Feb 18 22:00:52 srv4hai ping_SP[9472]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 18 22:00:54 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:56 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 18 22:00:56 srv4hai meter.sh: SHELLY meter.sh ended
Feb 18 22:00:56 srv4hai postfix/pickup[22184]: 95E8B60244: uid=33 from=
Feb 18 22:00:56 srv4hai postfix/cleanup[2146]: 95E8B60244: message-id=<20240218210056.95E8B60244@mail.viehai.at>
Feb 18 22:00:56 srv4hai postfix/qmgr[28610]: 95E8B60244: from=, size=654, nrcpt=1 (queue active)
Feb 18 22:00:56 srv4hai postfix/local[2148]: 95E8B60244: 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 18 22:00:56 srv4hai postfix/qmgr[28610]: 95E8B60244: removed
Feb 18 22:01:01 srv4hai CRON[2151]: (root) CMD (/etc/linetest/linetest.sh)
Feb 18 22:01:20 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2165, secured, session=
Feb 18 22:01:20 srv4hai dovecot: imap(miglincit)<2165>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 18 22:01:22 srv4hai activate_scenario[2172]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Feb 18 22:01:22 srv4hai activate_scenario[2172]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished