activate_scenario.sh
Thu Jul 18 12:11:52 CEST 2024
scenario: sekr_UM
source: 192.168.12.101

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

scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/07/18/_0.log)

vorher: 12:11:52.528

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

nachher: 12:11:52.559
Dauer: 32 msec phName: 'shelly-01:'Wandlicht beim Esstisch''


scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

urls : 1
vorher : 12:11:52.507
nachher: 12:11:52.566
Dauer : 58 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/18//scene_sekr_UM_20240718_121152.txt'


syslog

Jul 18 12:08:00 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 18 12:08:01 srv4hai CRON[13002]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 12:08:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13008, secured, session=
Jul 18 12:08:02 srv4hai dovecot: imap(miglincit)<13008>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 18 12:08:12 srv4hai ping_SP[7142]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721297292 - 'ping_SP_0'
Jul 18 12:08:12 srv4hai ping_SP[7142]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 18 12:08:14 srv4hai fetchmail[1651]: 48923 messages (48923 seen) for tmiglinci at mail.akis.at (-243115600 octets).
Jul 18 12:08:16 srv4hai fetchmail[1651]: 10464 messages (10464 seen) for srozum at mail.akis.at (1260313418 octets).
Jul 18 12:08:22 srv4hai fetchmail[1651]: 24811 messages (24811 seen) for mrozum at mail.akis.at (43784069 octets).
Jul 18 12:08:23 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 18 12:08:48 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Jul 18 12:08:48 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jul 18 12:08:48 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul 18 12:08:48 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139
Jul 18 12:08:48 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39
Jul 18 12:08:48 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Jul 18 12:08:48 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jul 18 12:08:48 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#51333/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 18 12:08:48 srv4hai named[30406]: client @0x7f933011a820 192.168.12.252#40903/key rndc-key: signer "rndc-key" approved
Jul 18 12:08:48 srv4hai named[30406]: client @0x7f933011a820 192.168.12.252#40903/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Jul 18 12:08:48 srv4hai named[30406]: client @0x7f933011a820 192.168.12.252#40903/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Jul 18 12:08:48 srv4hai named[30406]: client @0x7f933011a820 192.168.12.252#40903/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Jul 18 12:08:48 srv4hai named[30406]: client @0x7f933011a820 192.168.12.252#40903/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Jul 18 12:08:48 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Jul 18 12:08:48 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#45991/key rndc-key: signer "rndc-key" approved
Jul 18 12:08:48 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#45991/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Jul 18 12:08:48 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#45991/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.
Jul 18 12:08:48 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Jul 18 12:08:48 srv4hai common[13036]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul 18 12:08:48 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Jul 18 12:08:48 srv4hai common[13049]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jul 18 12:08:48 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=26.800000&hum=47.700000&id=C049EF8AC9D8&batt=100&volt=6.740000
Jul 18 12:08:48 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/07/shelly-39_20240718.csv'
Jul 18 12:08:48 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jul 18 12:08:48 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jul 18 12:08:48 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jul 18 12:08:48 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}'
Jul 18 12:08:48 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jul 18 12:08:48 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}'
Jul 18 12:08:48 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 '.''
Jul 18 12:08:48 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jul 18 12:08:48 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 '.''
Jul 18 12:08:48 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jul 18 12:08:48 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jul 18 12:08:48 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 26.8° - 47.7%
Jul 18 12:08:48 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 26.8°/26.2° - 47.7%/48.7% - SAVED
Jul 18 12:08:48 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Jul 18 12:08:48 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jul 18 12:08:49 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: dweetIO='{#012  "this": "succeeded",#012  "by": "dweeting",#012  "the": "dweet",#012  "with": {#012    "thing": "viehai-39",#012    "created": "2024-07-18T10:08:48.943Z",#012    "content": {#012      "temp": 26.8,#012      "hum": 47.7,#012      "batt": 100,#012      "csvF": "shelly-39_20240718.csv"#012    },#012    "transaction": "46c04c53-2dbc-4aca-bcbd-e592f079690e"#012  }#012}'°
Jul 18 12:09:01 srv4hai CRON[13216]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 12:09:01 srv4hai CRON[13217]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jul 18 12:09:01 srv4hai systemd[1]: Starting Clean php session files...
Jul 18 12:09:02 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Jul 18 12:09:02 srv4hai systemd[1]: Started Clean php session files.
Jul 18 12:09:25 srv4hai ping_SP[7142]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721297365 - 'ping_SP_0'
Jul 18 12:09:25 srv4hai ping_SP[7142]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 18 12:10:01 srv4hai CRON[13342]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jul 18 12:10:01 srv4hai CRON[13343]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 12:10:01 srv4hai common[13344]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jul 18 12:10:01 srv4hai meter.sh: SHELLY meter.sh started
Jul 18 12:10:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jul 18 12:10:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jul 18 12:10:05 srv4hai meter.sh: SHELLY 'shelly-01/Wandlicht beim Esstisch':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 18 12:10:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jul 18 12:10:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jul 18 12:10:08 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jul 18 12:10:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jul 18 12:10:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jul 18 12:10:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 18 12:10:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 18 12:10:14 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jul 18 12:10:14 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jul 18 12:10:14 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jul 18 12:10:14 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jul 18 12:10:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jul 18 12:10:14 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Jul 18 12:10:14 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jul 18 12:10:14 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jul 18 12:10:14 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jul 18 12:10:14 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jul 18 12:10:14 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jul 18 12:10:14 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jul 18 12:10:14 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jul 18 12:10:14 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jul 18 12:10:14 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jul 18 12:10:14 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jul 18 12:10:17 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 18 12:10:17 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jul 18 12:10:17 srv4hai common[14205]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jul 18 12:10:17 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Jul 18 12:10:17 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs
Jul 18 12:10:17 srv4hai meter.sh: SHELLY meter.sh ended
Jul 18 12:10:38 srv4hai ping_SP[7142]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721297438 - 'ping_SP_0'
Jul 18 12:10:38 srv4hai ping_SP[7142]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 18 12:11:01 srv4hai CRON[14250]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 12:11:03 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14257, secured, session=
Jul 18 12:11:03 srv4hai dovecot: imap(miglincit)<14257>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 18 12:11:12 srv4hai postfix/smtpd[14259]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 18 12:11:12 srv4hai postfix/smtpd[14259]: connect from unknown[185.208.158.123]
Jul 18 12:11:12 srv4hai postfix/smtpd[14259]: warning: unknown[185.208.158.123]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul 18 12:11:12 srv4hai postfix/smtpd[14259]: disconnect from unknown[185.208.158.123] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul 18 12:11:20 srv4hai named[30406]: connection refused resolving 'wv.inner-active.mobi/A/IN': 95.129.202.2#53
Jul 18 12:11:21 srv4hai nmbd[2172]: [2024/07/18 12:11:21.369140,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul 18 12:11:21 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul 18 12:11:21 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul 18 12:11:21 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul 18 12:11:51 srv4hai dhcpd[30731]: DHCPDISCOVER from f4:cf:a2:e3:b2:94 via enp2s0
Jul 18 12:11:51 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.101 to f4:cf:a2:e3:b2:94 via enp2s0
Jul 18 12:11:51 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul 18 12:11:51 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.101
Jul 18 12:11:51 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-01
Jul 18 12:11:51 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.101 (192.168.12.252) from f4:cf:a2:e3:b2:94 via enp2s0
Jul 18 12:11:51 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.101 to f4:cf:a2:e3:b2:94 via enp2s0
Jul 18 12:11:51 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#51609/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-01.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 18 12:11:51 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#56053/key rndc-key: signer "rndc-key" approved
Jul 18 12:11:51 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#56053/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' TXT
Jul 18 12:11:51 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#56053/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' TXT "00c768089445c9f8f8e0a9ab6d602edfb6"
Jul 18 12:11:51 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#56053/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' A
Jul 18 12:11:51 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#56053/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' A 192.168.12.101
Jul 18 12:11:51 srv4hai dhcpd[30731]: Added new forward map from shelly-01.viehai.at to 192.168.12.101
Jul 18 12:11:51 srv4hai named[30406]: client @0x7f932c05b620 192.168.12.252#52683/key rndc-key: signer "rndc-key" approved
Jul 18 12:11:51 srv4hai named[30406]: client @0x7f932c05b620 192.168.12.252#52683/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '101.12.168.192.in-addr.arpa' PTR
Jul 18 12:11:51 srv4hai named[30406]: client @0x7f932c05b620 192.168.12.252#52683/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '101.12.168.192.in-addr.arpa' PTR shelly-01.viehai.at.
Jul 18 12:11:51 srv4hai dhcpd[30731]: Added reverse map from 101.12.168.192.in-addr.arpa. to shelly-01.viehai.at
Jul 18 12:11:51 srv4hai common[14271]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul 18 12:11:51 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-01' - shIP/2:'' perform:'conf'
Jul 18 12:11:51 srv4hai ping_SP[7142]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721297511 - 'ping_SP_0'
Jul 18 12:11:51 srv4hai ping_SP[7142]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 18 12:11:52 srv4hai mosquitto[18551]: New connection from 192.168.12.101 on port 1883.
Jul 18 12:11:52 srv4hai mosquitto[18551]: New client connected from 192.168.12.101 as shelly1pm-F4CFA2E3B294 (c1, k60, u'shmqtt').
Jul 18 12:11:52 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-01' - shIP/2:'192.168.12.101'
Jul 18 12:11:52 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wandlicht beim Esstisch' already set for '192.168.12.101'
Jul 18 12:11:52 srv4hai activate_scenario[14304]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Jul 18 12:11:52 srv4hai activate_scenario[14304]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'

finished