activate_scenario.sh
Wed Dec 11 18:03:20 CET 2024
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/2024/12/11/_0.log)

vorher: 18:03:20.737

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: 18:03:20.817
Dauer: 79 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/11/_1.log)

vorher: 18:03:20.755

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: 18:03:20.795
Dauer: 40 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 18:03:20.714
nachher: 18:03:20.823
Dauer : 109 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/11//scene_buero_UM_20241211_180320.txt'


syslog

Dec 11 18:00:01 srv4hai CRON[24651]: (root) CMD (/etc/linetest/linetest.sh)
Dec 11 18:00:01 srv4hai CRON[24652]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Dec 11 18:00:01 srv4hai common[24653]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Dec 11 18:00:01 srv4hai meter.sh: SHELLY meter.sh started
Dec 11 18:00:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Dec 11 18:00:03 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Dec 11 18:00:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Dec 11 18:00:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Dec 11 18:00:07 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Dec 11 18:00:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Dec 11 18:00:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Dec 11 18:00:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 11 18:00:12 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 11 18:00:12 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Dec 11 18:00:12 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Dec 11 18:00:12 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Dec 11 18:00:12 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Dec 11 18:00:12 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Dec 11 18:00:13 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Dec 11 18:00:13 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Dec 11 18:00:13 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Dec 11 18:00:13 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Dec 11 18:00:13 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Dec 11 18:00:13 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Dec 11 18:00:13 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Dec 11 18:00:13 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Dec 11 18:00:13 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Dec 11 18:00:13 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Dec 11 18:00:13 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Dec 11 18:00:13 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring
Dec 11 18:00:16 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 11 18:00:16 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Dec 11 18:00:16 srv4hai meter.sh: SHELLY 'shelly-55/55-TBD' - status: 'OOS' ignoring
Dec 11 18:00:16 srv4hai common[25631]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Dec 11 18:00:16 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON'
Dec 11 18:00:16 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs
Dec 11 18:00:16 srv4hai meter.sh: SHELLY meter.sh ended
Dec 11 18:00:30 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec 11 18:00:32 srv4hai fetchmail[1651]: 59060 messages (59059 seen) for tmiglinci at mail.akis.at (562069657 octets).
Dec 11 18:00:32 srv4hai postfix/smtpd[24589]: connect from localhost[127.0.0.1]
Dec 11 18:00:32 srv4hai postfix/smtpd[24589]: 142526345A: client=localhost[127.0.0.1]
Dec 11 18:00:32 srv4hai postfix/cleanup[25672]: 142526345A: message-id=
Dec 11 18:00:32 srv4hai postfix/qmgr[8566]: 142526345A: from=, size=24040, nrcpt=1 (queue active)
Dec 11 18:00:32 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:59060 of 59060 (23769 octets) not flushed
Dec 11 18:00:32 srv4hai postfix/smtpd[24589]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Dec 11 18:00:32 srv4hai postfix/local[25675]: 142526345A: to=, relay=local, delay=0.1, delays=0.08/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec 11 18:00:32 srv4hai postfix/qmgr[8566]: 142526345A: removed
Dec 11 18:00:32 srv4hai fetchmail[1651]: 11212 messages (11212 seen) for srozum at mail.akis.at (1345466339 octets).
Dec 11 18:00:33 srv4hai fetchmail[1651]: 27786 messages (27786 seen) for mrozum at mail.akis.at (481288754 octets).
Dec 11 18:00:33 srv4hai fetchmail[1651]: 1159 messages (1159 seen) for admin@bastelstube.wien at pop3.world4you.com (52182817 octets).
Dec 11 18:00:35 srv4hai ping_SP[16576]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733936435 - 'ping_SP_0'
Dec 11 18:00:35 srv4hai ping_SP[16576]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 11 18:00:43 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Dec 11 18:00:43 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Dec 11 18:00:43 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 11 18:00:43 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Dec 11 18:00:43 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Dec 11 18:00:43 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Dec 11 18:00:43 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Dec 11 18:00:43 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#51763/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 11 18:00:43 srv4hai named[30406]: client @0x7f93506a3ad0 192.168.12.252#40679/key rndc-key: signer "rndc-key" approved
Dec 11 18:00:43 srv4hai named[30406]: client @0x7f93506a3ad0 192.168.12.252#40679/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Dec 11 18:00:43 srv4hai named[30406]: client @0x7f93506a3ad0 192.168.12.252#40679/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Dec 11 18:00:43 srv4hai named[30406]: client @0x7f93506a3ad0 192.168.12.252#40679/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Dec 11 18:00:43 srv4hai named[30406]: client @0x7f93506a3ad0 192.168.12.252#40679/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Dec 11 18:00:43 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Dec 11 18:00:43 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#37209/key rndc-key: signer "rndc-key" approved
Dec 11 18:00:43 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#37209/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Dec 11 18:00:43 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#37209/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.
Dec 11 18:00:43 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Dec 11 18:00:43 srv4hai common[25696]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 11 18:00:43 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Dec 11 18:00:44 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Dec 11 18:00:44 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 already connected, closing old connection.
Dec 11 18:00:44 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Dec 11 18:00:44 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Dec 11 18:00:44 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Dec 11 18:00:45 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Dec 11 18:00:45 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Dec 11 18:01:01 srv4hai CRON[25766]: (root) CMD (/etc/linetest/linetest.sh)
Dec 11 18:01:27 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25785, secured, session=
Dec 11 18:01:27 srv4hai dovecot: imap(miglincit)<25785>: Logged out in=2081 out=165805 deleted=0 expunged=0 trashed=0 hdr_count=262 hdr_bytes=90189 body_count=0 body_bytes=0
Dec 11 18:01:41 srv4hai postfix/smtpd[24589]: connect from unknown[185.196.10.158]
Dec 11 18:01:41 srv4hai postfix/smtpd[24589]: warning: unknown[185.196.10.158]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 11 18:01:41 srv4hai postfix/smtpd[24589]: disconnect from unknown[185.196.10.158] ehlo=1 auth=0/1 quit=1 commands=2/3
Dec 11 18:01:48 srv4hai ping_SP[16576]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733936508 - 'ping_SP_0'
Dec 11 18:01:48 srv4hai ping_SP[16576]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 11 18:02:01 srv4hai CRON[25824]: (root) CMD (/etc/linetest/linetest.sh)
Dec 11 18:02:47 srv4hai postfix/smtpd[24589]: connect from unknown[80.94.95.239]
Dec 11 18:02:49 srv4hai postfix/smtpd[24589]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 11 18:02:51 srv4hai postfix/smtpd[24589]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 11 18:03:01 srv4hai ping_SP[16576]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733936581 - 'ping_SP_0'
Dec 11 18:03:01 srv4hai ping_SP[16576]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 11 18:03:01 srv4hai CRON[25883]: (root) CMD (/etc/linetest/linetest.sh)
Dec 11 18:03:17 srv4hai dovecot: imap(miglincit)<20288>: Logged out in=273517 out=3055011 deleted=0 expunged=0 trashed=0 hdr_count=2 hdr_bytes=703 body_count=0 body_bytes=0
Dec 11 18:03:17 srv4hai dovecot: imap(miglincit)<20289><+XGuPwEpSrPAqAwK>: Logged out in=278337 out=4378111 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=2 body_bytes=1529751
Dec 11 18:03:17 srv4hai dovecot: imap(miglincit)<20286>: Logged out in=267816 out=2786408 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 11 18:03:17 srv4hai dovecot: imap(miglincit)<20284>: Logged out in=2763 out=1387878 deleted=0 expunged=0 trashed=0 hdr_count=14 hdr_bytes=4609 body_count=14 body_bytes=1291588
Dec 11 18:03:17 srv4hai dovecot: imap(miglincit)<20290>: Logged out in=270779 out=2909811 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 11 18:03:17 srv4hai activate_scenario[25898]: SHELLY scenario: 'pcOFF(pcoff)' started
Dec 11 18:03:17 srv4hai activate_scenario[25898]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''
Dec 11 18:03:17 srv4hai activate_scenario[25898]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Dec 11 18:03:17 srv4hai postfix/pickup[15299]: A908D63465: uid=33 from=
Dec 11 18:03:17 srv4hai postfix/cleanup[25951]: A908D63465: message-id=<20241211170317.A908D63465@mail.viehai.at>
Dec 11 18:03:17 srv4hai postfix/qmgr[8566]: A908D63465: from=, size=12480, nrcpt=1 (queue active)
Dec 11 18:03:17 srv4hai activate_scenario[25898]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'TB Schreibtischlampe' --> '0?turn=off'
Dec 11 18:03:17 srv4hai proc_url[25969]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/11/_0.log' - shellyUsage:'TB Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Dec 11 18:03:17 srv4hai postfix/local[25964]: A908D63465: to=, orig_to=, relay=local, delay=0.04, delays=0.03/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Dec 11 18:03:17 srv4hai postfix/cleanup[25951]: AF5BF63468: message-id=<20241211170317.AF5BF63468@mail.viehai.at>
Dec 11 18:03:17 srv4hai postfix/bounce[25965]: A908D63465: sender non-delivery notification: AF5BF63468
Dec 11 18:03:17 srv4hai postfix/qmgr[8566]: AF5BF63468: from=<>, size=14359, nrcpt=1 (queue active)
Dec 11 18:03:17 srv4hai postfix/qmgr[8566]: A908D63465: removed
Dec 11 18:03:17 srv4hai postfix/local[25964]: AF5BF63468: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec 11 18:03:17 srv4hai postfix/qmgr[8566]: AF5BF63468: removed
Dec 11 18:03:17 srv4hai activate_scenario[25898]: SHELLY scenario: 'pcOFF(pcoff)' took 151 msec, shelly-0:''
Dec 11 18:03:20 srv4hai activate_scenario[25997]: SHELLY scenario: 'buero_UM(buero_um)' started
Dec 11 18:03:20 srv4hai activate_scenario[25997]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished