activate_scenario.sh
Mon Feb 10 18:25:51 CET 2025
scenario: pcOFF
source: 192.168.12.10
vorher: 18:25:51.929
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: 18:25:51.962
Dauer: 32 msec
phName: 'shelly-0:'''
urls : 1
vorher : 18:25:51.902
nachher: 18:25:51.968
Dauer : 66 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/10//scene_pcOFF_20250210_182551.txt'
Feb 10 18:22:00 srv4hai common[12828]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:22:00 srv4hai common[12854]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:22:00 srv4hai common[12878]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:22:01 srv4hai CRON[12903]: (root) CMD (/etc/linetest/linetest.sh) Feb 10 18:22:24 srv4hai postfix/smtpd[12912]: connect from unknown[92.118.39.61] Feb 10 18:22:28 srv4hai postfix/smtpd[12912]: warning: unknown[92.118.39.61]: SASL PLAIN authentication failed: Feb 10 18:22:28 srv4hai postfix/smtpd[12912]: disconnect from unknown[92.118.39.61] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 10 18:22:31 srv4hai common[12915]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:22:31 srv4hai common[12939]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:22:56 srv4hai postfix/smtpd[12912]: warning: hostname 107-174-68-193-host.colocrossing.com does not resolve to address 107.174.68.193: Name or service not known Feb 10 18:22:56 srv4hai postfix/smtpd[12912]: connect from unknown[107.174.68.193] Feb 10 18:22:59 srv4hai ping_SP[20273]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1739208179 - 'ping_SP_0' Feb 10 18:22:59 srv4hai ping_SP[20273]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 10 18:22:59 srv4hai common[12990]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:22:59 srv4hai common[13014]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:23:00 srv4hai common[13038]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:23:01 srv4hai postfix/smtpd[12912]: warning: unknown[107.174.68.193]: SASL PLAIN authentication failed: Feb 10 18:23:01 srv4hai CRON[13063]: (root) CMD (/etc/linetest/linetest.sh) Feb 10 18:23:01 srv4hai postfix/smtpd[12912]: disconnect from unknown[107.174.68.193] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 10 18:23:23 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0 Feb 10 18:23:23 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0 Feb 10 18:23:23 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Feb 10 18:23:23 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147 Feb 10 18:23:23 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47 Feb 10 18:23:23 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0 Feb 10 18:23:23 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0 Feb 10 18:23:23 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#54881/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 10 18:23:23 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#48477/key rndc-key: signer "rndc-key" approved Feb 10 18:23:23 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#48477/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT Feb 10 18:23:23 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#48477/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f" Feb 10 18:23:23 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#48477/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A Feb 10 18:23:23 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#48477/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147 Feb 10 18:23:23 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147 Feb 10 18:23:23 srv4hai named[30406]: client @0x7f932c0b5090 192.168.12.252#38837/key rndc-key: signer "rndc-key" approved Feb 10 18:23:23 srv4hai named[30406]: client @0x7f932c0b5090 192.168.12.252#38837/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR Feb 10 18:23:23 srv4hai named[30406]: client @0x7f932c0b5090 192.168.12.252#38837/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. Feb 10 18:23:23 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at Feb 10 18:23:23 srv4hai common[13078]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Feb 10 18:23:23 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf' Feb 10 18:23:25 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883. Feb 10 18:23:25 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt'). Feb 10 18:23:25 srv4hai common[13100]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:23:25 srv4hai common[13124]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:23:25 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-47' - shIP/2:'192.168.12.147' Feb 10 18:23:25 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147' Feb 10 18:23:25 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping Feb 10 18:23:25 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping Feb 10 18:23:25 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping Feb 10 18:23:29 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Feb 10 18:23:29 srv4hai fetchmail[1651]: 63341 messages (63341 seen) for tmiglinci at mail.akis.at (898964437 octets). Feb 10 18:23:30 srv4hai fetchmail[1651]: 11526 messages (11526 seen) for srozum at mail.akis.at (1368931349 octets). Feb 10 18:23:30 srv4hai common[13221]: SHELLY common.sh inkludiert von ./bt_scan.sh Feb 10 18:23:31 srv4hai fetchmail[1651]: 28855 messages (28855 seen) for mrozum at mail.akis.at (647974845 octets). Feb 10 18:23:31 srv4hai common[13234]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:23:31 srv4hai common[13258]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:23:31 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets). Feb 10 18:23:41 srv4hai bt_scan[13221]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No' Feb 10 18:23:41 srv4hai bt_scan[13221]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Feb 10 18:23:41 srv4hai common[13301]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Feb 10 18:23:41 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1739208221-1739208211 Feb 10 18:23:41 srv4hai check_presence[13301]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Feb 10 18:23:41 srv4hai check_presence[13301]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence' Feb 10 18:23:41 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1739208221-1739208211 Feb 10 18:23:41 srv4hai check_presence[13301]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Feb 10 18:23:41 srv4hai check_presence[13301]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false' Feb 10 18:23:41 srv4hai check_presence[13301]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_pcON) - sceneOFF(offAll) Feb 10 18:23:41 srv4hai check_presence[13301]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll Feb 10 18:23:47 srv4hai common[13416]: SHELLY common.sh inkludiert von ./bt_scan.sh Feb 10 18:23:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13434, secured, session= Feb 10 18:23:54 srv4hai dovecot: imap(miglincit)<13434> : Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 10 18:23:57 srv4hai bt_scan[13416]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes' Feb 10 18:23:57 srv4hai bt_scan[13416]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61' Feb 10 18:24:00 srv4hai common[13457]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:24:00 srv4hai common[13483]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:24:00 srv4hai common[13507]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:24:01 srv4hai CRON[13532]: (root) CMD (/etc/linetest/linetest.sh) Feb 10 18:24:12 srv4hai ping_SP[20273]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1739208252 - 'ping_SP_0' Feb 10 18:24:12 srv4hai ping_SP[20273]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 10 18:24:31 srv4hai common[13558]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:24:31 srv4hai common[13582]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:24:41 srv4hai postfix/smtpd[13610]: warning: hostname 192-227-138-165-host.colocrossing.com does not resolve to address 192.227.138.165: Name or service not known Feb 10 18:24:41 srv4hai postfix/smtpd[13610]: connect from unknown[192.227.138.165] Feb 10 18:24:45 srv4hai postfix/smtpd[13610]: warning: unknown[192.227.138.165]: SASL PLAIN authentication failed: Feb 10 18:24:45 srv4hai postfix/smtpd[13610]: disconnect from unknown[192.227.138.165] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 10 18:24:46 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=13614, secured, session= Feb 10 18:24:46 srv4hai dovecot: imap(miglincit)<13614> : Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 10 18:24:55 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 has exceeded timeout, disconnecting. Feb 10 18:24:55 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting. Feb 10 18:24:59 srv4hai common[13617]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:24:59 srv4hai common[13641]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:25:00 srv4hai common[13665]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:25:01 srv4hai CRON[13690]: (root) CMD (/etc/linetest/linetest.sh) Feb 10 18:25:25 srv4hai ping_SP[20273]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1739208325 - 'ping_SP_0' Feb 10 18:25:25 srv4hai ping_SP[20273]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 10 18:25:31 srv4hai common[13717]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:25:31 srv4hai common[13741]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:25:39 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0 Feb 10 18:25:39 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0 Feb 10 18:25:39 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Feb 10 18:25:39 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147 Feb 10 18:25:39 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47 Feb 10 18:25:39 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0 Feb 10 18:25:39 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0 Feb 10 18:25:39 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#44035/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 10 18:25:39 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#33469/key rndc-key: signer "rndc-key" approved Feb 10 18:25:39 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#33469/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT Feb 10 18:25:39 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#33469/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f" Feb 10 18:25:39 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#33469/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A Feb 10 18:25:39 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#33469/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147 Feb 10 18:25:39 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147 Feb 10 18:25:39 srv4hai named[30406]: client @0x7f931c09e790 192.168.12.252#46361/key rndc-key: signer "rndc-key" approved Feb 10 18:25:39 srv4hai named[30406]: client @0x7f931c09e790 192.168.12.252#46361/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR Feb 10 18:25:39 srv4hai named[30406]: client @0x7f931c09e790 192.168.12.252#46361/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. Feb 10 18:25:39 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at Feb 10 18:25:39 srv4hai common[13767]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Feb 10 18:25:39 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf' Feb 10 18:25:40 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-47' - shIP/2:'192.168.12.147' Feb 10 18:25:40 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147' Feb 10 18:25:40 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883. Feb 10 18:25:40 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt'). Feb 10 18:25:40 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping Feb 10 18:25:40 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping Feb 10 18:25:40 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping Feb 10 18:25:40 srv4hai common[13834]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:25:41 srv4hai common[13858]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 10 18:25:51 srv4hai activate_scenario[13902]: SHELLY scenario: 'pcOFF(pcoff)' started Feb 10 18:25:51 srv4hai activate_scenario[13902]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''
finished