activate_scenario.sh
Sat Jul 13 22:01:21 CEST 2024
scenario: bedlight_tom
source: 192.168.12.112

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

scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/07/13/_0.log)

vorher: 22:01:21.832

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

nachher: 22:01:21.859
Dauer: 27 msec phName: 'shelly-12:'Schlafzimmer Licht''


scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

urls : 1
vorher : 22:01:21.787
nachher: 22:01:21.866
Dauer : 82 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/13//scene_bedlight_tom_20240713_220121.txt'


syslog

Jul 13 21:58:00 srv4hai fetchmail[1651]: 48628 messages (48628 seen) for tmiglinci at mail.akis.at (-276139613 octets).
Jul 13 21:58:00 srv4hai fetchmail[1651]: 10446 messages (10446 seen) for srozum at mail.akis.at (1253348764 octets).
Jul 13 21:58:01 srv4hai fetchmail[1651]: 24716 messages (24716 seen) for mrozum at mail.akis.at (29368989 octets).
Jul 13 21:58:01 srv4hai CRON[18065]: (root) CMD (/etc/linetest/linetest.sh)
Jul 13 21:58:01 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 13 21:58:03 srv4hai dhcpd[30731]: DHCPDISCOVER from 98:cd:ac:2d:5a:11 via enp2s0
Jul 13 21:58:03 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Jul 13 21:58:03 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul 13 21:58:03 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.119
Jul 13 21:58:03 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-19
Jul 13 21:58:03 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.119 (192.168.12.252) from 98:cd:ac:2d:5a:11 via enp2s0
Jul 13 21:58:03 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Jul 13 21:58:03 srv4hai named[30406]: client @0x7f9338013780 192.168.12.252#38851/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-19.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 13 21:58:03 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#37007/key rndc-key: signer "rndc-key" approved
Jul 13 21:58:03 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#37007/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' TXT
Jul 13 21:58:03 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#37007/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' TXT "0058d808d26aa46bf6275641574f8413b8"
Jul 13 21:58:03 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#37007/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' A
Jul 13 21:58:03 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#37007/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' A 192.168.12.119
Jul 13 21:58:03 srv4hai dhcpd[30731]: Added new forward map from shelly-19.viehai.at to 192.168.12.119
Jul 13 21:58:03 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#50161/key rndc-key: signer "rndc-key" approved
Jul 13 21:58:03 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#50161/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '119.12.168.192.in-addr.arpa' PTR
Jul 13 21:58:03 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#50161/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '119.12.168.192.in-addr.arpa' PTR shelly-19.viehai.at.
Jul 13 21:58:03 srv4hai dhcpd[30731]: Added reverse map from 119.12.168.192.in-addr.arpa. to shelly-19.viehai.at
Jul 13 21:58:03 srv4hai common[18071]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul 13 21:58:03 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-19' - shIP/2:'' perform:'conf'
Jul 13 21:58:04 srv4hai mosquitto[18551]: New connection from 192.168.12.119 on port 1883.
Jul 13 21:58:04 srv4hai mosquitto[18551]: New client connected from 192.168.12.119 as shelly1-98CDAC2D5A11 (c1, k60, u'shmqtt').
Jul 13 21:58:04 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-19' - shIP/2:'192.168.12.119'
Jul 13 21:58:04 srv4hai conf_shelly.sh: SHELLY: usage/name 'Fernsehlampe groß' already set for '192.168.12.119'
Jul 13 21:58:04 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(0)' - allready transmitted - skipping
Jul 13 21:58:04 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(1)' - allready transmitted - skipping
Jul 13 21:58:04 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(2)' - allready transmitted - skipping
Jul 13 21:58:04 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(3)' - allready transmitted - skipping
Jul 13 21:58:04 srv4hai conf_shelly.sh: SHELLY:'shelly-19' out:0 ON : MISSING
Jul 13 21:58:04 srv4hai conf_shelly.sh: SHELLY:'shelly-19' out:0 OFF: MISSING
Jul 13 21:58:19 srv4hai ping_SP[22702]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720900699 - 'ping_SP_0'
Jul 13 21:58:19 srv4hai ping_SP[22702]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 13 21:58:31 srv4hai ping_SP[14505]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720900711 - 'ping_SP_1'
Jul 13 21:58:31 srv4hai ping_SP[14505]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 13 21:58:36 srv4hai postfix/anvil[17894]: statistics: max connection rate 1/60s for (smtp:94.154.35.194) at Jul 13 21:53:50
Jul 13 21:58:36 srv4hai postfix/anvil[17894]: statistics: max connection count 1 for (smtp:94.154.35.194) at Jul 13 21:53:50
Jul 13 21:58:36 srv4hai postfix/anvil[17894]: statistics: max cache size 1 at Jul 13 21:53:50
Jul 13 21:59:01 srv4hai CRON[18227]: (root) CMD (/etc/linetest/linetest.sh)
Jul 13 21:59:32 srv4hai ping_SP[22702]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720900772 - 'ping_SP_0'
Jul 13 21:59:32 srv4hai ping_SP[22702]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 13 21:59:44 srv4hai ping_SP[14505]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720900784 - 'ping_SP_1'
Jul 13 21:59:44 srv4hai ping_SP[14505]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 13 22:00:01 srv4hai CRON[18278]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jul 13 22:00:01 srv4hai CRON[18279]: (root) CMD (/etc/linetest/linetest.sh)
Jul 13 22:00:01 srv4hai common[18281]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jul 13 22:00:01 srv4hai meter.sh: SHELLY meter.sh started
Jul 13 22:00:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jul 13 22:00:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jul 13 22:00:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jul 13 22:00:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jul 13 22:00:06 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jul 13 22:00:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jul 13 22:00:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jul 13 22:00:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 13 22:00:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 13 22:00:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jul 13 22:00:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jul 13 22:00:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jul 13 22:00:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jul 13 22:00:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jul 13 22:00:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Jul 13 22:00:12 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jul 13 22:00:12 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jul 13 22:00:12 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jul 13 22:00:12 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jul 13 22:00:12 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jul 13 22:00:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jul 13 22:00:12 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jul 13 22:00:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jul 13 22:00:12 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jul 13 22:00:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jul 13 22:00:15 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 13 22:00:15 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jul 13 22:00:15 srv4hai common[19162]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jul 13 22:00:15 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Jul 13 22:00:15 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Jul 13 22:00:15 srv4hai meter.sh: SHELLY meter.sh ended
Jul 13 22:00:46 srv4hai ping_SP[22702]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720900846 - 'ping_SP_0'
Jul 13 22:00:46 srv4hai ping_SP[22702]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 13 22:00:57 srv4hai ping_SP[14505]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720900857 - 'ping_SP_1'
Jul 13 22:00:57 srv4hai ping_SP[14505]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 13 22:01:01 srv4hai CRON[19228]: (root) CMD (/etc/linetest/linetest.sh)
Jul 13 22:01:19 srv4hai activate_scenario[19236]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul 13 22:01:19 srv4hai activate_scenario[19236]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Jul 13 22:01:19 srv4hai activate_scenario[19236]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Jul 13 22:01:19 srv4hai postfix/pickup[17803]: 3DCC56018B: uid=33 from=
Jul 13 22:01:19 srv4hai postfix/cleanup[19289]: 3DCC56018B: message-id=<20240713200119.3DCC56018B@mail.viehai.at>
Jul 13 22:01:19 srv4hai postfix/qmgr[8566]: 3DCC56018B: from=, size=10405, nrcpt=1 (queue active)
Jul 13 22:01:19 srv4hai postfix/local[19302]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 13 22:01:19 srv4hai activate_scenario[19236]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Jul 13 22:01:19 srv4hai postfix/local[19302]: 3DCC56018B: to=, orig_to=, relay=local, delay=0.08, delays=0.05/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Jul 13 22:01:19 srv4hai postfix/cleanup[19289]: 4ABAD601BF: message-id=<20240713200119.4ABAD601BF@mail.viehai.at>
Jul 13 22:01:19 srv4hai proc_url[19307]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/13/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jul 13 22:01:19 srv4hai postfix/bounce[19303]: 3DCC56018B: sender non-delivery notification: 4ABAD601BF
Jul 13 22:01:19 srv4hai postfix/qmgr[8566]: 4ABAD601BF: from=<>, size=12327, nrcpt=1 (queue active)
Jul 13 22:01:19 srv4hai postfix/qmgr[8566]: 3DCC56018B: removed
Jul 13 22:01:19 srv4hai postfix/local[19302]: 4ABAD601BF: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 13 22:01:19 srv4hai postfix/qmgr[8566]: 4ABAD601BF: removed
Jul 13 22:01:19 srv4hai activate_scenario[19236]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Jul 13 22:01:19 srv4hai proc_url[19319]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/13/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jul 13 22:01:19 srv4hai activate_scenario[19236]: SHELLY scenario: 'buero_UM(buero_um)' took 248 msec, shelly-40:'Thomas Büro Licht'
Jul 13 22:01:21 srv4hai activate_scenario[19363]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Jul 13 22:01:21 srv4hai activate_scenario[19363]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished