activate_scenario.sh
Fri Apr 5 12:34:46 CEST 2024
scenario: homeOffice
source: 192.168.12.140

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

scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

Wandlicht beim Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_0.log)

vorher: 12:34:46.260

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: 12:34:46.351
Dauer: 91 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_1.log)

vorher: 12:34:46.274

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": "http"

nachher: 12:34:46.302
Dauer: 29 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_2.log)

vorher: 12:34:46.286

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: 12:34:46.360
Dauer: 74 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_3.log)

vorher: 12:34:46.300

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

nachher: 12:34:46.467
Dauer: 167 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_4.log)

vorher: 12:34:46.313

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: 12:34:46.379
Dauer: 65 msec phName: 'shelly-40:'Thomas Büro Licht''


Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_5.log)

vorher: 12:34:46.325

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

nachher: 12:34:46.359
Dauer: 34 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:34:46.337

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

nachher: 12:34:46.516
Dauer: 179 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_7.log)

vorher: 12:34:46.349

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: 12:34:46.421
Dauer: 73 msec phName: 'shelly-40:'Thomas Büro Licht''


WZ Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_8.log)

vorher: 12:34:46.363

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: 12:34:46.390
Dauer: 28 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:34:46.376

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

nachher: 12:34:46.422
Dauer: 47 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_10.log)

vorher: 12:34:46.389

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: 12:34:46.458
Dauer: 70 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:34:46.403

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

nachher: 12:34:46.559
Dauer: 156 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:34:46.417

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

nachher: 12:34:46.570
Dauer: 153 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:34:46.432

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: 12:34:46.466
Dauer: 34 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:34:46.445

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: 12:34:46.535
Dauer: 90 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_15.log)

vorher: 12:34:46.460

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

nachher: 12:34:46.504
Dauer: 44 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_16.log)

vorher: 12:34:46.474

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: 12:34:46.514
Dauer: 37 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_17.log)

vorher: 12:34:46.486

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

nachher: 12:34:46.583
Dauer: 98 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_18.log)

vorher: 12:34:46.499

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: 12:34:46.538
Dauer: 40 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

urls : 19
vorher : 12:34:46.221
nachher: 12:34:46.592
Dauer : 373 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/05//scene_homeOffice_20240405_123446.txt'


syslog

Apr  5 12:31:01 srv4hai CRON[459]: (root) CMD (/etc/linetest/linetest.sh)
Apr  5 12:31:02 srv4hai postfix/smtpd[464]: connect from unknown[87.120.84.171]
Apr  5 12:31:02 srv4hai postfix/smtpd[464]: warning: unknown[87.120.84.171]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr  5 12:31:02 srv4hai postfix/smtpd[464]: disconnect from unknown[87.120.84.171] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr  5 12:31:39 srv4hai postfix/smtpd[464]: connect from unknown[45.88.90.157]
Apr  5 12:31:39 srv4hai postfix/smtpd[464]: warning: unknown[45.88.90.157]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr  5 12:31:39 srv4hai postfix/smtpd[464]: disconnect from unknown[45.88.90.157] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr  5 12:31:48 srv4hai ping_SP[24991]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712313108 - 'ping_SP_0'
Apr  5 12:31:48 srv4hai ping_SP[24991]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  5 12:32:01 srv4hai CRON[495]: (root) CMD (/etc/linetest/linetest.sh)
Apr  5 12:32:26 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr  5 12:32:27 srv4hai fetchmail[1651]: 41423 messages (41423 seen) for tmiglinci at mail.akis.at (-851441820 octets).
Apr  5 12:32:27 srv4hai fetchmail[1651]: 10090 messages (10090 seen) for srozum at mail.akis.at (1218215535 octets).
Apr  5 12:32:28 srv4hai fetchmail[1651]: 22678 messages (22678 seen) for mrozum at mail.akis.at (-375351045 octets).
Apr  5 12:32:28 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr  5 12:32:55 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=509, secured, session=
Apr  5 12:32:55 srv4hai dovecot: imap(miglincit)<509>: Logged out in=457 out=1277 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  5 12:33:01 srv4hai CRON[512]: (root) CMD (/etc/linetest/linetest.sh)
Apr  5 12:33:01 srv4hai ping_SP[24991]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712313181 - 'ping_SP_0'
Apr  5 12:33:01 srv4hai ping_SP[24991]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  5 12:33:34 srv4hai dhcpd[13813]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Apr  5 12:33:34 srv4hai dhcpd[13813]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr  5 12:33:34 srv4hai dhcpd[13813]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr  5 12:33:34 srv4hai dhcpd[13813]: execute_statement argv[1] = 192.168.12.139
Apr  5 12:33:34 srv4hai dhcpd[13813]: execute_statement argv[2] = shelly-39
Apr  5 12:33:34 srv4hai dhcpd[13813]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Apr  5 12:33:34 srv4hai dhcpd[13813]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr  5 12:33:34 srv4hai named[15509]: client @0x7f931c697a10 192.168.12.252#47901/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  5 12:33:34 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#50663/key rndc-key: signer "rndc-key" approved
Apr  5 12:33:34 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#50663/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Apr  5 12:33:34 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#50663/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Apr  5 12:33:34 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#50663/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Apr  5 12:33:34 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#50663/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Apr  5 12:33:34 srv4hai dhcpd[13813]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Apr  5 12:33:34 srv4hai named[15509]: client @0x7f93040506c0 192.168.12.252#39947/key rndc-key: signer "rndc-key" approved
Apr  5 12:33:34 srv4hai named[15509]: client @0x7f93040506c0 192.168.12.252#39947/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Apr  5 12:33:34 srv4hai named[15509]: client @0x7f93040506c0 192.168.12.252#39947/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '139.12.168.192.in-addr.arpa' PTR shelly-39.viehai.at.
Apr  5 12:33:34 srv4hai dhcpd[13813]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Apr  5 12:33:34 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr  5 12:33:34 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Apr  5 12:33:34 srv4hai common[548]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Apr  5 12:33:34 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=19&hum=52.200000&id=C049EF8AC9D8&batt=100&volt=6.770000
Apr  5 12:33:34 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-39_20240405.csv'
Apr  5 12:33:34 srv4hai ht_shelly.sh: SHELLY - 'shelly-39_20240405.csv' modifed 306s ago - EXIT
Apr  5 12:33:34 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Apr  5 12:33:34 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}'
Apr  5 12:33:34 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -X -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.''
Apr  5 12:33:34 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Apr  5 12:33:34 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Apr  5 12:33:51 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=630, secured, session=<85Pt/VYVUrkAAAAAAAAAAAAAAAAAAAAB>
Apr  5 12:33:51 srv4hai dovecot: imap(miglincit)<630><85Pt/VYVUrkAAAAAAAAAAAAAAAAAAAAB>: Logged out in=457 out=1277 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  5 12:34:01 srv4hai CRON[634]: (root) CMD (/etc/linetest/linetest.sh)
Apr  5 12:34:14 srv4hai ping_SP[24991]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712313254 - 'ping_SP_0'
Apr  5 12:34:14 srv4hai ping_SP[24991]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  5 12:34:46 srv4hai activate_scenario[661]: SHELLY scenario: 'homeOffice(homeoffice)' started
Apr  5 12:34:46 srv4hai activate_scenario[661]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished