activate_scenario.sh
Sun Jan 26 10:15:35 CET 2025
scenario: buero_UM
source: 192.168.12.140

'day' <--> 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/2025/01/26/_0.log)

vorher: 10:15:35.891

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: 10:15:35.928
Dauer: 37 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/26/_1.log)

vorher: 10:15:35.910

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: 10:15:35.949
Dauer: 40 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 10:15:35.846
nachher: 10:15:35.955
Dauer : 111 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/26//scene_buero_UM_20250126_101535.txt'


syslog

Jan 26 10:12:01 srv4hai CRON[30726]: (root) CMD (/etc/linetest/linetest.sh)
Jan 26 10:12:53 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737882773 - 'ping_SP_0'
Jan 26 10:12:53 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 26 10:13:01 srv4hai CRON[30760]: (root) CMD (/etc/linetest/linetest.sh)
Jan 26 10:13:31 srv4hai nmbd[2172]: [2025/01/26 10:13:31.840636,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jan 26 10:13:31 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jan 26 10:13:31 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jan 26 10:13:31 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jan 26 10:13:46 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jan 26 10:13:47 srv4hai fetchmail[1651]: 62273 messages (62273 seen) for tmiglinci at mail.akis.at (800311731 octets).
Jan 26 10:13:48 srv4hai fetchmail[1651]: 11450 messages (11450 seen) for srozum at mail.akis.at (1362774390 octets).
Jan 26 10:13:48 srv4hai fetchmail[1651]: 28535 messages (28535 seen) for mrozum at mail.akis.at (592243962 octets).
Jan 26 10:13:49 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Jan 26 10:13:53 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Jan 26 10:13:53 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Jan 26 10:13:55 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Jan 26 10:13:55 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Jan 26 10:13:59 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Jan 26 10:13:59 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Jan 26 10:13:59 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jan 26 10:13:59 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Jan 26 10:13:59 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Jan 26 10:13:59 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Jan 26 10:13:59 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Jan 26 10:13:59 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#47801/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan 26 10:13:59 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#43183/key rndc-key: signer "rndc-key" approved
Jan 26 10:13:59 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#43183/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Jan 26 10:13:59 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#43183/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Jan 26 10:13:59 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#43183/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Jan 26 10:13:59 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#43183/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Jan 26 10:13:59 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Jan 26 10:13:59 srv4hai named[30406]: client @0x7f9338013780 192.168.12.252#56117/key rndc-key: signer "rndc-key" approved
Jan 26 10:13:59 srv4hai named[30406]: client @0x7f9338013780 192.168.12.252#56117/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Jan 26 10:13:59 srv4hai named[30406]: client @0x7f9338013780 192.168.12.252#56117/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.
Jan 26 10:13:59 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Jan 26 10:13:59 srv4hai common[30801]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jan 26 10:13:59 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Jan 26 10:13:59 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30815, secured, session=
Jan 26 10:13:59 srv4hai dovecot: imap(miglincit)<30815>: Logged out in=1101 out=1233 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 26 10:14:00 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Jan 26 10:14:00 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 already connected, closing old connection.
Jan 26 10:14:00 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Jan 26 10:14:00 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Jan 26 10:14:00 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Jan 26 10:14:00 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Jan 26 10:14:00 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Jan 26 10:14:00 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping
Jan 26 10:14:00 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping
Jan 26 10:14:01 srv4hai CRON[30875]: (root) CMD (/etc/linetest/linetest.sh)
Jan 26 10:14:06 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737882846 - 'ping_SP_0'
Jan 26 10:14:06 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 26 10:14:22 srv4hai postfix/smtpd[30913]: warning: hostname 172-245-129-231-host.colocrossing.com does not resolve to address 172.245.129.231: Name or service not known
Jan 26 10:14:22 srv4hai postfix/smtpd[30913]: connect from unknown[172.245.129.231]
Jan 26 10:14:27 srv4hai postfix/smtpd[30913]: warning: unknown[172.245.129.231]: SASL PLAIN authentication failed: 
Jan 26 10:14:27 srv4hai postfix/smtpd[30913]: disconnect from unknown[172.245.129.231] ehlo=1 auth=0/1 quit=1 commands=2/3
Jan 26 10:14:55 srv4hai activate_scenario[30921]: SHELLY scenario: 'buero_UM(buero_um)' started
Jan 26 10:14:55 srv4hai activate_scenario[30921]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
Jan 26 10:14:55 srv4hai activate_scenario[30921]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'TB Licht'
Jan 26 10:14:55 srv4hai postfix/pickup[23719]: 72F9563463: uid=33 from=
Jan 26 10:14:55 srv4hai postfix/cleanup[30975]: 72F9563463: message-id=<20250126091455.72F9563463@mail.viehai.at>
Jan 26 10:14:55 srv4hai postfix/qmgr[8566]: 72F9563463: from=, size=8688, nrcpt=1 (queue active)
Jan 26 10:14:55 srv4hai activate_scenario[30921]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'TB Regallicht' --> '0?turn=toggle'
Jan 26 10:14:55 srv4hai proc_url[30993]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/26/_0.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Jan 26 10:14:55 srv4hai postfix/local[30988]: 72F9563463: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jan 26 10:14:55 srv4hai postfix/cleanup[30975]: 7962263464: message-id=<20250126091455.7962263464@mail.viehai.at>
Jan 26 10:14:55 srv4hai postfix/bounce[30989]: 72F9563463: sender non-delivery notification: 7962263464
Jan 26 10:14:55 srv4hai postfix/qmgr[8566]: 7962263464: from=<>, size=10567, nrcpt=1 (queue active)
Jan 26 10:14:55 srv4hai postfix/qmgr[8566]: 72F9563463: removed
Jan 26 10:14:55 srv4hai postfix/local[30988]: 7962263464: to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jan 26 10:14:55 srv4hai postfix/qmgr[8566]: 7962263464: removed
Jan 26 10:14:55 srv4hai activate_scenario[30921]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'TB Licht' --> '0?turn=toggle'
Jan 26 10:14:55 srv4hai proc_url[31005]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/26/_1.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Jan 26 10:14:55 srv4hai activate_scenario[30921]: SHELLY scenario: 'buero_UM(buero_um)' took 81 msec, shelly-40:'TB Licht'
Jan 26 10:15:01 srv4hai CRON[31046]: (root) CMD (/etc/linetest/linetest.sh)
Jan 26 10:15:13 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Jan 26 10:15:13 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Jan 26 10:15:13 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jan 26 10:15:13 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Jan 26 10:15:13 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Jan 26 10:15:13 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Jan 26 10:15:13 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Jan 26 10:15:13 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#43169/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan 26 10:15:13 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#45923/key rndc-key: signer "rndc-key" approved
Jan 26 10:15:13 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#45923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Jan 26 10:15:13 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#45923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Jan 26 10:15:13 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#45923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Jan 26 10:15:13 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#45923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Jan 26 10:15:13 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Jan 26 10:15:13 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#33717/key rndc-key: signer "rndc-key" approved
Jan 26 10:15:13 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#33717/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Jan 26 10:15:13 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#33717/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.
Jan 26 10:15:13 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Jan 26 10:15:13 srv4hai common[31058]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jan 26 10:15:13 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Jan 26 10:15:13 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Jan 26 10:15:13 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 already connected, closing old connection.
Jan 26 10:15:13 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Jan 26 10:15:13 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Jan 26 10:15:14 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Jan 26 10:15:14 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Jan 26 10:15:14 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Jan 26 10:15:14 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping
Jan 26 10:15:14 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping
Jan 26 10:15:20 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737882920 - 'ping_SP_0'
Jan 26 10:15:20 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 26 10:15:35 srv4hai activate_scenario[31159]: SHELLY scenario: 'buero_UM(buero_um)' started
Jan 26 10:15:35 srv4hai activate_scenario[31159]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished