activate_scenario.sh
Sun Feb 16 09:26:45 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/02/16/_0.log)

vorher: 09:26:45.955

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

nachher: 09:26:45.995
Dauer: 40 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/16/_1.log)

vorher: 09:26:45.974

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

nachher: 09:26:46.007
Dauer: 34 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 09:26:45.921
nachher: 09:26:46.014
Dauer : 92 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/16//scene_buero_UM_20250216_092645.txt'


syslog

Feb 16 09:23:00 srv4hai common[15718]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 09:23:01 srv4hai CRON[15743]: (root) CMD (/etc/linetest/linetest.sh)
Feb 16 09:23:08 srv4hai named[30406]: resolver priming query complete
Feb 16 09:23:10 srv4hai named[30406]: resolver priming query complete
Feb 16 09:23:23 srv4hai named[30406]: resolver priming query complete
Feb 16 09:23:24 srv4hai dhcpd[4995]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Feb 16 09:23:24 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Feb 16 09:23:24 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 16 09:23:24 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.139
Feb 16 09:23:24 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-39
Feb 16 09:23:24 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Feb 16 09:23:24 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Feb 16 09:23:24 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#43953/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 16 09:23:24 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#60657/key rndc-key: signer "rndc-key" approved
Feb 16 09:23:24 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#60657/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Feb 16 09:23:24 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#60657/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Feb 16 09:23:24 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#60657/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Feb 16 09:23:24 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#60657/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Feb 16 09:23:24 srv4hai dhcpd[4995]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Feb 16 09:23:24 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#52665/key rndc-key: signer "rndc-key" approved
Feb 16 09:23:24 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#52665/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Feb 16 09:23:24 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#52665/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '139.12.168.192.in-addr.arpa' PTR shelly-39.viehai.at.
Feb 16 09:23:24 srv4hai dhcpd[4995]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Feb 16 09:23:24 srv4hai common[15750]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 16 09:23:24 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Feb 16 09:23:24 srv4hai common[15763]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Feb 16 09:23:24 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=1.600000&hum=52.300000&id=C049EF8AC9D8&batt=90&volt=5.810000
Feb 16 09:23:24 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2025/02/shelly-39_20250216.csv'
Feb 16 09:23:24 srv4hai ht_shelly.sh: SHELLY - 'shelly-39_20250216.csv' modifed 367s ago - EXIT
Feb 16 09:23:25 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Feb 16 09:23:25 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Feb 16 09:23:25 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}'
Feb 16 09:23:25 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.''
Feb 16 09:23:25 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Feb 16 09:23:25 srv4hai named[30406]: resolver priming query complete
Feb 16 09:23:36 srv4hai named[30406]: resolver priming query complete
Feb 16 09:23:41 srv4hai ping_SP[17605]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739694221 - 'ping_SP_0'
Feb 16 09:23:41 srv4hai ping_SP[17605]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 16 09:23:42 srv4hai named[30406]: resolver priming query complete
Feb 16 09:23:42 srv4hai common[15863]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 09:23:42 srv4hai common[15917]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 09:23:59 srv4hai common[15950]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 09:23:59 srv4hai common[15974]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 09:24:00 srv4hai common[15998]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 09:24:01 srv4hai CRON[16023]: (root) CMD (/etc/linetest/linetest.sh)
Feb 16 09:24:22 srv4hai named[30406]: resolver priming query complete
Feb 16 09:24:41 srv4hai named[30406]: resolver priming query complete
Feb 16 09:24:42 srv4hai common[16037]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 09:24:42 srv4hai common[16062]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 09:24:47 srv4hai named[30406]: resolver priming query complete
Feb 16 09:24:51 srv4hai named[30406]: resolver priming query complete
Feb 16 09:24:54 srv4hai ping_SP[17605]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739694294 - 'ping_SP_0'
Feb 16 09:24:54 srv4hai ping_SP[17605]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 16 09:25:00 srv4hai common[16109]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 09:25:00 srv4hai common[16133]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 09:25:00 srv4hai common[16157]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 09:25:01 srv4hai CRON[16182]: (root) CMD (/etc/linetest/linetest.sh)
Feb 16 09:25:01 srv4hai postfix/smtpd[16092]: connect from unknown[193.32.162.73]
Feb 16 09:25:04 srv4hai postfix/smtpd[16108]: connect from unknown[193.32.162.81]
Feb 16 09:25:05 srv4hai postfix/smtpd[16092]: warning: unknown[193.32.162.73]: SASL PLAIN authentication failed: 
Feb 16 09:25:05 srv4hai postfix/smtpd[16092]: disconnect from unknown[193.32.162.73] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 16 09:25:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16194, secured, session=<54hBJT4umJsAAAAAAAAAAAAAAAAAAAAB>
Feb 16 09:25:08 srv4hai dovecot: imap(miglincit)<16194><54hBJT4umJsAAAAAAAAAAAAAAAAAAAAB>: Logged out in=604 out=1286 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 16 09:25:08 srv4hai postfix/smtpd[16108]: warning: unknown[193.32.162.81]: SASL PLAIN authentication failed: 
Feb 16 09:25:08 srv4hai postfix/smtpd[16108]: disconnect from unknown[193.32.162.81] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 16 09:25:28 srv4hai named[30406]: resolver priming query complete
Feb 16 09:25:42 srv4hai common[16204]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 09:25:42 srv4hai common[16228]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 09:25:47 srv4hai named[30406]: resolver priming query complete
Feb 16 09:25:50 srv4hai named[30406]: resolver priming query complete
Feb 16 09:25:51 srv4hai named[30406]: resolver priming query complete
Feb 16 09:25:59 srv4hai common[16259]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 09:25:59 srv4hai common[16283]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 09:26:00 srv4hai common[16307]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 09:26:01 srv4hai CRON[16332]: (root) CMD (/etc/linetest/linetest.sh)
Feb 16 09:26:07 srv4hai ping_SP[17605]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739694367 - 'ping_SP_0'
Feb 16 09:26:07 srv4hai ping_SP[17605]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 16 09:26:13 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 16 09:26:15 srv4hai fetchmail[1651]: 63750 messages (63750 seen) for tmiglinci at mail.akis.at (929613728 octets).
Feb 16 09:26:15 srv4hai fetchmail[1651]: 11544 messages (11544 seen) for srozum at mail.akis.at (1370077694 octets).
Feb 16 09:26:16 srv4hai fetchmail[1651]: 28980 messages (28980 seen) for mrozum at mail.akis.at (674762071 octets).
Feb 16 09:26:16 srv4hai fetchmail[1651]: 1163 messages (1163 seen) for admin@bastelstube.wien at pop3.world4you.com (52216311 octets).
Feb 16 09:26:17 srv4hai postfix/smtpd[16092]: connect from unknown[193.32.162.97]
Feb 16 09:26:20 srv4hai postfix/smtpd[16092]: warning: unknown[193.32.162.97]: SASL PLAIN authentication failed: 
Feb 16 09:26:20 srv4hai postfix/smtpd[16092]: disconnect from unknown[193.32.162.97] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 16 09:26:42 srv4hai common[16366]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 09:26:42 srv4hai common[16390]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 09:26:45 srv4hai activate_scenario[16419]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb 16 09:26:45 srv4hai activate_scenario[16419]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished