activate_scenario.sh
Tue Apr 23 21:49:33 CEST 2024
scenario: buero_UM
source: 192.168.12.140
vorher: 21:49:33.744
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: 21:49:34.207
Dauer: 464 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 21:49:33.759
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: 21:49:33.812
Dauer: 52 msec
phName: 'shelly-40:'Thomas Büro Licht''
urls : 2
vorher : 21:49:33.720
nachher: 21:49:34.215
Dauer : 494 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/23//scene_buero_UM_20240423_214933.txt'
Apr 23 21:46:01 srv4hai ping_SP[11050]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1713901561 - 'ping_SP_0' Apr 23 21:46:01 srv4hai ping_SP[11050]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 23 21:46:01 srv4hai CRON[10248]: (root) CMD (/etc/linetest/linetest.sh) Apr 23 21:46:48 srv4hai dhcpd[22856]: DHCPDISCOVER from e0:98:06:a9:f3:81 via enp2s0 Apr 23 21:46:48 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.104 to e0:98:06:a9:f3:81 via enp2s0 Apr 23 21:46:48 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Apr 23 21:46:48 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.104 Apr 23 21:46:48 srv4hai dhcpd[22856]: execute_statement argv[2] = shelly-04 Apr 23 21:46:48 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.104 (192.168.12.252) from e0:98:06:a9:f3:81 via enp2s0 Apr 23 21:46:48 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.104 to e0:98:06:a9:f3:81 via enp2s0 Apr 23 21:46:48 srv4hai named[15509]: client @0x7f93180107e0 192.168.12.252#40519/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-04.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 23 21:46:48 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#60813/key rndc-key: signer "rndc-key" approved Apr 23 21:46:48 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#60813/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-04.viehai.at' TXT Apr 23 21:46:48 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#60813/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-04.viehai.at' TXT "008d1b202806eda236ba1bc6f43dd868cf" Apr 23 21:46:48 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#60813/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-04.viehai.at' A Apr 23 21:46:48 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#60813/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-04.viehai.at' A 192.168.12.104 Apr 23 21:46:48 srv4hai dhcpd[22856]: Added new forward map from shelly-04.viehai.at to 192.168.12.104 Apr 23 21:46:48 srv4hai named[15509]: client @0x7f930807c330 192.168.12.252#51757/key rndc-key: signer "rndc-key" approved Apr 23 21:46:48 srv4hai named[15509]: client @0x7f930807c330 192.168.12.252#51757/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '104.12.168.192.in-addr.arpa' PTR Apr 23 21:46:48 srv4hai named[15509]: client @0x7f930807c330 192.168.12.252#51757/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '104.12.168.192.in-addr.arpa' PTR shelly-04.viehai.at. Apr 23 21:46:48 srv4hai dhcpd[22856]: Added reverse map from 104.12.168.192.in-addr.arpa. to shelly-04.viehai.at Apr 23 21:46:48 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-04' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Apr 23 21:46:49 srv4hai mosquitto[18551]: New connection from 192.168.12.104 on port 1883. Apr 23 21:46:49 srv4hai mosquitto[18551]: Client shelly1pm-E09806A9F381 already connected, closing old connection. Apr 23 21:46:49 srv4hai mosquitto[18551]: Socket error on client shelly1pm-E09806A9F381, disconnecting. Apr 23 21:46:49 srv4hai mosquitto[18551]: New client connected from 192.168.12.104 as shelly1pm-E09806A9F381 (c1, k60, u'shmqtt'). Apr 23 21:46:49 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-04' - shIP/2:'192.168.12.104' Apr 23 21:46:49 srv4hai conf_shelly.sh: SHELLY: usage/name 'Badezimmer' already set for '192.168.12.104' Apr 23 21:46:49 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(0)' - allready transmitted - skipping Apr 23 21:46:49 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(1)' - allready transmitted - skipping Apr 23 21:46:49 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(2)' - allready transmitted - skipping Apr 23 21:46:49 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(3)' - allready transmitted - skipping Apr 23 21:46:49 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(4)' - allready transmitted - skipping Apr 23 21:46:49 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(5)' - allready transmitted - skipping Apr 23 21:46:49 srv4hai conf_shelly.sh: SHELLY:'shelly-04' out:0 ON : MISSING Apr 23 21:46:49 srv4hai conf_shelly.sh: SHELLY:'shelly-04' out:0 OFF: MISSING Apr 23 21:47:01 srv4hai CRON[10400]: (root) CMD (/etc/linetest/linetest.sh) Apr 23 21:47:02 srv4hai ping_SP[6335]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1713901622 - 'ping_SP_1' Apr 23 21:47:02 srv4hai ping_SP[6335]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 23 21:47:14 srv4hai ping_SP[11050]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1713901634 - 'ping_SP_0' Apr 23 21:47:14 srv4hai ping_SP[11050]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 23 21:47:39 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10441, secured, session=<5B+c08gWiMcAAAAAAAAAAAAAAAAAAAAB> Apr 23 21:47:39 srv4hai dovecot: imap(miglincit)<10441><5B+c08gWiMcAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Apr 23 21:48:01 srv4hai CRON[10447]: (root) CMD (/etc/linetest/linetest.sh) Apr 23 21:48:15 srv4hai postfix/smtpd[10460]: connect from unknown[45.88.90.157] Apr 23 21:48:15 srv4hai postfix/smtpd[10460]: warning: unknown[45.88.90.157]: SASL LOGIN authentication failed: Invalid authentication mechanism Apr 23 21:48:15 srv4hai postfix/smtpd[10460]: disconnect from unknown[45.88.90.157] ehlo=1 auth=0/1 quit=1 commands=2/3 Apr 23 21:48:16 srv4hai ping_SP[6335]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1713901696 - 'ping_SP_1' Apr 23 21:48:16 srv4hai ping_SP[6335]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 23 21:48:27 srv4hai ping_SP[11050]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1713901707 - 'ping_SP_0' Apr 23 21:48:27 srv4hai ping_SP[11050]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 23 21:49:01 srv4hai CRON[10507]: (root) CMD (/etc/linetest/linetest.sh) Apr 23 21:49:12 srv4hai activate_scenario[10514]: SHELLY scenario: 'buero_UM(buero_um)' started Apr 23 21:49:12 srv4hai activate_scenario[10514]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht' Apr 23 21:49:12 srv4hai activate_scenario[10514]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht' Apr 23 21:49:12 srv4hai postfix/pickup[32392]: C2C8F6022F: uid=33 from= Apr 23 21:49:12 srv4hai postfix/cleanup[10567]: C2C8F6022F: message-id=<20240423194912.C2C8F6022F@mail.viehai.at> Apr 23 21:49:12 srv4hai postfix/qmgr[15291]: C2C8F6022F: from= , size=7055, nrcpt=1 (queue active) Apr 23 21:49:12 srv4hai activate_scenario[10514]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle' Apr 23 21:49:12 srv4hai proc_url[10585]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/23/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht'' Apr 23 21:49:12 srv4hai postfix/local[10580]: C2C8F6022F: to= , orig_to= , relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Apr 23 21:49:12 srv4hai activate_scenario[10514]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle' Apr 23 21:49:12 srv4hai postfix/cleanup[10567]: CA06060230: message-id=<20240423194912.CA06060230@mail.viehai.at> Apr 23 21:49:12 srv4hai proc_url[10596]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/23/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht'' Apr 23 21:49:12 srv4hai postfix/bounce[10582]: C2C8F6022F: sender non-delivery notification: CA06060230 Apr 23 21:49:12 srv4hai postfix/qmgr[15291]: CA06060230: from=<>, size=8977, nrcpt=1 (queue active) Apr 23 21:49:12 srv4hai postfix/qmgr[15291]: C2C8F6022F: removed Apr 23 21:49:12 srv4hai postfix/local[10580]: CA06060230: to= , relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Apr 23 21:49:12 srv4hai postfix/qmgr[15291]: CA06060230: removed Apr 23 21:49:12 srv4hai activate_scenario[10514]: SHELLY scenario: 'buero_UM(buero_um)' took 71 msec, shelly-40:'Thomas Büro Licht' Apr 23 21:49:21 srv4hai activate_scenario[10643]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started Apr 23 21:49:21 srv4hai activate_scenario[10643]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht' Apr 23 21:49:21 srv4hai activate_scenario[10643]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' TO BE EXECUTED, shelly-12:'Schlafzimmer Licht' Apr 23 21:49:21 srv4hai postfix/pickup[32392]: 46D316022F: uid=33 from= Apr 23 21:49:21 srv4hai postfix/cleanup[10567]: 46D316022F: message-id=<20240423194921.46D316022F@mail.viehai.at> Apr 23 21:49:21 srv4hai postfix/qmgr[15291]: 46D316022F: from= , size=9539, nrcpt=1 (queue active) Apr 23 21:49:21 srv4hai postfix/local[10580]: 46D316022F: to= , orig_to= , relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Apr 23 21:49:21 srv4hai postfix/cleanup[10567]: 493CF60230: message-id=<20240423194921.493CF60230@mail.viehai.at> Apr 23 21:49:21 srv4hai postfix/bounce[10582]: 46D316022F: sender non-delivery notification: 493CF60230 Apr 23 21:49:21 srv4hai postfix/qmgr[15291]: 493CF60230: from=<>, size=11421, nrcpt=1 (queue active) Apr 23 21:49:21 srv4hai postfix/qmgr[15291]: 46D316022F: removed Apr 23 21:49:21 srv4hai activate_scenario[10643]: SHELLY: scenario: 'bedlight_tom(bedlight_tom)'-'shelly-07'-'Nachtkästchen Lampe Thomas' --> '0?turn=toggle' Apr 23 21:49:21 srv4hai proc_url[10711]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/23/_0.log' - shellyUsage:'Nachtkästchen Lampe Thomas' - scUrl:'http://192.168.12.107/relay/0?turn=toggle' - phName:'shelly-12:'Schlafzimmer Licht'' Apr 23 21:49:21 srv4hai postfix/local[10580]: 493CF60230: to= , relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Apr 23 21:49:21 srv4hai postfix/qmgr[15291]: 493CF60230: removed Apr 23 21:49:21 srv4hai activate_scenario[10643]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' took 145 msec, shelly-12:'Schlafzimmer Licht' Apr 23 21:49:29 srv4hai ping_SP[6335]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1713901769 - 'ping_SP_1' Apr 23 21:49:29 srv4hai ping_SP[6335]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 23 21:49:33 srv4hai activate_scenario[10758]: SHELLY scenario: 'buero_UM(buero_um)' started Apr 23 21:49:33 srv4hai activate_scenario[10758]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
finished