activate_scenario.sh
Mon Apr 22 06:40:13 CEST 2024
scenario: LOG_gehen
source: 192.168.12.103

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

scenario: 'LOG_AUS' - 'LOG_gehen' - 'log_gehen'

scenario: 'LOG_AUS' - 'LOG_gehen' - 'log_gehen'

urls : 0
vorher : 06:40:13.056
nachher: 06:40:13.063
Dauer : 6 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/22//scene_LOG_gehen_20240422_064013.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'
Apr 22 06:40:12 srv4hai activate_scenario[28021]: SHELLY scenario: 'vorraumOff(vorraumoff)' TO BE EXECUTED, shelly-25:'Küchenlicht'
Apr 22 06:40:12 srv4hai postfix/pickup[17439]: C16F16022F: uid=33 from=
Apr 22 06:40:12 srv4hai postfix/cleanup[28083]: C16F16022F: message-id=<20240422044012.C16F16022F@mail.viehai.at>
Apr 22 06:40:12 srv4hai postfix/qmgr[15291]: C16F16022F: from=, size=8062, nrcpt=1 (queue active)
Apr 22 06:40:12 srv4hai activate_scenario[28021]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off'
Apr 22 06:40:12 srv4hai postfix/local[28096]: C16F16022F: to=, orig_to=, relay=local, delay=0.08, delays=0.05/0.02/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Apr 22 06:40:12 srv4hai postfix/cleanup[28083]: CFC0060230: message-id=<20240422044012.CFC0060230@mail.viehai.at>
Apr 22 06:40:12 srv4hai proc_url[28105]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/22/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'shelly-25:'Küchenlicht''
Apr 22 06:40:12 srv4hai postfix/bounce[28097]: C16F16022F: sender non-delivery notification: CFC0060230
Apr 22 06:40:12 srv4hai postfix/qmgr[15291]: CFC0060230: from=<>, size=9984, nrcpt=1 (queue active)
Apr 22 06:40:12 srv4hai postfix/qmgr[15291]: C16F16022F: removed
Apr 22 06:40:12 srv4hai activate_scenario[28021]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=off&brightness=70'
Apr 22 06:40:12 srv4hai postfix/local[28096]: CFC0060230: to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 22 06:40:12 srv4hai postfix/qmgr[15291]: CFC0060230: removed
Apr 22 06:40:12 srv4hai proc_url[28130]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/22/_1.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=off&brightness=70' - phName:'shelly-25:'Küchenlicht''
Apr 22 06:40:12 srv4hai activate_scenario[28021]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=off&brightness=70'
Apr 22 06:40:12 srv4hai proc_url[28154]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/22/_2.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=off&brightness=70' - phName:'shelly-25:'Küchenlicht''
Apr 22 06:40:12 srv4hai activate_scenario[28021]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=off&brightness=50'
Apr 22 06:40:12 srv4hai proc_url[28178]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/22/_3.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=off&brightness=50' - phName:'shelly-25:'Küchenlicht''
Apr 22 06:40:12 srv4hai activate_scenario[28021]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=off&brightness=50'
Apr 22 06:40:12 srv4hai proc_url[28201]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/22/_4.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=off&brightness=50' - phName:'shelly-25:'Küchenlicht''
Apr 22 06:40:12 srv4hai activate_scenario[28021]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-22'-'WC' --> '0?turn=off'
Apr 22 06:40:12 srv4hai proc_url[28221]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/22/_5.log' - shellyUsage:'WC' - scUrl:'http://192.168.12.122/relay/0?turn=off' - phName:'shelly-25:'Küchenlicht''
Apr 22 06:40:12 srv4hai activate_scenario[28021]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-25'-'Küchenlicht' --> '0?turn=off'
Apr 22 06:40:12 srv4hai proc_url[28242]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/22/_6.log' - shellyUsage:'Küchenlicht' - scUrl:'http://192.168.12.125/relay/0?turn=off' - phName:'shelly-25:'Küchenlicht''
Apr 22 06:40:13 srv4hai activate_scenario[28317]: SHELLY scenario: 'LOG_gehen(log_gehen)' started
Apr 22 06:40:13 srv4hai activate_scenario[28317]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'

finished