activate_scenario.sh
Mon Apr 22 06:40:12 CEST 2024
scenario: vorraumOff
source: 192.168.12.125

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

scenario: 'Vorraum/Küche AUS-schalten' - 'vorraumOff' - 'vorraumoff'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/04/22/_0.log)

vorher: 06:40:12.853

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

nachher: 06:40:12.971
Dauer: 117 msec phName: 'shelly-25:'Küchenlicht''


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

vorher: 06:40:12.867

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

nachher: 06:40:12.969
Dauer: 101 msec phName: 'shelly-25:'Küchenlicht''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/22/_2.log)

vorher: 06:40:12.880

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

nachher: 06:40:12.963
Dauer: 81 msec phName: 'shelly-25:'Küchenlicht''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/22/_3.log)

vorher: 06:40:12.894

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 06:40:12.916
Dauer: 23 msec phName: 'shelly-25:'Küchenlicht''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/22/_4.log)

vorher: 06:40:12.906

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 06:40:12.954
Dauer: 48 msec phName: 'shelly-25:'Küchenlicht''


WC (/srv/www/viehai/shelly/log_scenarios/2024/04/22/_5.log)

vorher: 06:40:12.918

http://192.168.12.122/relay/0?turn=off

        

nachher: 06:40:15.987
Dauer: 3069 msec phName: 'shelly-25:'Küchenlicht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/04/22/_6.log)

vorher: 06:40:12.931

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

nachher: 06:40:12.969
Dauer: 38 msec phName: 'shelly-25:'Küchenlicht''


scenario: 'Vorraum/Küche AUS-schalten' - 'vorraumOff' - 'vorraumoff'

urls : 7
vorher : 06:40:12.797
nachher: 06:40:15.995
Dauer : 3200 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/22//scene_vorraumOff_20240422_064012.txt'


syslog

Apr 22 06:37:01 srv4hai CRON[27012]: (root) CMD (/etc/linetest/linetest.sh)
Apr 22 06:37:36 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713760656 - 'ping_SP_1'
Apr 22 06:37:36 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 22 06:37:55 srv4hai dhcpd[22856]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Apr 22 06:37:55 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Apr 22 06:37:55 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr 22 06:37:55 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.122
Apr 22 06:37:55 srv4hai dhcpd[22856]: execute_statement argv[2] = shelly-22
Apr 22 06:37:55 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Apr 22 06:37:55 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Apr 22 06:37:55 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#34995/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 22 06:37:55 srv4hai named[15509]: client @0x7f9314001390 192.168.12.252#52661/key rndc-key: signer "rndc-key" approved
Apr 22 06:37:55 srv4hai named[15509]: client @0x7f9314001390 192.168.12.252#52661/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Apr 22 06:37:55 srv4hai named[15509]: client @0x7f9314001390 192.168.12.252#52661/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Apr 22 06:37:55 srv4hai named[15509]: client @0x7f9314001390 192.168.12.252#52661/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Apr 22 06:37:55 srv4hai named[15509]: client @0x7f9314001390 192.168.12.252#52661/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Apr 22 06:37:55 srv4hai dhcpd[22856]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Apr 22 06:37:55 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#56653/key rndc-key: signer "rndc-key" approved
Apr 22 06:37:55 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#56653/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Apr 22 06:37:55 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#56653/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Apr 22 06:37:55 srv4hai dhcpd[22856]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Apr 22 06:37:55 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr 22 06:37:56 srv4hai mosquitto[18551]: New connection from 192.168.12.122 on port 1883.
Apr 22 06:37:56 srv4hai mosquitto[18551]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Apr 22 06:37:56 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Apr 22 06:37:56 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC' already set for '192.168.12.122'
Apr 22 06:37:56 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Apr 22 06:37:56 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Apr 22 06:37:56 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Apr 22 06:37:56 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Apr 22 06:37:56 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Apr 22 06:37:56 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 ON : MISSING
Apr 22 06:37:56 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 OFF: MISSING
Apr 22 06:38:01 srv4hai CRON[27183]: (root) CMD (/etc/linetest/linetest.sh)
Apr 22 06:38:09 srv4hai ping_SP[11318]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713760689 - 'ping_SP_0'
Apr 22 06:38:09 srv4hai ping_SP[11318]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 22 06:38:49 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713760729 - 'ping_SP_1'
Apr 22 06:38:50 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 22 06:39:01 srv4hai CRON[27230]: (root) CMD (/etc/linetest/linetest.sh)
Apr 22 06:39:01 srv4hai CRON[27229]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Apr 22 06:39:01 srv4hai systemd[1]: Starting Clean php session files...
Apr 22 06:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Apr 22 06:39:01 srv4hai systemd[1]: Started Clean php session files.
Apr 22 06:39:32 srv4hai ping_SP[11318]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1713760772 - 'ping_SP_0'
Apr 22 06:39:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27347, secured, session=
Apr 22 06:39:37 srv4hai dovecot: imap(miglincit)<27347>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 22 06:39:56 srv4hai ping_SP[11318]: SHELLY (0) - ping 192.168.12.61 2 sucessfully  @~1713760796 - 'ping_SP_0'
Apr 22 06:39:56 srv4hai ping_SP[11318]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 22 06:40:01 srv4hai CRON[27377]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 22 06:40:01 srv4hai CRON[27378]: (root) CMD (/etc/linetest/linetest.sh)
Apr 22 06:40:01 srv4hai common[27379]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 22 06:40:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 22 06:40:03 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713760803 - 'ping_SP_1'
Apr 22 06:40:03 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 22 06:40:04 srv4hai meter.sh: SHELLY 'shelly-22/WC':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 22 06:40:04 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 22 06:40:04 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 22 06:40:09 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 22 06:40:10 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 22 06:40:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 22 06:40:10 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 22 06:40:10 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 22 06:40:10 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 22 06:40:12 srv4hai activate_scenario[28021]: SHELLY scenario: 'vorraumOff(vorraumoff)' started
Apr 22 06:40:12 srv4hai activate_scenario[28021]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-25:'Küchenlicht'

finished