activate_scenario.sh
Thu Nov 28 21:58:12 CET 2024
scenario: herdzeile_UM
source: 192.168.12.129

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

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

KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/11/28/_0.log)

vorher: 21:58:12.253

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

nachher: 21:58:12.293
Dauer: 40 msec phName: 'shelly-29:'KÜ Schalter Herdzeile''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/11/28/_1.log)

vorher: 21:58:12.267

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

nachher: 21:58:12.304
Dauer: 37 msec phName: 'shelly-29:'KÜ Schalter Herdzeile''


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

urls : 2
vorher : 21:58:12.232
nachher: 21:58:12.310
Dauer : 78 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/11/28//scene_herdzeile_UM_20241128_215812.txt'


syslog

Nov 28 21:55:01 srv4hai CRON[26873]: (root) CMD (/etc/linetest/linetest.sh)
Nov 28 21:55:16 srv4hai dhcpd[21239]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Nov 28 21:55:16 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Nov 28 21:55:18 srv4hai dhcpd[21239]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Nov 28 21:55:18 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Nov 28 21:55:18 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Nov 28 21:55:18 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.147
Nov 28 21:55:18 srv4hai dhcpd[21239]: execute_statement argv[2] = shelly-47
Nov 28 21:55:18 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Nov 28 21:55:18 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Nov 28 21:55:18 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#44291/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Nov 28 21:55:18 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#45165/key rndc-key: signer "rndc-key" approved
Nov 28 21:55:18 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#45165/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Nov 28 21:55:18 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#45165/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Nov 28 21:55:18 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#45165/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Nov 28 21:55:18 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#45165/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Nov 28 21:55:18 srv4hai dhcpd[21239]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Nov 28 21:55:18 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#33303/key rndc-key: signer "rndc-key" approved
Nov 28 21:55:18 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#33303/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Nov 28 21:55:18 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#33303/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 28 21:55:18 srv4hai dhcpd[21239]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Nov 28 21:55:18 srv4hai common[26903]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Nov 28 21:55:18 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Nov 28 21:55:19 srv4hai mosquitto[32087]: New connection from 192.168.12.147 on port 1883.
Nov 28 21:55:19 srv4hai mosquitto[32087]: Client shellyplus1-441793a58ae4 already connected, closing old connection.
Nov 28 21:55:19 srv4hai mosquitto[32087]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Nov 28 21:55:19 srv4hai mosquitto[32087]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Nov 28 21:55:19 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Nov 28 21:55:19 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Nov 28 21:55:19 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Nov 28 21:55:20 srv4hai ping_SP[22413]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732827320 - 'ping_SP_1'
Nov 28 21:55:20 srv4hai ping_SP[22413]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 28 21:55:21 srv4hai ping_SP[14640]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732827321 - 'ping_SP_0'
Nov 28 21:55:21 srv4hai ping_SP[14640]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 28 21:55:35 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27000, secured, session=
Nov 28 21:55:35 srv4hai dovecot: imap(rozumm)<27000>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 28 21:56:00 srv4hai postfix/anvil[26347]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Nov 28 21:52:37
Nov 28 21:56:00 srv4hai postfix/anvil[26347]: statistics: max connection count 1 for (smtp:80.94.95.239) at Nov 28 21:52:37
Nov 28 21:56:00 srv4hai postfix/anvil[26347]: statistics: max cache size 1 at Nov 28 21:52:37
Nov 28 21:56:01 srv4hai CRON[27027]: (root) CMD (/etc/linetest/linetest.sh)
Nov 28 21:56:19 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Nov 28 21:56:20 srv4hai fetchmail[1651]: 57955 messages (57955 seen) for tmiglinci at mail.akis.at (467300489 octets).
Nov 28 21:56:24 srv4hai fetchmail[1651]: 11129 messages (11129 seen) for srozum at mail.akis.at (1339824728 octets).
Nov 28 21:56:27 srv4hai fetchmail[1651]: 27539 messages (27539 seen) for mrozum at mail.akis.at (452723430 octets).
Nov 28 21:56:28 srv4hai fetchmail[1651]: 1158 messages (1158 seen) for admin@bastelstube.wien at pop3.world4you.com (52179212 octets).
Nov 28 21:56:29 srv4hai postfix/smtpd[27057]: connect from unknown[80.94.95.239]
Nov 28 21:56:32 srv4hai postfix/smtpd[27057]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Nov 28 21:56:33 srv4hai postfix/smtpd[27057]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Nov 28 21:56:33 srv4hai ping_SP[22413]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732827393 - 'ping_SP_1'
Nov 28 21:56:33 srv4hai ping_SP[22413]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 28 21:56:34 srv4hai ping_SP[14640]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732827394 - 'ping_SP_0'
Nov 28 21:56:34 srv4hai ping_SP[14640]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 28 21:56:35 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27092, secured, session=
Nov 28 21:56:35 srv4hai dovecot: imap(rozumm)<27092>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 28 21:57:01 srv4hai CRON[27114]: (root) CMD (/etc/linetest/linetest.sh)
Nov 28 21:57:05 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27120, secured, session=<+kcuU/8nIsQAAAAAAAAAAAAAAAAAAAAB>
Nov 28 21:57:05 srv4hai dovecot: imap(miglincit)<27120><+kcuU/8nIsQAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 28 21:57:36 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27152, secured, session=
Nov 28 21:57:36 srv4hai dovecot: imap(rozumm)<27152>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 28 21:57:37 srv4hai mosquitto[32087]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Nov 28 21:57:46 srv4hai ping_SP[22413]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732827466 - 'ping_SP_1'
Nov 28 21:57:46 srv4hai ping_SP[22413]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 28 21:57:47 srv4hai ping_SP[14640]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732827467 - 'ping_SP_0'
Nov 28 21:57:47 srv4hai ping_SP[14640]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 28 21:57:51 srv4hai nmbd[2172]: [2024/11/28 21:57:51.033718,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Nov 28 21:57:51 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Nov 28 21:57:51 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Nov 28 21:57:51 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Nov 28 21:58:01 srv4hai CRON[27207]: (root) CMD (/etc/linetest/linetest.sh)
Nov 28 21:58:01 srv4hai activate_scenario[27214]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started
Nov 28 21:58:01 srv4hai activate_scenario[27214]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-29:'KÜ Schalter Herdzeile'
Nov 28 21:58:01 srv4hai activate_scenario[27214]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' TO BE EXECUTED, shelly-29:'KÜ Schalter Herdzeile'
Nov 28 21:58:01 srv4hai postfix/pickup[11731]: 4BDEB63463: uid=33 from=
Nov 28 21:58:01 srv4hai postfix/cleanup[27267]: 4BDEB63463: message-id=<20241128205801.4BDEB63463@mail.viehai.at>
Nov 28 21:58:01 srv4hai postfix/qmgr[8566]: 4BDEB63463: from=, size=9474, nrcpt=1 (queue active)
Nov 28 21:58:01 srv4hai activate_scenario[27214]: SHELLY: scenario: 'herdzeile_UM(herdzeile_um)'-'shelly-17'-'KÜ Licht Herdzeile' --> '0?turn=toggle&brightness=50'
Nov 28 21:58:01 srv4hai proc_url[27285]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/28/_0.log' - shellyUsage:'KÜ Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=toggle&brightness=50' - phName:'shelly-29:'KÜ Schalter Herdzeile''
Nov 28 21:58:01 srv4hai postfix/local[27280]: 4BDEB63463: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Nov 28 21:58:01 srv4hai postfix/cleanup[27267]: 53A1963464: message-id=<20241128205801.53A1963464@mail.viehai.at>
Nov 28 21:58:01 srv4hai activate_scenario[27214]: SHELLY: scenario: 'herdzeile_UM(herdzeile_um)'-'shelly-17'-'KÜ Licht Herdzeile' --> '1?turn=toggle&brightness=50'
Nov 28 21:58:01 srv4hai proc_url[27296]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/28/_1.log' - shellyUsage:'KÜ Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=toggle&brightness=50' - phName:'shelly-29:'KÜ Schalter Herdzeile''
Nov 28 21:58:01 srv4hai postfix/bounce[27281]: 4BDEB63463: sender non-delivery notification: 53A1963464
Nov 28 21:58:01 srv4hai postfix/qmgr[8566]: 53A1963464: from=<>, size=11393, nrcpt=1 (queue active)
Nov 28 21:58:01 srv4hai postfix/qmgr[8566]: 4BDEB63463: removed
Nov 28 21:58:01 srv4hai postfix/local[27280]: 53A1963464: 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 28 21:58:01 srv4hai postfix/qmgr[8566]: 53A1963464: removed
Nov 28 21:58:01 srv4hai activate_scenario[27214]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' took 119 msec, shelly-29:'KÜ Schalter Herdzeile'
Nov 28 21:58:12 srv4hai activate_scenario[27343]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started
Nov 28 21:58:12 srv4hai activate_scenario[27343]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-29:'KÜ Schalter Herdzeile'

finished