activate_scenario.sh
Fri Apr 12 16:54:51 CEST 2024
scenario: LOG_gehen
source: 192.168.12.103

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to ''

scenario: 'LOG_AUS' - 'LOG_gehen' - 'log_gehen'

scenario: 'LOG_AUS' - 'LOG_gehen' - 'log_gehen'

urls : 0
vorher : 16:54:51.484
nachher: 16:54:51.490
Dauer : 6 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/12//scene_LOG_gehen_20240412_165451.txt'


syslog

Apr 12 16:51:01 srv4hai CRON[20570]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 16:52:01 srv4hai CRON[20581]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 16:52:46 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 12 16:52:46 srv4hai fetchmail[1651]: 41843 messages (41842 seen) for tmiglinci at mail.akis.at (-816250922 octets).
Apr 12 16:52:47 srv4hai postfix/smtpd[20594]: connect from localhost[127.0.0.1]
Apr 12 16:52:47 srv4hai postfix/smtpd[20594]: 0C1B760119: client=localhost[127.0.0.1]
Apr 12 16:52:47 srv4hai postfix/cleanup[20597]: 0C1B760119: message-id=<12e7a56c.AXMAADzpFycAAcpZzN4AAAAZMJIAAAAADk0AJLdiAAi0PQBmGUp7@mailjet.com>
Apr 12 16:52:47 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:41843 of 41843 (119838 octets) not flushed
Apr 12 16:52:47 srv4hai postfix/qmgr[15291]: 0C1B760119: from=, size=120060, nrcpt=1 (queue active)
Apr 12 16:52:47 srv4hai postfix/smtpd[20594]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr 12 16:52:47 srv4hai postfix/local[20598]: 0C1B760119: to=, relay=local, delay=0.09, delays=0.07/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 12 16:52:47 srv4hai postfix/qmgr[15291]: 0C1B760119: removed
Apr 12 16:52:47 srv4hai fetchmail[1651]: 10128 messages (10128 seen) for srozum at mail.akis.at (1224458143 octets).
Apr 12 16:52:47 srv4hai fetchmail[1651]: 22833 messages (22833 seen) for mrozum at mail.akis.at (-351677155 octets).
Apr 12 16:52:48 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr 12 16:53:01 srv4hai CRON[20604]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 16:53:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20617, secured, session=
Apr 12 16:53:53 srv4hai dovecot: imap(miglincit)<20617>: Logged out in=686 out=42196 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=18060 body_count=0 body_bytes=0
Apr 12 16:54:01 srv4hai CRON[20622]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 16:54:50 srv4hai common[20654]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 12 16:54:50 srv4hai bt_scan[20654]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'No'
Apr 12 16:54:50 srv4hai bt_scan[20654]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence
Apr 12 16:54:50 srv4hai common[20684]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 12 16:54:51 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'23'=1712933691-1712933668
Apr 12 16:54:51 srv4hai check_presence[20684]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 12 16:54:51 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'23'=1712933691-1712933668
Apr 12 16:54:51 srv4hai check_presence[20684]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr 12 16:54:51 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'23'=1712933691-1712933668
Apr 12 16:54:51 srv4hai check_presence[20684]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 12 16:54:51 srv4hai check_presence[20684]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Apr 12 16:54:51 srv4hai check_presence[20684]: SHELLY (bt_scan)-(1)-presence: activate_scenario.shtml: offAll
Apr 12 16:54:51 srv4hai postfix/pickup[16351]: 2FE176022F: uid=33 from=
Apr 12 16:54:51 srv4hai postfix/cleanup[20806]: 2FE176022F: message-id=<20240412145451.2FE176022F@mail.viehai.at>
Apr 12 16:54:51 srv4hai postfix/qmgr[15291]: 2FE176022F: from=, size=4293, nrcpt=1 (queue active)
Apr 12 16:54:51 srv4hai activate_scenario[20814]: SHELLY scenario: 'offAll(offall)' started
Apr 12 16:54:51 srv4hai activate_scenario[20814]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'kanaDaham'
Apr 12 16:54:51 srv4hai activate_scenario[20814]: SHELLY scenario: 'offAll(offall)' TO BE EXECUTED, phoneName:'kanaDaham'
Apr 12 16:54:51 srv4hai postfix/pickup[16351]: 3F1FB60230: uid=33 from=
Apr 12 16:54:51 srv4hai postfix/cleanup[20806]: 3F1FB60230: message-id=<20240412145451.3F1FB60230@mail.viehai.at>
Apr 12 16:54:51 srv4hai postfix/qmgr[15291]: 3F1FB60230: from=, size=5119, nrcpt=1 (queue active)
Apr 12 16:54:51 srv4hai postfix/local[20868]: 3F1FB60230: to=, orig_to=, relay=local, delay=0.06, delays=0.01/0.02/0/0.03, dsn=5.1.1, status=bounced (unknown user: "null")
Apr 12 16:54:51 srv4hai postfix/cleanup[20806]: 4C85660249: message-id=<20240412145451.4C85660249@mail.viehai.at>
Apr 12 16:54:51 srv4hai postfix/bounce[20874]: 3F1FB60230: sender non-delivery notification: 4C85660249
Apr 12 16:54:51 srv4hai postfix/qmgr[15291]: 4C85660249: from=<>, size=7001, nrcpt=1 (queue active)
Apr 12 16:54:51 srv4hai postfix/qmgr[15291]: 3F1FB60230: removed
Apr 12 16:54:51 srv4hai activate_scenario[20814]: SHELLY: scenario: 'offAll(offall)'-'shelly-01'-'Wandlicht beim Esstisch' --> '0?turn=off'
Apr 12 16:54:51 srv4hai proc_url[20882]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/12/_0.log' - shellyUsage:'Wandlicht beim Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 12 16:54:51 srv4hai postfix/local[20868]: 4C85660249: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 12 16:54:51 srv4hai postfix/qmgr[15291]: 4C85660249: removed
Apr 12 16:54:51 srv4hai activate_scenario[20814]: SHELLY: scenario: 'offAll(offall)'-'shelly-02'-'Balkon-Licht' --> '0?turn=off'
Apr 12 16:54:51 srv4hai proc_url[20893]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/12/_1.log' - shellyUsage:'Balkon-Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 12 16:54:51 srv4hai activate_scenario[20814]: SHELLY: scenario: 'offAll(offall)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off'
Apr 12 16:54:51 srv4hai proc_url[20911]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/12/_2.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 12 16:54:51 srv4hai activate_scenario[20814]: SHELLY: scenario: 'offAll(offall)'-'shelly-04'-'Badezimmer' --> '0?turn=off'
Apr 12 16:54:51 srv4hai proc_url[20932]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/12/_3.log' - shellyUsage:'Badezimmer' - scUrl:'http://192.168.12.104/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 12 16:54:51 srv4hai activate_scenario[20814]: SHELLY: scenario: 'offAll(offall)'-'shelly-05'-'Stehlampe Anne hell' --> '0?turn=off'
Apr 12 16:54:51 srv4hai proc_url[20946]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/12/_4.log' - shellyUsage:'Stehlampe Anne hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 12 16:54:51 srv4hai activate_scenario[20814]: SHELLY: scenario: 'offAll(offall)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=off'
Apr 12 16:54:51 srv4hai proc_url[20965]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/12/_5.log' - shellyUsage:'Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 12 16:54:51 srv4hai activate_scenario[20814]: SHELLY: scenario: 'offAll(offall)'-'shelly-07'-'Nachtkästchen Lampe Thomas' --> '0?turn=off'
Apr 12 16:54:51 srv4hai proc_url[20995]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/12/_6.log' - shellyUsage:'Nachtkästchen Lampe Thomas' - scUrl:'http://192.168.12.107/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 12 16:54:51 srv4hai activate_scenario[20814]: SHELLY: scenario: 'offAll(offall)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=off'
Apr 12 16:54:51 srv4hai proc_url[21026]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/12/_7.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 12 16:54:51 srv4hai activate_scenario[20814]: SHELLY: scenario: 'offAll(offall)'-'shelly-09'-'Sophie Licht' --> '0?turn=off'
Apr 12 16:54:51 srv4hai proc_url[21059]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/12/_8.log' - shellyUsage:'Sophie Licht' - scUrl:'http://192.168.12.109/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 12 16:54:51 srv4hai activate_scenario[20988]: SHELLY scenario: 'LOG_gehen(log_gehen)' started
Apr 12 16:54:51 srv4hai activate_scenario[20988]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Apr 12 16:54:51 srv4hai activate_scenario[20814]: SHELLY: scenario: 'offAll(offall)'-'shelly-10'-'WZ Bücherregal' --> '0?turn=off'

finished