activate_scenario.sh
Sun Nov 24 11:21:48 CET 2024
scenario: pcOFF
source: 192.168.12.10
vorher: 11:21:48.700
http://192.168.12.120/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 11:21:48.943
Dauer: 244 msec
phName: 'shelly-0:'''
urls : 1
vorher : 11:21:48.677
nachher: 11:21:48.950
Dauer : 272 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/11/24//scene_pcOFF_20241124_112148.txt'
Nov 24 11:18:01 srv4hai CRON[29248]: (root) CMD (/etc/linetest/linetest.sh) Nov 24 11:18:21 srv4hai postfix/smtpd[29265]: connect from unknown[80.94.95.239] Nov 24 11:18:23 srv4hai postfix/smtpd[29265]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism Nov 24 11:18:24 srv4hai postfix/smtpd[29265]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4 Nov 24 11:18:43 srv4hai dhcpd[21239]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0 Nov 24 11:18:43 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0 Nov 24 11:18:43 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Nov 24 11:18:43 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.147 Nov 24 11:18:43 srv4hai dhcpd[21239]: execute_statement argv[2] = shelly-47 Nov 24 11:18:43 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0 Nov 24 11:18:43 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0 Nov 24 11:18:43 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#56193/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Nov 24 11:18:43 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#48389/key rndc-key: signer "rndc-key" approved Nov 24 11:18:43 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#48389/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT Nov 24 11:18:43 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#48389/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f" Nov 24 11:18:43 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#48389/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A Nov 24 11:18:43 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#48389/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147 Nov 24 11:18:43 srv4hai dhcpd[21239]: Added new forward map from shelly-47.viehai.at to 192.168.12.147 Nov 24 11:18:43 srv4hai named[30406]: client @0x7f9350157870 192.168.12.252#46941/key rndc-key: signer "rndc-key" approved Nov 24 11:18:43 srv4hai named[30406]: client @0x7f9350157870 192.168.12.252#46941/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR Nov 24 11:18:43 srv4hai named[30406]: client @0x7f9350157870 192.168.12.252#46941/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 24 11:18:43 srv4hai dhcpd[21239]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at Nov 24 11:18:43 srv4hai common[29284]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Nov 24 11:18:43 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf' Nov 24 11:18:44 srv4hai mosquitto[18551]: New connection from 192.168.12.147 on port 1883. Nov 24 11:18:44 srv4hai mosquitto[18551]: Client shellyplus1-441793a58ae4 already connected, closing old connection. Nov 24 11:18:44 srv4hai mosquitto[18551]: Socket error on client shellyplus1-441793a58ae4, disconnecting. Nov 24 11:18:44 srv4hai mosquitto[18551]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt'). Nov 24 11:18:44 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-47' - shIP/2:'192.168.12.147' Nov 24 11:18:44 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147' Nov 24 11:18:44 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping Nov 24 11:18:56 srv4hai ping_SP[29033]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1732443536 - 'ping_SP_0' Nov 24 11:18:56 srv4hai ping_SP[29033]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Nov 24 11:19:01 srv4hai CRON[29370]: (root) CMD (/etc/linetest/linetest.sh) Nov 24 11:19:39 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29402, secured, session= Nov 24 11:19:39 srv4hai dovecot: imap(miglincit)<29402>: 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 24 11:19:52 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Nov 24 11:19:53 srv4hai fetchmail[1651]: 57569 messages (57569 seen) for tmiglinci at mail.akis.at (434242365 octets). Nov 24 11:19:53 srv4hai fetchmail[1651]: 11093 messages (11093 seen) for srozum at mail.akis.at (1337316980 octets). Nov 24 11:19:54 srv4hai fetchmail[1651]: 27420 messages (27420 seen) for mrozum at mail.akis.at (435108410 octets). Nov 24 11:19:54 srv4hai fetchmail[1651]: 1157 messages (1157 seen) for admin@bastelstube.wien at pop3.world4you.com (52170273 octets). Nov 24 11:19:59 srv4hai ping_SP[29033]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1732443599 - 'ping_SP_0' Nov 24 11:19:59 srv4hai ping_SP[29033]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Nov 24 11:20:01 srv4hai CRON[29433]: (root) CMD (/etc/linetest/linetest.sh) Nov 24 11:20:01 srv4hai CRON[29434]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Nov 24 11:20:01 srv4hai common[29435]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh Nov 24 11:20:01 srv4hai meter.sh: SHELLY meter.sh started Nov 24 11:20:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring Nov 24 11:20:01 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring Nov 24 11:20:04 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring Nov 24 11:20:04 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring Nov 24 11:20:04 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring Nov 24 11:20:04 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring Nov 24 11:20:04 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring Nov 24 11:20:07 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Nov 24 11:20:10 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Nov 24 11:20:10 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring Nov 24 11:20:10 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring Nov 24 11:20:10 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring Nov 24 11:20:10 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring Nov 24 11:20:10 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring Nov 24 11:20:10 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring Nov 24 11:20:10 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring Nov 24 11:20:10 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring Nov 24 11:20:10 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring Nov 24 11:20:10 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring Nov 24 11:20:10 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring Nov 24 11:20:10 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring Nov 24 11:20:10 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring Nov 24 11:20:10 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring Nov 24 11:20:10 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring Nov 24 11:20:10 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring Nov 24 11:20:13 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Nov 24 11:20:13 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring Nov 24 11:20:13 srv4hai common[30434]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh Nov 24 11:20:13 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON' Nov 24 11:20:13 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs Nov 24 11:20:13 srv4hai meter.sh: SHELLY meter.sh ended Nov 24 11:20:48 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=30481, secured, session= Nov 24 11:20:48 srv4hai dovecot: imap(miglincit)<30481> : 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 24 11:20:55 srv4hai common[30487]: SHELLY common.sh inkludiert von ./bt_scan.sh Nov 24 11:20:55 srv4hai bt_scan[30487]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No' Nov 24 11:20:55 srv4hai bt_scan[30487]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Nov 24 11:20:55 srv4hai common[30518]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Nov 24 11:20:56 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1732443656-1732443655 Nov 24 11:20:56 srv4hai check_presence[30518]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Nov 24 11:20:56 srv4hai check_presence[30518]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence' Nov 24 11:20:56 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1732443656-1732443655 Nov 24 11:20:56 srv4hai check_presence[30518]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Nov 24 11:20:56 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1732443656-1732443655 Nov 24 11:20:56 srv4hai check_presence[30518]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Nov 24 11:20:56 srv4hai check_presence[30518]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Nov 24 11:20:56 srv4hai check_presence[30518]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_pcON) - sceneOFF(offAll) Nov 24 11:20:56 srv4hai check_presence[30518]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll Nov 24 11:21:01 srv4hai CRON[30657]: (root) CMD (/etc/linetest/linetest.sh) Nov 24 11:21:02 srv4hai ping_SP[29033]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1732443662 - 'ping_SP_0' Nov 24 11:21:02 srv4hai ping_SP[29033]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Nov 24 11:21:19 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=30690, secured, session= Nov 24 11:21:19 srv4hai dovecot: imap(miglincit)<30690> : Logged out in=489 out=22715 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=554 body_count=2 body_bytes=20052 Nov 24 11:21:20 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=30692, secured, session= Nov 24 11:21:21 srv4hai dovecot: imap(miglincit)<30692> : Logged out in=443 out=101981 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=530 body_count=1 body_bytes=99677 Nov 24 11:21:22 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=30694, secured, session= Nov 24 11:21:22 srv4hai dovecot: imap(miglincit)<30694> : Logged out in=606 out=31756 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=300 body_count=0 body_bytes=0 Nov 24 11:21:22 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=30696, secured, session= Nov 24 11:21:22 srv4hai dovecot: imap(miglincit)<30696> : Logged out in=397 out=33983 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=483 body_count=1 body_bytes=31823 Nov 24 11:21:45 srv4hai postfix/anvil[29267]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Nov 24 11:18:21 Nov 24 11:21:45 srv4hai postfix/anvil[29267]: statistics: max connection count 1 for (smtp:80.94.95.239) at Nov 24 11:18:21 Nov 24 11:21:45 srv4hai postfix/anvil[29267]: statistics: max cache size 1 at Nov 24 11:18:21 Nov 24 11:21:47 srv4hai dovecot: imap(miglincit)<14119> : Logged out in=885420 out=8802761 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Nov 24 11:21:47 srv4hai dovecot: imap(miglincit)<14124> : Logged out in=883968 out=9069353 deleted=0 expunged=0 trashed=0 hdr_count=2 hdr_bytes=858 body_count=1 body_bytes=29374 Nov 24 11:21:47 srv4hai dovecot: imap(miglincit)<14125> : Logged out in=879705 out=9561413 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Nov 24 11:21:47 srv4hai dovecot: imap(miglincit)<14123> : Logged out in=881089 out=9642226 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=1 body_bytes=29489 Nov 24 11:21:47 srv4hai dovecot: imap(miglincit)<14126> : Connection closed (IDLE finished 20.719 secs ago) in=6741 out=2834730 deleted=0 expunged=0 trashed=0 hdr_count=41 hdr_bytes=15878 body_count=42 body_bytes=2705749 Nov 24 11:21:48 srv4hai activate_scenario[30716]: SHELLY scenario: 'pcOFF(pcoff)' started Nov 24 11:21:48 srv4hai activate_scenario[30716]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''
finished