activate_scenario.sh
Sat Sep 14 22:46:07 CEST 2024
scenario: buero_UM
source: 192.168.12.140
vorher: 22:46:07.494
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: 22:46:07.536
Dauer: 42 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 22:46:07.510
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: 22:46:07.559
Dauer: 48 msec
phName: 'shelly-40:'Thomas Büro Licht''
urls : 2
vorher : 22:46:07.469
nachher: 22:46:07.565
Dauer : 95 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/14//scene_buero_UM_20240914_224607.txt'
Sep 14 22:43:01 srv4hai CRON[16999]: (root) CMD (/etc/linetest/linetest.sh) Sep 14 22:43:10 srv4hai named[30406]: resolver priming query complete Sep 14 22:43:11 srv4hai named[30406]: resolver priming query complete Sep 14 22:43:12 srv4hai named[30406]: resolver priming query complete Sep 14 22:43:14 srv4hai named[30406]: resolver priming query complete Sep 14 22:43:36 srv4hai named[30406]: resolver priming query complete Sep 14 22:43:38 srv4hai dhcpd[30731]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0 Sep 14 22:43:38 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0 Sep 14 22:43:38 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Sep 14 22:43:38 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.122 Sep 14 22:43:38 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-22 Sep 14 22:43:38 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0 Sep 14 22:43:38 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0 Sep 14 22:43:38 srv4hai named[30406]: client @0x7f93506a3ad0 192.168.12.252#37115/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 14 22:43:38 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#34865/key rndc-key: signer "rndc-key" approved Sep 14 22:43:38 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#34865/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT Sep 14 22:43:38 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#34865/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2" Sep 14 22:43:38 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#34865/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A Sep 14 22:43:38 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#34865/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122 Sep 14 22:43:38 srv4hai dhcpd[30731]: Added new forward map from shelly-22.viehai.at to 192.168.12.122 Sep 14 22:43:38 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#52311/key rndc-key: signer "rndc-key" approved Sep 14 22:43:38 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#52311/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR Sep 14 22:43:38 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#52311/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at. Sep 14 22:43:38 srv4hai dhcpd[30731]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at Sep 14 22:43:38 srv4hai common[17025]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Sep 14 22:43:38 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf' Sep 14 22:43:39 srv4hai mosquitto[18551]: New connection from 192.168.12.122 on port 1883. Sep 14 22:43:39 srv4hai mosquitto[18551]: Client shelly1-98CDAC2E1CDA already connected, closing old connection. Sep 14 22:43:39 srv4hai mosquitto[18551]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting. Sep 14 22:43:39 srv4hai mosquitto[18551]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt'). Sep 14 22:43:39 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-22' - shIP/2:'192.168.12.122' Sep 14 22:43:39 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC' already set for '192.168.12.122' Sep 14 22:43:39 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping Sep 14 22:43:39 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping Sep 14 22:43:39 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping Sep 14 22:43:39 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping Sep 14 22:43:39 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping Sep 14 22:43:39 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 ON : MISSING Sep 14 22:43:39 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 OFF: MISSING Sep 14 22:44:01 srv4hai CRON[17177]: (root) CMD (/etc/linetest/linetest.sh) Sep 14 22:44:07 srv4hai ping_SP[22372]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1726346647 - 'ping_SP_0' Sep 14 22:44:07 srv4hai ping_SP[22372]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Sep 14 22:44:10 srv4hai ping_SP[11252]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1726346650 - 'ping_SP_1' Sep 14 22:44:10 srv4hai ping_SP[11252]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Sep 14 22:44:51 srv4hai postfix/smtpd[17242]: connect from unknown[94.141.120.39] Sep 14 22:44:51 srv4hai postfix/smtpd[17242]: warning: unknown[94.141.120.39]: SASL LOGIN authentication failed: Invalid authentication mechanism Sep 14 22:44:51 srv4hai postfix/smtpd[17242]: lost connection after AUTH from unknown[94.141.120.39] Sep 14 22:44:51 srv4hai postfix/smtpd[17242]: disconnect from unknown[94.141.120.39] ehlo=1 auth=0/1 commands=1/2 Sep 14 22:44:59 srv4hai activate_scenario[17250]: SHELLY scenario: 'buero_UM(buero_um)' started Sep 14 22:44:59 srv4hai activate_scenario[17250]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht' Sep 14 22:44:59 srv4hai activate_scenario[17250]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht' Sep 14 22:44:59 srv4hai postfix/pickup[8137]: 746796345B: uid=33 from=Sep 14 22:44:59 srv4hai postfix/cleanup[17303]: 746796345B: message-id=<20240914204459.746796345B@mail.viehai.at> Sep 14 22:44:59 srv4hai postfix/qmgr[8566]: 746796345B: from= , size=10675, nrcpt=1 (queue active) Sep 14 22:44:59 srv4hai activate_scenario[17250]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle' Sep 14 22:44:59 srv4hai proc_url[17322]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/14/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht'' Sep 14 22:44:59 srv4hai postfix/local[17317]: 746796345B: to= , orig_to= , relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Sep 14 22:44:59 srv4hai postfix/cleanup[17303]: 7AD486345C: message-id=<20240914204459.7AD486345C@mail.viehai.at> Sep 14 22:44:59 srv4hai postfix/bounce[17318]: 746796345B: sender non-delivery notification: 7AD486345C Sep 14 22:44:59 srv4hai postfix/qmgr[8566]: 7AD486345C: from=<>, size=12597, nrcpt=1 (queue active) Sep 14 22:44:59 srv4hai postfix/qmgr[8566]: 746796345B: removed Sep 14 22:44:59 srv4hai activate_scenario[17250]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle' Sep 14 22:44:59 srv4hai proc_url[17334]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/14/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht'' Sep 14 22:44:59 srv4hai postfix/local[17317]: 7AD486345C: to= , relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Sep 14 22:44:59 srv4hai postfix/qmgr[8566]: 7AD486345C: removed Sep 14 22:44:59 srv4hai activate_scenario[17250]: SHELLY scenario: 'buero_UM(buero_um)' took 73 msec, shelly-40:'Thomas Büro Licht' Sep 14 22:45:01 srv4hai CRON[17377]: (root) CMD (/etc/linetest/linetest.sh) Sep 14 22:45:01 srv4hai activate_scenario[17382]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started Sep 14 22:45:01 srv4hai activate_scenario[17382]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht' Sep 14 22:45:01 srv4hai activate_scenario[17382]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' TO BE EXECUTED, shelly-12:'Schlafzimmer Licht' Sep 14 22:45:01 srv4hai postfix/pickup[8137]: 98CB86345B: uid=33 from= Sep 14 22:45:01 srv4hai postfix/cleanup[17303]: 98CB86345B: message-id=<20240914204501.98CB86345B@mail.viehai.at> Sep 14 22:45:01 srv4hai postfix/qmgr[8566]: 98CB86345B: from= , size=12765, nrcpt=1 (queue active) Sep 14 22:45:01 srv4hai postfix/local[17317]: 98CB86345B: to= , orig_to= , relay=local, delay=0.02, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Sep 14 22:45:01 srv4hai postfix/cleanup[17303]: 9C17D6345C: message-id=<20240914204501.9C17D6345C@mail.viehai.at> Sep 14 22:45:01 srv4hai activate_scenario[17382]: SHELLY: scenario: 'bedlight_tom(bedlight_tom)'-'shelly-07'-'Nachtkästchen Lampe Thomas' --> '0?turn=toggle' Sep 14 22:45:01 srv4hai postfix/bounce[17318]: 98CB86345B: sender non-delivery notification: 9C17D6345C Sep 14 22:45:01 srv4hai postfix/qmgr[8566]: 9C17D6345C: from=<>, size=14647, nrcpt=1 (queue active) Sep 14 22:45:01 srv4hai postfix/qmgr[8566]: 98CB86345B: removed Sep 14 22:45:01 srv4hai proc_url[17449]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/14/_0.log' - shellyUsage:'Nachtkästchen Lampe Thomas' - scUrl:'http://192.168.12.107/relay/0?turn=toggle' - phName:'shelly-12:'Schlafzimmer Licht'' Sep 14 22:45:01 srv4hai postfix/local[17317]: 9C17D6345C: to= , relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Sep 14 22:45:01 srv4hai postfix/qmgr[8566]: 9C17D6345C: removed Sep 14 22:45:01 srv4hai activate_scenario[17382]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' took 80 msec, shelly-12:'Schlafzimmer Licht' Sep 14 22:45:19 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Sep 14 22:45:19 srv4hai fetchmail[1651]: 52323 messages (52323 seen) for tmiglinci at mail.akis.at (11497807 octets). Sep 14 22:45:20 srv4hai fetchmail[1651]: 10722 messages (10722 seen) for srozum at mail.akis.at (1301802736 octets). Sep 14 22:45:20 srv4hai ping_SP[22372]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1726346720 - 'ping_SP_0' Sep 14 22:45:20 srv4hai ping_SP[22372]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Sep 14 22:45:20 srv4hai fetchmail[1651]: 25919 messages (25919 seen) for mrozum at mail.akis.at (214707981 octets). Sep 14 22:45:21 srv4hai fetchmail[1651]: 1143 messages (1143 seen) for admin@bastelstube.wien at pop3.world4you.com (51639660 octets). Sep 14 22:45:23 srv4hai ping_SP[11252]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1726346723 - 'ping_SP_1' Sep 14 22:45:23 srv4hai ping_SP[11252]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Sep 14 22:45:38 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0 Sep 14 22:45:38 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0 Sep 14 22:45:40 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0 Sep 14 22:45:40 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0 Sep 14 22:45:44 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0 Sep 14 22:45:44 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0 Sep 14 22:45:56 srv4hai activate_scenario[17539]: SHELLY scenario: 'buero_UM(buero_um)' started Sep 14 22:45:56 srv4hai activate_scenario[17539]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht' Sep 14 22:45:56 srv4hai activate_scenario[17539]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht' Sep 14 22:45:56 srv4hai postfix/pickup[8137]: 4BE206345B: uid=33 from= Sep 14 22:45:56 srv4hai postfix/cleanup[17303]: 4BE206345B: message-id=<20240914204556.4BE206345B@mail.viehai.at> Sep 14 22:45:56 srv4hai postfix/qmgr[8566]: 4BE206345B: from= , size=16401, nrcpt=1 (queue active) Sep 14 22:45:56 srv4hai postfix/local[17317]: 4BE206345B: to= , orig_to= , relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Sep 14 22:45:56 srv4hai postfix/cleanup[17303]: 5170F6345C: message-id=<20240914204556.5170F6345C@mail.viehai.at> Sep 14 22:45:56 srv4hai postfix/bounce[17318]: 4BE206345B: sender non-delivery notification: 5170F6345C Sep 14 22:45:56 srv4hai postfix/qmgr[8566]: 5170F6345C: from=<>, size=18323, nrcpt=1 (queue active) Sep 14 22:45:56 srv4hai postfix/qmgr[8566]: 4BE206345B: removed Sep 14 22:45:56 srv4hai postfix/local[17317]: 5170F6345C: to= , relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Sep 14 22:45:56 srv4hai postfix/qmgr[8566]: 5170F6345C: removed Sep 14 22:45:56 srv4hai activate_scenario[17539]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle' Sep 14 22:45:56 srv4hai proc_url[17607]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/14/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht'' Sep 14 22:45:56 srv4hai activate_scenario[17539]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle' Sep 14 22:45:56 srv4hai proc_url[17618]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/14/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht'' Sep 14 22:45:56 srv4hai activate_scenario[17539]: SHELLY scenario: 'buero_UM(buero_um)' took 123 msec, shelly-40:'Thomas Büro Licht' Sep 14 22:46:01 srv4hai CRON[17659]: (root) CMD (/etc/linetest/linetest.sh) Sep 14 22:46:07 srv4hai activate_scenario[17665]: SHELLY scenario: 'buero_UM(buero_um)' started Sep 14 22:46:07 srv4hai activate_scenario[17665]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
finished