activate_scenario.sh
Sun Sep 29 13:30:12 CEST 2024
scenario: pcOFF
source: 192.168.12.10

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

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_0.log)

vorher: 13:30:12.217

http://192.168.12.120/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 13:30:12.301
Dauer: 84 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 13:30:12.178
nachher: 13:30:12.309
Dauer : 132 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/29//scene_pcOFF_20240929_133012.txt'


syslog

Sep 29 13:27:01 srv4hai CRON[32358]: (root) CMD (/etc/linetest/linetest.sh)
Sep 29 13:27:11 srv4hai ping_SP[23469]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727609231 - 'ping_SP_0'
Sep 29 13:27:11 srv4hai ping_SP[23469]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 29 13:27:11 srv4hai nmbd[2172]: [2024/09/29 13:27:11.827351,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Sep 29 13:27:11 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Sep 29 13:27:11 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Sep 29 13:27:11 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Sep 29 13:27:41 srv4hai systemd[1]: Starting Daily apt download activities...
Sep 29 13:27:41 srv4hai systemd[1]: apt-daily.service: Succeeded.
Sep 29 13:27:41 srv4hai systemd[1]: Started Daily apt download activities.
Sep 29 13:28:01 srv4hai CRON[32438]: (root) CMD (/etc/linetest/linetest.sh)
Sep 29 13:28:05 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Sep 29 13:28:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32448, secured, session=
Sep 29 13:28:13 srv4hai dovecot: imap(miglincit)<32448>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 29 13:28:24 srv4hai ping_SP[23469]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727609304 - 'ping_SP_0'
Sep 29 13:28:24 srv4hai ping_SP[23469]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 29 13:28:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32475, secured, session=
Sep 29 13:28:48 srv4hai dovecot: imap(miglincit)<32475>: Logged out in=265 out=1651 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 29 13:28:55 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32477, secured, session=
Sep 29 13:28:55 srv4hai dovecot: imap(miglincit)<32477>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 29 13:28:59 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 29 13:29:00 srv4hai fetchmail[1651]: 53382 messages (53382 seen) for tmiglinci at mail.akis.at (84182609 octets).
Sep 29 13:29:00 srv4hai fetchmail[1651]: 10784 messages (10784 seen) for srozum at mail.akis.at (1306849243 octets).
Sep 29 13:29:01 srv4hai CRON[32479]: (root) CMD (/etc/linetest/linetest.sh)
Sep 29 13:29:01 srv4hai fetchmail[1651]: 26228 messages (26228 seen) for mrozum at mail.akis.at (256071164 octets).
Sep 29 13:29:01 srv4hai fetchmail[1651]: 1145 messages (1145 seen) for admin@bastelstube.wien at pop3.world4you.com (51919832 octets).
Sep 29 13:29:37 srv4hai ping_SP[23469]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727609377 - 'ping_SP_0'
Sep 29 13:29:37 srv4hai ping_SP[23469]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 29 13:30:01 srv4hai CRON[32511]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Sep 29 13:30:01 srv4hai CRON[32510]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 29 13:30:01 srv4hai CRON[32512]: (root) CMD (/etc/linetest/linetest.sh)
Sep 29 13:30:01 srv4hai common[32513]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 29 13:30:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 29 13:30:01 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Sep 29 13:30:01 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Sep 29 13:30:01 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Sep 29 13:30:01 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139
Sep 29 13:30:01 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39
Sep 29 13:30:01 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Sep 29 13:30:01 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Sep 29 13:30:01 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#51889/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 29 13:30:01 srv4hai named[30406]: client @0x7f934c0b2c60 192.168.12.252#47023/key rndc-key: signer "rndc-key" approved
Sep 29 13:30:01 srv4hai named[30406]: client @0x7f934c0b2c60 192.168.12.252#47023/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Sep 29 13:30:01 srv4hai named[30406]: client @0x7f934c0b2c60 192.168.12.252#47023/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Sep 29 13:30:01 srv4hai named[30406]: client @0x7f934c0b2c60 192.168.12.252#47023/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Sep 29 13:30:01 srv4hai named[30406]: client @0x7f934c0b2c60 192.168.12.252#47023/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Sep 29 13:30:01 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Sep 29 13:30:01 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#33949/key rndc-key: signer "rndc-key" approved
Sep 29 13:30:01 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#33949/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Sep 29 13:30:01 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#33949/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.
Sep 29 13:30:01 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Sep 29 13:30:01 srv4hai common[32543]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Sep 29 13:30:01 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Sep 29 13:30:01 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Sep 29 13:30:01 srv4hai common[32566]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Sep 29 13:30:01 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=19.400000&hum=37.200000&id=C049EF8AC9D8&batt=100&volt=6.120000
Sep 29 13:30:01 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/09/shelly-39_20240929.csv'
Sep 29 13:30:01 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Sep 29 13:30:01 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Sep 29 13:30:01 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Sep 29 13:30:01 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}'
Sep 29 13:30:01 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}'
Sep 29 13:30:01 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 '.''
Sep 29 13:30:01 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 '.''
Sep 29 13:30:01 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Sep 29 13:30:01 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Sep 29 13:30:01 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Sep 29 13:30:01 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Sep 29 13:30:01 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 19.4° - 37.2%
Sep 29 13:30:01 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 19.4°/19.5° - 37.2%/37.5% - SAVED
Sep 29 13:30:01 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Sep 29 13:30:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 29 13:30:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 29 13:30:02 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-09-29T11:30:02.032Z",#012    "content": {#012      "temp": 19.4,#012      "hum": 37.2,#012      "batt": 100,#012      "csvF": "shelly-39_20240929.csv"#012    },#012    "transaction": "96437446-de0f-41c4-b192-77fa35f6a2c2"#012  }#012}'°
Sep 29 13:30:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep 29 13:30:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep 29 13:30:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep 29 13:30:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Sep 29 13:30:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Sep 29 13:30:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 29 13:30:10 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 29 13:30:10 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Sep 29 13:30:10 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Sep 29 13:30:10 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Sep 29 13:30:10 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Sep 29 13:30:10 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Sep 29 13:30:10 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Sep 29 13:30:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Sep 29 13:30:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Sep 29 13:30:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Sep 29 13:30:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Sep 29 13:30:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Sep 29 13:30:11 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Sep 29 13:30:11 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Sep 29 13:30:11 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Sep 29 13:30:11 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Sep 29 13:30:11 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Sep 29 13:30:11 srv4hai dovecot: imap(miglincit)<24399>: Logged out in=596547 out=6920882 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=2 body_bytes=506957
Sep 29 13:30:11 srv4hai dovecot: imap(miglincit)<24400>: Logged out in=600537 out=6039346 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=992 body_count=2 body_bytes=174629
Sep 29 13:30:11 srv4hai dovecot: imap(miglincit)<24401>: Connection closed (IDLE finished 81.756 secs ago) in=8224 out=6006989 deleted=0 expunged=0 trashed=0 hdr_count=101 hdr_bytes=35816 body_count=103 body_bytes=5836929
Sep 29 13:30:11 srv4hai dovecot: imap(miglincit)<24398>: Connection closed (IDLE running for 0.001 + waiting input for 81.885 secs, 2 B in + 10 B out, state=wait-input) in=606948 out=6515904 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 29 13:30:11 srv4hai dovecot: imap(miglincit)<24396>: Connection closed (IDLE running for 0.001 + waiting input for 81.886 secs, 2 B in + 10 B out, state=wait-input) in=602257 out=6652324 deleted=0 expunged=0 trashed=0 hdr_count=3 hdr_bytes=1315 body_count=0 body_bytes=0
Sep 29 13:30:12 srv4hai activate_scenario[1119]: SHELLY scenario: 'pcOFF(pcoff)' started
Sep 29 13:30:12 srv4hai activate_scenario[1119]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished