activate_scenario.sh
Sun Apr 7 18:00:46 CEST 2024
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/04/07/_0.log)

vorher: 18:00:46.779

http://192.168.12.108/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 18:00:47.261
Dauer: 482 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/07/_1.log)

vorher: 18:00:46.795

http://192.168.12.140/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 18:00:46.831
Dauer: 37 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 18:00:46.757
nachher: 18:00:47.269
Dauer : 512 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/07//scene_buero_UM_20240407_180046.txt'


syslog

Apr  7 17:57:00 srv4hai postfix/smtpd[29105]: warning: hostname mail.yiff.ltd does not resolve to address 193.222.96.5: Name or service not known
Apr  7 17:57:00 srv4hai postfix/smtpd[29105]: connect from unknown[193.222.96.5]
Apr  7 17:57:00 srv4hai postfix/smtpd[29105]: warning: unknown[193.222.96.5]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr  7 17:57:00 srv4hai postfix/smtpd[29105]: disconnect from unknown[193.222.96.5] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Apr  7 17:57:01 srv4hai CRON[29109]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 17:57:09 srv4hai ping_SP[32629]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1712505429 - 'ping_SP_1'
Apr  7 17:57:09 srv4hai ping_SP[32629]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr  7 17:57:19 srv4hai dhcpd[28085]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Apr  7 17:57:19 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr  7 17:57:19 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr  7 17:57:19 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.139
Apr  7 17:57:19 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-39
Apr  7 17:57:19 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Apr  7 17:57:19 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr  7 17:57:19 srv4hai named[15509]: client @0x7f9314074a80 192.168.12.252#47155/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  7 17:57:19 srv4hai named[15509]: client @0x7f931009ada0 192.168.12.252#59507/key rndc-key: signer "rndc-key" approved
Apr  7 17:57:19 srv4hai named[15509]: client @0x7f931009ada0 192.168.12.252#59507/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Apr  7 17:57:19 srv4hai named[15509]: client @0x7f931009ada0 192.168.12.252#59507/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Apr  7 17:57:19 srv4hai named[15509]: client @0x7f931009ada0 192.168.12.252#59507/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Apr  7 17:57:19 srv4hai named[15509]: client @0x7f931009ada0 192.168.12.252#59507/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Apr  7 17:57:19 srv4hai dhcpd[28085]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Apr  7 17:57:19 srv4hai named[15509]: client @0x7f9314041790 192.168.12.252#57727/key rndc-key: signer "rndc-key" approved
Apr  7 17:57:19 srv4hai named[15509]: client @0x7f9314041790 192.168.12.252#57727/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Apr  7 17:57:19 srv4hai named[15509]: client @0x7f9314041790 192.168.12.252#57727/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  7 17:57:19 srv4hai dhcpd[28085]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Apr  7 17:57:19 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr  7 17:57:19 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Apr  7 17:57:19 srv4hai common[29143]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Apr  7 17:57:19 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=28.100000&hum=35.300000&id=C049EF8AC9D8&batt=100&volt=6.810000
Apr  7 17:57:19 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-39_20240407.csv'
Apr  7 17:57:19 srv4hai ht_shelly.sh: SHELLY - 'shelly-39_20240407.csv' modifed 428s ago - EXIT
Apr  7 17:57:19 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Apr  7 17:57:19 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  7 17:57:19 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  7 17:57:19 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Apr  7 17:57:19 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Apr  7 17:57:36 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29224, secured, session=
Apr  7 17:57:36 srv4hai dovecot: imap(miglincit)<29224>: 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  7 17:57:49 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr  7 17:57:50 srv4hai fetchmail[1651]: 41531 messages (41530 seen) for tmiglinci at mail.akis.at (-844838013 octets).
Apr  7 17:57:50 srv4hai postfix/smtpd[29105]: connect from localhost[127.0.0.1]
Apr  7 17:57:50 srv4hai postfix/smtpd[29105]: 7D1D560244: client=localhost[127.0.0.1]
Apr  7 17:57:50 srv4hai postfix/cleanup[29226]: 7D1D560244: message-id=
Apr  7 17:57:50 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:41531 of 41531 (46959 octets) not flushed
Apr  7 17:57:50 srv4hai postfix/qmgr[15291]: 7D1D560244: from=, size=47203, nrcpt=1 (queue active)
Apr  7 17:57:50 srv4hai postfix/smtpd[29105]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr  7 17:57:50 srv4hai postfix/local[29227]: 7D1D560244: to=, relay=local, delay=0.12, delays=0.09/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  7 17:57:50 srv4hai postfix/qmgr[15291]: 7D1D560244: removed
Apr  7 17:57:51 srv4hai fetchmail[1651]: 10103 messages (10103 seen) for srozum at mail.akis.at (1221530850 octets).
Apr  7 17:57:51 srv4hai fetchmail[1651]: 22715 messages (22715 seen) for mrozum at mail.akis.at (-369758118 octets).
Apr  7 17:57:51 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr  7 17:58:01 srv4hai CRON[29242]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 17:58:07 srv4hai ping_SP[12739]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712505487 - 'ping_SP_0'
Apr  7 17:58:07 srv4hai ping_SP[12739]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  7 17:58:22 srv4hai ping_SP[32629]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1712505502 - 'ping_SP_1'
Apr  7 17:58:22 srv4hai ping_SP[32629]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr  7 17:59:01 srv4hai CRON[29295]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 17:59:20 srv4hai ping_SP[12739]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712505560 - 'ping_SP_0'
Apr  7 17:59:20 srv4hai ping_SP[12739]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  7 17:59:22 srv4hai nmbd[30864]: [2024/04/07 17:59:22.377648,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr  7 17:59:22 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Apr  7 17:59:22 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr  7 17:59:22 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Apr  7 17:59:36 srv4hai ping_SP[32629]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1712505576 - 'ping_SP_1'
Apr  7 17:59:36 srv4hai ping_SP[32629]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr  7 17:59:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29347, secured, session=
Apr  7 17:59:41 srv4hai dovecot: imap(miglincit)<29347>: Logged out in=742 out=42780 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=18736 body_count=0 body_bytes=0
Apr  7 18:00:01 srv4hai CRON[29351]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr  7 18:00:01 srv4hai CRON[29352]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 18:00:01 srv4hai common[29353]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr  7 18:00:01 srv4hai meter.sh: SHELLY meter.sh started
Apr  7 18:00:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr  7 18:00:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr  7 18:00:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr  7 18:00:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr  7 18:00:06 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr  7 18:00:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr  7 18:00:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr  7 18:00:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  7 18:00:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  7 18:00:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr  7 18:00:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr  7 18:00:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr  7 18:00:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr  7 18:00:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr  7 18:00:14 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  7 18:00:14 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr  7 18:00:14 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr  7 18:00:14 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr  7 18:00:14 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr  7 18:00:14 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr  7 18:00:14 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr  7 18:00:14 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr  7 18:00:14 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr  7 18:00:14 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr  7 18:00:14 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr  7 18:00:17 srv4hai meter.sh: SHELLY 'shelly-48/48-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  7 18:00:19 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  7 18:00:19 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr  7 18:00:19 srv4hai common[29353]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr  7 18:00:20 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1712505620-1712505619
Apr  7 18:00:20 srv4hai check_presence[29353]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr  7 18:00:20 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1712505620-1712505619
Apr  7 18:00:20 srv4hai check_presence[29353]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr  7 18:00:20 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1712505620-1712505619
Apr  7 18:00:20 srv4hai check_presence[29353]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr  7 18:00:20 srv4hai check_presence[29353]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr  7 18:00:20 srv4hai check_presence[29353]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr  7 18:00:20 srv4hai common[29353]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr  7 18:00:20 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON'
Apr  7 18:00:20 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs
Apr  7 18:00:20 srv4hai meter.sh: SHELLY meter.sh ended
Apr  7 18:00:20 srv4hai postfix/pickup[21222]: 7CEE660245: uid=33 from=
Apr  7 18:00:20 srv4hai postfix/cleanup[30384]: 7CEE660245: message-id=<20240407160020.7CEE660245@mail.viehai.at>
Apr  7 18:00:20 srv4hai postfix/qmgr[15291]: 7CEE660245: from=, size=716, nrcpt=1 (queue active)
Apr  7 18:00:20 srv4hai postfix/local[30386]: 7CEE660245: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  7 18:00:20 srv4hai postfix/qmgr[15291]: 7CEE660245: removed
Apr  7 18:00:33 srv4hai ping_SP[12739]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712505633 - 'ping_SP_0'
Apr  7 18:00:33 srv4hai ping_SP[12739]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  7 18:00:36 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30413, secured, session=
Apr  7 18:00:36 srv4hai dovecot: imap(miglincit)<30413>: Logged out in=742 out=42788 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=18736 body_count=0 body_bytes=0
Apr  7 18:00:46 srv4hai activate_scenario[30421]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr  7 18:00:46 srv4hai activate_scenario[30421]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished