activate_scenario.sh
Sat Apr 27 10:42:44 CEST 2024
scenario: herdzeile_UM
source: 192.168.12.129

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

scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

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

vorher: 10:42:44.126

http://192.168.12.117/white/0?turn=toggle&brightness=50
  "ison": true,
  "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: 10:42:44.195
Dauer: 69 msec phName: 'shelly-29:'Schalter Herdzeile''


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

vorher: 10:42:44.140

http://192.168.12.117/white/1?turn=toggle&brightness=50
  "ison": true,
  "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: 10:42:44.215
Dauer: 75 msec phName: 'shelly-29:'Schalter Herdzeile''


scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

urls : 2
vorher : 10:42:44.105
nachher: 10:42:44.221
Dauer : 117 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/27//scene_herdzeile_UM_20240427_104244.txt'


syslog

Apr 27 10:39:01 srv4hai systemd[1]: Starting Clean php session files...
Apr 27 10:39:01 srv4hai CRON[22605]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Apr 27 10:39:01 srv4hai CRON[22606]: (root) CMD (/etc/linetest/linetest.sh)
Apr 27 10:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Apr 27 10:39:01 srv4hai systemd[1]: Started Clean php session files.
Apr 27 10:39:16 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22659, secured, session=
Apr 27 10:39:16 srv4hai dovecot: imap(miglincit)<22659>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 27 10:39:19 srv4hai ping_SP[31267]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714207159 - 'ping_SP_0'
Apr 27 10:39:19 srv4hai ping_SP[31267]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 27 10:39:48 srv4hai postfix/anvil[21366]: statistics: max connection rate 1/60s for (smtp:69.70.146.98) at Apr 27 10:31:14
Apr 27 10:39:48 srv4hai postfix/anvil[21366]: statistics: max connection count 1 for (smtp:69.70.146.98) at Apr 27 10:31:14
Apr 27 10:39:48 srv4hai postfix/anvil[21366]: statistics: max cache size 2 at Apr 27 10:31:36
Apr 27 10:39:51 srv4hai common[22683]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Apr 27 10:39:51 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM'
Apr 27 10:39:51 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs
Apr 27 10:39:51 srv4hai common[22706]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Apr 27 10:39:51 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1714207191-1714207190
Apr 27 10:39:51 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1714207191-1714207190
Apr 27 10:39:51 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1714207191-1714207190
Apr 27 10:39:57 srv4hai common[22771]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Apr 27 10:39:57 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM'
Apr 27 10:39:57 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs
Apr 27 10:39:57 srv4hai common[22794]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Apr 27 10:39:57 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1714207197-1714207196
Apr 27 10:39:57 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1714207197-1714207196
Apr 27 10:39:57 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1714207197-1714207196
Apr 27 10:40:00 srv4hai ping_SP[25256]: SHELLY (1)- ping 192.168.12.62 1 not answered (1) @~1714207200 - 'ping_SP_1'
Apr 27 10:40:01 srv4hai CRON[22870]: (root) CMD (/etc/linetest/linetest.sh)
Apr 27 10:40:01 srv4hai CRON[22871]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 27 10:40:01 srv4hai common[22872]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 27 10:40:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 27 10:40:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 27 10:40:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 27 10:40:11 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 27 10:40:11 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 27 10:40:11 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 27 10:40:11 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 27 10:40:11 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 27 10:40:11 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 27 10:40:15 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 27 10:40:17 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 27 10:40:17 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 27 10:40:17 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 27 10:40:17 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 27 10:40:17 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 27 10:40:17 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 27 10:40:20 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 27 10:40:20 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 27 10:40:20 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 27 10:40:20 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 27 10:40:20 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 27 10:40:20 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 27 10:40:20 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 27 10:40:20 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 27 10:40:20 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 27 10:40:20 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 27 10:40:20 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 27 10:40:23 srv4hai ping_SP[25256]: SHELLY (1) - ping 192.168.12.62 2 sucessfully  @~1714207223 - 'ping_SP_1'
Apr 27 10:40:23 srv4hai ping_SP[25256]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 27 10:40:23 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 27 10:40:23 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 27 10:40:23 srv4hai common[22872]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 27 10:40:24 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'5'=1714207224-1714207219
Apr 27 10:40:24 srv4hai check_presence[22872]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr 27 10:40:24 srv4hai check_presence[22872]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 27 10:40:24 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'5'=1714207224-1714207219
Apr 27 10:40:24 srv4hai check_presence[22872]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 27 10:40:24 srv4hai check_presence[22872]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Apr 27 10:40:24 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'5'=1714207224-1714207219
Apr 27 10:40:24 srv4hai check_presence[22872]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 27 10:40:24 srv4hai check_presence[22872]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(BT/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 27 10:40:24 srv4hai check_presence[22872]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 27 10:40:24 srv4hai common[22872]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 27 10:40:24 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM'
Apr 27 10:40:24 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs
Apr 27 10:40:24 srv4hai meter.sh: SHELLY meter.sh ended
Apr 27 10:40:24 srv4hai postfix/pickup[12221]: 55913631A0: uid=33 from=
Apr 27 10:40:24 srv4hai postfix/cleanup[23920]: 55913631A0: message-id=<20240427084024.55913631A0@mail.viehai.at>
Apr 27 10:40:24 srv4hai postfix/qmgr[15291]: 55913631A0: from=, size=716, nrcpt=1 (queue active)
Apr 27 10:40:24 srv4hai postfix/local[23922]: 55913631A0: to=, orig_to=, relay=local, delay=0.05, delays=0.02/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 27 10:40:24 srv4hai postfix/qmgr[15291]: 55913631A0: removed
Apr 27 10:40:32 srv4hai ping_SP[31267]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714207232 - 'ping_SP_0'
Apr 27 10:40:32 srv4hai ping_SP[31267]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 27 10:41:01 srv4hai CRON[23945]: (root) CMD (/etc/linetest/linetest.sh)
Apr 27 10:41:36 srv4hai ping_SP[25256]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714207296 - 'ping_SP_1'
Apr 27 10:41:36 srv4hai ping_SP[25256]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 27 10:41:55 srv4hai ping_SP[31267]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1714207315 - 'ping_SP_0'
Apr 27 10:42:01 srv4hai CRON[23992]: (root) CMD (/etc/linetest/linetest.sh)
Apr 27 10:42:16 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24007, secured, session=<999j/w8X7oEAAAAAAAAAAAAAAAAAAAAB>
Apr 27 10:42:16 srv4hai dovecot: imap(miglincit)<24007><999j/w8X7oEAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 27 10:42:21 srv4hai ping_SP[31267]: SHELLY (0)- ping 192.168.12.61 2 not answered (1) @~1714207341 - 'ping_SP_0'
Apr 27 10:42:44 srv4hai activate_scenario[24030]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started
Apr 27 10:42:44 srv4hai activate_scenario[24030]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-29:'Schalter Herdzeile'

finished