activate_scenario.sh
Fri Mar 8 07:10:12 CET 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 : 07:10:12.987
nachher: 07:10:12.991
Dauer : 5 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/08//scene_LOG_gehen_20240308_071012.txt'


syslog

Mar  8 07:07:01 srv4hai CRON[19143]: (root) CMD (/etc/linetest/linetest.sh)
Mar  8 07:07:29 srv4hai postfix/smtpd[19157]: connect from unknown[193.222.96.116]
Mar  8 07:07:29 srv4hai postfix/smtpd[19157]: disconnect from unknown[193.222.96.116] ehlo=1 quit=1 commands=2
Mar  8 07:07:30 srv4hai dhcpd[5037]: DHCPDISCOVER from 98:cd:ac:2d:b6:db via enp2s0
Mar  8 07:07:30 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.125 to 98:cd:ac:2d:b6:db via enp2s0
Mar  8 07:07:30 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar  8 07:07:30 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.125
Mar  8 07:07:30 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-25
Mar  8 07:07:30 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.125 (192.168.12.252) from 98:cd:ac:2d:b6:db via enp2s0
Mar  8 07:07:30 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.125 to 98:cd:ac:2d:b6:db via enp2s0
Mar  8 07:07:30 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#60437/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-25.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar  8 07:07:30 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#60135/key rndc-key: signer "rndc-key" approved
Mar  8 07:07:30 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#60135/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-25.viehai.at' TXT
Mar  8 07:07:30 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#60135/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-25.viehai.at' TXT "00a4d627ad58f376691816e2e7457e7bae"
Mar  8 07:07:30 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#60135/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-25.viehai.at' A
Mar  8 07:07:30 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#60135/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-25.viehai.at' A 192.168.12.125
Mar  8 07:07:30 srv4hai dhcpd[5037]: Added new forward map from shelly-25.viehai.at to 192.168.12.125
Mar  8 07:07:30 srv4hai named[15509]: client @0x7f931801e8a0 192.168.12.252#53867/key rndc-key: signer "rndc-key" approved
Mar  8 07:07:30 srv4hai named[15509]: client @0x7f931801e8a0 192.168.12.252#53867/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '125.12.168.192.in-addr.arpa' PTR
Mar  8 07:07:30 srv4hai named[15509]: client @0x7f931801e8a0 192.168.12.252#53867/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '125.12.168.192.in-addr.arpa' PTR shelly-25.viehai.at.
Mar  8 07:07:30 srv4hai dhcpd[5037]: Added reverse map from 125.12.168.192.in-addr.arpa. to shelly-25.viehai.at
Mar  8 07:07:30 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-25' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-25' - shIP/2:'192.168.12.125'
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY: usage/name 'Küchenlicht' already set for '192.168.12.125'
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(0)' - allready transmitted - skipping
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(1)' - allready transmitted - skipping
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(2)' - allready transmitted - skipping
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(3)' - allready transmitted - skipping
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(4)' - allready transmitted - skipping
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(5)' - allready transmitted - skipping
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY:'shelly-25' out:0 ON : MISSING
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY:'shelly-25' out:0 OFF: MISSING
Mar  8 07:08:01 srv4hai CRON[19310]: (root) CMD (/etc/linetest/linetest.sh)
Mar  8 07:08:02 srv4hai ping_SP[26982]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709878082 - 'ping_SP_0'
Mar  8 07:08:02 srv4hai ping_SP[26982]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  8 07:08:07 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar  8 07:08:07 srv4hai fetchmail[1651]: 39488 messages (39488 seen) for tmiglinci at mail.akis.at (-1029684160 octets).
Mar  8 07:08:08 srv4hai fetchmail[1651]: 9976 messages (9976 seen) for srozum at mail.akis.at (1209558121 octets).
Mar  8 07:08:08 srv4hai fetchmail[1651]: 22090 messages (22090 seen) for mrozum at mail.akis.at (-479263431 octets).
Mar  8 07:08:09 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar  8 07:09:01 srv4hai CRON[19357]: (root) CMD (/etc/linetest/linetest.sh)
Mar  8 07:09:01 srv4hai CRON[19358]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Mar  8 07:09:01 srv4hai systemd[1]: Starting Clean php session files...
Mar  8 07:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Mar  8 07:09:01 srv4hai systemd[1]: Started Clean php session files.
Mar  8 07:09:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19459, secured, session=
Mar  8 07:09:13 srv4hai dovecot: imap(miglincit)<19459>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  8 07:09:15 srv4hai ping_SP[26982]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709878155 - 'ping_SP_0'
Mar  8 07:09:15 srv4hai ping_SP[26982]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  8 07:09:37 srv4hai postfix/smtpd[19480]: connect from unknown[193.222.96.70]
Mar  8 07:09:37 srv4hai postfix/smtpd[19480]: warning: unknown[193.222.96.70]: SASL LOGIN authentication failed: Invalid authentication mechanism
Mar  8 07:09:37 srv4hai postfix/smtpd[19480]: disconnect from unknown[193.222.96.70] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Mar  8 07:10:01 srv4hai CRON[19494]: (root) CMD (/etc/linetest/linetest.sh)
Mar  8 07:10:01 srv4hai CRON[19495]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar  8 07:10:01 srv4hai meter.sh: SHELLY meter.sh started
Mar  8 07:10:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 07:10:09 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 07:10:12 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY scenario: 'homeOffice(homeoffice)' started
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY scenario: 'homeOffice(homeoffice)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Mar  8 07:10:12 srv4hai postfix/pickup[18738]: AACAD602B8: uid=33 from=
Mar  8 07:10:12 srv4hai postfix/cleanup[19893]: AACAD602B8: message-id=<20240308061012.AACAD602B8@mail.viehai.at>
Mar  8 07:10:12 srv4hai postfix/qmgr[15291]: AACAD602B8: from=, size=7735, nrcpt=1 (queue active)
Mar  8 07:10:12 srv4hai postfix/local[19903]: AACAD602B8: to=, orig_to=, relay=local, delay=0.06, delays=0.04/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Mar  8 07:10:12 srv4hai postfix/cleanup[19893]: B51F3602B9: message-id=<20240308061012.B51F3602B9@mail.viehai.at>
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-01'-'Wandlicht beim Esstisch' --> '0?turn=off'
Mar  8 07:10:12 srv4hai postfix/bounce[19907]: AACAD602B8: sender non-delivery notification: B51F3602B9
Mar  8 07:10:12 srv4hai postfix/qmgr[15291]: B51F3602B9: from=<>, size=9654, nrcpt=1 (queue active)
Mar  8 07:10:12 srv4hai postfix/qmgr[15291]: AACAD602B8: removed
Mar  8 07:10:12 srv4hai proc_url[19911]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/08/_0.log' - shellyUsage:'Wandlicht beim Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar  8 07:10:12 srv4hai postfix/local[19903]: B51F3602B9: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  8 07:10:12 srv4hai postfix/qmgr[15291]: B51F3602B9: removed
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-02'-'Balkon-Licht' --> '0?turn=off'
Mar  8 07:10:12 srv4hai proc_url[19923]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/08/_1.log' - shellyUsage:'Balkon-Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off'
Mar  8 07:10:12 srv4hai proc_url[19934]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/08/_2.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-05'-'Stehlampe Anne hell' --> '0?turn=off'
Mar  8 07:10:12 srv4hai proc_url[19945]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/08/_3.log' - shellyUsage:'Stehlampe Anne hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=off'
Mar  8 07:10:12 srv4hai proc_url[19956]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/08/_4.log' - shellyUsage:'Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-07'-'Nachtkästchen Lampe Thomas' --> '0?turn=off'
Mar  8 07:10:12 srv4hai proc_url[19967]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/08/_5.log' - shellyUsage:'Nachtkästchen Lampe Thomas' - scUrl:'http://192.168.12.107/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=on'
Mar  8 07:10:12 srv4hai proc_url[19998]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/08/_6.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=on' - phName:'shelly-40:'Thomas Büro Licht''
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-09'-'Sophie Licht' --> '0?turn=off'
Mar  8 07:10:12 srv4hai proc_url[20009]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/08/_7.log' - shellyUsage:'Sophie Licht' - scUrl:'http://192.168.12.109/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-10'-'WZ Bücherregal' --> '0?turn=off'
Mar  8 07:10:12 srv4hai proc_url[20030]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/08/_8.log' - shellyUsage:'WZ Bücherregal' - scUrl:'http://192.168.12.110/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=on'
Mar  8 07:10:12 srv4hai proc_url[20050]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/08/_9.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=on' - phName:'shelly-40:'Thomas Büro Licht''
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-12'-'Schlafzimmer Licht' --> '0?turn=off'
Mar  8 07:10:12 srv4hai proc_url[20072]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/08/_10.log' - shellyUsage:'Schlafzimmer Licht' - scUrl:'http://192.168.12.112/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=on&brightness=20'
Mar  8 07:10:12 srv4hai proc_url[20092]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/08/_11.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=on&brightness=20' - phName:'shelly-40:'Thomas Büro Licht''
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=on&brightness=20'
Mar  8 07:10:12 srv4hai proc_url[20116]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/08/_12.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=on&brightness=20' - phName:'shelly-40:'Thomas Büro Licht''
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=off&brightness=50'
Mar  8 07:10:12 srv4hai proc_url[20139]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/08/_13.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=off&brightness=50' - phName:'shelly-40:'Thomas Büro Licht''
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=off&brightness=50'
Mar  8 07:10:12 srv4hai proc_url[20153]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/08/_14.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=off&brightness=50' - phName:'shelly-40:'Thomas Büro Licht''
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-19'-'Fernsehlampe groß' --> '0?turn=off'
Mar  8 07:10:12 srv4hai proc_url[20179]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/08/_15.log' - shellyUsage:'Fernsehlampe groß' - scUrl:'http://192.168.12.119/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-23'-'Licht Sekretär' --> '0?turn=off'
Mar  8 07:10:12 srv4hai proc_url[20221]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/08/_16.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=off' - phName:'shelly-40:'Thomas Büro Licht''
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-24'-'Licht Empore' --> '0?turn=on'
Mar  8 07:10:12 srv4hai activate_scenario[20155]: SHELLY scenario: 'LOG_gehen(log_gehen)' started
Mar  8 07:10:12 srv4hai activate_scenario[20155]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Mar  8 07:10:12 srv4hai proc_url[20251]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/08/_17.log' - shellyUsage:'Licht Empore' - scUrl:'http://192.168.12.124/relay/0?turn=on' - phName:'shelly-40:'Thomas Büro Licht''

finished