activate_scenario.sh
Thu Nov 28 21:53:38 CET 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'

SZ Nachtkästchen Thomas (/srv/www/viehai/shelly/log_scenarios/2024/11/28/_0.log)

vorher: 21:53:38.396

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: 21:53:38.436
Dauer: 40 msec phName: 'shelly-12:'SZ Licht''


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

urls : 1
vorher : 21:53:38.361
nachher: 21:53:38.442
Dauer : 82 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/11/28//scene_bedlight_tom_20241128_215338.txt'


syslog

Nov 28 21:50:01 srv4hai CRON[25129]: (root) CMD (/etc/linetest/linetest.sh)
Nov 28 21:50:01 srv4hai CRON[25130]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Nov 28 21:50:01 srv4hai common[25132]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Nov 28 21:50:01 srv4hai meter.sh: SHELLY meter.sh started
Nov 28 21:50:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Nov 28 21:50:01 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Nov 28 21:50:07 srv4hai meter.sh: SHELLY 'shelly-19/GB Fernsehlampe':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 28 21:50:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Nov 28 21:50:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Nov 28 21:50:07 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Nov 28 21:50:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Nov 28 21:50:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Nov 28 21:50:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring
Nov 28 21:50:16 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 28 21:50:16 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Nov 28 21:50:16 srv4hai common[26098]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Nov 28 21:50:16 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Nov 28 21:50:16 srv4hai check_shelly.sh: SHELLY found '2' active shelly outputs
Nov 28 21:50:16 srv4hai meter.sh: SHELLY meter.sh ended
Nov 28 21:50:27 srv4hai ping_SP[22413]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732827027 - 'ping_SP_1'
Nov 28 21:50:27 srv4hai ping_SP[22413]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 28 21:50:28 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Nov 28 21:50:28 srv4hai ping_SP[14640]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732827028 - 'ping_SP_0'
Nov 28 21:50:28 srv4hai ping_SP[14640]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 28 21:50:33 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26162, secured, session=
Nov 28 21:50:33 srv4hai dovecot: imap(rozumm)<26162>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 28 21:50:39 srv4hai mosquitto[32087]: Client shelly1-98CDAC2D5A11 has exceeded timeout, disconnecting.
Nov 28 21:50:39 srv4hai mosquitto[32087]: Socket error on client shelly1-98CDAC2D5A11, disconnecting.
Nov 28 21:50:52 srv4hai fetchmail[1651]: 57955 messages (57955 seen) for tmiglinci at mail.akis.at (467300489 octets).
Nov 28 21:50:55 srv4hai mosquitto[32087]: Client shellyplus1-441793a58ae4 has exceeded timeout, disconnecting.
Nov 28 21:50:55 srv4hai mosquitto[32087]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Nov 28 21:51:01 srv4hai CRON[26179]: (root) CMD (/etc/linetest/linetest.sh)
Nov 28 21:51:03 srv4hai fetchmail[1651]: 11129 messages (11129 seen) for srozum at mail.akis.at (1339824728 octets).
Nov 28 21:51:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26187, secured, session=
Nov 28 21:51:07 srv4hai dovecot: imap(miglincit)<26187>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 28 21:51:18 srv4hai fetchmail[1651]: 27539 messages (27539 seen) for mrozum at mail.akis.at (452723430 octets).
Nov 28 21:51:19 srv4hai fetchmail[1651]: 1158 messages (1158 seen) for admin@bastelstube.wien at pop3.world4you.com (52179212 octets).
Nov 28 21:51:34 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26216, secured, session=
Nov 28 21:51:34 srv4hai dovecot: imap(rozumm)<26216>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 28 21:51:40 srv4hai ping_SP[22413]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732827100 - 'ping_SP_1'
Nov 28 21:51:40 srv4hai ping_SP[22413]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 28 21:51:41 srv4hai ping_SP[14640]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732827101 - 'ping_SP_0'
Nov 28 21:51:41 srv4hai ping_SP[14640]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 28 21:51:50 srv4hai dhcpd[21239]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Nov 28 21:51:50 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Nov 28 21:51:50 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Nov 28 21:51:50 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.147
Nov 28 21:51:50 srv4hai dhcpd[21239]: execute_statement argv[2] = shelly-47
Nov 28 21:51:50 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Nov 28 21:51:50 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Nov 28 21:51:50 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#54663/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Nov 28 21:51:50 srv4hai named[30406]: client @0x7f93100a5fe0 192.168.12.252#59153/key rndc-key: signer "rndc-key" approved
Nov 28 21:51:50 srv4hai named[30406]: client @0x7f93100a5fe0 192.168.12.252#59153/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Nov 28 21:51:50 srv4hai named[30406]: client @0x7f93100a5fe0 192.168.12.252#59153/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Nov 28 21:51:50 srv4hai named[30406]: client @0x7f93100a5fe0 192.168.12.252#59153/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Nov 28 21:51:50 srv4hai named[30406]: client @0x7f93100a5fe0 192.168.12.252#59153/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Nov 28 21:51:50 srv4hai dhcpd[21239]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Nov 28 21:51:50 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#48607/key rndc-key: signer "rndc-key" approved
Nov 28 21:51:50 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#48607/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Nov 28 21:51:50 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#48607/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.
Nov 28 21:51:50 srv4hai dhcpd[21239]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Nov 28 21:51:50 srv4hai common[26252]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Nov 28 21:51:50 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Nov 28 21:51:51 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Nov 28 21:51:51 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Nov 28 21:51:51 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Nov 28 21:51:51 srv4hai mosquitto[32087]: New connection from 192.168.12.147 on port 1883.
Nov 28 21:51:51 srv4hai mosquitto[32087]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Nov 28 21:52:01 srv4hai CRON[26314]: (root) CMD (/etc/linetest/linetest.sh)
Nov 28 21:52:09 srv4hai postfix/anvil[25044]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Nov 28 21:48:44
Nov 28 21:52:09 srv4hai postfix/anvil[25044]: statistics: max connection count 1 for (smtp:80.94.95.239) at Nov 28 21:48:44
Nov 28 21:52:09 srv4hai postfix/anvil[25044]: statistics: max cache size 1 at Nov 28 21:48:44
Nov 28 21:52:34 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26338, secured, session=
Nov 28 21:52:34 srv4hai dovecot: imap(rozumm)<26338>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 28 21:52:37 srv4hai postfix/smtpd[26345]: connect from unknown[80.94.95.239]
Nov 28 21:52:39 srv4hai postfix/smtpd[26345]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Nov 28 21:52:40 srv4hai postfix/smtpd[26345]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Nov 28 21:52:53 srv4hai ping_SP[22413]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732827173 - 'ping_SP_1'
Nov 28 21:52:53 srv4hai ping_SP[22413]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 28 21:52:54 srv4hai ping_SP[14640]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732827174 - 'ping_SP_0'
Nov 28 21:52:54 srv4hai ping_SP[14640]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 28 21:53:01 srv4hai CRON[26398]: (root) CMD (/etc/linetest/linetest.sh)
Nov 28 21:53:09 srv4hai activate_scenario[26410]: SHELLY scenario: 'buero_UM(buero_um)' started
Nov 28 21:53:09 srv4hai activate_scenario[26410]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
Nov 28 21:53:09 srv4hai activate_scenario[26410]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'TB Licht'
Nov 28 21:53:09 srv4hai postfix/pickup[11731]: 633C963463: uid=33 from=
Nov 28 21:53:09 srv4hai postfix/cleanup[26463]: 633C963463: message-id=<20241128205309.633C963463@mail.viehai.at>
Nov 28 21:53:09 srv4hai postfix/qmgr[8566]: 633C963463: from=, size=12386, nrcpt=1 (queue active)
Nov 28 21:53:09 srv4hai activate_scenario[26410]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'TB Regallicht' --> '0?turn=toggle'
Nov 28 21:53:09 srv4hai proc_url[26481]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/28/_0.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Nov 28 21:53:09 srv4hai activate_scenario[26410]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'TB Licht' --> '0?turn=toggle'
Nov 28 21:53:09 srv4hai proc_url[26493]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/28/_1.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Nov 28 21:53:09 srv4hai postfix/local[26476]: 633C963463: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Nov 28 21:53:09 srv4hai postfix/cleanup[26463]: 6BCE863464: message-id=<20241128205309.6BCE863464@mail.viehai.at>
Nov 28 21:53:09 srv4hai postfix/bounce[26480]: 633C963463: sender non-delivery notification: 6BCE863464
Nov 28 21:53:09 srv4hai postfix/qmgr[8566]: 6BCE863464: from=<>, size=14265, nrcpt=1 (queue active)
Nov 28 21:53:09 srv4hai postfix/qmgr[8566]: 633C963463: removed
Nov 28 21:53:09 srv4hai postfix/local[26476]: 6BCE863464: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Nov 28 21:53:09 srv4hai postfix/qmgr[8566]: 6BCE863464: removed
Nov 28 21:53:09 srv4hai activate_scenario[26410]: SHELLY scenario: 'buero_UM(buero_um)' took 80 msec, shelly-40:'TB Licht'
Nov 28 21:53:34 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26549, secured, session=
Nov 28 21:53:34 srv4hai dovecot: imap(rozumm)<26549>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 28 21:53:35 srv4hai activate_scenario[26551]: SHELLY scenario: 'buero_UM(buero_um)' started
Nov 28 21:53:35 srv4hai activate_scenario[26551]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
Nov 28 21:53:35 srv4hai activate_scenario[26551]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'TB Licht'
Nov 28 21:53:35 srv4hai postfix/pickup[11731]: DB5AD63463: uid=33 from=
Nov 28 21:53:35 srv4hai postfix/cleanup[26463]: DB5AD63463: message-id=<20241128205335.DB5AD63463@mail.viehai.at>
Nov 28 21:53:35 srv4hai postfix/qmgr[8566]: DB5AD63463: from=, size=15114, nrcpt=1 (queue active)
Nov 28 21:53:35 srv4hai postfix/local[26476]: DB5AD63463: to=, orig_to=, relay=local, delay=0.01, delays=0.01/0/0/0, dsn=5.1.1, status=bounced (unknown user: "null")
Nov 28 21:53:35 srv4hai postfix/cleanup[26463]: DD94163464: message-id=<20241128205335.DD94163464@mail.viehai.at>
Nov 28 21:53:35 srv4hai postfix/bounce[26480]: DB5AD63463: sender non-delivery notification: DD94163464
Nov 28 21:53:35 srv4hai postfix/qmgr[8566]: DD94163464: from=<>, size=16993, nrcpt=1 (queue active)
Nov 28 21:53:35 srv4hai postfix/qmgr[8566]: DB5AD63463: removed
Nov 28 21:53:35 srv4hai activate_scenario[26551]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'TB Regallicht' --> '0?turn=toggle'
Nov 28 21:53:35 srv4hai proc_url[26620]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/28/_0.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Nov 28 21:53:35 srv4hai postfix/local[26476]: DD94163464: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Nov 28 21:53:35 srv4hai postfix/qmgr[8566]: DD94163464: removed
Nov 28 21:53:35 srv4hai activate_scenario[26551]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'TB Licht' --> '0?turn=toggle'
Nov 28 21:53:35 srv4hai proc_url[26631]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/28/_1.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Nov 28 21:53:35 srv4hai activate_scenario[26551]: SHELLY scenario: 'buero_UM(buero_um)' took 75 msec, shelly-40:'TB Licht'
Nov 28 21:53:38 srv4hai activate_scenario[26676]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Nov 28 21:53:38 srv4hai activate_scenario[26676]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'SZ Licht'

finished