activate_scenario.sh
Sat Mar 2 07:11:08 CET 2024
scenario: nasszeile_um
source: 192.168.12.128

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

scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/03/02/_0.log)

vorher: 07:11:08.160

http://192.168.12.116/white/0?turn=toggle&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 07:11:08.217
Dauer: 57 msec phName: 'shelly-28:'Schalter Nasszeile''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/03/02/_1.log)

vorher: 07:11:08.173

http://192.168.12.116/white/1?turn=toggle&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 07:11:08.214
Dauer: 41 msec phName: 'shelly-28:'Schalter Nasszeile''


scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

urls : 2
vorher : 07:11:08.127
nachher: 07:11:08.225
Dauer : 99 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/02//scene_nasszeile_um_20240302_071108.txt'


syslog

Mar  2 07:08:01 srv4hai CRON[29336]: (root) CMD (/etc/linetest/linetest.sh)
Mar  2 07:08:36 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709359716 - 'ping_SP_1'
Mar  2 07:08:36 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  2 07:09:01 srv4hai CRON[29375]: (root) CMD (/etc/linetest/linetest.sh)
Mar  2 07:09:01 srv4hai CRON[29376]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Mar  2 07:09:01 srv4hai systemd[1]: Starting Clean php session files...
Mar  2 07:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Mar  2 07:09:01 srv4hai systemd[1]: Started Clean php session files.
Mar  2 07:09:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29474, secured, session=
Mar  2 07:09:02 srv4hai dovecot: imap(miglincit)<29474>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  2 07:09:04 srv4hai ping_SP[21632]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709359744 - 'ping_SP_0'
Mar  2 07:09:04 srv4hai ping_SP[21632]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  2 07:09:49 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709359789 - 'ping_SP_1'
Mar  2 07:09:49 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  2 07:10:01 srv4hai CRON[29526]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar  2 07:10:01 srv4hai CRON[29527]: (root) CMD (/etc/linetest/linetest.sh)
Mar  2 07:10:01 srv4hai meter.sh: SHELLY meter.sh started
Mar  2 07:10:06 srv4hai meter.sh: SHELLY 'shelly-23/Licht Sekretär':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:11 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:14 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:16 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:17 srv4hai ping_SP[21632]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709359817 - 'ping_SP_0'
Mar  2 07:10:17 srv4hai ping_SP[21632]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  2 07:10:19 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:21 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:24 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:27 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:29 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:32 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:33 srv4hai common[29967]: SHELLY common.sh inkludiert
Mar  2 07:10:34 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:37 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:39 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:42 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:43 srv4hai bt_scan[29967]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'No'
Mar  2 07:10:43 srv4hai bt_scan[29967]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Mar  2 07:10:43 srv4hai common[30010]: SHELLY common.sh inkludiert
Mar  2 07:10:43 srv4hai check_presence[30010]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Mar  2 07:10:43 srv4hai check_presence[30010]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Mar  2 07:10:43 srv4hai check_presence[30010]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Mar  2 07:10:43 srv4hai check_presence[30010]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Mar  2 07:10:43 srv4hai check_presence[30010]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Mar  2 07:10:44 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:47 srv4hai dhcpd[5037]: DHCPDISCOVER from 30:83:98:8c:05:9d via enp2s0
Mar  2 07:10:47 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Mar  2 07:10:47 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar  2 07:10:47 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.123
Mar  2 07:10:47 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-23
Mar  2 07:10:47 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.123 (192.168.12.252) from 30:83:98:8c:05:9d via enp2s0
Mar  2 07:10:47 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Mar  2 07:10:47 srv4hai named[14530]: client @0x7fc32811da30 192.168.12.252#54199/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-23.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar  2 07:10:47 srv4hai named[14530]: client @0x7fc3286ca970 192.168.12.252#45737/key rndc-key: signer "rndc-key" approved
Mar  2 07:10:47 srv4hai named[14530]: client @0x7fc3286ca970 192.168.12.252#45737/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' TXT
Mar  2 07:10:47 srv4hai named[14530]: client @0x7fc3286ca970 192.168.12.252#45737/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' TXT "0067c4eae5f3400bd02ff9ebe320262416"
Mar  2 07:10:47 srv4hai named[14530]: client @0x7fc3286ca970 192.168.12.252#45737/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' A
Mar  2 07:10:47 srv4hai named[14530]: client @0x7fc3286ca970 192.168.12.252#45737/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' A 192.168.12.123
Mar  2 07:10:47 srv4hai dhcpd[5037]: Added new forward map from shelly-23.viehai.at to 192.168.12.123
Mar  2 07:10:47 srv4hai named[14530]: client @0x7fc328100b10 192.168.12.252#53365/key rndc-key: signer "rndc-key" approved
Mar  2 07:10:47 srv4hai named[14530]: client @0x7fc328100b10 192.168.12.252#53365/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '123.12.168.192.in-addr.arpa' PTR
Mar  2 07:10:47 srv4hai named[14530]: client @0x7fc328100b10 192.168.12.252#53365/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '123.12.168.192.in-addr.arpa' PTR shelly-23.viehai.at.
Mar  2 07:10:47 srv4hai dhcpd[5037]: Added reverse map from 123.12.168.192.in-addr.arpa. to shelly-23.viehai.at
Mar  2 07:10:47 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-23' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Mar  2 07:10:47 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:48 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-23' - shIP/2:'192.168.12.123'
Mar  2 07:10:48 srv4hai conf_shelly.sh: SHELLY: usage/name 'Licht Sekretär' already set for '192.168.12.123'
Mar  2 07:10:48 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(0)' - allready transmitted - skipping
Mar  2 07:10:48 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(1)' - allready transmitted - skipping
Mar  2 07:10:48 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(2)' - allready transmitted - skipping
Mar  2 07:10:48 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(3)' - allready transmitted - skipping
Mar  2 07:10:48 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(4)' - allready transmitted - skipping
Mar  2 07:10:48 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(5)' - allready transmitted - skipping
Mar  2 07:10:48 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 ON : MISSING
Mar  2 07:10:48 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 OFF: MISSING
Mar  2 07:10:48 srv4hai common[30254]: SHELLY common.sh inkludiert
Mar  2 07:10:50 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:52 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:55 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:57 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:10:58 srv4hai bt_scan[30254]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Mar  2 07:10:58 srv4hai bt_scan[30254]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Mar  2 07:11:00 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:11:01 srv4hai CRON[30310]: (root) CMD (/etc/linetest/linetest.sh)
Mar  2 07:11:02 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:11:02 srv4hai meter.sh: SHELLY meter.sh ended
Mar  2 07:11:02 srv4hai postfix/pickup[21393]: DE9CF60244: uid=33 from=
Mar  2 07:11:02 srv4hai postfix/cleanup[30329]: DE9CF60244: message-id=<20240302061102.DE9CF60244@mail.viehai.at>
Mar  2 07:11:02 srv4hai postfix/qmgr[28610]: DE9CF60244: from=, size=654, nrcpt=1 (queue active)
Mar  2 07:11:02 srv4hai postfix/local[30331]: DE9CF60244: to=, orig_to=, relay=local, delay=0.04, delays=0.03/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  2 07:11:02 srv4hai postfix/qmgr[28610]: DE9CF60244: removed
Mar  2 07:11:03 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709359863 - 'ping_SP_1'
Mar  2 07:11:03 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  2 07:11:07 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar  2 07:11:08 srv4hai activate_scenario[30349]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Mar  2 07:11:08 srv4hai activate_scenario[30349]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished