activate_scenario.sh
Sun Feb 16 21:00:03 CET 2025
scenario: pcOFF
source: 192.168.12.10

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

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

TB Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2025/02/16/_0.log)

vorher: 21:00:03.765

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

nachher: 21:00:03.812
Dauer: 47 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 21:00:03.734
nachher: 21:00:03.818
Dauer : 85 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/16//scene_pcOFF_20250216_210003.txt'


syslog

Feb 16 20:57:00 srv4hai common[26729]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 20:57:01 srv4hai CRON[26757]: (root) CMD (/etc/linetest/linetest.sh)
Feb 16 20:57:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26766, secured, session=
Feb 16 20:57:07 srv4hai dovecot: imap(miglincit)<26766>: Logged out in=262 out=1757 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 16 20:57:11 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Feb 16 20:57:11 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb 16 20:57:11 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 16 20:57:11 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Feb 16 20:57:11 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Feb 16 20:57:11 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Feb 16 20:57:11 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb 16 20:57:11 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#54225/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 16 20:57:11 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#45683/key rndc-key: signer "rndc-key" approved
Feb 16 20:57:11 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#45683/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Feb 16 20:57:11 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#45683/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Feb 16 20:57:11 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#45683/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Feb 16 20:57:11 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#45683/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Feb 16 20:57:11 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Feb 16 20:57:11 srv4hai named[30406]: client @0x7f93380d6d20 192.168.12.252#34399/key rndc-key: signer "rndc-key" approved
Feb 16 20:57:11 srv4hai named[30406]: client @0x7f93380d6d20 192.168.12.252#34399/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Feb 16 20:57:11 srv4hai named[30406]: client @0x7f93380d6d20 192.168.12.252#34399/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.
Feb 16 20:57:11 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Feb 16 20:57:11 srv4hai common[26774]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 16 20:57:11 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Feb 16 20:57:13 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Feb 16 20:57:13 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Feb 16 20:57:13 srv4hai common[26786]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 20:57:13 srv4hai common[26810]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 20:57:17 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Feb 16 20:57:17 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Feb 16 20:57:17 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Feb 16 20:57:17 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping
Feb 16 20:57:17 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping
Feb 16 20:57:21 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739735841 - 'ping_SP_0'
Feb 16 20:57:21 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 16 20:57:39 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 16 20:57:39 srv4hai fetchmail[1651]: 63791 messages (63791 seen) for tmiglinci at mail.akis.at (932251696 octets).
Feb 16 20:57:40 srv4hai fetchmail[1651]: 11548 messages (11548 seen) for srozum at mail.akis.at (1370481903 octets).
Feb 16 20:57:41 srv4hai common[26922]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 20:57:41 srv4hai common[26946]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 20:57:41 srv4hai fetchmail[1651]: 28990 messages (28990 seen) for mrozum at mail.akis.at (676311678 octets).
Feb 16 20:57:41 srv4hai fetchmail[1651]: 1163 messages (1163 seen) for admin@bastelstube.wien at pop3.world4you.com (52216311 octets).
Feb 16 20:57:59 srv4hai common[26975]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 20:58:00 srv4hai common[26999]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 20:58:00 srv4hai common[27023]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 20:58:01 srv4hai CRON[27049]: (root) CMD (/etc/linetest/linetest.sh)
Feb 16 20:58:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27057, secured, session=
Feb 16 20:58:08 srv4hai dovecot: imap(miglincit)<27057>: 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 16 20:58:34 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739735914 - 'ping_SP_0'
Feb 16 20:58:34 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 16 20:58:41 srv4hai common[27083]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 20:58:41 srv4hai common[27107]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 20:58:47 srv4hai nmbd[2172]: [2025/02/16 20:58:47.078544,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb 16 20:58:47 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Feb 16 20:58:47 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb 16 20:58:47 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Feb 16 20:58:59 srv4hai common[27136]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 20:58:59 srv4hai common[27160]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 20:58:59 srv4hai common[27184]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 20:59:01 srv4hai CRON[27211]: (root) CMD (/etc/linetest/linetest.sh)
Feb 16 20:59:16 srv4hai dhcpd[4995]: DHCPDISCOVER from 00:22:61:78:ac:78 via enp2s0
Feb 16 20:59:16 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.25 to 00:22:61:78:ac:78 via enp2s0
Feb 16 20:59:21 srv4hai dhcpd[4995]: DHCPDISCOVER from 00:22:61:78:ac:78 via enp2s0
Feb 16 20:59:21 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.25 to 00:22:61:78:ac:78 via enp2s0
Feb 16 20:59:21 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb 16 20:59:21 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.25
Feb 16 20:59:21 srv4hai dhcpd[4995]: execute_statement argv[2] = RadioKueche
Feb 16 20:59:21 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.25 (192.168.12.252) from 00:22:61:78:ac:78 via enp2s0
Feb 16 20:59:21 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.25 to 00:22:61:78:ac:78 via enp2s0
Feb 16 20:59:21 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#43315/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: RadioKueche.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 16 20:59:21 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#44841/key rndc-key: signer "rndc-key" approved
Feb 16 20:59:21 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#44841/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'RadioKueche.viehai.at' TXT
Feb 16 20:59:21 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#44841/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'RadioKueche.viehai.at' TXT "00ea454d9e8190f8e991b9433de6ed5bf8"
Feb 16 20:59:21 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#44841/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'RadioKueche.viehai.at' A
Feb 16 20:59:21 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#44841/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'RadioKueche.viehai.at' A 192.168.12.25
Feb 16 20:59:21 srv4hai dhcpd[4995]: Added new forward map from RadioKueche.viehai.at to 192.168.12.25
Feb 16 20:59:21 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.25'(25) device 'RadioKueche'
Feb 16 20:59:21 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#33541/key rndc-key: signer "rndc-key" approved
Feb 16 20:59:21 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#33541/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '25.12.168.192.in-addr.arpa' PTR
Feb 16 20:59:21 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#33541/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '25.12.168.192.in-addr.arpa' PTR RadioKueche.viehai.at.
Feb 16 20:59:21 srv4hai dhcpd[4995]: Added reverse map from 25.12.168.192.in-addr.arpa. to RadioKueche.viehai.at
Feb 16 20:59:21 srv4hai dhcpcommit.sh: SHELLY device 'RadioKueche' known and accepted
Feb 16 20:59:41 srv4hai common[27243]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 20:59:41 srv4hai common[27267]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 20:59:48 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739735988 - 'ping_SP_0'
Feb 16 20:59:48 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 16 21:00:00 srv4hai common[27316]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 21:00:00 srv4hai common[27340]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 21:00:00 srv4hai common[27364]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 21:00:01 srv4hai CRON[27391]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 16 21:00:01 srv4hai CRON[27392]: (root) CMD (/etc/linetest/linetest.sh)
Feb 16 21:00:01 srv4hai common[27394]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Feb 16 21:00:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 16 21:00:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Feb 16 21:00:01 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Feb 16 21:00:03 srv4hai activate_scenario[27739]: SHELLY scenario: 'pcOFF(pcoff)' started
Feb 16 21:00:03 srv4hai activate_scenario[27739]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''

finished