activate_scenario.sh
Tue Jun 25 19:04:31 CEST 2024
scenario: offAll
phoneName: kanaDaham

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Licht überall AUS-schalten' - 'offAll' - 'offall'

Wandlicht beim Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_0.log)

vorher: 19:04:32.040

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

nachher: 19:04:32.068
Dauer: 29 msec phName: 'phoneName:'kanaDaham''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_1.log)

vorher: 19:04:32.054

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

nachher: 19:04:32.082
Dauer: 27 msec phName: 'phoneName:'kanaDaham''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_2.log)

vorher: 19:04:32.066

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: 19:04:32.109
Dauer: 43 msec phName: 'phoneName:'kanaDaham''


Badezimmer (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_3.log)

vorher: 19:04:32.080

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

nachher: 19:04:32.141
Dauer: 60 msec phName: 'phoneName:'kanaDaham''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_4.log)

vorher: 19:04:32.093

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

        

nachher: 19:04:35.155
Dauer: 3062 msec phName: 'phoneName:'kanaDaham''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_5.log)

vorher: 19:04:32.106

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

nachher: 19:04:32.136
Dauer: 30 msec phName: 'phoneName:'kanaDaham''


Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_6.log)

vorher: 19:04:32.121

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

nachher: 19:04:32.151
Dauer: 31 msec phName: 'phoneName:'kanaDaham''


Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_7.log)

vorher: 19:04:32.139

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

nachher: 19:04:32.216
Dauer: 77 msec phName: 'phoneName:'kanaDaham''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_8.log)

vorher: 19:04:32.152

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

nachher: 19:04:32.221
Dauer: 70 msec phName: 'phoneName:'kanaDaham''


WZ Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_9.log)

vorher: 19:04:32.166

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

nachher: 19:04:32.186
Dauer: 21 msec phName: 'phoneName:'kanaDaham''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_10.log)

vorher: 19:04:32.178

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

nachher: 19:04:32.243
Dauer: 66 msec phName: 'phoneName:'kanaDaham''


15-Test Weiss (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_11.log)

vorher: 19:04:32.193

http://192.168.12.115/white/0?turn=off&brightness=50

        

nachher: 19:04:35.251
Dauer: 3058 msec phName: 'phoneName:'kanaDaham''


15-Test Weiss (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_12.log)

vorher: 19:04:32.205

http://192.168.12.115/white/1?turn=off&brightness=50

        

nachher: 19:04:35.251
Dauer: 3046 msec phName: 'phoneName:'kanaDaham''


15-Test Weiss (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_13.log)

vorher: 19:04:32.218

http://192.168.12.115/white/2?turn=off&brightness=50

        

nachher: 19:04:35.251
Dauer: 3034 msec phName: 'phoneName:'kanaDaham''


15-Test Weiss (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_14.log)

vorher: 19:04:32.234

http://192.168.12.115/white/3?turn=off&brightness=50

        

nachher: 19:04:35.252
Dauer: 3018 msec phName: 'phoneName:'kanaDaham''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_15.log)

vorher: 19:04:32.247

http://192.168.12.116/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: 19:04:32.270
Dauer: 24 msec phName: 'phoneName:'kanaDaham''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_16.log)

vorher: 19:04:32.261

http://192.168.12.116/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: 19:04:32.285
Dauer: 25 msec phName: 'phoneName:'kanaDaham''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_17.log)

vorher: 19:04:32.273

http://192.168.12.116/white/2?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: 19:04:32.386
Dauer: 112 msec phName: 'phoneName:'kanaDaham''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_18.log)

vorher: 19:04:32.286

http://192.168.12.116/white/3?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: 19:04:32.373
Dauer: 87 msec phName: 'phoneName:'kanaDaham''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_19.log)

vorher: 19:04:32.300

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: 19:04:32.328
Dauer: 28 msec phName: 'phoneName:'kanaDaham''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_20.log)

vorher: 19:04:32.313

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: 19:04:32.370
Dauer: 57 msec phName: 'phoneName:'kanaDaham''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_21.log)

vorher: 19:04:32.326

http://192.168.12.117/white/2?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: 19:04:32.453
Dauer: 128 msec phName: 'phoneName:'kanaDaham''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_22.log)

vorher: 19:04:32.339

http://192.168.12.117/white/3?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: 19:04:32.411
Dauer: 72 msec phName: 'phoneName:'kanaDaham''


18-Test Farbige LED (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_23.log)

vorher: 19:04:32.352

http://192.168.12.118/color/0?turn=off&red=128&green=128&blue=128&white=128

        

nachher: 19:04:35.411
Dauer: 3059 msec phName: 'phoneName:'kanaDaham''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_24.log)

vorher: 19:04:32.364

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

        

nachher: 19:04:35.443
Dauer: 3079 msec phName: 'phoneName:'kanaDaham''


Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_25.log)

vorher: 19:04:32.381

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

nachher: 19:04:32.452
Dauer: 71 msec phName: 'phoneName:'kanaDaham''


WC (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_26.log)

vorher: 19:04:32.398

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

nachher: 19:04:32.451
Dauer: 54 msec phName: 'phoneName:'kanaDaham''


Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_27.log)

vorher: 19:04:32.410

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

nachher: 19:04:32.476
Dauer: 66 msec phName: 'phoneName:'kanaDaham''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_28.log)

vorher: 19:04:32.424

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

nachher: 19:04:32.475
Dauer: 51 msec phName: 'phoneName:'kanaDaham''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_29.log)

vorher: 19:04:32.437

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: 19:04:32.487
Dauer: 50 msec phName: 'phoneName:'kanaDaham''


Zwischenstecker 34 (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_30.log)

vorher: 19:04:32.451

http://192.168.12.134/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "overpower": false

nachher: 19:04:32.479
Dauer: 27 msec phName: 'phoneName:'kanaDaham''


Zwischenstecker 35 (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_31.log)

vorher: 19:04:32.466

http://192.168.12.135/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "overpower": false

nachher: 19:04:32.492
Dauer: 26 msec phName: 'phoneName:'kanaDaham''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_32.log)

vorher: 19:04:32.479

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

nachher: 19:04:32.506
Dauer: 26 msec phName: 'phoneName:'kanaDaham''


41-TBD-Dimmer (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_33.log)

vorher: 19:04:32.497

http://192.168.12.141/light/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

nachher: 19:04:32.532
Dauer: 35 msec phName: 'phoneName:'kanaDaham''


Stehlampe dimmbar (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_34.log)

vorher: 19:04:32.517

http://192.168.12.142/light/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

nachher: 19:04:32.550
Dauer: 33 msec phName: 'phoneName:'kanaDaham''


47-plus1-Test (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_35.log)

vorher: 19:04:32.530

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

        

nachher: 19:04:35.603
Dauer: 3073 msec phName: 'phoneName:'kanaDaham''


Werkstatt Licht (/srv/www/viehai/shelly/log_scenarios/2024/06/25/_36.log)

vorher: 19:04:32.546

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

        

nachher: 19:04:35.603
Dauer: 3057 msec phName: 'phoneName:'kanaDaham''


scenario: 'Licht überall AUS-schalten' - 'offAll' - 'offall'

urls : 37
vorher : 19:04:32.021
nachher: 19:04:35.612
Dauer : 3591 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/25//scene_offAll_20240625_190431.txt'


syslog

Jun 25 19:01:01 srv4hai CRON[12071]: (root) CMD (/etc/linetest/linetest.sh)
Jun 25 19:01:16 srv4hai ping_SP[3702]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1719334876 - 'ping_SP_0'
Jun 25 19:01:16 srv4hai ping_SP[3702]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 25 19:01:26 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12115, secured, session=
Jun 25 19:01:27 srv4hai dovecot: imap(miglincit)<12115>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun 25 19:01:41 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun 25 19:01:43 srv4hai fetchmail[1651]: 47261 messages (47259 seen) for tmiglinci at mail.akis.at (-392427376 octets).
Jun 25 19:01:43 srv4hai postfix/smtpd[12127]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun 25 19:01:43 srv4hai postfix/smtpd[12127]: connect from localhost[127.0.0.1]
Jun 25 19:01:43 srv4hai postfix/smtpd[12127]: 14F1E638E9: client=localhost[127.0.0.1]
Jun 25 19:01:43 srv4hai postfix/cleanup[11135]: 14F1E638E9: message-id=<01000190505601bd-a8254582-91d0-4e70-b47c-89cfec087ea3-000000@email.amazonses.com>
Jun 25 19:01:43 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:47260 of 47261 (11837 octets) not flushed
Jun 25 19:01:43 srv4hai postfix/qmgr[31004]: 14F1E638E9: from=, size=12063, nrcpt=1 (queue active)
Jun 25 19:01:43 srv4hai postfix/local[12129]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun 25 19:01:43 srv4hai postfix/local[12129]: 14F1E638E9: to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jun 25 19:01:43 srv4hai postfix/qmgr[31004]: 14F1E638E9: removed
Jun 25 19:01:43 srv4hai postfix/smtpd[12127]: 2A3F7638E9: client=localhost[127.0.0.1]
Jun 25 19:01:43 srv4hai postfix/cleanup[11135]: 2A3F7638E9: message-id=<20240625170051.7595463939@mail.viehai.at>
Jun 25 19:01:43 srv4hai postfix/qmgr[31004]: 2A3F7638E9: from=, size=106383, nrcpt=1 (queue active)
Jun 25 19:01:43 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:47261 of 47261 (105818 octets) not flushed
Jun 25 19:01:43 srv4hai postfix/smtpd[12127]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
Jun 25 19:01:43 srv4hai postfix/local[12129]: 2A3F7638E9: to=, relay=local, delay=0.11, delays=0.09/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jun 25 19:01:43 srv4hai postfix/qmgr[31004]: 2A3F7638E9: removed
Jun 25 19:01:44 srv4hai fetchmail[1651]: 10362 messages (10362 seen) for srozum at mail.akis.at (1246934835 octets).
Jun 25 19:01:48 srv4hai fetchmail[1651]: 24340 messages (24340 seen) for mrozum at mail.akis.at (-60268945 octets).
Jun 25 19:01:48 srv4hai fetchmail[1651]: 1135 messages (1135 seen) for admin@bastelstube.wien at pop3.world4you.com (51504712 octets).
Jun 25 19:02:01 srv4hai CRON[12141]: (root) CMD (/etc/linetest/linetest.sh)
Jun 25 19:02:39 srv4hai ping_SP[3702]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1719334959 - 'ping_SP_0'
Jun 25 19:03:01 srv4hai CRON[12203]: (root) CMD (/etc/linetest/linetest.sh)
Jun 25 19:03:04 srv4hai dhcpd[30731]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Jun 25 19:03:04 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Jun 25 19:03:04 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jun 25 19:03:04 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.137
Jun 25 19:03:04 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-37
Jun 25 19:03:04 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Jun 25 19:03:04 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Jun 25 19:03:04 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#56221/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun 25 19:03:04 srv4hai named[30406]: client @0x7f933011a820 192.168.12.252#58359/key rndc-key: signer "rndc-key" approved
Jun 25 19:03:04 srv4hai named[30406]: client @0x7f933011a820 192.168.12.252#58359/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Jun 25 19:03:04 srv4hai named[30406]: client @0x7f933011a820 192.168.12.252#58359/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Jun 25 19:03:04 srv4hai named[30406]: client @0x7f933011a820 192.168.12.252#58359/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Jun 25 19:03:04 srv4hai named[30406]: client @0x7f933011a820 192.168.12.252#58359/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Jun 25 19:03:04 srv4hai dhcpd[30731]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Jun 25 19:03:04 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#59035/key rndc-key: signer "rndc-key" approved
Jun 25 19:03:04 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#59035/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Jun 25 19:03:04 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#59035/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '137.12.168.192.in-addr.arpa' PTR shelly-37.viehai.at.
Jun 25 19:03:04 srv4hai dhcpd[30731]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Jun 25 19:03:04 srv4hai common[12209]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jun 25 19:03:04 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' perform:'conf'
Jun 25 19:03:05 srv4hai mosquitto[18551]: New connection from 192.168.12.137 on port 1883.
Jun 25 19:03:05 srv4hai mosquitto[18551]: New client connected from 192.168.12.137 as shellyht-00B358 (c1, k60, u'shmqtt').
Jun 25 19:03:05 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Jun 25 19:03:05 srv4hai conf_shelly.sh: SHELLY: usage/name 'Klima Büro' already set for '192.168.12.137'
Jun 25 19:03:05 srv4hai common[12243]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 25 19:03:05 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=44&temp=28.88&id=shellyht-00B358
Jun 25 19:03:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Jun 25 19:03:05 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240625.csv'
Jun 25 19:03:05 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240625.csv' modifed 495s ago - EXIT
Jun 25 19:03:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Jun 25 19:03:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Jun 25 19:03:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Jun 25 19:03:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Jun 25 19:03:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Jun 25 19:03:05 srv4hai ping_SP[3702]: SHELLY (0)- ping 192.168.12.61 2 not answered (1) @~1719334985 - 'ping_SP_0'
Jun 25 19:03:10 srv4hai common[12368]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 25 19:03:10 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=44&temp=28.88&id=shellyht-00B358
Jun 25 19:03:10 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240625.csv'
Jun 25 19:03:10 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240625.csv' modifed 500s ago - EXIT
Jun 25 19:03:11 srv4hai common[12393]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 25 19:03:15 srv4hai common[12409]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 25 19:03:15 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=44&temp=28.88&id=shellyht-00B358
Jun 25 19:03:15 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240625.csv'
Jun 25 19:03:15 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240625.csv' modifed 505s ago - EXIT
Jun 25 19:03:18 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12437, secured, session=
Jun 25 19:03:18 srv4hai dovecot: imap(pilsc)<12437>: Logged out in=92 out=1018 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun 25 19:03:20 srv4hai common[12442]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 25 19:03:20 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=44&temp=28.88&id=shellyht-00B358
Jun 25 19:03:20 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240625.csv'
Jun 25 19:03:20 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240625.csv' modifed 510s ago - EXIT
Jun 25 19:03:21 srv4hai bt_scan[12393]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jun 25 19:03:21 srv4hai bt_scan[12393]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jun 25 19:03:21 srv4hai common[12484]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 25 19:03:21 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1719335001-1719334991
Jun 25 19:03:21 srv4hai check_presence[12484]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun 25 19:03:21 srv4hai check_presence[12484]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.TRY' for what: 'presence'
Jun 25 19:03:21 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1719335001-1719334991
Jun 25 19:03:21 srv4hai check_presence[12484]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun 25 19:03:21 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1719335001-1719334991
Jun 25 19:03:21 srv4hai check_presence[12484]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 25 19:03:21 srv4hai check_presence[12484]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/TRY) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jun 25 19:03:22 srv4hai check_presence[12484]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offAll) - sceneOFF(offAll)
Jun 25 19:03:22 srv4hai check_presence[12484]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jun 25 19:03:25 srv4hai common[12633]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 25 19:03:25 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=44&temp=28.88&id=shellyht-00B358
Jun 25 19:03:25 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240625.csv'
Jun 25 19:03:25 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240625.csv' modifed 515s ago - EXIT
Jun 25 19:03:30 srv4hai common[12665]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 25 19:03:30 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=44&temp=28.88&id=shellyht-00B358
Jun 25 19:03:30 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240625.csv'
Jun 25 19:03:30 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240625.csv' modifed 520s ago - EXIT
Jun 25 19:03:35 srv4hai common[12692]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 25 19:03:35 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=44&temp=28.88&id=shellyht-00B358
Jun 25 19:03:35 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240625.csv'
Jun 25 19:03:36 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240625.csv' modifed 526s ago - EXIT
Jun 25 19:03:38 srv4hai ping_SP[3702]: SHELLY (0)- ping 192.168.12.61 3 not answered (1) @~1719335018 - 'ping_SP_0'
Jun 25 19:03:41 srv4hai common[12731]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 25 19:03:41 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=44&temp=28.88&id=shellyht-00B358
Jun 25 19:03:41 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240625.csv'
Jun 25 19:03:41 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240625.csv' modifed 531s ago - EXIT
Jun 25 19:03:46 srv4hai common[12760]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 25 19:03:46 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=44&temp=28.88&id=shellyht-00B358
Jun 25 19:03:46 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240625.csv'
Jun 25 19:03:46 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240625.csv' modifed 536s ago - EXIT
Jun 25 19:03:51 srv4hai common[12788]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 25 19:03:51 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=44&temp=28.88&id=shellyht-00B358
Jun 25 19:03:51 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240625.csv'
Jun 25 19:03:51 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240625.csv' modifed 541s ago - EXIT
Jun 25 19:03:51 srv4hai postfix/scache[11047]: statistics: start interval Jun 25 19:00:24
Jun 25 19:03:51 srv4hai postfix/scache[11047]: statistics: domain lookup hits=0 miss=76 success=0%
Jun 25 19:03:51 srv4hai postfix/scache[11047]: statistics: address lookup hits=0 miss=1716 success=0%
Jun 25 19:03:56 srv4hai common[12824]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 25 19:03:56 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=44&temp=28.88&id=shellyht-00B358
Jun 25 19:03:56 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240625.csv'
Jun 25 19:03:56 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240625.csv' modifed 546s ago - EXIT
Jun 25 19:04:01 srv4hai common[12852]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 25 19:04:01 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=44&temp=28.88&id=shellyht-00B358
Jun 25 19:04:01 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240625.csv'
Jun 25 19:04:01 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240625.csv' modifed 551s ago - EXIT
Jun 25 19:04:01 srv4hai CRON[12877]: (root) CMD (/etc/linetest/linetest.sh)
Jun 25 19:04:05 srv4hai ping_SP[3702]: SHELLY (0)- ping 192.168.12.61 4 not answered (1) @~1719335045 - 'ping_SP_0'
Jun 25 19:04:06 srv4hai common[12900]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 25 19:04:06 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=44&temp=28.88&id=shellyht-00B358
Jun 25 19:04:06 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240625.csv'
Jun 25 19:04:06 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240625.csv' modifed 556s ago - EXIT
Jun 25 19:04:11 srv4hai common[12928]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 25 19:04:11 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=44&temp=28.88&id=shellyht-00B358
Jun 25 19:04:11 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240625.csv'
Jun 25 19:04:11 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240625.csv' modifed 561s ago - EXIT
Jun 25 19:04:16 srv4hai common[12957]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 25 19:04:16 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=44&temp=28.88&id=shellyht-00B358
Jun 25 19:04:16 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240625.csv'
Jun 25 19:04:16 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240625.csv' modifed 566s ago - EXIT
Jun 25 19:04:21 srv4hai common[12988]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 25 19:04:21 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=44&temp=28.88&id=shellyht-00B358
Jun 25 19:04:21 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240625.csv'
Jun 25 19:04:21 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240625.csv' modifed 571s ago - EXIT
Jun 25 19:04:26 srv4hai common[13015]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 25 19:04:27 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=44&temp=28.88&id=shellyht-00B358
Jun 25 19:04:27 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240625.csv'
Jun 25 19:04:27 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13034, secured, session=
Jun 25 19:04:27 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240625.csv' modifed 577s ago - EXIT
Jun 25 19:04:27 srv4hai dovecot: imap(miglincit)<13034>: Logged out in=667 out=53223 deleted=0 expunged=0 trashed=0 hdr_count=61 hdr_bytes=24604 body_count=0 body_bytes=0
Jun 25 19:04:31 srv4hai ping_SP[3702]: SHELLY (0)- ping 192.168.12.61 5 not answered (1) @~1719335071 - 'ping_SP_0'
Jun 25 19:04:31 srv4hai ping_SP[3702]: SHELLY (0)- ping 192.168.12.61 5 not answered - abort (3702) @~1719335071 - rm 'ping_SP_0'
Jun 25 19:04:31 srv4hai common[13054]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 25 19:04:31 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'9'=1719335071-1719335062
Jun 25 19:04:31 srv4hai check_presence[13054]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun 25 19:04:31 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'9'=1719335071-1719335062
Jun 25 19:04:31 srv4hai check_presence[13054]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun 25 19:04:31 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'9'=1719335071-1719335062
Jun 25 19:04:31 srv4hai check_presence[13054]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 25 19:04:31 srv4hai check_presence[13054]: SHELLY (ping_SP__NO_ping)-(0) what: 'presence' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Jun 25 19:04:31 srv4hai postfix/pickup[823]: D3BA063939: uid=33 from=
Jun 25 19:04:31 srv4hai postfix/cleanup[13185]: D3BA063939: message-id=<20240625170431.D3BA063939@mail.viehai.at>
Jun 25 19:04:31 srv4hai postfix/qmgr[31004]: D3BA063939: from=, size=19378, nrcpt=1 (queue active)
Jun 25 19:04:31 srv4hai check_presence[13054]: SHELLY - check 'presence': anyPresent(false) - lScene(scene_offAll) - sceneOFF(offAll)
Jun 25 19:04:31 srv4hai check_presence[13054]: SHELLY (ping_SP__NO_ping)-(0)-presence: activate_scenario.shtml: offAll
Jun 25 19:04:31 srv4hai activate_scenario[13218]: SHELLY scenario: 'offAll(offall)' started
Jun 25 19:04:31 srv4hai activate_scenario[13218]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'kanaDaham'

finished