activate_scenario.sh
Wed Sep 11 21:45:46 CEST 2024
scenario: offDownstairs
source: 192.168.12.123
vorher: 21:45:46.593
http://192.168.12.101/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "input" |
nachher: 21:45:46.653
Dauer: 61 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 21:45:46.606
http://192.168.12.102/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "http" |
nachher: 21:45:46.647
Dauer: 42 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 21:45:46.618
http://192.168.12.103/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "http" |
nachher: 21:45:46.650
Dauer: 32 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 21:45:46.630
http://192.168.12.105/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 21:45:46.656
Dauer: 27 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 21:45:46.644
http://192.168.12.106/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 21:45:46.760
Dauer: 116 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 21:45:46.659
http://192.168.12.110/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 21:45:46.762
Dauer: 104 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 21:45:46.672
http://192.168.12.116/white/0?turn=off&brightness=70 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 70, "transition": 0, "power": 10.8, "overpower": false |
nachher: 21:45:46.764
Dauer: 93 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 21:45:46.684
http://192.168.12.116/white/1?turn=off&brightness=70 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 70, "transition": 0, "power": 10.8, "overpower": false |
nachher: 21:45:46.777
Dauer: 92 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 21:45:46.698
http://192.168.12.117/white/0?turn=off&brightness=50 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 50, "transition": 0, "power": 0, "overpower": false |
nachher: 21:45:46.794
Dauer: 96 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 21:45:46.711
http://192.168.12.117/white/1?turn=off&brightness=50 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 50, "transition": 0, "power": 0, "overpower": false |
nachher: 21:45:46.781
Dauer: 70 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 21:45:46.726
http://192.168.12.119/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 21:45:46.774
Dauer: 49 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 21:45:46.738
http://192.168.12.122/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 21:45:46.767
Dauer: 30 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 21:45:46.752
http://192.168.12.123/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 21:45:46.779
Dauer: 28 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 21:45:46.765
http://192.168.12.125/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 21:45:46.802
Dauer: 37 msec
phName: 'shelly-23:'Licht Sekretär''
urls : 14
vorher : 21:45:46.574
nachher: 21:45:46.808
Dauer : 235 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/11//scene_offDownstairs_20240911_214546.txt'
Sep 11 21:42:01 srv4hai CRON[23930]: (root) CMD (/etc/linetest/linetest.sh) Sep 11 21:42:08 srv4hai bt_scan[23915]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No' Sep 11 21:42:08 srv4hai bt_scan[23915]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Sep 11 21:42:08 srv4hai common[23954]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Sep 11 21:42:09 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1726083729-1726083719 Sep 11 21:42:09 srv4hai check_presence[23954]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Sep 11 21:42:09 srv4hai check_presence[23954]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence' Sep 11 21:42:09 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1726083729-1726083719 Sep 11 21:42:09 srv4hai check_presence[23954]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Sep 11 21:42:09 srv4hai check_presence[23954]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence' Sep 11 21:42:09 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1726083729-1726083719 Sep 11 21:42:09 srv4hai check_presence[23954]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Sep 11 21:42:09 srv4hai check_presence[23954]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Sep 11 21:42:09 srv4hai check_presence[23954]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_pcOFF) - sceneOFF(offAll) Sep 11 21:42:09 srv4hai check_presence[23954]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll Sep 11 21:42:22 srv4hai postfix/smtpd[24103]: connect from unknown[80.94.92.146] Sep 11 21:42:24 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Sep 11 21:42:25 srv4hai fetchmail[1651]: 52111 messages (52111 seen) for tmiglinci at mail.akis.at (-6300954 octets). Sep 11 21:42:25 srv4hai fetchmail[1651]: 10708 messages (10708 seen) for srozum at mail.akis.at (1292142207 octets). Sep 11 21:42:26 srv4hai postfix/smtpd[24103]: warning: unknown[80.94.92.146]: SASL PLAIN authentication failed: Sep 11 21:42:26 srv4hai postfix/smtpd[24103]: disconnect from unknown[80.94.92.146] ehlo=1 auth=0/1 quit=1 commands=2/3 Sep 11 21:42:26 srv4hai fetchmail[1651]: 25839 messages (25839 seen) for mrozum at mail.akis.at (202311258 octets). Sep 11 21:42:27 srv4hai fetchmail[1651]: 1143 messages (1143 seen) for admin@bastelstube.wien at pop3.world4you.com (51639660 octets). Sep 11 21:42:39 srv4hai ping_SP[3574]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1726083759 - 'ping_SP_1' Sep 11 21:42:39 srv4hai ping_SP[3574]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Sep 11 21:42:53 srv4hai ping_SP[2396]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1726083773 - 'ping_SP_0' Sep 11 21:42:53 srv4hai ping_SP[2396]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Sep 11 21:43:01 srv4hai CRON[24168]: (root) CMD (/etc/linetest/linetest.sh) Sep 11 21:43:11 srv4hai activate_scenario[24175]: SHELLY scenario: 'buero_UM(buero_um)' started Sep 11 21:43:11 srv4hai activate_scenario[24175]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht' Sep 11 21:43:11 srv4hai activate_scenario[24175]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht' Sep 11 21:43:11 srv4hai postfix/pickup[16394]: 779436345B: uid=33 from=Sep 11 21:43:11 srv4hai postfix/cleanup[24228]: 779436345B: message-id=<20240911194311.779436345B@mail.viehai.at> Sep 11 21:43:11 srv4hai postfix/qmgr[8566]: 779436345B: from= , size=9130, nrcpt=1 (queue active) Sep 11 21:43:11 srv4hai activate_scenario[24175]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle' Sep 11 21:43:11 srv4hai proc_url[24247]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/11/_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 11 21:43:11 srv4hai postfix/local[24241]: 779436345B: to= , orig_to= , relay=local, delay=0.03, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Sep 11 21:43:11 srv4hai postfix/cleanup[24228]: 7CE2D6345C: message-id=<20240911194311.7CE2D6345C@mail.viehai.at> Sep 11 21:43:11 srv4hai postfix/bounce[24242]: 779436345B: sender non-delivery notification: 7CE2D6345C Sep 11 21:43:11 srv4hai postfix/qmgr[8566]: 7CE2D6345C: from=<>, size=11052, nrcpt=1 (queue active) Sep 11 21:43:11 srv4hai postfix/qmgr[8566]: 779436345B: removed Sep 11 21:43:11 srv4hai activate_scenario[24175]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle' Sep 11 21:43:11 srv4hai proc_url[24260]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/11/_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 11 21:43:11 srv4hai postfix/local[24241]: 7CE2D6345C: to= , relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Sep 11 21:43:11 srv4hai postfix/qmgr[8566]: 7CE2D6345C: removed Sep 11 21:43:11 srv4hai activate_scenario[24175]: SHELLY scenario: 'buero_UM(buero_um)' took 73 msec, shelly-40:'Thomas Büro Licht' Sep 11 21:43:13 srv4hai activate_scenario[24301]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started Sep 11 21:43:13 srv4hai activate_scenario[24301]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht' Sep 11 21:43:13 srv4hai activate_scenario[24301]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' TO BE EXECUTED, shelly-12:'Schlafzimmer Licht' Sep 11 21:43:13 srv4hai postfix/pickup[16394]: 395CD6345B: uid=33 from= Sep 11 21:43:13 srv4hai postfix/cleanup[24228]: 395CD6345B: message-id=<20240911194313.395CD6345B@mail.viehai.at> Sep 11 21:43:13 srv4hai postfix/qmgr[8566]: 395CD6345B: from= , size=11614, nrcpt=1 (queue active) Sep 11 21:43:13 srv4hai postfix/local[24241]: 395CD6345B: to= , orig_to= , relay=local, delay=0.03, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Sep 11 21:43:13 srv4hai postfix/cleanup[24228]: 3DC866345C: message-id=<20240911194313.3DC866345C@mail.viehai.at> Sep 11 21:43:13 srv4hai postfix/bounce[24242]: 395CD6345B: sender non-delivery notification: 3DC866345C Sep 11 21:43:13 srv4hai postfix/qmgr[8566]: 3DC866345C: from=<>, size=13496, nrcpt=1 (queue active) Sep 11 21:43:13 srv4hai postfix/qmgr[8566]: 395CD6345B: removed Sep 11 21:43:13 srv4hai postfix/local[24241]: 3DC866345C: to= , relay=local, delay=0.02, delays=0.01/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Sep 11 21:43:13 srv4hai postfix/qmgr[8566]: 3DC866345C: removed Sep 11 21:43:13 srv4hai activate_scenario[24301]: SHELLY: scenario: 'bedlight_tom(bedlight_tom)'-'shelly-07'-'Nachtkästchen Lampe Thomas' --> '0?turn=toggle' Sep 11 21:43:13 srv4hai proc_url[24369]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/11/_0.log' - shellyUsage:'Nachtkästchen Lampe Thomas' - scUrl:'http://192.168.12.107/relay/0?turn=toggle' - phName:'shelly-12:'Schlafzimmer Licht'' Sep 11 21:43:13 srv4hai activate_scenario[24301]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' took 115 msec, shelly-12:'Schlafzimmer Licht' Sep 11 21:43:53 srv4hai ping_SP[3574]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1726083833 - 'ping_SP_1' Sep 11 21:43:53 srv4hai ping_SP[3574]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Sep 11 21:43:59 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db. Sep 11 21:44:01 srv4hai CRON[24438]: (root) CMD (/etc/linetest/linetest.sh) Sep 11 21:44:06 srv4hai ping_SP[2396]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1726083846 - 'ping_SP_0' Sep 11 21:44:06 srv4hai ping_SP[2396]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Sep 11 21:45:00 srv4hai smartd[27489]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 49 to 48 Sep 11 21:45:01 srv4hai CRON[24484]: (root) CMD (/etc/linetest/linetest.sh) Sep 11 21:45:06 srv4hai ping_SP[3574]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1726083906 - 'ping_SP_1' Sep 11 21:45:06 srv4hai ping_SP[3574]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Sep 11 21:45:19 srv4hai ping_SP[2396]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1726083919 - 'ping_SP_0' Sep 11 21:45:19 srv4hai ping_SP[2396]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Sep 11 21:45:37 srv4hai dhcpd[30731]: DHCPDISCOVER from e0:98:06:a9:f3:81 via enp2s0 Sep 11 21:45:37 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.104 to e0:98:06:a9:f3:81 via enp2s0 Sep 11 21:45:39 srv4hai dhcpd[30731]: DHCPDISCOVER from e0:98:06:a9:f3:81 via enp2s0 Sep 11 21:45:39 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.104 to e0:98:06:a9:f3:81 via enp2s0 Sep 11 21:45:39 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Sep 11 21:45:39 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.104 Sep 11 21:45:39 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-04 Sep 11 21:45:39 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.104 (192.168.12.252) from e0:98:06:a9:f3:81 via enp2s0 Sep 11 21:45:39 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.104 to e0:98:06:a9:f3:81 via enp2s0 Sep 11 21:45:39 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#39733/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-04.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 11 21:45:39 srv4hai named[30406]: client @0x7f935010f2a0 192.168.12.252#58651/key rndc-key: signer "rndc-key" approved Sep 11 21:45:39 srv4hai named[30406]: client @0x7f935010f2a0 192.168.12.252#58651/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-04.viehai.at' TXT Sep 11 21:45:39 srv4hai named[30406]: client @0x7f935010f2a0 192.168.12.252#58651/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-04.viehai.at' TXT "008d1b202806eda236ba1bc6f43dd868cf" Sep 11 21:45:39 srv4hai named[30406]: client @0x7f935010f2a0 192.168.12.252#58651/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-04.viehai.at' A Sep 11 21:45:39 srv4hai named[30406]: client @0x7f935010f2a0 192.168.12.252#58651/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-04.viehai.at' A 192.168.12.104 Sep 11 21:45:39 srv4hai dhcpd[30731]: Added new forward map from shelly-04.viehai.at to 192.168.12.104 Sep 11 21:45:39 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#54651/key rndc-key: signer "rndc-key" approved Sep 11 21:45:39 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#54651/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '104.12.168.192.in-addr.arpa' PTR Sep 11 21:45:39 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#54651/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. Sep 11 21:45:39 srv4hai dhcpd[30731]: Added reverse map from 104.12.168.192.in-addr.arpa. to shelly-04.viehai.at Sep 11 21:45:39 srv4hai common[24553]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Sep 11 21:45:39 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-04' - shIP/2:'' perform:'conf' Sep 11 21:45:40 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-04' - shIP/2:'192.168.12.104' Sep 11 21:45:40 srv4hai mosquitto[18551]: New connection from 192.168.12.104 on port 1883. Sep 11 21:45:40 srv4hai mosquitto[18551]: Client shelly1pm-E09806A9F381 already connected, closing old connection. Sep 11 21:45:40 srv4hai mosquitto[18551]: Socket error on client shelly1pm-E09806A9F381, disconnecting. Sep 11 21:45:40 srv4hai mosquitto[18551]: New client connected from 192.168.12.104 as shelly1pm-E09806A9F381 (c1, k60, u'shmqtt'). Sep 11 21:45:40 srv4hai conf_shelly.sh: SHELLY: usage/name 'Badezimmer' already set for '192.168.12.104' Sep 11 21:45:40 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(0)' - allready transmitted - skipping Sep 11 21:45:40 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(1)' - allready transmitted - skipping Sep 11 21:45:40 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(2)' - allready transmitted - skipping Sep 11 21:45:40 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(3)' - allready transmitted - skipping Sep 11 21:45:40 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(4)' - allready transmitted - skipping Sep 11 21:45:40 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(5)' - allready transmitted - skipping Sep 11 21:45:40 srv4hai conf_shelly.sh: SHELLY:'shelly-04' out:0 ON : MISSING Sep 11 21:45:40 srv4hai conf_shelly.sh: SHELLY:'shelly-04' out:0 OFF: MISSING Sep 11 21:45:46 srv4hai postfix/anvil[24107]: statistics: max connection rate 1/60s for (smtp:80.94.92.146) at Sep 11 21:42:22 Sep 11 21:45:46 srv4hai postfix/anvil[24107]: statistics: max connection count 1 for (smtp:80.94.92.146) at Sep 11 21:42:22 Sep 11 21:45:46 srv4hai postfix/anvil[24107]: statistics: max cache size 1 at Sep 11 21:42:22 Sep 11 21:45:46 srv4hai activate_scenario[24701]: SHELLY scenario: 'offDownstairs(offdownstairs)' started Sep 11 21:45:46 srv4hai activate_scenario[24701]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'
finished