activate_scenario.sh
Fri Jul 26 19:36:27 CEST 2024
scenario: sekr_UM
source: 192.168.12.110
vorher: 19:36:28.082
http://192.168.12.123/relay/0?turn=toggle |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 19:36:28.149
Dauer: 66 msec
phName: 'shelly-10:'WZ Bücherregal''
urls : 1
vorher : 19:36:28.030
nachher: 19:36:28.156
Dauer : 127 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/26//scene_sekr_UM_20240726_193627.txt'
Jul 26 19:33:01 srv4hai CRON[15336]: (root) CMD (/etc/linetest/linetest.sh) Jul 26 19:33:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15357, secured, session= Jul 26 19:33:15 srv4hai dovecot: imap(miglincit)<15357> : Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jul 26 19:33:17 srv4hai dhcpd[30731]: DHCPDISCOVER from f4:cf:a2:e3:b2:94 via enp2s0 Jul 26 19:33:17 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.101 to f4:cf:a2:e3:b2:94 via enp2s0 Jul 26 19:33:17 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jul 26 19:33:17 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.101 Jul 26 19:33:17 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-01 Jul 26 19:33:17 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.101 (192.168.12.252) from f4:cf:a2:e3:b2:94 via enp2s0 Jul 26 19:33:17 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.101 to f4:cf:a2:e3:b2:94 via enp2s0 Jul 26 19:33:17 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#41495/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-01.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jul 26 19:33:17 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#50827/key rndc-key: signer "rndc-key" approved Jul 26 19:33:17 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#50827/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' TXT Jul 26 19:33:17 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#50827/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' TXT "00c768089445c9f8f8e0a9ab6d602edfb6" Jul 26 19:33:17 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#50827/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' A Jul 26 19:33:17 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#50827/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' A 192.168.12.101 Jul 26 19:33:17 srv4hai dhcpd[30731]: Added new forward map from shelly-01.viehai.at to 192.168.12.101 Jul 26 19:33:17 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#59477/key rndc-key: signer "rndc-key" approved Jul 26 19:33:17 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#59477/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '101.12.168.192.in-addr.arpa' PTR Jul 26 19:33:17 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#59477/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '101.12.168.192.in-addr.arpa' PTR shelly-01.viehai.at. Jul 26 19:33:17 srv4hai dhcpd[30731]: Added reverse map from 101.12.168.192.in-addr.arpa. to shelly-01.viehai.at Jul 26 19:33:17 srv4hai common[15359]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jul 26 19:33:17 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-01' - shIP/2:'' perform:'conf' Jul 26 19:33:18 srv4hai mosquitto[18551]: New connection from 192.168.12.101 on port 1883. Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-01' - shIP/2:'192.168.12.101' Jul 26 19:33:18 srv4hai mosquitto[18551]: Client shelly1pm-F4CFA2E3B294 already connected, closing old connection. Jul 26 19:33:18 srv4hai mosquitto[18551]: Socket error on client shelly1pm-F4CFA2E3B294, disconnecting. Jul 26 19:33:18 srv4hai mosquitto[18551]: New client connected from 192.168.12.101 as shelly1pm-F4CFA2E3B294 (c1, k60, u'shmqtt'). Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wandlicht beim Esstisch' already set for '192.168.12.101' Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(0)' - allready transmitted - skipping Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(1)' - allready transmitted - skipping Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(2)' - allready transmitted - skipping Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(3)' - allready transmitted - skipping Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(4)' - allready transmitted - skipping Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(5)' - allready transmitted - skipping Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY:'shelly-01' out:0 ON : MISSING Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY:'shelly-01' out:0 OFF: MISSING Jul 26 19:33:23 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1722015203 - 'ping_SP_1' Jul 26 19:33:23 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 26 19:34:01 srv4hai CRON[15542]: (root) CMD (/etc/linetest/linetest.sh) Jul 26 19:34:12 srv4hai ping_SP[32037]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1722015252 - 'ping_SP_0' Jul 26 19:34:12 srv4hai ping_SP[32037]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 26 19:34:37 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1722015277 - 'ping_SP_1' Jul 26 19:34:37 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 26 19:35:01 srv4hai CRON[15621]: (root) CMD (/etc/linetest/linetest.sh) Jul 26 19:35:26 srv4hai ping_SP[32037]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1722015326 - 'ping_SP_0' Jul 26 19:35:26 srv4hai ping_SP[32037]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 26 19:35:31 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=15671, secured, session= Jul 26 19:35:31 srv4hai dovecot: imap(miglincit)<15671> : Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jul 26 19:35:39 srv4hai activate_scenario[15681]: SHELLY scenario: 'pcOFF(pcoff)' started Jul 26 19:35:39 srv4hai activate_scenario[15681]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:'' Jul 26 19:35:39 srv4hai activate_scenario[15681]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:'' Jul 26 19:35:39 srv4hai postfix/pickup[12868]: 455706018A: uid=33 from= Jul 26 19:35:39 srv4hai postfix/cleanup[15734]: 455706018A: message-id=<20240726173539.455706018A@mail.viehai.at> Jul 26 19:35:39 srv4hai postfix/qmgr[8566]: 455706018A: from= , size=8219, nrcpt=1 (queue active) Jul 26 19:35:39 srv4hai postfix/local[15747]: warning: database /etc/aliases.db is older than source file /etc/aliases Jul 26 19:35:39 srv4hai postfix/local[15747]: 455706018A: to= , orig_to= , relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Jul 26 19:35:39 srv4hai postfix/cleanup[15734]: 4ABEB6018B: message-id=<20240726173539.4ABEB6018B@mail.viehai.at> Jul 26 19:35:39 srv4hai activate_scenario[15681]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off' Jul 26 19:35:39 srv4hai postfix/bounce[15748]: 455706018A: sender non-delivery notification: 4ABEB6018B Jul 26 19:35:39 srv4hai postfix/qmgr[8566]: 4ABEB6018B: from=<>, size=10101, nrcpt=1 (queue active) Jul 26 19:35:39 srv4hai postfix/qmgr[8566]: 455706018A: removed Jul 26 19:35:39 srv4hai proc_url[15752]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/26/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:''' Jul 26 19:35:39 srv4hai postfix/local[15747]: 4ABEB6018B: to= , relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Jul 26 19:35:39 srv4hai postfix/qmgr[8566]: 4ABEB6018B: removed Jul 26 19:35:39 srv4hai activate_scenario[15681]: SHELLY scenario: 'pcOFF(pcoff)' took 61 msec, shelly-0:'' Jul 26 19:35:50 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1722015350 - 'ping_SP_1' Jul 26 19:35:50 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 26 19:36:01 srv4hai CRON[15811]: (root) CMD (/etc/linetest/linetest.sh) Jul 26 19:36:14 srv4hai postfix/anvil[15315]: statistics: max connection rate 1/60s for (smtp:94.141.120.192) at Jul 26 19:32:54 Jul 26 19:36:14 srv4hai postfix/anvil[15315]: statistics: max connection count 1 for (smtp:94.141.120.192) at Jul 26 19:32:54 Jul 26 19:36:14 srv4hai postfix/anvil[15315]: statistics: max cache size 1 at Jul 26 19:32:54 Jul 26 19:36:15 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=15823, secured, session= Jul 26 19:36:15 srv4hai dovecot: imap(miglincit)<15823> : Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jul 26 19:36:20 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db. Jul 26 19:36:27 srv4hai activate_scenario[15834]: SHELLY scenario: 'sekr_UM(sekr_um)' started Jul 26 19:36:27 srv4hai activate_scenario[15834]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-10:'WZ Bücherregal'
finished