activate_scenario.sh
Sun Jun 9 17:52:14 CEST 2024
scenario: sekr_UM
source: 192.168.12.101

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

scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

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

vorher: 17:52:14.249

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

nachher: 17:52:14.322
Dauer: 72 msec phName: 'shelly-01:'Wandlicht beim Esstisch''


scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

urls : 1
vorher : 17:52:14.223
nachher: 17:52:14.328
Dauer : 106 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/09//scene_sekr_UM_20240609_175214.txt'


syslog

Jun  9 17:49:01 srv4hai CRON[987]: (root) CMD (/etc/linetest/linetest.sh)
Jun  9 17:49:22 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun  9 17:49:23 srv4hai fetchmail[1651]: 46047 messages (46046 seen) for tmiglinci at mail.akis.at (-496245541 octets).
Jun  9 17:49:23 srv4hai postfix/smtpd[1005]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun  9 17:49:23 srv4hai postfix/smtpd[1005]: connect from localhost[127.0.0.1]
Jun  9 17:49:23 srv4hai postfix/smtpd[1005]: 2DC1D6004E: client=localhost[127.0.0.1]
Jun  9 17:49:23 srv4hai postfix/cleanup[1008]: 2DC1D6004E: message-id=<73424bc420083d6485e319fa0.6a88b7b4bf.20240609154520.c6fff39eec.2ab5c246@mail163.atl81.rsgsv.net>
Jun  9 17:49:23 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:46047 of 46047 (148373 octets) not flushed
Jun  9 17:49:23 srv4hai postfix/qmgr[31004]: 2DC1D6004E: from=, size=148626, nrcpt=1 (queue active)
Jun  9 17:49:23 srv4hai postfix/smtpd[1005]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jun  9 17:49:23 srv4hai postfix/local[1009]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun  9 17:49:23 srv4hai postfix/local[1009]: 2DC1D6004E: to=, relay=local, delay=0.14, delays=0.11/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jun  9 17:49:23 srv4hai postfix/qmgr[31004]: 2DC1D6004E: removed
Jun  9 17:49:23 srv4hai fetchmail[1651]: 10311 messages (10311 seen) for srozum at mail.akis.at (1240103697 octets).
Jun  9 17:49:24 srv4hai fetchmail[1651]: 23979 messages (23979 seen) for mrozum at mail.akis.at (-160215112 octets).
Jun  9 17:49:24 srv4hai fetchmail[1651]: 105 messages (105 seen) for admin@bastelstube.wien at pop3.world4you.com (40278459 octets).
Jun  9 17:49:50 srv4hai ping_SP[22799]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1717948190 - 'ping_SP_1'
Jun  9 17:49:50 srv4hai ping_SP[22799]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun  9 17:50:01 srv4hai CRON[1051]: (root) CMD (/etc/linetest/linetest.sh)
Jun  9 17:50:01 srv4hai CRON[1052]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jun  9 17:50:01 srv4hai common[1053]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jun  9 17:50:01 srv4hai meter.sh: SHELLY meter.sh started
Jun  9 17:50:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jun  9 17:50:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jun  9 17:50:05 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  9 17:50:07 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  9 17:50:10 srv4hai meter.sh: SHELLY 'shelly-06/Fernsehlampe klein':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  9 17:50:11 srv4hai ping_SP[27059]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717948211 - 'ping_SP_0'
Jun  9 17:50:11 srv4hai ping_SP[27059]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  9 17:50:12 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jun  9 17:50:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jun  9 17:50:12 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jun  9 17:50:12 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jun  9 17:50:12 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jun  9 17:50:15 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  9 17:50:17 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  9 17:50:17 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jun  9 17:50:17 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jun  9 17:50:17 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jun  9 17:50:17 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jun  9 17:50:17 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jun  9 17:50:20 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  9 17:50:20 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jun  9 17:50:20 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jun  9 17:50:20 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jun  9 17:50:20 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jun  9 17:50:20 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jun  9 17:50:20 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jun  9 17:50:20 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jun  9 17:50:20 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jun  9 17:50:20 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jun  9 17:50:20 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jun  9 17:50:23 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  9 17:50:26 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  9 17:50:26 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jun  9 17:50:26 srv4hai common[1939]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jun  9 17:50:26 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Jun  9 17:50:26 srv4hai check_shelly.sh: SHELLY found '3' active shelly outputs
Jun  9 17:50:26 srv4hai meter.sh: SHELLY meter.sh ended
Jun  9 17:50:58 srv4hai dhcpd[30731]: uid lease 192.168.12.40 for client ec:da:3b:c6:1d:3c is duplicate on 192.168.12.0/24
Jun  9 17:50:58 srv4hai dhcpd[30731]: DHCPDISCOVER from ec:da:3b:c6:1d:3c via enp2s0
Jun  9 17:50:58 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Jun  9 17:50:58 srv4hai dhcpd[30731]: uid lease 192.168.12.40 for client ec:da:3b:c6:1d:3c is duplicate on 192.168.12.0/24
Jun  9 17:50:58 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jun  9 17:50:58 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.150
Jun  9 17:50:58 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-50
Jun  9 17:50:58 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.150 (192.168.12.252) from ec:da:3b:c6:1d:3c via enp2s0
Jun  9 17:50:58 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Jun  9 17:50:58 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#56381/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-50.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun  9 17:50:58 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#48153/key rndc-key: signer "rndc-key" approved
Jun  9 17:50:58 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#48153/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' TXT
Jun  9 17:50:58 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#48153/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' TXT "31ddfcf6e79cbbdf4e55e03247020075f9"
Jun  9 17:50:58 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#48153/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' A
Jun  9 17:50:58 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#48153/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' A 192.168.12.150
Jun  9 17:50:58 srv4hai dhcpd[30731]: Added new forward map from shelly-50.viehai.at to 192.168.12.150
Jun  9 17:50:58 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#59933/key rndc-key: signer "rndc-key" approved
Jun  9 17:50:58 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#59933/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '150.12.168.192.in-addr.arpa' PTR
Jun  9 17:50:58 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#59933/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '150.12.168.192.in-addr.arpa' PTR shelly-50.viehai.at.
Jun  9 17:50:58 srv4hai dhcpd[30731]: Added reverse map from 150.12.168.192.in-addr.arpa. to shelly-50.viehai.at
Jun  9 17:50:58 srv4hai common[1976]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jun  9 17:50:58 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-50' - shIP/2:'' perform:'conf'
Jun  9 17:50:58 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-50' - shIP/2:'192.168.12.150'
Jun  9 17:50:58 srv4hai mosquitto[18551]: New connection from 192.168.12.150 on port 1883.
Jun  9 17:50:58 srv4hai mosquitto[18551]: Client shellypmminig3-ecda3bc61d3c already connected, closing old connection.
Jun  9 17:50:58 srv4hai mosquitto[18551]: Socket error on client shellypmminig3-ecda3bc61d3c, disconnecting.
Jun  9 17:50:58 srv4hai mosquitto[18551]: New client connected from 192.168.12.150 as shellypmminig3-ecda3bc61d3c (c1, k60, u'shmqtt').
Jun  9 17:50:58 srv4hai conf_shelly.sh: SHELLY: usage/name '50-TBD' already set for '192.168.12.150'
Jun  9 17:50:58 srv4hai conf_shelly.sh: SHELLY:'shelly-50' no WebHook
Jun  9 17:51:01 srv4hai CRON[2026]: (root) CMD (/etc/linetest/linetest.sh)
Jun  9 17:51:03 srv4hai ping_SP[22799]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1717948263 - 'ping_SP_1'
Jun  9 17:51:03 srv4hai ping_SP[22799]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun  9 17:51:24 srv4hai ping_SP[27059]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717948284 - 'ping_SP_0'
Jun  9 17:51:24 srv4hai ping_SP[27059]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  9 17:51:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2075, secured, session=
Jun  9 17:51:54 srv4hai dovecot: imap(miglincit)<2075>: Logged out in=490 out=40515 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=15817 body_count=0 body_bytes=0
Jun  9 17:51:56 srv4hai dhcpd[30731]: uid lease 192.168.12.40 for client ec:da:3b:c6:1d:3c is duplicate on 192.168.12.0/24
Jun  9 17:51:56 srv4hai dhcpd[30731]: DHCPDISCOVER from ec:da:3b:c6:1d:3c via enp2s0
Jun  9 17:51:56 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Jun  9 17:51:56 srv4hai dhcpd[30731]: uid lease 192.168.12.40 for client ec:da:3b:c6:1d:3c is duplicate on 192.168.12.0/24
Jun  9 17:51:56 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jun  9 17:51:56 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.150
Jun  9 17:51:56 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-50
Jun  9 17:51:56 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.150 (192.168.12.252) from ec:da:3b:c6:1d:3c via enp2s0
Jun  9 17:51:56 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Jun  9 17:51:56 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#34661/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-50.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun  9 17:51:56 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#45427/key rndc-key: signer "rndc-key" approved
Jun  9 17:51:56 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#45427/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' TXT
Jun  9 17:51:56 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#45427/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' TXT "31ddfcf6e79cbbdf4e55e03247020075f9"
Jun  9 17:51:56 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#45427/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' A
Jun  9 17:51:56 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#45427/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' A 192.168.12.150
Jun  9 17:51:56 srv4hai dhcpd[30731]: Added new forward map from shelly-50.viehai.at to 192.168.12.150
Jun  9 17:51:56 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#48353/key rndc-key: signer "rndc-key" approved
Jun  9 17:51:56 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#48353/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '150.12.168.192.in-addr.arpa' PTR
Jun  9 17:51:56 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#48353/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '150.12.168.192.in-addr.arpa' PTR shelly-50.viehai.at.
Jun  9 17:51:56 srv4hai dhcpd[30731]: Added reverse map from 150.12.168.192.in-addr.arpa. to shelly-50.viehai.at
Jun  9 17:51:56 srv4hai common[2077]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jun  9 17:51:56 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-50' - shIP/2:'' perform:'conf'
Jun  9 17:51:56 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-50' - shIP/2:'192.168.12.150'
Jun  9 17:51:56 srv4hai mosquitto[18551]: New connection from 192.168.12.150 on port 1883.
Jun  9 17:51:56 srv4hai mosquitto[18551]: Client shellypmminig3-ecda3bc61d3c already connected, closing old connection.
Jun  9 17:51:56 srv4hai mosquitto[18551]: Socket error on client shellypmminig3-ecda3bc61d3c, disconnecting.
Jun  9 17:51:56 srv4hai mosquitto[18551]: New client connected from 192.168.12.150 as shellypmminig3-ecda3bc61d3c (c1, k60, u'shmqtt').
Jun  9 17:51:56 srv4hai conf_shelly.sh: SHELLY: usage/name '50-TBD' already set for '192.168.12.150'
Jun  9 17:51:56 srv4hai conf_shelly.sh: SHELLY:'shelly-50' no WebHook
Jun  9 17:52:01 srv4hai CRON[2130]: (root) CMD (/etc/linetest/linetest.sh)
Jun  9 17:52:14 srv4hai activate_scenario[2142]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Jun  9 17:52:14 srv4hai activate_scenario[2142]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'

finished