activate_scenario.sh
Mon Nov 25 19:43:49 CET 2024
scenario: buero_UM
source: 192.168.12.140

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

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

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/11/25/_0.log)

vorher: 19:43:49.340

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

nachher: 19:43:49.375
Dauer: 35 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2024/11/25/_1.log)

vorher: 19:43:49.358

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

nachher: 19:43:49.388
Dauer: 31 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 19:43:49.321
nachher: 19:43:49.395
Dauer : 74 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/11/25//scene_buero_UM_20241125_194349.txt'


syslog

Nov 25 19:40:01 srv4hai CRON[23580]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Nov 25 19:40:01 srv4hai CRON[23581]: (root) CMD (/etc/linetest/linetest.sh)
Nov 25 19:40:01 srv4hai common[23583]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Nov 25 19:40:01 srv4hai meter.sh: SHELLY meter.sh started
Nov 25 19:40:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Nov 25 19:40:01 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Nov 25 19:40:04 srv4hai ping_SP[23057]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732560004 - 'ping_SP_0'
Nov 25 19:40:04 srv4hai ping_SP[23057]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 25 19:40:06 srv4hai meter.sh: SHELLY 'shelly-47/GB Schreibtischlampe links':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 25 19:40:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Nov 25 19:40:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Nov 25 19:40:06 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Nov 25 19:40:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Nov 25 19:40:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Nov 25 19:40:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 25 19:40:12 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 25 19:40:12 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Nov 25 19:40:12 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Nov 25 19:40:12 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Nov 25 19:40:12 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Nov 25 19:40:12 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Nov 25 19:40:12 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Nov 25 19:40:12 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Nov 25 19:40:12 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Nov 25 19:40:12 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Nov 25 19:40:12 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Nov 25 19:40:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Nov 25 19:40:12 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Nov 25 19:40:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Nov 25 19:40:12 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Nov 25 19:40:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Nov 25 19:40:12 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring
Nov 25 19:40:15 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 25 19:40:15 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Nov 25 19:40:15 srv4hai common[24553]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Nov 25 19:40:15 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Nov 25 19:40:15 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Nov 25 19:40:15 srv4hai meter.sh: SHELLY meter.sh ended
Nov 25 19:40:18 srv4hai dhcpd[21239]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Nov 25 19:40:18 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Nov 25 19:40:18 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Nov 25 19:40:18 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.147
Nov 25 19:40:18 srv4hai dhcpd[21239]: execute_statement argv[2] = shelly-47
Nov 25 19:40:18 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Nov 25 19:40:18 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Nov 25 19:40:18 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#48577/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Nov 25 19:40:18 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#46127/key rndc-key: signer "rndc-key" approved
Nov 25 19:40:18 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#46127/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Nov 25 19:40:18 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#46127/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Nov 25 19:40:18 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#46127/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Nov 25 19:40:18 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#46127/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Nov 25 19:40:18 srv4hai dhcpd[21239]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Nov 25 19:40:18 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#49919/key rndc-key: signer "rndc-key" approved
Nov 25 19:40:18 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#49919/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Nov 25 19:40:18 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#49919/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '147.12.168.192.in-addr.arpa' PTR shelly-47.viehai.at.
Nov 25 19:40:18 srv4hai dhcpd[21239]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Nov 25 19:40:18 srv4hai common[24577]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Nov 25 19:40:18 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Nov 25 19:40:19 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Nov 25 19:40:19 srv4hai mosquitto[18551]: New connection from 192.168.12.147 on port 1883.
Nov 25 19:40:19 srv4hai mosquitto[18551]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Nov 25 19:40:19 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Nov 25 19:40:19 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Nov 25 19:40:36 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24643, secured, session=
Nov 25 19:40:36 srv4hai dovecot: imap(rozumm)<24643>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 25 19:41:01 srv4hai CRON[24650]: (root) CMD (/etc/linetest/linetest.sh)
Nov 25 19:41:17 srv4hai ping_SP[23057]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732560077 - 'ping_SP_0'
Nov 25 19:41:17 srv4hai ping_SP[23057]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 25 19:41:32 srv4hai postfix/anvil[23036]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Nov 25 19:38:08
Nov 25 19:41:32 srv4hai postfix/anvil[23036]: statistics: max connection count 1 for (smtp:80.94.95.239) at Nov 25 19:38:08
Nov 25 19:41:32 srv4hai postfix/anvil[23036]: statistics: max cache size 1 at Nov 25 19:38:08
Nov 25 19:41:36 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24680, secured, session=
Nov 25 19:41:36 srv4hai dovecot: imap(rozumm)<24680>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 25 19:41:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24687, secured, session=
Nov 25 19:41:48 srv4hai dovecot: imap(miglincit)<24687>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 25 19:41:58 srv4hai postfix/smtpd[24693]: connect from unknown[80.94.95.239]
Nov 25 19:42:01 srv4hai CRON[24698]: (root) CMD (/etc/linetest/linetest.sh)
Nov 25 19:42:01 srv4hai postfix/smtpd[24693]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Nov 25 19:42:02 srv4hai postfix/smtpd[24693]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Nov 25 19:42:30 srv4hai activate_scenario[24720]: SHELLY scenario: 'buero_UM(buero_um)' started
Nov 25 19:42:30 srv4hai activate_scenario[24720]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
Nov 25 19:42:30 srv4hai activate_scenario[24720]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'TB Licht'
Nov 25 19:42:30 srv4hai postfix/pickup[18069]: D254063463: uid=33 from=
Nov 25 19:42:30 srv4hai postfix/cleanup[24773]: D254063463: message-id=<20241125184230.D254063463@mail.viehai.at>
Nov 25 19:42:30 srv4hai postfix/qmgr[8566]: D254063463: from=, size=11876, nrcpt=1 (queue active)
Nov 25 19:42:30 srv4hai activate_scenario[24720]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'TB Regallicht' --> '0?turn=toggle'
Nov 25 19:42:30 srv4hai proc_url[24791]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/25/_0.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Nov 25 19:42:30 srv4hai postfix/local[24786]: D254063463: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Nov 25 19:42:30 srv4hai postfix/cleanup[24773]: D8EBB63464: message-id=<20241125184230.D8EBB63464@mail.viehai.at>
Nov 25 19:42:30 srv4hai postfix/bounce[24789]: D254063463: sender non-delivery notification: D8EBB63464
Nov 25 19:42:30 srv4hai postfix/qmgr[8566]: D8EBB63464: from=<>, size=13755, nrcpt=1 (queue active)
Nov 25 19:42:30 srv4hai postfix/qmgr[8566]: D254063463: removed
Nov 25 19:42:30 srv4hai activate_scenario[24720]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'TB Licht' --> '0?turn=toggle'
Nov 25 19:42:30 srv4hai proc_url[24803]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/25/_1.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Nov 25 19:42:30 srv4hai postfix/local[24786]: D8EBB63464: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Nov 25 19:42:30 srv4hai postfix/qmgr[8566]: D8EBB63464: removed
Nov 25 19:42:30 srv4hai activate_scenario[24720]: SHELLY scenario: 'buero_UM(buero_um)' took 76 msec, shelly-40:'TB Licht'
Nov 25 19:42:31 srv4hai ping_SP[23057]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732560151 - 'ping_SP_0'
Nov 25 19:42:31 srv4hai ping_SP[23057]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 25 19:42:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24859, secured, session=
Nov 25 19:42:37 srv4hai dovecot: imap(rozumm)<24859>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 25 19:42:44 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Nov 25 19:42:49 srv4hai nmbd[2172]: [2024/11/25 19:42:49.315978,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Nov 25 19:42:49 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Nov 25 19:42:49 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Nov 25 19:42:49 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Nov 25 19:42:58 srv4hai fetchmail[1651]: 57689 messages (57688 seen) for tmiglinci at mail.akis.at (442145465 octets).
Nov 25 19:42:58 srv4hai postfix/smtpd[24693]: connect from localhost[127.0.0.1]
Nov 25 19:42:58 srv4hai postfix/smtpd[24693]: DB11B6345A: client=localhost[127.0.0.1]
Nov 25 19:42:58 srv4hai postfix/cleanup[24773]: DB11B6345A: message-id=<20241125183836.2B2FD63463@mail.viehai.at>
Nov 25 19:42:58 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:57689 of 57689 (13098 octets) not flushed
Nov 25 19:42:58 srv4hai postfix/qmgr[8566]: DB11B6345A: from=, size=13412, nrcpt=1 (queue active)
Nov 25 19:42:58 srv4hai postfix/local[24786]: DB11B6345A: to=, relay=local, delay=0.06, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Nov 25 19:42:58 srv4hai postfix/qmgr[8566]: DB11B6345A: removed
Nov 25 19:42:58 srv4hai postfix/smtpd[24693]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Nov 25 19:43:01 srv4hai CRON[24873]: (root) CMD (/etc/linetest/linetest.sh)
Nov 25 19:43:03 srv4hai fetchmail[1651]: 11105 messages (11105 seen) for srozum at mail.akis.at (1338053134 octets).
Nov 25 19:43:12 srv4hai fetchmail[1651]: 27449 messages (27449 seen) for mrozum at mail.akis.at (437667784 octets).
Nov 25 19:43:12 srv4hai fetchmail[1651]: 1157 messages (1157 seen) for admin@bastelstube.wien at pop3.world4you.com (52170273 octets).
Nov 25 19:43:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24892, secured, session=
Nov 25 19:43:37 srv4hai dovecot: imap(rozumm)<24892>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 25 19:43:44 srv4hai ping_SP[23057]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732560224 - 'ping_SP_0'
Nov 25 19:43:44 srv4hai ping_SP[23057]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 25 19:43:49 srv4hai activate_scenario[24913]: SHELLY scenario: 'buero_UM(buero_um)' started
Nov 25 19:43:49 srv4hai activate_scenario[24913]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished