activate_scenario.sh
Thu Aug 1 18:00:12 CEST 2024
scenario: sekr_UM
source: 192.168.12.110

'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/08/01/_0.log)

vorher: 18:00:12.962

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

nachher: 18:00:13.029
Dauer: 67 msec phName: 'shelly-10:'WZ Bücherregal''


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

urls : 1
vorher : 18:00:12.925
nachher: 18:00:13.036
Dauer : 113 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/01//scene_sekr_UM_20240801_180012.txt'


syslog

Aug  1 17:57:01 srv4hai CRON[6752]: (root) CMD (/etc/linetest/linetest.sh)
Aug  1 17:57:08 srv4hai ping_SP[3446]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722527828 - 'ping_SP_0'
Aug  1 17:57:08 srv4hai ping_SP[3446]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  1 17:57:13 srv4hai ping_SP[21824]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722527833 - 'ping_SP_1'
Aug  1 17:57:13 srv4hai ping_SP[21824]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  1 17:57:16 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6801, secured, session=
Aug  1 17:57:16 srv4hai dovecot: imap(miglincit)<6801>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  1 17:57:36 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
Aug  1 17:57:36 srv4hai dhcpd[30731]: DHCPDISCOVER from ec:da:3b:c6:1d:3c via enp2s0
Aug  1 17:57:36 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Aug  1 17:57:36 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
Aug  1 17:57:36 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Aug  1 17:57:36 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.150
Aug  1 17:57:36 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-50
Aug  1 17:57:36 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.150 (192.168.12.252) from ec:da:3b:c6:1d:3c via enp2s0
Aug  1 17:57:36 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Aug  1 17:57:36 srv4hai named[30406]: client @0x7f932c0d0080 192.168.12.252#51981/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-50.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug  1 17:57:36 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#47859/key rndc-key: signer "rndc-key" approved
Aug  1 17:57:36 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#47859/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' TXT
Aug  1 17:57:36 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#47859/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' TXT "31ddfcf6e79cbbdf4e55e03247020075f9"
Aug  1 17:57:36 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#47859/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' A
Aug  1 17:57:36 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#47859/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' A 192.168.12.150
Aug  1 17:57:36 srv4hai dhcpd[30731]: Added new forward map from shelly-50.viehai.at to 192.168.12.150
Aug  1 17:57:36 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#37931/key rndc-key: signer "rndc-key" approved
Aug  1 17:57:36 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#37931/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '150.12.168.192.in-addr.arpa' PTR
Aug  1 17:57:36 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#37931/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.
Aug  1 17:57:36 srv4hai dhcpd[30731]: Added reverse map from 150.12.168.192.in-addr.arpa. to shelly-50.viehai.at
Aug  1 17:57:36 srv4hai common[6811]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Aug  1 17:57:36 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-50' - shIP/2:'' perform:'conf'
Aug  1 17:57:36 srv4hai mosquitto[18551]: New connection from 192.168.12.150 on port 1883.
Aug  1 17:57:36 srv4hai mosquitto[18551]: Client shellypmminig3-ecda3bc61d3c already connected, closing old connection.
Aug  1 17:57:36 srv4hai mosquitto[18551]: Socket error on client shellypmminig3-ecda3bc61d3c, disconnecting.
Aug  1 17:57:36 srv4hai mosquitto[18551]: New client connected from 192.168.12.150 as shellypmminig3-ecda3bc61d3c (c1, k60, u'shmqtt').
Aug  1 17:57:36 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-50' - shIP/2:'192.168.12.150'
Aug  1 17:57:36 srv4hai conf_shelly.sh: SHELLY: usage/name '50-TBD' already set for '192.168.12.150'
Aug  1 17:57:36 srv4hai conf_shelly.sh: SHELLY:'shelly-50' no WebHook
Aug  1 17:57:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6867, secured, session=
Aug  1 17:57:57 srv4hai dovecot: imap(miglincit)<6867>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  1 17:58:01 srv4hai CRON[6869]: (root) CMD (/etc/linetest/linetest.sh)
Aug  1 17:58:21 srv4hai ping_SP[3446]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722527901 - 'ping_SP_0'
Aug  1 17:58:21 srv4hai ping_SP[3446]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  1 17:58:26 srv4hai ping_SP[21824]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722527906 - 'ping_SP_1'
Aug  1 17:58:26 srv4hai ping_SP[21824]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  1 17:59:01 srv4hai CRON[6931]: (root) CMD (/etc/linetest/linetest.sh)
Aug  1 17:59:35 srv4hai ping_SP[3446]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722527975 - 'ping_SP_0'
Aug  1 17:59:35 srv4hai ping_SP[3446]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  1 17:59:40 srv4hai ping_SP[21824]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722527980 - 'ping_SP_1'
Aug  1 17:59:40 srv4hai ping_SP[21824]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  1 18:00:01 srv4hai CRON[6998]: (root) CMD (/etc/linetest/linetest.sh)
Aug  1 18:00:01 srv4hai CRON[6999]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Aug  1 18:00:02 srv4hai common[7000]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Aug  1 18:00:02 srv4hai meter.sh: SHELLY meter.sh started
Aug  1 18:00:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Aug  1 18:00:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Aug  1 18:00:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Aug  1 18:00:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Aug  1 18:00:06 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Aug  1 18:00:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Aug  1 18:00:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Aug  1 18:00:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Aug  1 18:00:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Aug  1 18:00:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Aug  1 18:00:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Aug  1 18:00:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Aug  1 18:00:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Aug  1 18:00:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Aug  1 18:00:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Aug  1 18:00:12 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Aug  1 18:00:12 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Aug  1 18:00:12 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Aug  1 18:00:12 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Aug  1 18:00:12 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Aug  1 18:00:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Aug  1 18:00:12 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Aug  1 18:00:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Aug  1 18:00:12 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Aug  1 18:00:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Aug  1 18:00:12 srv4hai activate_scenario[7820]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Aug  1 18:00:12 srv4hai activate_scenario[7820]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-10:'WZ Bücherregal'

finished