activate_scenario.sh
Tue Feb 27 21:40:47 CET 2024
scenario: sekr_UM
source: 192.168.12.110

'night' <--> 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/02/27/_0.log)

vorher: 21:40:47.867

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: 21:40:47.894
Dauer: 27 msec phName: 'shelly-10:'WZ Bücherregal''


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

urls : 1
vorher : 21:40:47.849
nachher: 21:40:47.900
Dauer : 51 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/27//scene_sekr_UM_20240227_214047.txt'


syslog

Feb 27 21:37:01 srv4hai CRON[1924]: (root) CMD (/etc/linetest/linetest.sh)
Feb 27 21:37:21 srv4hai postfix/anvil[1688]: statistics: max connection rate 1/60s for (smtp:45.128.96.239) at Feb 27 21:33:56
Feb 27 21:37:21 srv4hai postfix/anvil[1688]: statistics: max connection count 1 for (smtp:45.128.96.239) at Feb 27 21:33:56
Feb 27 21:37:21 srv4hai postfix/anvil[1688]: statistics: max cache size 1 at Feb 27 21:33:56
Feb 27 21:37:41 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709066261 - 'ping_SP_1'
Feb 27 21:37:41 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 27 21:37:55 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709066275 - 'ping_SP_0'
Feb 27 21:37:55 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 27 21:38:01 srv4hai CRON[2000]: (root) CMD (/etc/linetest/linetest.sh)
Feb 27 21:38:52 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2037, secured, session=
Feb 27 21:38:52 srv4hai dovecot: imap(miglincit)<2037>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 27 21:38:54 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709066334 - 'ping_SP_1'
Feb 27 21:38:54 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 27 21:39:01 srv4hai CRON[2060]: (root) CMD (/etc/linetest/linetest.sh)
Feb 27 21:39:01 srv4hai CRON[2061]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Feb 27 21:39:01 srv4hai systemd[1]: Starting Cleanup of Temporary Directories...
Feb 27 21:39:01 srv4hai systemd[1]: Starting Clean php session files...
Feb 27 21:39:01 srv4hai systemd-tmpfiles[2063]: [/usr/lib/tmpfiles.d/vsftpd.conf:1] Line references path below legacy directory /var/run/, updating /var/run/vsftpd/empty → /run/vsftpd/empty; please update the tmpfiles.d/ drop-in file accordingly.
Feb 27 21:39:01 srv4hai systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
Feb 27 21:39:01 srv4hai systemd[1]: Started Cleanup of Temporary Directories.
Feb 27 21:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Feb 27 21:39:01 srv4hai systemd[1]: Started Clean php session files.
Feb 27 21:39:08 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709066348 - 'ping_SP_0'
Feb 27 21:39:08 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 27 21:40:01 srv4hai CRON[2218]: (root) CMD (/etc/linetest/linetest.sh)
Feb 27 21:40:01 srv4hai CRON[2219]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 27 21:40:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 27 21:40:03 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 27 21:40:04 srv4hai fetchmail[1651]: 38890 messages (38890 seen) for tmiglinci at mail.akis.at (-1081195270 octets).
Feb 27 21:40:04 srv4hai fetchmail[1651]: 9943 messages (9943 seen) for srozum at mail.akis.at (1201015575 octets).
Feb 27 21:40:05 srv4hai fetchmail[1651]: 21902 messages (21902 seen) for mrozum at mail.akis.at (-538249285 octets).
Feb 27 21:40:05 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Feb 27 21:40:08 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709066408 - 'ping_SP_1'
Feb 27 21:40:08 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 27 21:40:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 21:40:11 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 21:40:13 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 21:40:16 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 21:40:18 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 21:40:20 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 27 21:40:20 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 27 21:40:20 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 27 21:40:20 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137
Feb 27 21:40:20 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37
Feb 27 21:40:20 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb 27 21:40:20 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 27 21:40:20 srv4hai named[14530]: client @0x7fc3200246f0 192.168.12.252#46119/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 27 21:40:20 srv4hai named[14530]: client @0x7fc3201073f0 192.168.12.252#51599/key rndc-key: signer "rndc-key" approved
Feb 27 21:40:20 srv4hai named[14530]: client @0x7fc3201073f0 192.168.12.252#51599/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb 27 21:40:20 srv4hai named[14530]: client @0x7fc3201073f0 192.168.12.252#51599/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb 27 21:40:20 srv4hai named[14530]: client @0x7fc3201073f0 192.168.12.252#51599/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb 27 21:40:20 srv4hai named[14530]: client @0x7fc3201073f0 192.168.12.252#51599/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb 27 21:40:20 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb 27 21:40:20 srv4hai named[14530]: client @0x7fc31009ec90 192.168.12.252#46983/key rndc-key: signer "rndc-key" approved
Feb 27 21:40:20 srv4hai named[14530]: client @0x7fc31009ec90 192.168.12.252#46983/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Feb 27 21:40:20 srv4hai named[14530]: client @0x7fc31009ec90 192.168.12.252#46983/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '137.12.168.192.in-addr.arpa' PTR shelly-37.viehai.at.
Feb 27 21:40:20 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb 27 21:40:20 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 27 21:40:21 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709066421 - 'ping_SP_0'
Feb 27 21:40:21 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 27 21:40:21 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 27 21:40:21 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=43&temp=21.62&id=shellyht-00B358
Feb 27 21:40:21 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240227.csv'
Feb 27 21:40:21 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 27 21:40:21 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 27 21:40:21 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 27 21:40:21 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 27 21:40:21 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 27 21:40:21 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 27 21:40:21 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 27 21:40:21 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 27 21:40:21 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 27 21:40:21 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 27 21:40:21 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 27 21:40:21 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 27 21:40:21 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 27 21:40:21 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 27 21:40:21 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 27 21:40:21 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 21.62° - 43%
Feb 27 21:40:21 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 21.62°/21.25° - 43%/41% - SAVED
Feb 27 21:40:21 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb 27 21:40:21 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 21:40:23 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: dweetIO='{#012  "this": "succeeded",#012  "by": "dweeting",#012  "the": "dweet",#012  "with": {#012    "thing": "viehai-37",#012    "created": "2024-02-27T20:40:23.095Z",#012    "content": {#012      "temp": 21.62,#012      "hum": 43,#012      "batt": 91#012    },#012    "transaction": "a073100e-8704-42b6-86c9-45f1f6af4e7e"#012  }#012}'°
Feb 27 21:40:24 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 21:40:26 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=43&temp=21.62&id=shellyht-00B358
Feb 27 21:40:26 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240227.csv'
Feb 27 21:40:26 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240227.csv' modifed 5s ago - EXIT
Feb 27 21:40:26 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 21:40:29 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 21:40:31 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=43&temp=21.62&id=shellyht-00B358
Feb 27 21:40:31 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240227.csv'
Feb 27 21:40:31 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240227.csv' modifed 10s ago - EXIT
Feb 27 21:40:32 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 21:40:34 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 21:40:36 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=43&temp=21.62&id=shellyht-00B358
Feb 27 21:40:36 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240227.csv'
Feb 27 21:40:36 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240227.csv' modifed 15s ago - EXIT
Feb 27 21:40:37 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 21:40:39 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 21:40:41 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=43&temp=21.62&id=shellyht-00B358
Feb 27 21:40:41 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240227.csv'
Feb 27 21:40:41 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240227.csv' modifed 20s ago - EXIT
Feb 27 21:40:42 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 21:40:45 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 21:40:46 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=43&temp=21.62&id=shellyht-00B358
Feb 27 21:40:46 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240227.csv'
Feb 27 21:40:46 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240227.csv' modifed 25s ago - EXIT
Feb 27 21:40:47 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 21:40:47 srv4hai activate_scenario[3130]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Feb 27 21:40:47 srv4hai activate_scenario[3130]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-10:'WZ Bücherregal'

finished