activate_scenario.sh
Sun Aug 4 00:45:58 CEST 2024
scenario: herdzeile_UM
source: 192.168.12.129
vorher: 00:45:58.442
http://192.168.12.117/white/0?turn=toggle&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": 13.21, "overpower": false |
nachher: 00:45:58.590
Dauer: 148 msec
phName: 'shelly-29:'Schalter Herdzeile''
vorher: 00:45:58.457
http://192.168.12.117/white/1?turn=toggle&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": 13.21, "overpower": false |
nachher: 00:45:58.590
Dauer: 132 msec
phName: 'shelly-29:'Schalter Herdzeile''
urls : 2
vorher : 00:45:58.420
nachher: 00:45:58.599
Dauer : 179 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/04//scene_herdzeile_UM_20240804_004558.txt'
Aug 4 00:42:01 srv4hai CRON[1021]: (root) CMD (/etc/linetest/linetest.sh) Aug 4 00:42:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=1029, secured, session= Aug 4 00:42:19 srv4hai dovecot: imap(miglincit)<1029> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Aug 4 00:42:30 srv4hai dhcpd[30731]: uid lease 192.168.12.40 for client ec:da:3b:c6:1d:3c is duplicate on 192.168.12.0/24 Aug 4 00:42:30 srv4hai dhcpd[30731]: DHCPDISCOVER from ec:da:3b:c6:1d:3c via enp2s0 Aug 4 00:42:30 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0 Aug 4 00:42:30 srv4hai dhcpd[30731]: uid lease 192.168.12.40 for client ec:da:3b:c6:1d:3c is duplicate on 192.168.12.0/24 Aug 4 00:42:30 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Aug 4 00:42:30 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.150 Aug 4 00:42:30 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-50 Aug 4 00:42:30 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.150 (192.168.12.252) from ec:da:3b:c6:1d:3c via enp2s0 Aug 4 00:42:30 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0 Aug 4 00:42:30 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#35051/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-50.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Aug 4 00:42:30 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#46669/key rndc-key: signer "rndc-key" approved Aug 4 00:42:30 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#46669/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' TXT Aug 4 00:42:30 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#46669/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' TXT "31ddfcf6e79cbbdf4e55e03247020075f9" Aug 4 00:42:30 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#46669/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' A Aug 4 00:42:30 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#46669/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' A 192.168.12.150 Aug 4 00:42:30 srv4hai dhcpd[30731]: Added new forward map from shelly-50.viehai.at to 192.168.12.150 Aug 4 00:42:30 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#45635/key rndc-key: signer "rndc-key" approved Aug 4 00:42:30 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#45635/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '150.12.168.192.in-addr.arpa' PTR Aug 4 00:42:30 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#45635/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '150.12.168.192.in-addr.arpa' PTR shelly-50.viehai.at. Aug 4 00:42:30 srv4hai dhcpd[30731]: Added reverse map from 150.12.168.192.in-addr.arpa. to shelly-50.viehai.at Aug 4 00:42:30 srv4hai common[1038]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Aug 4 00:42:30 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-50' - shIP/2:'' perform:'conf' Aug 4 00:42:30 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-50' - shIP/2:'192.168.12.150' Aug 4 00:42:30 srv4hai mosquitto[18551]: New connection from 192.168.12.150 on port 1883. Aug 4 00:42:30 srv4hai mosquitto[18551]: Client shellypmminig3-ecda3bc61d3c already connected, closing old connection. Aug 4 00:42:30 srv4hai mosquitto[18551]: Socket error on client shellypmminig3-ecda3bc61d3c, disconnecting. Aug 4 00:42:30 srv4hai mosquitto[18551]: New client connected from 192.168.12.150 as shellypmminig3-ecda3bc61d3c (c1, k60, u'shmqtt'). Aug 4 00:42:31 srv4hai conf_shelly.sh: SHELLY: usage/name '50-TBD' already set for '192.168.12.150' Aug 4 00:42:31 srv4hai conf_shelly.sh: SHELLY:'shelly-50' no WebHook Aug 4 00:42:36 srv4hai ping_SP[28675]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1722724956 - 'ping_SP_1' Aug 4 00:42:36 srv4hai ping_SP[28675]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Aug 4 00:42:45 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Aug 4 00:42:46 srv4hai fetchmail[1651]: 50010 messages (50010 seen) for tmiglinci at mail.akis.at (-165346342 octets). Aug 4 00:42:46 srv4hai fetchmail[1651]: 10545 messages (10545 seen) for srozum at mail.akis.at (1267365444 octets). Aug 4 00:42:47 srv4hai fetchmail[1651]: 25113 messages (25113 seen) for mrozum at mail.akis.at (85159740 octets). Aug 4 00:42:47 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets). Aug 4 00:42:53 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db. Aug 4 00:42:54 srv4hai ping_SP[10823]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1722724974 - 'ping_SP_0' Aug 4 00:42:54 srv4hai ping_SP[10823]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Aug 4 00:43:01 srv4hai CRON[1121]: (root) CMD (/etc/linetest/linetest.sh) Aug 4 00:43:36 srv4hai common[1133]: SHELLY common.sh inkludiert von ./bt_scan.sh Aug 4 00:43:46 srv4hai bt_scan[1133]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No' Aug 4 00:43:46 srv4hai bt_scan[1133]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Aug 4 00:43:46 srv4hai common[1169]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Aug 4 00:43:47 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1722725027-1722725016 Aug 4 00:43:47 srv4hai check_presence[1169]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Aug 4 00:43:47 srv4hai check_presence[1169]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence' Aug 4 00:43:47 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1722725027-1722725016 Aug 4 00:43:47 srv4hai check_presence[1169]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Aug 4 00:43:47 srv4hai check_presence[1169]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence' Aug 4 00:43:47 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1722725027-1722725016 Aug 4 00:43:47 srv4hai check_presence[1169]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Aug 4 00:43:47 srv4hai check_presence[1169]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Aug 4 00:43:47 srv4hai check_presence[1169]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_bedlight_tom) - sceneOFF(offAll) Aug 4 00:43:47 srv4hai check_presence[1169]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll Aug 4 00:43:50 srv4hai ping_SP[28675]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1722725030 - 'ping_SP_1' Aug 4 00:43:50 srv4hai ping_SP[28675]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Aug 4 00:44:01 srv4hai CRON[1338]: (root) CMD (/etc/linetest/linetest.sh) Aug 4 00:44:07 srv4hai ping_SP[10823]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1722725047 - 'ping_SP_0' Aug 4 00:44:07 srv4hai ping_SP[10823]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Aug 4 00:44:32 srv4hai named[30406]: resolver priming query complete Aug 4 00:45:01 srv4hai CRON[1366]: (root) CMD (/etc/linetest/linetest.sh) Aug 4 00:45:03 srv4hai ping_SP[28675]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1722725103 - 'ping_SP_1' Aug 4 00:45:03 srv4hai ping_SP[28675]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Aug 4 00:45:19 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=1393, secured, session= Aug 4 00:45:19 srv4hai dovecot: imap(miglincit)<1393> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Aug 4 00:45:20 srv4hai ping_SP[10823]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1722725120 - 'ping_SP_0' Aug 4 00:45:20 srv4hai ping_SP[10823]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Aug 4 00:45:25 srv4hai common[1409]: SHELLY common.sh inkludiert von ./bt_scan.sh Aug 4 00:45:35 srv4hai bt_scan[1409]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes' Aug 4 00:45:35 srv4hai bt_scan[1409]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61' Aug 4 00:45:50 srv4hai activate_scenario[1444]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started Aug 4 00:45:50 srv4hai activate_scenario[1444]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-29:'Schalter Herdzeile' Aug 4 00:45:50 srv4hai activate_scenario[1444]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' TO BE EXECUTED, shelly-29:'Schalter Herdzeile' Aug 4 00:45:50 srv4hai postfix/pickup[19628]: 783A26018A: uid=33 from= Aug 4 00:45:50 srv4hai postfix/cleanup[1497]: 783A26018A: message-id=<20240803224550.783A26018A@mail.viehai.at> Aug 4 00:45:50 srv4hai postfix/qmgr[8566]: 783A26018A: from= , size=9973, nrcpt=1 (queue active) Aug 4 00:45:50 srv4hai postfix/local[1510]: warning: database /etc/aliases.db is older than source file /etc/aliases Aug 4 00:45:50 srv4hai activate_scenario[1444]: SHELLY: scenario: 'herdzeile_UM(herdzeile_um)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=toggle&brightness=50' Aug 4 00:45:50 srv4hai proc_url[1515]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/04/_0.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=toggle&brightness=50' - phName:'shelly-29:'Schalter Herdzeile'' Aug 4 00:45:50 srv4hai postfix/local[1510]: 783A26018A: to= , orig_to= , relay=local, delay=0.04, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null") Aug 4 00:45:50 srv4hai postfix/cleanup[1497]: 80D4A6018B: message-id=<20240803224550.80D4A6018B@mail.viehai.at> Aug 4 00:45:50 srv4hai activate_scenario[1444]: SHELLY: scenario: 'herdzeile_UM(herdzeile_um)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=toggle&brightness=50' Aug 4 00:45:50 srv4hai proc_url[1526]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/04/_1.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=toggle&brightness=50' - phName:'shelly-29:'Schalter Herdzeile'' Aug 4 00:45:50 srv4hai postfix/bounce[1513]: 783A26018A: sender non-delivery notification: 80D4A6018B Aug 4 00:45:50 srv4hai postfix/qmgr[8566]: 80D4A6018B: from=<>, size=11855, nrcpt=1 (queue active) Aug 4 00:45:50 srv4hai postfix/qmgr[8566]: 783A26018A: removed Aug 4 00:45:50 srv4hai postfix/local[1510]: 80D4A6018B: to= , relay=local, delay=0.02, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Aug 4 00:45:50 srv4hai postfix/qmgr[8566]: 80D4A6018B: removed Aug 4 00:45:50 srv4hai activate_scenario[1444]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' took 90 msec, shelly-29:'Schalter Herdzeile' Aug 4 00:45:58 srv4hai activate_scenario[1569]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started Aug 4 00:45:58 srv4hai activate_scenario[1569]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-29:'Schalter Herdzeile'
finished