activate_scenario.sh
Tue Apr 9 12:10:19 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 : 12:10:19.441
nachher: 12:10:19.447
Dauer : 6 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/09//scene_LOG_gehen_20240409_121019.txt'


syslog

Apr  9 12:07:01 srv4hai CRON[26888]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 12:08:01 srv4hai CRON[26907]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 12:08:06 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26914, secured, session=
Apr  9 12:08:06 srv4hai dovecot: imap(miglincit)<26914>: Logged out in=520 out=1232 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  9 12:09:01 srv4hai systemd[1]: Starting Clean php session files...
Apr  9 12:09:01 srv4hai CRON[26935]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Apr  9 12:09:01 srv4hai CRON[26934]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 12:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Apr  9 12:09:01 srv4hai systemd[1]: Started Clean php session files.
Apr  9 12:09:56 srv4hai postfix/smtpd[27042]: connect from unknown[194.48.251.153]
Apr  9 12:09:56 srv4hai postfix/smtpd[27042]: warning: unknown[194.48.251.153]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr  9 12:09:56 srv4hai postfix/smtpd[27042]: disconnect from unknown[194.48.251.153] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Apr  9 12:10:01 srv4hai CRON[27047]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr  9 12:10:01 srv4hai CRON[27048]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 12:10:01 srv4hai common[27050]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr  9 12:10:01 srv4hai meter.sh: SHELLY meter.sh started
Apr  9 12:10:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr  9 12:10:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr  9 12:10:06 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr  9 12:10:06 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.28
Apr  9 12:10:06 srv4hai dhcpd[28085]: execute_statement argv[2] = harmonyhub
Apr  9 12:10:06 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Apr  9 12:10:06 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Apr  9 12:10:06 srv4hai named[15509]: client @0x7f930805ddf0 192.168.12.252#42373/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  9 12:10:06 srv4hai named[15509]: client @0x7f93180334d0 192.168.12.252#55845/key rndc-key: signer "rndc-key" approved
Apr  9 12:10:06 srv4hai named[15509]: client @0x7f93180334d0 192.168.12.252#55845/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Apr  9 12:10:06 srv4hai named[15509]: client @0x7f93180334d0 192.168.12.252#55845/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Apr  9 12:10:06 srv4hai named[15509]: client @0x7f93180334d0 192.168.12.252#55845/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Apr  9 12:10:06 srv4hai named[15509]: client @0x7f93180334d0 192.168.12.252#55845/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Apr  9 12:10:06 srv4hai dhcpd[28085]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Apr  9 12:10:06 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Apr  9 12:10:06 srv4hai named[15509]: client @0x7f931007d0f0 192.168.12.252#37695/key rndc-key: signer "rndc-key" approved
Apr  9 12:10:06 srv4hai named[15509]: client @0x7f931007d0f0 192.168.12.252#37695/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Apr  9 12:10:06 srv4hai named[15509]: client @0x7f931007d0f0 192.168.12.252#37695/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Apr  9 12:10:06 srv4hai dhcpd[28085]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Apr  9 12:10:06 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Apr  9 12:10:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr  9 12:10:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr  9 12:10:07 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr  9 12:10:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr  9 12:10:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr  9 12:10:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  9 12:10:12 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  9 12:10:12 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr  9 12:10:12 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr  9 12:10:12 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr  9 12:10:12 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr  9 12:10:12 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr  9 12:10:15 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  9 12:10:15 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr  9 12:10:15 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr  9 12:10:15 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr  9 12:10:15 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr  9 12:10:15 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr  9 12:10:15 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr  9 12:10:15 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr  9 12:10:15 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr  9 12:10:15 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr  9 12:10:15 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr  9 12:10:18 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  9 12:10:18 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr  9 12:10:18 srv4hai common[27050]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr  9 12:10:19 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'3'=1712657419-1712657416
Apr  9 12:10:19 srv4hai check_presence[27050]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr  9 12:10:19 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'3'=1712657419-1712657416
Apr  9 12:10:19 srv4hai check_presence[27050]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr  9 12:10:19 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1712657419-1712657416
Apr  9 12:10:19 srv4hai check_presence[27050]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr  9 12:10:19 srv4hai check_presence[27050]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Apr  9 12:10:19 srv4hai check_presence[27050]: SHELLY (meter.sh)-(99)-presence: activate_scenario.shtml: offAll
Apr  9 12:10:19 srv4hai activate_scenario[28119]: SHELLY scenario: 'offAll(offall)' started
Apr  9 12:10:19 srv4hai activate_scenario[28119]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'kanaDaham'
Apr  9 12:10:19 srv4hai activate_scenario[28119]: SHELLY scenario: 'offAll(offall)' TO BE EXECUTED, phoneName:'kanaDaham'
Apr  9 12:10:19 srv4hai postfix/pickup[21837]: 4396A60245: uid=33 from=
Apr  9 12:10:19 srv4hai postfix/cleanup[28218]: 4396A60245: message-id=<20240409101019.4396A60245@mail.viehai.at>
Apr  9 12:10:19 srv4hai postfix/qmgr[15291]: 4396A60245: from=, size=9073, nrcpt=1 (queue active)
Apr  9 12:10:19 srv4hai activate_scenario[28119]: SHELLY: scenario: 'offAll(offall)'-'shelly-01'-'Wandlicht beim Esstisch' --> '0?turn=off'
Apr  9 12:10:19 srv4hai proc_url[28236]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/09/_0.log' - shellyUsage:'Wandlicht beim Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr  9 12:10:19 srv4hai activate_scenario[28119]: SHELLY: scenario: 'offAll(offall)'-'shelly-02'-'Balkon-Licht' --> '0?turn=off'
Apr  9 12:10:19 srv4hai postfix/local[28231]: 4396A60245: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Apr  9 12:10:19 srv4hai postfix/cleanup[28218]: 4B09860248: message-id=<20240409101019.4B09860248@mail.viehai.at>
Apr  9 12:10:19 srv4hai proc_url[28247]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/09/_1.log' - shellyUsage:'Balkon-Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr  9 12:10:19 srv4hai postfix/bounce[28232]: 4396A60245: sender non-delivery notification: 4B09860248
Apr  9 12:10:19 srv4hai postfix/qmgr[15291]: 4B09860248: from=<>, size=10955, nrcpt=1 (queue active)
Apr  9 12:10:19 srv4hai postfix/qmgr[15291]: 4396A60245: removed
Apr  9 12:10:19 srv4hai activate_scenario[28119]: SHELLY: scenario: 'offAll(offall)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off'
Apr  9 12:10:19 srv4hai proc_url[28266]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/09/_2.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr  9 12:10:19 srv4hai postfix/local[28231]: 4B09860248: to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  9 12:10:19 srv4hai postfix/qmgr[15291]: 4B09860248: removed
Apr  9 12:10:19 srv4hai activate_scenario[28119]: SHELLY: scenario: 'offAll(offall)'-'shelly-04'-'Badezimmer' --> '0?turn=off'
Apr  9 12:10:19 srv4hai proc_url[28277]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/09/_3.log' - shellyUsage:'Badezimmer' - scUrl:'http://192.168.12.104/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr  9 12:10:19 srv4hai activate_scenario[28119]: SHELLY: scenario: 'offAll(offall)'-'shelly-05'-'Stehlampe Anne hell' --> '0?turn=off'
Apr  9 12:10:19 srv4hai proc_url[28298]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/09/_4.log' - shellyUsage:'Stehlampe Anne hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr  9 12:10:19 srv4hai activate_scenario[28119]: SHELLY: scenario: 'offAll(offall)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=off'
Apr  9 12:10:19 srv4hai proc_url[28318]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/09/_5.log' - shellyUsage:'Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr  9 12:10:19 srv4hai activate_scenario[28119]: SHELLY: scenario: 'offAll(offall)'-'shelly-07'-'Nachtkästchen Lampe Thomas' --> '0?turn=off'
Apr  9 12:10:19 srv4hai proc_url[28347]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/09/_6.log' - shellyUsage:'Nachtkästchen Lampe Thomas' - scUrl:'http://192.168.12.107/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr  9 12:10:19 srv4hai activate_scenario[28119]: SHELLY: scenario: 'offAll(offall)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=off'
Apr  9 12:10:19 srv4hai proc_url[28367]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/09/_7.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr  9 12:10:19 srv4hai activate_scenario[28119]: SHELLY: scenario: 'offAll(offall)'-'shelly-09'-'Sophie Licht' --> '0?turn=off'
Apr  9 12:10:19 srv4hai proc_url[28417]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/09/_8.log' - shellyUsage:'Sophie Licht' - scUrl:'http://192.168.12.109/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr  9 12:10:19 srv4hai activate_scenario[28119]: SHELLY: scenario: 'offAll(offall)'-'shelly-10'-'WZ Bücherregal' --> '0?turn=off'
Apr  9 12:10:19 srv4hai proc_url[28467]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/09/_9.log' - shellyUsage:'WZ Bücherregal' - scUrl:'http://192.168.12.110/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr  9 12:10:19 srv4hai activate_scenario[28363]: SHELLY scenario: 'LOG_gehen(log_gehen)' started
Apr  9 12:10:19 srv4hai activate_scenario[28363]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Apr  9 12:10:19 srv4hai activate_scenario[28119]: SHELLY: scenario: 'offAll(offall)'-'shelly-12'-'Schlafzimmer Licht' --> '0?turn=off'
Apr  9 12:10:19 srv4hai proc_url[28502]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/09/_10.log' - shellyUsage:'Schlafzimmer Licht' - scUrl:'http://192.168.12.112/relay/0?turn=off' - phName:'phoneName:'kanaDaham''

finished