activate_scenario.sh
Tue Jan 2 19:12:46 CET 2024
scenario: test_41_ON

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

scenario: 'test 41 EIN' - 'test_41_ON' - 'test_41_on'

41-TBD-Dimmer (/srv/www/viehai/shelly/log_scenarios/2024/01/02/scene_test_41_ON_20240102_191246_0.log)

vorher: 19:12:46.747

http://192.168.12.141/light/0?turn=on&brightness=25

        

nachher: 19:12:46.832
Dauer: 84 msec


scenario: 'test 41 EIN' - 'test_41_ON' - 'test_41_on'

urls : 1
vorher : 19:12:46.727
nachher: 19:12:46.838
Dauer : 111 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/01/02/scene_test_41_ON_20240102_191246.txt'


syslog

Jan  2 19:09:00 srv4hai systemd[1]: Starting Clean php session files...
Jan  2 19:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Jan  2 19:09:01 srv4hai systemd[1]: Started Clean php session files.
Jan  2 19:09:01 srv4hai CRON[2684]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jan  2 19:09:01 srv4hai CRON[2685]: (root) CMD (/etc/linetest/linetest.sh)
Jan  2 19:09:03 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2691, secured, session=
Jan  2 19:09:03 srv4hai dovecot: imap(miglincit)<2691>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan  2 19:09:04 srv4hai ping_SP.sh: SHELLY  (0) - pinging 192.168.12.61 0 sucessfully  @~1704218944 - '/srv/www/viehai/shelly//meter/ping_SP_0'
Jan  2 19:09:07 srv4hai ping_SP.sh: SHELLY  (1) - pinging 192.168.12.62 0 sucessfully  @~1704218947 - '/srv/www/viehai/shelly//meter/ping_SP_1'
Jan  2 19:09:10 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jan  2 19:09:11 srv4hai fetchmail[1651]: 34782 messages (34782 seen) for tmiglinci at mail.akis.at (-1377658672 octets).
Jan  2 19:09:11 srv4hai fetchmail[1651]: 9721 messages (9721 seen) for srozum at mail.akis.at (1176841223 octets).
Jan  2 19:09:12 srv4hai fetchmail[1651]: 20869 messages (20869 seen) for mrozum at mail.akis.at (-791114409 octets).
Jan  2 19:09:12 srv4hai fetchmail[1651]: 44 messages (44 seen) for admin@bastelstube.wien at pop3.world4you.com (12031668 octets).
Jan  2 19:09:30 srv4hai dhcpd[1612]: DHCPDISCOVER from 00:22:61:a1:fb:40 via enp2s0
Jan  2 19:09:30 srv4hai dhcpd[1612]: DHCPOFFER on 192.168.12.17 to 00:22:61:a1:fb:40 via enp2s0
Jan  2 19:09:34 srv4hai ping_SP.sh: SHELLY  (0) - pinging 192.168.12.61 0 sucessfully  @~1704218974 - '/srv/www/viehai/shelly//meter/ping_SP_0'
Jan  2 19:09:37 srv4hai ping_SP.sh: SHELLY  (1) - pinging 192.168.12.62 0 sucessfully  @~1704218977 - '/srv/www/viehai/shelly//meter/ping_SP_1'
Jan  2 19:09:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3678, secured, session=
Jan  2 19:09:41 srv4hai dovecot: imap(rozums)<3678>: Logged out in=93 out=1021 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan  2 19:10:01 srv4hai CRON[3686]: (root) CMD (/etc/linetest/linetest.sh)
Jan  2 19:10:01 srv4hai CRON[3687]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jan  2 19:10:01 srv4hai meter.sh: SHELLY meter.sh started
Jan  2 19:10:04 srv4hai ping_SP.sh: SHELLY  (0) - pinging 192.168.12.61 0 sucessfully  @~1704219004 - '/srv/www/viehai/shelly//meter/ping_SP_0'
Jan  2 19:10:07 srv4hai ping_SP.sh: SHELLY  (1) - pinging 192.168.12.62 0 sucessfully  @~1704219007 - '/srv/www/viehai/shelly//meter/ping_SP_1'
Jan  2 19:10:34 srv4hai dhcpd[1612]: DHCPDISCOVER from 00:22:61:a1:fb:40 via enp2s0
Jan  2 19:10:34 srv4hai dhcpd[1612]: DHCPOFFER on 192.168.12.17 to 00:22:61:a1:fb:40 via enp2s0
Jan  2 19:10:34 srv4hai ping_SP.sh: SHELLY  (0) - pinging 192.168.12.61 0 sucessfully  @~1704219034 - '/srv/www/viehai/shelly//meter/ping_SP_0'
Jan  2 19:10:38 srv4hai ping_SP.sh: SHELLY  (1) - pinging 192.168.12.62 0 sucessfully  @~1704219038 - '/srv/www/viehai/shelly//meter/ping_SP_1'
Jan  2 19:10:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4209, secured, session=
Jan  2 19:10:41 srv4hai dovecot: imap(rozums)<4209>: Logged out in=93 out=1021 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan  2 19:11:01 srv4hai CRON[4495]: (root) CMD (/etc/linetest/linetest.sh)
Jan  2 19:11:05 srv4hai ping_SP.sh: SHELLY  (0) - pinging 192.168.12.61 0 sucessfully  @~1704219065 - '/srv/www/viehai/shelly//meter/ping_SP_0'
Jan  2 19:11:08 srv4hai ping_SP.sh: SHELLY  (1) - pinging 192.168.12.62 0 sucessfully  @~1704219068 - '/srv/www/viehai/shelly//meter/ping_SP_1'
Jan  2 19:11:09 srv4hai meter.sh: SHELLY meter.sh ended
Jan  2 19:11:09 srv4hai postfix/pickup[2387]: 3B22F6011E: uid=33 from=
Jan  2 19:11:09 srv4hai postfix/cleanup[5515]: 3B22F6011E: message-id=<20240102181109.3B22F6011E@mail.viehai.at>
Jan  2 19:11:09 srv4hai postfix/qmgr[28610]: 3B22F6011E: from=, size=692, nrcpt=1 (queue active)
Jan  2 19:11:09 srv4hai postfix/local[5517]: 3B22F6011E: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jan  2 19:11:09 srv4hai postfix/qmgr[28610]: 3B22F6011E: removed
Jan  2 19:11:33 srv4hai dhcpd[1612]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Jan  2 19:11:33 srv4hai dhcpd[1612]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jan  2 19:11:33 srv4hai dhcpd[1612]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jan  2 19:11:33 srv4hai dhcpd[1612]: execute_statement argv[1] = 192.168.12.139
Jan  2 19:11:33 srv4hai dhcpd[1612]: execute_statement argv[2] = shelly-39
Jan  2 19:11:33 srv4hai dhcpd[1612]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Jan  2 19:11:33 srv4hai dhcpd[1612]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jan  2 19:11:33 srv4hai named[14530]: client @0x7fc308070fe0 192.168.12.252#52219/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan  2 19:11:33 srv4hai named[14530]: client @0x7fc3286ca970 192.168.12.252#56661/key rndc-key: signer "rndc-key" approved
Jan  2 19:11:33 srv4hai named[14530]: client @0x7fc3286ca970 192.168.12.252#56661/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Jan  2 19:11:33 srv4hai named[14530]: client @0x7fc3286ca970 192.168.12.252#56661/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Jan  2 19:11:33 srv4hai named[14530]: client @0x7fc3286ca970 192.168.12.252#56661/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Jan  2 19:11:33 srv4hai named[14530]: client @0x7fc3286ca970 192.168.12.252#56661/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Jan  2 19:11:33 srv4hai dhcpd[1612]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Jan  2 19:11:33 srv4hai named[14530]: client @0x7fc32865edd0 192.168.12.252#36623/key rndc-key: signer "rndc-key" approved
Jan  2 19:11:33 srv4hai named[14530]: client @0x7fc32865edd0 192.168.12.252#36623/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Jan  2 19:11:33 srv4hai named[14530]: client @0x7fc32865edd0 192.168.12.252#36623/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.
Jan  2 19:11:33 srv4hai dhcpd[1612]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Jan  2 19:11:33 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Jan  2 19:11:33 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jan  2 19:11:33 srv4hai ht_shelly.sh: SHELLY - working dir '/srv/www/viehai/shelly/wetter/2024/01'
Jan  2 19:11:33 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=6.400000&hum=77.300000&id=C049EF8AC9D8&batt=100&volt=6.730000
Jan  2 19:11:33 srv4hai ht_shelly.sh: SHELLY id  => macID: '8A:C9:D8'
Jan  2 19:11:33 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jan  2 19:11:33 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 6.4° - 77.3%
Jan  2 19:11:33 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/01/shelly-39_20240102.csv'
Jan  2 19:11:33 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 6.4°/6.7° - 77.3%/72.1% - SAVED
Jan  2 19:11:33 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Jan  2 19:11:33 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jan  2 19:11:33 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jan  2 19:11:33 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}'
Jan  2 19:11:33 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}'
Jan  2 19:11:33 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 '.''
Jan  2 19:11:33 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 '.''
Jan  2 19:11:33 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jan  2 19:11:33 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jan  2 19:11:33 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jan  2 19:11:33 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jan  2 19:11:35 srv4hai ping_SP.sh: SHELLY  (0) - pinging 192.168.12.61 0 sucessfully  @~1704219095 - '/srv/www/viehai/shelly//meter/ping_SP_0'
Jan  2 19:11:38 srv4hai ping_SP.sh: SHELLY  (1) - pinging 192.168.12.62 0 sucessfully  @~1704219098 - '/srv/www/viehai/shelly//meter/ping_SP_1'
Jan  2 19:11:38 srv4hai dhcpd[1612]: DHCPDISCOVER from 00:22:61:a1:fb:40 via enp2s0
Jan  2 19:11:38 srv4hai dhcpd[1612]: DHCPOFFER on 192.168.12.17 to 00:22:61:a1:fb:40 via enp2s0
Jan  2 19:11:42 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=5686, secured, session=
Jan  2 19:11:42 srv4hai dovecot: imap(rozums)<5686>: Logged out in=93 out=1021 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan  2 19:12:01 srv4hai CRON[5692]: (root) CMD (/etc/linetest/linetest.sh)
Jan  2 19:12:03 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=5888, secured, session=
Jan  2 19:12:03 srv4hai dovecot: imap(miglincit)<5888>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan  2 19:12:05 srv4hai ping_SP.sh: SHELLY  (0) - pinging 192.168.12.61 0 sucessfully  @~1704219125 - '/srv/www/viehai/shelly//meter/ping_SP_0'
Jan  2 19:12:08 srv4hai ping_SP.sh: SHELLY  (1) - pinging 192.168.12.62 0 sucessfully  @~1704219128 - '/srv/www/viehai/shelly//meter/ping_SP_1'
Jan  2 19:12:35 srv4hai ping_SP.sh: SHELLY  (0) - pinging 192.168.12.61 0 sucessfully  @~1704219155 - '/srv/www/viehai/shelly//meter/ping_SP_0'
Jan  2 19:12:38 srv4hai ping_SP.sh: SHELLY  (1) - pinging 192.168.12.62 0 sucessfully  @~1704219158 - '/srv/www/viehai/shelly//meter/ping_SP_1'
Jan  2 19:12:42 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6626, secured, session=
Jan  2 19:12:42 srv4hai dovecot: imap(rozums)<6626>: Logged out in=93 out=1021 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan  2 19:12:42 srv4hai dhcpd[1612]: DHCPDISCOVER from 00:22:61:a1:fb:40 via enp2s0
Jan  2 19:12:42 srv4hai dhcpd[1612]: DHCPOFFER on 192.168.12.17 to 00:22:61:a1:fb:40 via enp2s0

finished