activate_scenario.sh
Tue Jan 28 07:06:20 CET 2025
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/2025/01/28/_0.log)

vorher: 07:06:20.630

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: 07:06:20.660
Dauer: 29 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:06:20.655

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: 07:06:20.713
Dauer: 57 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 07:06:20.591
nachher: 07:06:20.719
Dauer : 128 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/28//scene_buero_UM_20250128_070620.txt'


syslog

Jan 28 07:03:00 srv4hai common[21756]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:03:00 srv4hai common[21780]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:03:00 srv4hai common[21804]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:03:01 srv4hai CRON[21829]: (root) CMD (/etc/linetest/linetest.sh)
Jan 28 07:03:01 srv4hai ping_SP[8497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738044181 - 'ping_SP_0'
Jan 28 07:03:01 srv4hai ping_SP[8497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 28 07:03:14 srv4hai postfix/anvil[20256]: statistics: max connection rate 1/60s for (smtp:150.5.145.36) at Jan 28 06:59:53
Jan 28 07:03:14 srv4hai postfix/anvil[20256]: statistics: max connection count 1 for (smtp:150.5.145.36) at Jan 28 06:59:53
Jan 28 07:03:14 srv4hai postfix/anvil[20256]: statistics: max cache size 1 at Jan 28 06:59:53
Jan 28 07:03:16 srv4hai activate_scenario[21855]: SHELLY scenario: 'buero_UM(buero_um)' started
Jan 28 07:03:16 srv4hai activate_scenario[21855]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
Jan 28 07:03:16 srv4hai activate_scenario[21855]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'TB Licht'
Jan 28 07:03:16 srv4hai postfix/pickup[27506]: C0ED663463: uid=33 from=
Jan 28 07:03:16 srv4hai postfix/cleanup[21909]: C0ED663463: message-id=<20250128060316.C0ED663463@mail.viehai.at>
Jan 28 07:03:16 srv4hai postfix/qmgr[8566]: C0ED663463: from=, size=7613, nrcpt=1 (queue active)
Jan 28 07:03:16 srv4hai activate_scenario[21855]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'TB Regallicht' --> '0?turn=toggle'
Jan 28 07:03:16 srv4hai postfix/local[21922]: C0ED663463: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jan 28 07:03:16 srv4hai proc_url[21927]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/28/_0.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Jan 28 07:03:16 srv4hai postfix/cleanup[21909]: C7B0363464: message-id=<20250128060316.C7B0363464@mail.viehai.at>
Jan 28 07:03:16 srv4hai postfix/bounce[21923]: C0ED663463: sender non-delivery notification: C7B0363464
Jan 28 07:03:16 srv4hai postfix/qmgr[8566]: C7B0363464: from=<>, size=9492, nrcpt=1 (queue active)
Jan 28 07:03:16 srv4hai postfix/qmgr[8566]: C0ED663463: removed
Jan 28 07:03:16 srv4hai postfix/local[21922]: C7B0363464: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jan 28 07:03:16 srv4hai postfix/qmgr[8566]: C7B0363464: removed
Jan 28 07:03:16 srv4hai activate_scenario[21855]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'TB Licht' --> '0?turn=toggle'
Jan 28 07:03:16 srv4hai proc_url[21939]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/28/_1.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Jan 28 07:03:16 srv4hai activate_scenario[21855]: SHELLY scenario: 'buero_UM(buero_um)' took 142 msec, shelly-40:'TB Licht'
Jan 28 07:03:51 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jan 28 07:03:52 srv4hai fetchmail[1651]: 62383 messages (62383 seen) for tmiglinci at mail.akis.at (806876932 octets).
Jan 28 07:03:52 srv4hai fetchmail[1651]: 11456 messages (11456 seen) for srozum at mail.akis.at (1363074664 octets).
Jan 28 07:03:53 srv4hai fetchmail[1651]: 28577 messages (28577 seen) for mrozum at mail.akis.at (599593341 octets).
Jan 28 07:03:53 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Jan 28 07:03:59 srv4hai common[21993]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:03:59 srv4hai common[22017]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:04:00 srv4hai common[22041]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:04:00 srv4hai common[22065]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:04:00 srv4hai common[22089]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:04:00 srv4hai common[22113]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:04:00 srv4hai common[22137]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:04:01 srv4hai CRON[22162]: (root) CMD (/etc/linetest/linetest.sh)
Jan 28 07:04:04 srv4hai ping_SP[8497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738044244 - 'ping_SP_0'
Jan 28 07:04:04 srv4hai ping_SP[8497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 28 07:04:33 srv4hai dhcpd[4995]: uid lease 192.168.12.56 for client cc:8d:a2:60:52:b8 is duplicate on 192.168.12.0/24
Jan 28 07:04:33 srv4hai dhcpd[4995]: DHCPDISCOVER from cc:8d:a2:60:52:b8 via enp2s0
Jan 28 07:04:33 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.101 to cc:8d:a2:60:52:b8 via enp2s0
Jan 28 07:04:33 srv4hai dhcpd[4995]: uid lease 192.168.12.56 for client cc:8d:a2:60:52:b8 is duplicate on 192.168.12.0/24
Jan 28 07:04:33 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jan 28 07:04:33 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.101
Jan 28 07:04:33 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-01
Jan 28 07:04:33 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.101 (192.168.12.252) from cc:8d:a2:60:52:b8 via enp2s0
Jan 28 07:04:33 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.101 to cc:8d:a2:60:52:b8 via enp2s0
Jan 28 07:04:33 srv4hai named[30406]: client @0x7f9330095370 192.168.12.252#44627/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-01.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan 28 07:04:33 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#34687/key rndc-key: signer "rndc-key" approved
Jan 28 07:04:33 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#34687/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' TXT
Jan 28 07:04:33 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#34687/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' TXT "31166740fe21d7ece7561d62986d2b8644"
Jan 28 07:04:33 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#34687/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' A
Jan 28 07:04:33 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#34687/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' A 192.168.12.101
Jan 28 07:04:33 srv4hai dhcpd[4995]: Added new forward map from shelly-01.viehai.at to 192.168.12.101
Jan 28 07:04:33 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#50069/key rndc-key: signer "rndc-key" approved
Jan 28 07:04:33 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#50069/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '101.12.168.192.in-addr.arpa' PTR
Jan 28 07:04:33 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#50069/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '101.12.168.192.in-addr.arpa' PTR shelly-01.viehai.at.
Jan 28 07:04:33 srv4hai dhcpd[4995]: Added reverse map from 101.12.168.192.in-addr.arpa. to shelly-01.viehai.at
Jan 28 07:04:33 srv4hai common[22193]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jan 28 07:04:33 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-01' - shIP/2:'' perform:'conf'
Jan 28 07:04:34 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Jan 28 07:04:34 srv4hai mosquitto[29419]: Client shelly1minig3-cc8da26052b8 already connected, closing old connection.
Jan 28 07:04:34 srv4hai mosquitto[29419]: Socket error on client shelly1minig3-cc8da26052b8, disconnecting.
Jan 28 07:04:34 srv4hai mosquitto[29419]: New client connected from 192.168.12.101 as shelly1minig3-cc8da26052b8 (c1, k60, u'shmqtt').
Jan 28 07:04:34 srv4hai common[22207]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:04:34 srv4hai common[22234]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:04:34 srv4hai common[22261]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:04:34 srv4hai common[22288]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:04:34 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-01' - shIP/2:'192.168.12.101'
Jan 28 07:04:34 srv4hai conf_shelly.sh: SHELLY: usage/name 'WZ Licht Esstisch' already set for '192.168.12.101'
Jan 28 07:04:34 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(0)' - allready transmitted - skipping
Jan 28 07:04:34 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(1)' - allready transmitted - skipping
Jan 28 07:04:34 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(2)' - allready transmitted - skipping
Jan 28 07:05:00 srv4hai common[22394]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:05:00 srv4hai common[22420]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:05:00 srv4hai common[22444]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:05:00 srv4hai common[22468]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:05:00 srv4hai common[22492]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:05:01 srv4hai CRON[22517]: (root) CMD (/etc/linetest/linetest.sh)
Jan 28 07:05:08 srv4hai ping_SP[8497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738044308 - 'ping_SP_0'
Jan 28 07:05:08 srv4hai ping_SP[8497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 28 07:06:00 srv4hai common[22552]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:06:00 srv4hai common[22576]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:06:00 srv4hai common[22600]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Jan 28 07:06:01 srv4hai CRON[22625]: (root) CMD (/etc/linetest/linetest.sh)
Jan 28 07:06:11 srv4hai ping_SP[8497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738044371 - 'ping_SP_0'
Jan 28 07:06:11 srv4hai ping_SP[8497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 28 07:06:20 srv4hai activate_scenario[22655]: SHELLY scenario: 'buero_UM(buero_um)' started
Jan 28 07:06:20 srv4hai activate_scenario[22655]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished