activate_scenario.sh
Thu Apr 11 11:47:12 CEST 2024
scenario: LOG_gehen
source: 192.168.12.103
urls : 0
vorher : 11:47:12.654
nachher: 11:47:12.659
Dauer : 5 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/11//scene_LOG_gehen_20240411_114712.txt'
Apr 11 11:44:01 srv4hai CRON[28973]: (root) CMD (/etc/linetest/linetest.sh) Apr 11 11:44:06 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1712828646 - 'ping_SP_0' Apr 11 11:44:06 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 11 11:44:25 srv4hai nmbd[30864]: [2024/04/11 11:44:25.143594, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail) Apr 11 11:44:25 srv4hai nmbd[30864]: find_domain_master_name_query_fail: Apr 11 11:44:25 srv4hai nmbd[30864]: Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP. Apr 11 11:44:25 srv4hai nmbd[30864]: Unable to sync browse lists in this workgroup. Apr 11 11:44:28 srv4hai dhcpd[28085]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0 Apr 11 11:44:28 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0 Apr 11 11:44:28 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Apr 11 11:44:28 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.122 Apr 11 11:44:28 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-22 Apr 11 11:44:28 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0 Apr 11 11:44:28 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0 Apr 11 11:44:28 srv4hai named[15509]: client @0x7f930c03c330 192.168.12.252#41003/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 11 11:44:28 srv4hai named[15509]: client @0x7f93040065c0 192.168.12.252#41283/key rndc-key: signer "rndc-key" approved Apr 11 11:44:28 srv4hai named[15509]: client @0x7f93040065c0 192.168.12.252#41283/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT Apr 11 11:44:28 srv4hai named[15509]: client @0x7f93040065c0 192.168.12.252#41283/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2" Apr 11 11:44:28 srv4hai named[15509]: client @0x7f93040065c0 192.168.12.252#41283/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A Apr 11 11:44:28 srv4hai named[15509]: client @0x7f93040065c0 192.168.12.252#41283/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122 Apr 11 11:44:28 srv4hai dhcpd[28085]: Added new forward map from shelly-22.viehai.at to 192.168.12.122 Apr 11 11:44:28 srv4hai named[15509]: client @0x7f93180c5880 192.168.12.252#53847/key rndc-key: signer "rndc-key" approved Apr 11 11:44:28 srv4hai named[15509]: client @0x7f93180c5880 192.168.12.252#53847/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR Apr 11 11:44:28 srv4hai named[15509]: client @0x7f93180c5880 192.168.12.252#53847/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. Apr 11 11:44:28 srv4hai dhcpd[28085]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at Apr 11 11:44:28 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Apr 11 11:44:30 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-22' - shIP/2:'192.168.12.122' Apr 11 11:44:30 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC' already set for '192.168.12.122' Apr 11 11:44:30 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping Apr 11 11:44:30 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping Apr 11 11:44:30 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping Apr 11 11:44:30 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping Apr 11 11:44:30 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping Apr 11 11:44:30 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 ON : MISSING Apr 11 11:44:30 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 OFF: MISSING Apr 11 11:44:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29122, secured, session= Apr 11 11:44:53 srv4hai dovecot: imap(miglincit)<29122> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Apr 11 11:45:01 srv4hai CRON[29125]: (root) CMD (/etc/linetest/linetest.sh) Apr 11 11:45:22 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Apr 11 11:45:23 srv4hai fetchmail[1651]: 41743 messages (41742 seen) for tmiglinci at mail.akis.at (-824029414 octets). Apr 11 11:45:23 srv4hai postfix/smtpd[29136]: connect from localhost[127.0.0.1] Apr 11 11:45:23 srv4hai postfix/smtpd[29136]: 9A8986011D: client=localhost[127.0.0.1] Apr 11 11:45:23 srv4hai postfix/cleanup[29139]: 9A8986011D: message-id= Apr 11 11:45:23 srv4hai postfix/qmgr[15291]: 9A8986011D: from= , size=64107, nrcpt=1 (queue active) Apr 11 11:45:23 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:41743 of 41743 (63825 octets) not flushed Apr 11 11:45:23 srv4hai postfix/smtpd[29136]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 Apr 11 11:45:23 srv4hai postfix/local[29140]: 9A8986011D: to= , relay=local, delay=0.12, delays=0.09/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Apr 11 11:45:23 srv4hai postfix/qmgr[15291]: 9A8986011D: removed Apr 11 11:45:24 srv4hai fetchmail[1651]: 10119 messages (10119 seen) for srozum at mail.akis.at (1224177381 octets). Apr 11 11:45:24 srv4hai fetchmail[1651]: 22798 messages (22798 seen) for mrozum at mail.akis.at (-355540289 octets). Apr 11 11:45:24 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets). Apr 11 11:45:29 srv4hai ping_SP[19663]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1712828729 - 'ping_SP_0' Apr 11 11:45:56 srv4hai ping_SP[19663]: SHELLY (0)- ping 192.168.12.61 2 not answered (1) @~1712828756 - 'ping_SP_0' Apr 11 11:46:01 srv4hai CRON[29185]: (root) CMD (/etc/linetest/linetest.sh) Apr 11 11:46:22 srv4hai ping_SP[19663]: SHELLY (0)- ping 192.168.12.61 3 not answered (1) @~1712828782 - 'ping_SP_0' Apr 11 11:46:48 srv4hai ping_SP[19663]: SHELLY (0)- ping 192.168.12.61 4 not answered (1) @~1712828808 - 'ping_SP_0' Apr 11 11:46:53 srv4hai common[29235]: SHELLY common.sh inkludiert von ./bt_scan.sh Apr 11 11:47:01 srv4hai CRON[29251]: (root) CMD (/etc/linetest/linetest.sh) Apr 11 11:47:03 srv4hai bt_scan[29235]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No' Apr 11 11:47:03 srv4hai bt_scan[29235]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Apr 11 11:47:03 srv4hai common[29277]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Apr 11 11:47:03 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1712828823-1712828813 Apr 11 11:47:03 srv4hai check_presence[29277]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Apr 11 11:47:03 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1712828823-1712828813 Apr 11 11:47:03 srv4hai check_presence[29277]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Apr 11 11:47:03 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1712828823-1712828813 Apr 11 11:47:03 srv4hai check_presence[29277]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Apr 11 11:47:03 srv4hai check_presence[29277]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/TRY) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Apr 11 11:47:03 srv4hai check_presence[29277]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll Apr 11 11:47:11 srv4hai ping_SP[19663]: SHELLY (0)- ping 192.168.12.61 5 not answered (1) @~1712828831 - 'ping_SP_0' Apr 11 11:47:11 srv4hai ping_SP[19663]: SHELLY (0)- ping 192.168.12.61 5 not answered - abort (19663) @~1712828831 - rm 'ping_SP_0' Apr 11 11:47:11 srv4hai common[29411]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Apr 11 11:47:12 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'19'=1712828832-1712828813 Apr 11 11:47:12 srv4hai check_presence[29411]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Apr 11 11:47:12 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'19'=1712828832-1712828813 Apr 11 11:47:12 srv4hai check_presence[29411]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Apr 11 11:47:12 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'19'=1712828832-1712828813 Apr 11 11:47:12 srv4hai check_presence[29411]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Apr 11 11:47:12 srv4hai check_presence[29411]: SHELLY (ping_SP__NO_ping)-(0) what: 'presence' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false' Apr 11 11:47:12 srv4hai check_presence[29411]: SHELLY (ping_SP__NO_ping)-(0)-presence: activate_scenario.shtml: offAll Apr 11 11:47:12 srv4hai postfix/pickup[26141]: 39C736022F: uid=33 from= Apr 11 11:47:12 srv4hai postfix/cleanup[29529]: 39C736022F: message-id=<20240411094712.39C736022F@mail.viehai.at> Apr 11 11:47:12 srv4hai postfix/qmgr[15291]: 39C736022F: from= , size=10303, nrcpt=1 (queue active) Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY scenario: 'offAll(offall)' started Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'kanaDaham' Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY scenario: 'offAll(offall)' TO BE EXECUTED, phoneName:'kanaDaham' Apr 11 11:47:12 srv4hai postfix/pickup[26141]: 4D20860230: uid=33 from= Apr 11 11:47:12 srv4hai postfix/cleanup[29529]: 4D20860230: message-id=<20240411094712.4D20860230@mail.viehai.at> Apr 11 11:47:12 srv4hai postfix/qmgr[15291]: 4D20860230: from= , size=11129, nrcpt=1 (queue active) Apr 11 11:47:12 srv4hai postfix/local[29591]: 4D20860230: to= , orig_to= , relay=local, delay=0.06, delays=0.01/0.01/0/0.03, dsn=5.1.1, status=bounced (unknown user: "null") Apr 11 11:47:12 srv4hai postfix/cleanup[29529]: 592B460249: message-id=<20240411094712.592B460249@mail.viehai.at> Apr 11 11:47:12 srv4hai postfix/bounce[29597]: 4D20860230: sender non-delivery notification: 592B460249 Apr 11 11:47:12 srv4hai postfix/qmgr[15291]: 592B460249: from=<>, size=13011, nrcpt=1 (queue active) Apr 11 11:47:12 srv4hai postfix/qmgr[15291]: 4D20860230: removed Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY: scenario: 'offAll(offall)'-'shelly-01'-'Wandlicht beim Esstisch' --> '0?turn=off' Apr 11 11:47:12 srv4hai proc_url[29605]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_0.log' - shellyUsage:'Wandlicht beim Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'phoneName:'kanaDaham'' Apr 11 11:47:12 srv4hai postfix/local[29591]: 592B460249: to= , relay=local, delay=0.03, delays=0.01/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Apr 11 11:47:12 srv4hai postfix/qmgr[15291]: 592B460249: removed Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY: scenario: 'offAll(offall)'-'shelly-02'-'Balkon-Licht' --> '0?turn=off' Apr 11 11:47:12 srv4hai proc_url[29616]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_1.log' - shellyUsage:'Balkon-Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'phoneName:'kanaDaham'' Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY: scenario: 'offAll(offall)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off' Apr 11 11:47:12 srv4hai proc_url[29627]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_2.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'phoneName:'kanaDaham'' Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY: scenario: 'offAll(offall)'-'shelly-04'-'Badezimmer' --> '0?turn=off' Apr 11 11:47:12 srv4hai proc_url[29645]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_3.log' - shellyUsage:'Badezimmer' - scUrl:'http://192.168.12.104/relay/0?turn=off' - phName:'phoneName:'kanaDaham'' Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY: scenario: 'offAll(offall)'-'shelly-05'-'Stehlampe Anne hell' --> '0?turn=off' Apr 11 11:47:12 srv4hai proc_url[29659]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_4.log' - shellyUsage:'Stehlampe Anne hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'phoneName:'kanaDaham'' Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY: scenario: 'offAll(offall)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=off' Apr 11 11:47:12 srv4hai proc_url[29670]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_5.log' - shellyUsage:'Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'phoneName:'kanaDaham'' Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY: scenario: 'offAll(offall)'-'shelly-07'-'Nachtkästchen Lampe Thomas' --> '0?turn=off' Apr 11 11:47:12 srv4hai proc_url[29683]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_6.log' - shellyUsage:'Nachtkästchen Lampe Thomas' - scUrl:'http://192.168.12.107/relay/0?turn=off' - phName:'phoneName:'kanaDaham'' Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY: scenario: 'offAll(offall)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=off' Apr 11 11:47:12 srv4hai proc_url[29694]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_7.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=off' - phName:'phoneName:'kanaDaham'' Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY: scenario: 'offAll(offall)'-'shelly-09'-'Sophie Licht' --> '0?turn=off' Apr 11 11:47:12 srv4hai proc_url[29705]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_8.log' - shellyUsage:'Sophie Licht' - scUrl:'http://192.168.12.109/relay/0?turn=off' - phName:'phoneName:'kanaDaham'' Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY: scenario: 'offAll(offall)'-'shelly-10'-'WZ Bücherregal' --> '0?turn=off' Apr 11 11:47:12 srv4hai proc_url[29745]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_9.log' - shellyUsage:'WZ Bücherregal' - scUrl:'http://192.168.12.110/relay/0?turn=off' - phName:'phoneName:'kanaDaham'' Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY: scenario: 'offAll(offall)'-'shelly-12'-'Schlafzimmer Licht' --> '0?turn=off' Apr 11 11:47:12 srv4hai proc_url[29801]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_10.log' - shellyUsage:'Schlafzimmer Licht' - scUrl:'http://192.168.12.112/relay/0?turn=off' - phName:'phoneName:'kanaDaham'' Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY: scenario: 'offAll(offall)'-'shelly-15'-'15-Test Weiss' --> '0?turn=off&brightness=50' Apr 11 11:47:12 srv4hai proc_url[29818]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_11.log' - shellyUsage:'15-Test Weiss' - scUrl:'http://192.168.12.115/white/0?turn=off&brightness=50' - phName:'phoneName:'kanaDaham'' Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY: scenario: 'offAll(offall)'-'shelly-15'-'15-Test Weiss' --> '1?turn=off&brightness=50' Apr 11 11:47:12 srv4hai proc_url[29839]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_12.log' - shellyUsage:'15-Test Weiss' - scUrl:'http://192.168.12.115/white/1?turn=off&brightness=50' - phName:'phoneName:'kanaDaham'' Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY: scenario: 'offAll(offall)'-'shelly-15'-'15-Test Weiss' --> '2?turn=off&brightness=50' Apr 11 11:47:12 srv4hai proc_url[29873]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_13.log' - shellyUsage:'15-Test Weiss' - scUrl:'http://192.168.12.115/white/2?turn=off&brightness=50' - phName:'phoneName:'kanaDaham'' Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY: scenario: 'offAll(offall)'-'shelly-15'-'15-Test Weiss' --> '3?turn=off&brightness=50' Apr 11 11:47:12 srv4hai proc_url[29908]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_14.log' - shellyUsage:'15-Test Weiss' - scUrl:'http://192.168.12.115/white/3?turn=off&brightness=50' - phName:'phoneName:'kanaDaham'' Apr 11 11:47:12 srv4hai activate_scenario[29537]: SHELLY: scenario: 'offAll(offall)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=off&brightness=50' Apr 11 11:47:12 srv4hai proc_url[29932]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/11/_15.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=off&brightness=50' - phName:'phoneName:'kanaDaham'' Apr 11 11:47:12 srv4hai activate_scenario[29846]: SHELLY scenario: 'LOG_gehen(log_gehen)' started Apr 11 11:47:12 srv4hai activate_scenario[29846]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
finished