activate_scenario.sh
Tue Dec 3 15:43:00 CET 2024
scenario: nasszeile_um
source: 192.168.12.128

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

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

KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/03/_0.log)

vorher: 15:43:00.964

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: 15:43:01.070
Dauer: 107 msec phName: 'shelly-28:'KÜ Schalter Nasszeile''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/03/_1.log)

vorher: 15:43:00.979

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: 15:43:01.070
Dauer: 90 msec phName: 'shelly-28:'KÜ Schalter Nasszeile''


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

urls : 2
vorher : 15:43:00.928
nachher: 15:43:01.078
Dauer : 152 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/03//scene_nasszeile_um_20241203_154300.txt'


syslog

Dec  3 15:40:01 srv4hai CRON[27250]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Dec  3 15:40:01 srv4hai CRON[27251]: (root) CMD (/etc/linetest/linetest.sh)
Dec  3 15:40:01 srv4hai common[27252]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Dec  3 15:40:01 srv4hai meter.sh: SHELLY meter.sh started
Dec  3 15:40:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Dec  3 15:40:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Dec  3 15:40:05 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec  3 15:40:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Dec  3 15:40:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Dec  3 15:40:06 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Dec  3 15:40:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Dec  3 15:40:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Dec  3 15:40:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec  3 15:40:09 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27974, secured, session=
Dec  3 15:40:09 srv4hai dovecot: imap(rozumm)<27974>: 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  3 15:40:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec  3 15:40:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Dec  3 15:40:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Dec  3 15:40:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Dec  3 15:40:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Dec  3 15:40:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Dec  3 15:40:12 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Dec  3 15:40:12 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Dec  3 15:40:12 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Dec  3 15:40:12 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Dec  3 15:40:12 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Dec  3 15:40:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Dec  3 15:40:12 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Dec  3 15:40:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Dec  3 15:40:12 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Dec  3 15:40:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Dec  3 15:40:12 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring
Dec  3 15:40:14 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec  3 15:40:14 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Dec  3 15:40:15 srv4hai common[28319]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Dec  3 15:40:15 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Dec  3 15:40:15 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs
Dec  3 15:40:15 srv4hai meter.sh: SHELLY meter.sh ended
Dec  3 15:40:17 srv4hai fetchmail[1651]: 58372 messages (58372 seen) for tmiglinci at mail.akis.at (502510483 octets).
Dec  3 15:40:23 srv4hai fetchmail[1651]: 11164 messages (11163 seen) for srozum at mail.akis.at (1342318141 octets).
Dec  3 15:40:23 srv4hai postfix/smtpd[26448]: connect from localhost[127.0.0.1]
Dec  3 15:40:23 srv4hai postfix/smtpd[26448]: C2AD26004E: client=localhost[127.0.0.1]
Dec  3 15:40:23 srv4hai postfix/cleanup[28345]: C2AD26004E: message-id=
Dec  3 15:40:23 srv4hai fetchmail[1651]: reading message srozum@mail.akis.at:11164 of 11164 (60848 octets) not flushed
Dec  3 15:40:23 srv4hai postfix/qmgr[8566]: C2AD26004E: from=, size=61082, nrcpt=1 (queue active)
Dec  3 15:40:23 srv4hai postfix/smtpd[26448]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Dec  3 15:40:23 srv4hai postfix/local[28346]: C2AD26004E: to=, relay=local, delay=0.09, delays=0.06/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec  3 15:40:23 srv4hai postfix/qmgr[8566]: C2AD26004E: removed
Dec  3 15:40:24 srv4hai ping_SP[22273]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1733236824 - 'ping_SP_1'
Dec  3 15:40:24 srv4hai ping_SP[22273]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec  3 15:40:32 srv4hai fetchmail[1651]: 27639 messages (27639 seen) for mrozum at mail.akis.at (462375684 octets).
Dec  3 15:40:33 srv4hai fetchmail[1651]: 1158 messages (1158 seen) for admin@bastelstube.wien at pop3.world4you.com (52179212 octets).
Dec  3 15:40:34 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28364, secured, session=
Dec  3 15:40:34 srv4hai dovecot: imap(miglincit)<28364>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec  3 15:41:01 srv4hai CRON[28383]: (root) CMD (/etc/linetest/linetest.sh)
Dec  3 15:41:09 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28409, secured, session=
Dec  3 15:41:09 srv4hai dovecot: imap(rozumm)<28409>: 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  3 15:41:21 srv4hai postfix/smtpd[26448]: connect from unknown[80.94.95.239]
Dec  3 15:41:21 srv4hai postfix/smtpd[26448]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec  3 15:41:21 srv4hai postfix/smtpd[26448]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec  3 15:41:37 srv4hai ping_SP[22273]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1733236897 - 'ping_SP_1'
Dec  3 15:41:37 srv4hai ping_SP[22273]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec  3 15:42:01 srv4hai CRON[28455]: (root) CMD (/etc/linetest/linetest.sh)
Dec  3 15:42:05 srv4hai dhcpd[21239]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Dec  3 15:42:05 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Dec  3 15:42:05 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec  3 15:42:05 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.139
Dec  3 15:42:05 srv4hai dhcpd[21239]: execute_statement argv[2] = shelly-39
Dec  3 15:42:05 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Dec  3 15:42:05 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Dec  3 15:42:05 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#56931/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec  3 15:42:05 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#55807/key rndc-key: signer "rndc-key" approved
Dec  3 15:42:05 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#55807/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Dec  3 15:42:05 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#55807/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Dec  3 15:42:05 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#55807/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Dec  3 15:42:05 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#55807/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Dec  3 15:42:05 srv4hai dhcpd[21239]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Dec  3 15:42:05 srv4hai named[30406]: client @0x7f931c09e790 192.168.12.252#43337/key rndc-key: signer "rndc-key" approved
Dec  3 15:42:05 srv4hai named[30406]: client @0x7f931c09e790 192.168.12.252#43337/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Dec  3 15:42:05 srv4hai named[30406]: client @0x7f931c09e790 192.168.12.252#43337/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '139.12.168.192.in-addr.arpa' PTR shelly-39.viehai.at.
Dec  3 15:42:05 srv4hai dhcpd[21239]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Dec  3 15:42:05 srv4hai common[28461]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec  3 15:42:05 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Dec  3 15:42:05 srv4hai common[28474]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Dec  3 15:42:05 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=3.700000&hum=83&id=C049EF8AC9D8&batt=98&volt=5.970000
Dec  3 15:42:05 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/12/shelly-39_20241203.csv'
Dec  3 15:42:05 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Dec  3 15:42:05 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Dec  3 15:42:05 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Dec  3 15:42:05 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Dec  3 15:42:05 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}'
Dec  3 15:42:05 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}'
Dec  3 15:42:05 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.''
Dec  3 15:42:05 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Dec  3 15:42:05 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.''
Dec  3 15:42:05 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Dec  3 15:42:05 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 3.7° - 83%
Dec  3 15:42:05 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 3.7°/3.4° - 83%/82.8% - SAVED
Dec  3 15:42:05 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='98'°
Dec  3 15:42:06 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: dweetIO='{#012  "this": "succeeded",#012  "by": "dweeting",#012  "the": "dweet",#012  "with": {#012    "thing": "viehai-39",#012    "created": "2024-12-03T14:42:06.083Z",#012    "content": {#012      "temp": 3.7,#012      "hum": 83,#012      "batt": 98,#012      "csvF": "shelly-39_20241203.csv"#012    },#012    "transaction": "ac2982e2-f536-409d-82b7-597d4be56b38"#012  }#012}'°
Dec  3 15:42:09 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28617, secured, session=
Dec  3 15:42:09 srv4hai dovecot: imap(rozumm)<28617>: 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  3 15:42:51 srv4hai ping_SP[22273]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1733236971 - 'ping_SP_1'
Dec  3 15:42:51 srv4hai ping_SP[22273]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec  3 15:42:54 srv4hai nmbd[2172]: [2024/12/03 15:42:54.174804,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Dec  3 15:42:54 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Dec  3 15:42:54 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Dec  3 15:42:54 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Dec  3 15:43:00 srv4hai activate_scenario[28663]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Dec  3 15:43:00 srv4hai activate_scenario[28663]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'KÜ Schalter Nasszeile'

finished