activate_scenario.sh
Tue May 28 23:37:30 CEST 2024
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/05/28/_0.log)

vorher: 23:37:30.950

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

nachher: 23:37:31.103
Dauer: 153 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/05/28/_1.log)

vorher: 23:37:30.966

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

nachher: 23:37:31.020
Dauer: 54 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 23:37:30.910
nachher: 23:37:31.110
Dauer : 203 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/28//scene_buero_UM_20240528_233730.txt'


syslog

May 28 23:34:01 srv4hai CRON[14651]: (root) CMD (/etc/linetest/linetest.sh)
May 28 23:34:02 srv4hai ping_SP[23472]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1716932042 - 'ping_SP_0'
May 28 23:34:02 srv4hai ping_SP[23472]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 28 23:34:37 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:db:84:a8:91:c9 via enp2s0
May 28 23:34:37 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.117 to e8:db:84:a8:91:c9 via enp2s0
May 28 23:34:39 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:db:84:a8:91:c9 via enp2s0
May 28 23:34:39 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.117 to e8:db:84:a8:91:c9 via enp2s0
May 28 23:34:39 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
May 28 23:34:39 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.117
May 28 23:34:39 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-17
May 28 23:34:39 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.117 (192.168.12.252) from e8:db:84:a8:91:c9 via enp2s0
May 28 23:34:39 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.117 to e8:db:84:a8:91:c9 via enp2s0
May 28 23:34:39 srv4hai dhcpd[30731]: DDNS: cleaning up lease pointer for a cancel cb=0x55bb12b04240
May 28 23:34:39 srv4hai dhcpd[30731]: Unable to add forward map from shelly-17.viehai.at to 192.168.12.117: operation canceled
May 28 23:34:39 srv4hai common[14679]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
May 28 23:34:39 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-17' - shIP/2:'' perform:'conf'
May 28 23:34:40 srv4hai mosquitto[18551]: New connection from 192.168.12.117 on port 1883.
May 28 23:34:40 srv4hai mosquitto[18551]: New client connected from 192.168.12.117 as shellyrgbw2-A891C9 (c1, k60, u'shmqtt').
May 28 23:34:40 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-17' - shIP/2:'192.168.12.117'
May 28 23:34:40 srv4hai conf_shelly.sh: SHELLY: usage/name 'Küche Licht Herdzeile' already set for '192.168.12.117'
May 28 23:34:40 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(0)' - allready transmitted - skipping
May 28 23:34:40 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(1)' - allready transmitted - skipping
May 28 23:34:40 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(2)' - allready transmitted - skipping
May 28 23:34:40 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(3)' - allready transmitted - skipping
May 28 23:34:40 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(4)' - allready transmitted - skipping
May 28 23:34:40 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(5)' - allready transmitted - skipping
May 28 23:34:40 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(6)' - allready transmitted - skipping
May 28 23:34:40 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(7)' - allready transmitted - skipping
May 28 23:34:40 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:0 ON : MISSING
May 28 23:34:40 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:1 ON : MISSING
May 28 23:34:40 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:2 ON : MISSING
May 28 23:34:40 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:3 ON : MISSING
May 28 23:34:40 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:0 OFF: MISSING
May 28 23:34:40 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:1 OFF: MISSING
May 28 23:34:40 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:2 OFF: MISSING
May 28 23:34:40 srv4hai conf_shelly.sh: SHELLY:'shelly-17' out:3 OFF: MISSING
May 28 23:35:01 srv4hai CRON[14874]: (root) CMD (/etc/linetest/linetest.sh)
May 28 23:35:15 srv4hai ping_SP[23472]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1716932115 - 'ping_SP_0'
May 28 23:35:15 srv4hai ping_SP[23472]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 28 23:35:33 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
May 28 23:35:33 srv4hai fetchmail[1651]: 45233 messages (45233 seen) for tmiglinci at mail.akis.at (-555688329 octets).
May 28 23:35:34 srv4hai fetchmail[1651]: 10269 messages (10269 seen) for srozum at mail.akis.at (1237183507 octets).
May 28 23:35:34 srv4hai fetchmail[1651]: 23751 messages (23751 seen) for mrozum at mail.akis.at (-190427144 octets).
May 28 23:35:35 srv4hai fetchmail[1651]: 72 messages (72 seen) for admin@bastelstube.wien at pop3.world4you.com (23661197 octets).
May 28 23:35:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14905, secured, session=
May 28 23:35:37 srv4hai dovecot: imap(miglincit)<14905>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 28 23:36:01 srv4hai CRON[14914]: (root) CMD (/etc/linetest/linetest.sh)
May 28 23:36:28 srv4hai ping_SP[23472]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1716932188 - 'ping_SP_0'
May 28 23:36:28 srv4hai ping_SP[23472]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 28 23:37:01 srv4hai CRON[14954]: (root) CMD (/etc/linetest/linetest.sh)
May 28 23:37:26 srv4hai activate_scenario[14966]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
May 28 23:37:26 srv4hai activate_scenario[14966]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'
May 28 23:37:26 srv4hai activate_scenario[14966]: SHELLY scenario: 'offDownstairs(offdownstairs)' TO BE EXECUTED, shelly-23:'Licht Sekretär'
May 28 23:37:26 srv4hai postfix/pickup[11797]: E54F7631A0: uid=33 from=
May 28 23:37:26 srv4hai postfix/cleanup[15019]: E54F7631A0: message-id=<20240528213726.E54F7631A0@mail.viehai.at>
May 28 23:37:26 srv4hai postfix/qmgr[31004]: E54F7631A0: from=, size=6061, nrcpt=1 (queue active)
May 28 23:37:26 srv4hai postfix/local[15032]: warning: database /etc/aliases.db is older than source file /etc/aliases
May 28 23:37:26 srv4hai activate_scenario[14966]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-01'-'Wandlicht beim Esstisch' --> '0?turn=off'
May 28 23:37:26 srv4hai proc_url[15037]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/28/_0.log' - shellyUsage:'Wandlicht beim Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
May 28 23:37:26 srv4hai postfix/local[15032]: E54F7631A0: to=, orig_to=, relay=local, delay=0.07, delays=0.04/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
May 28 23:37:26 srv4hai postfix/cleanup[15019]: F0D4D631A1: message-id=<20240528213726.F0D4D631A1@mail.viehai.at>
May 28 23:37:26 srv4hai postfix/bounce[15033]: E54F7631A0: sender non-delivery notification: F0D4D631A1
May 28 23:37:26 srv4hai postfix/qmgr[31004]: F0D4D631A1: from=<>, size=7983, nrcpt=1 (queue active)
May 28 23:37:26 srv4hai postfix/qmgr[31004]: E54F7631A0: removed
May 28 23:37:26 srv4hai postfix/local[15032]: F0D4D631A1: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
May 28 23:37:26 srv4hai postfix/qmgr[31004]: F0D4D631A1: removed
May 28 23:37:26 srv4hai activate_scenario[14966]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-02'-'Balkon-Licht' --> '0?turn=off'
May 28 23:37:26 srv4hai proc_url[15049]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/28/_1.log' - shellyUsage:'Balkon-Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
May 28 23:37:27 srv4hai activate_scenario[14966]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off'
May 28 23:37:27 srv4hai proc_url[15060]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/28/_2.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
May 28 23:37:27 srv4hai activate_scenario[14966]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-05'-'Stehlampe Anne hell' --> '0?turn=off'
May 28 23:37:27 srv4hai proc_url[15081]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/28/_3.log' - shellyUsage:'Stehlampe Anne hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
May 28 23:37:27 srv4hai activate_scenario[14966]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=off'
May 28 23:37:27 srv4hai proc_url[15102]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/28/_4.log' - shellyUsage:'Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
May 28 23:37:27 srv4hai activate_scenario[14966]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-10'-'WZ Bücherregal' --> '0?turn=off'
May 28 23:37:27 srv4hai proc_url[15123]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/28/_5.log' - shellyUsage:'WZ Bücherregal' - scUrl:'http://192.168.12.110/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
May 28 23:37:27 srv4hai activate_scenario[14966]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=off&brightness=70'
May 28 23:37:27 srv4hai proc_url[15134]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/28/_6.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=off&brightness=70' - phName:'shelly-23:'Licht Sekretär''
May 28 23:37:27 srv4hai activate_scenario[14966]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=off&brightness=70'
May 28 23:37:27 srv4hai proc_url[15147]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/28/_7.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=off&brightness=70' - phName:'shelly-23:'Licht Sekretär''
May 28 23:37:27 srv4hai activate_scenario[14966]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=off&brightness=50'
May 28 23:37:27 srv4hai proc_url[15162]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/28/_8.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=off&brightness=50' - phName:'shelly-23:'Licht Sekretär''
May 28 23:37:27 srv4hai activate_scenario[14966]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=off&brightness=50'
May 28 23:37:27 srv4hai proc_url[15187]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/28/_9.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=off&brightness=50' - phName:'shelly-23:'Licht Sekretär''
May 28 23:37:27 srv4hai activate_scenario[14966]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-19'-'Fernsehlampe groß' --> '0?turn=off'
May 28 23:37:27 srv4hai proc_url[15214]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/28/_10.log' - shellyUsage:'Fernsehlampe groß' - scUrl:'http://192.168.12.119/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
May 28 23:37:27 srv4hai activate_scenario[14966]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-22'-'WC' --> '0?turn=off'
May 28 23:37:27 srv4hai proc_url[15233]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/28/_11.log' - shellyUsage:'WC' - scUrl:'http://192.168.12.122/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
May 28 23:37:27 srv4hai activate_scenario[14966]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-23'-'Licht Sekretär' --> '0?turn=off'
May 28 23:37:27 srv4hai proc_url[15249]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/28/_12.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
May 28 23:37:27 srv4hai activate_scenario[14966]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-25'-'Küchenlicht' --> '0?turn=off'
May 28 23:37:27 srv4hai proc_url[15260]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/28/_13.log' - shellyUsage:'Küchenlicht' - scUrl:'http://192.168.12.125/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
May 28 23:37:30 srv4hai activate_scenario[14966]: SHELLY scenario: 'offDownstairs(offdownstairs)' took 3263 msec, shelly-23:'Licht Sekretär'
May 28 23:37:30 srv4hai activate_scenario[15389]: SHELLY scenario: 'buero_UM(buero_um)' started
May 28 23:37:30 srv4hai activate_scenario[15389]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished