activate_scenario.sh
Tue Apr 9 12:00:20 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:00:20.642
nachher: 12:00:20.648
Dauer : 6 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/09//scene_LOG_gehen_20240409_120020.txt'


syslog

Apr  9 11:57:01 srv4hai CRON[24222]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 11:57:18 srv4hai postfix/anvil[24142]: statistics: max connection rate 1/60s for (smtp:61.14.233.108) at Apr  9 11:53:57
Apr  9 11:57:18 srv4hai postfix/anvil[24142]: statistics: max connection count 1 for (smtp:61.14.233.108) at Apr  9 11:53:57
Apr  9 11:57:18 srv4hai postfix/anvil[24142]: statistics: max cache size 1 at Apr  9 11:53:57
Apr  9 11:57:29 srv4hai activate_scenario[24233]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Apr  9 11:57:29 srv4hai activate_scenario[24233]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Apr  9 11:57:29 srv4hai activate_scenario[24233]: SHELLY scenario: 'LOG_kommen(log_kommen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Apr  9 11:57:29 srv4hai activate_scenario[24233]: SHELLY scenario: 'LOG_kommen(log_kommen)' took 6 msec, shelly-03:'Licht Vorzimmer'
Apr  9 11:58:01 srv4hai CRON[24308]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 11:59:01 srv4hai CRON[24325]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 11:59:06 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24332, secured, session=
Apr  9 11:59:06 srv4hai dovecot: imap(miglincit)<24332>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  9 11:59:23 srv4hai nmbd[30864]: [2024/04/09 11:59:23.621518,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr  9 11:59:23 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Apr  9 11:59:23 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr  9 11:59:23 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Apr  9 12:00:02 srv4hai CRON[24353]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 12:00:02 srv4hai CRON[24355]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr  9 12:00:02 srv4hai CRON[24354]: (root) CMD (test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(43200))' && certbot -q renew)
Apr  9 12:00:02 srv4hai common[24357]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr  9 12:00:02 srv4hai meter.sh: SHELLY meter.sh started
Apr  9 12:00:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr  9 12:00:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr  9 12:00:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr  9 12:00:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr  9 12:00:07 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr  9 12:00:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr  9 12:00:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr  9 12:00:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  9 12:00:12 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  9 12:00:12 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr  9 12:00:12 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr  9 12:00:12 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr  9 12:00:12 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr  9 12:00:12 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr  9 12:00:15 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  9 12:00:15 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr  9 12:00:15 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr  9 12:00:15 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr  9 12:00:15 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr  9 12:00:15 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr  9 12:00:15 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr  9 12:00:15 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr  9 12:00:15 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr  9 12:00:15 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr  9 12:00:15 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr  9 12:00:15 srv4hai dhcpd[28085]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Apr  9 12:00:15 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr  9 12:00:15 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr  9 12:00:15 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.139
Apr  9 12:00:15 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-39
Apr  9 12:00:15 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Apr  9 12:00:15 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr  9 12:00:15 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#40247/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  9 12:00:15 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#35081/key rndc-key: signer "rndc-key" approved
Apr  9 12:00:15 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#35081/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Apr  9 12:00:15 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#35081/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Apr  9 12:00:15 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#35081/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Apr  9 12:00:15 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#35081/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Apr  9 12:00:15 srv4hai dhcpd[28085]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Apr  9 12:00:15 srv4hai named[15509]: client @0x7f931c166000 192.168.12.252#44757/key rndc-key: signer "rndc-key" approved
Apr  9 12:00:15 srv4hai named[15509]: client @0x7f931c166000 192.168.12.252#44757/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Apr  9 12:00:15 srv4hai named[15509]: client @0x7f931c166000 192.168.12.252#44757/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '139.12.168.192.in-addr.arpa' PTR shelly-39.viehai.at.
Apr  9 12:00:15 srv4hai dhcpd[28085]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Apr  9 12:00:15 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr  9 12:00:15 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Apr  9 12:00:15 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Apr  9 12:00:15 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}'
Apr  9 12:00:16 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -X -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.''
Apr  9 12:00:16 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Apr  9 12:00:16 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Apr  9 12:00:19 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  9 12:00:19 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr  9 12:00:19 srv4hai common[24357]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr  9 12:00:20 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'14'=1712656820-1712656806
Apr  9 12:00:20 srv4hai check_presence[24357]: 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:00:20 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'14'=1712656820-1712656806
Apr  9 12:00:20 srv4hai check_presence[24357]: 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:00:20 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'14'=1712656820-1712656806
Apr  9 12:00:20 srv4hai check_presence[24357]: 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:00:20 srv4hai check_presence[24357]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Apr  9 12:00:20 srv4hai check_presence[24357]: SHELLY (meter.sh)-(99)-presence: activate_scenario.shtml: offAll
Apr  9 12:00:20 srv4hai activate_scenario[25439]: SHELLY scenario: 'offAll(offall)' started
Apr  9 12:00:20 srv4hai activate_scenario[25439]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'kanaDaham'
Apr  9 12:00:20 srv4hai activate_scenario[25439]: SHELLY scenario: 'offAll(offall)' TO BE EXECUTED, phoneName:'kanaDaham'
Apr  9 12:00:20 srv4hai postfix/pickup[21837]: 6989860245: uid=33 from=
Apr  9 12:00:20 srv4hai postfix/cleanup[25489]: 6989860245: message-id=<20240409100020.6989860245@mail.viehai.at>
Apr  9 12:00:20 srv4hai postfix/qmgr[15291]: 6989860245: from=, size=10928, nrcpt=1 (queue active)
Apr  9 12:00:20 srv4hai activate_scenario[25439]: SHELLY: scenario: 'offAll(offall)'-'shelly-01'-'Wandlicht beim Esstisch' --> '0?turn=off'
Apr  9 12:00:20 srv4hai proc_url[25507]: 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:00:20 srv4hai postfix/local[25502]: 6989860245: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Apr  9 12:00:20 srv4hai postfix/cleanup[25489]: 7147C60248: message-id=<20240409100020.7147C60248@mail.viehai.at>
Apr  9 12:00:20 srv4hai postfix/bounce[25503]: 6989860245: sender non-delivery notification: 7147C60248
Apr  9 12:00:20 srv4hai postfix/qmgr[15291]: 7147C60248: from=<>, size=12810, nrcpt=1 (queue active)
Apr  9 12:00:20 srv4hai postfix/qmgr[15291]: 6989860245: removed
Apr  9 12:00:20 srv4hai postfix/local[25502]: 7147C60248: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  9 12:00:20 srv4hai postfix/qmgr[15291]: 7147C60248: removed
Apr  9 12:00:20 srv4hai activate_scenario[25439]: SHELLY: scenario: 'offAll(offall)'-'shelly-02'-'Balkon-Licht' --> '0?turn=off'
Apr  9 12:00:20 srv4hai proc_url[25519]: 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:00:20 srv4hai activate_scenario[25439]: SHELLY: scenario: 'offAll(offall)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off'
Apr  9 12:00:20 srv4hai proc_url[25530]: 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:00:20 srv4hai activate_scenario[25439]: SHELLY: scenario: 'offAll(offall)'-'shelly-04'-'Badezimmer' --> '0?turn=off'
Apr  9 12:00:20 srv4hai proc_url[25551]: 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:00:20 srv4hai activate_scenario[25439]: SHELLY: scenario: 'offAll(offall)'-'shelly-05'-'Stehlampe Anne hell' --> '0?turn=off'
Apr  9 12:00:20 srv4hai proc_url[25569]: 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:00:20 srv4hai activate_scenario[25439]: SHELLY: scenario: 'offAll(offall)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=off'
Apr  9 12:00:20 srv4hai proc_url[25583]: 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:00:20 srv4hai activate_scenario[25439]: SHELLY: scenario: 'offAll(offall)'-'shelly-07'-'Nachtkästchen Lampe Thomas' --> '0?turn=off'
Apr  9 12:00:20 srv4hai proc_url[25596]: 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:00:20 srv4hai activate_scenario[25439]: SHELLY: scenario: 'offAll(offall)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=off'
Apr  9 12:00:20 srv4hai proc_url[25617]: 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:00:20 srv4hai activate_scenario[25439]: SHELLY: scenario: 'offAll(offall)'-'shelly-09'-'Sophie Licht' --> '0?turn=off'
Apr  9 12:00:20 srv4hai proc_url[25628]: 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:00:20 srv4hai activate_scenario[25439]: SHELLY: scenario: 'offAll(offall)'-'shelly-10'-'WZ Bücherregal' --> '0?turn=off'
Apr  9 12:00:20 srv4hai proc_url[25648]: 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:00:20 srv4hai activate_scenario[25439]: SHELLY: scenario: 'offAll(offall)'-'shelly-12'-'Schlafzimmer Licht' --> '0?turn=off'
Apr  9 12:00:20 srv4hai proc_url[25705]: 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''
Apr  9 12:00:20 srv4hai activate_scenario[25439]: SHELLY: scenario: 'offAll(offall)'-'shelly-15'-'15-Test Weiss' --> '0?turn=off&brightness=50'
Apr  9 12:00:20 srv4hai proc_url[25748]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/09/_11.log' - shellyUsage:'15-Test Weiss' - scUrl:'http://192.168.12.115/white/0?turn=off&brightness=50' - phName:'phoneName:'kanaDaham''
Apr  9 12:00:20 srv4hai activate_scenario[25647]: SHELLY scenario: 'LOG_gehen(log_gehen)' started
Apr  9 12:00:20 srv4hai activate_scenario[25647]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'

finished