activate_scenario.sh
Mon Aug 5 16:05:15 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/08/05/_0.log)

vorher: 16:05:15.479

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: 16:05:15.585
Dauer: 106 msec phName: 'shelly-01:'Wandlicht beim Esstisch''


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

urls : 1
vorher : 16:05:15.425
nachher: 16:05:15.591
Dauer : 167 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/05//scene_sekr_UM_20240805_160515.txt'


syslog

Aug  5 16:02:01 srv4hai CRON[15019]: (root) CMD (/etc/linetest/linetest.sh)
Aug  5 16:02:27 srv4hai named[30406]: resolver priming query complete
Aug  5 16:02:47 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722866567 - 'ping_SP_0'
Aug  5 16:02:47 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  5 16:02:56 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15054, secured, session=<6HBDIvAeVI8AAAAAAAAAAAAAAAAAAAAB>
Aug  5 16:02:56 srv4hai dovecot: imap(miglincit)<15054><6HBDIvAeVI8AAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  5 16:03:01 srv4hai CRON[15057]: (root) CMD (/etc/linetest/linetest.sh)
Aug  5 16:03:37 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  5 16:03:37 srv4hai dhcpd[30731]: DHCPDISCOVER from ec:da:3b:c6:1d:3c via enp2s0
Aug  5 16:03:37 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Aug  5 16:03:37 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  5 16:03:37 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Aug  5 16:03:37 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.150
Aug  5 16:03:37 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-50
Aug  5 16:03:37 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.150 (192.168.12.252) from ec:da:3b:c6:1d:3c via enp2s0
Aug  5 16:03:37 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Aug  5 16:03:37 srv4hai named[30406]: client @0x7f93506a3ad0 192.168.12.252#39191/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-50.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug  5 16:03:37 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#50221/key rndc-key: signer "rndc-key" approved
Aug  5 16:03:37 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#50221/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' TXT
Aug  5 16:03:37 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#50221/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' TXT "31ddfcf6e79cbbdf4e55e03247020075f9"
Aug  5 16:03:37 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#50221/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' A
Aug  5 16:03:37 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#50221/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' A 192.168.12.150
Aug  5 16:03:37 srv4hai dhcpd[30731]: Added new forward map from shelly-50.viehai.at to 192.168.12.150
Aug  5 16:03:37 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#59255/key rndc-key: signer "rndc-key" approved
Aug  5 16:03:37 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#59255/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '150.12.168.192.in-addr.arpa' PTR
Aug  5 16:03:37 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#59255/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  5 16:03:37 srv4hai dhcpd[30731]: Added reverse map from 150.12.168.192.in-addr.arpa. to shelly-50.viehai.at
Aug  5 16:03:37 srv4hai common[15067]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Aug  5 16:03:37 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-50' - shIP/2:'' perform:'conf'
Aug  5 16:03:37 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-50' - shIP/2:'192.168.12.150'
Aug  5 16:03:37 srv4hai conf_shelly.sh: SHELLY: usage/name '50-TBD' already set for '192.168.12.150'
Aug  5 16:03:37 srv4hai mosquitto[18551]: New connection from 192.168.12.150 on port 1883.
Aug  5 16:03:37 srv4hai mosquitto[18551]: Client shellypmminig3-ecda3bc61d3c already connected, closing old connection.
Aug  5 16:03:37 srv4hai mosquitto[18551]: Socket error on client shellypmminig3-ecda3bc61d3c, disconnecting.
Aug  5 16:03:37 srv4hai mosquitto[18551]: New client connected from 192.168.12.150 as shellypmminig3-ecda3bc61d3c (c1, k60, u'shmqtt').
Aug  5 16:03:37 srv4hai conf_shelly.sh: SHELLY:'shelly-50' no WebHook
Aug  5 16:03:50 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722866630 - 'ping_SP_0'
Aug  5 16:03:50 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  5 16:04:01 srv4hai CRON[15137]: (root) CMD (/etc/linetest/linetest.sh)
Aug  5 16:04:25 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug  5 16:04:26 srv4hai fetchmail[1651]: 50096 messages (50096 seen) for tmiglinci at mail.akis.at (-158988840 octets).
Aug  5 16:04:26 srv4hai fetchmail[1651]: 10550 messages (10550 seen) for srozum at mail.akis.at (1267729004 octets).
Aug  5 16:04:27 srv4hai fetchmail[1651]: 25138 messages (25138 seen) for mrozum at mail.akis.at (88152574 octets).
Aug  5 16:04:28 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Aug  5 16:04:53 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722866693 - 'ping_SP_0'
Aug  5 16:04:53 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  5 16:05:01 srv4hai CRON[15166]: (root) CMD (/etc/linetest/linetest.sh)
Aug  5 16:05:15 srv4hai activate_scenario[15174]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Aug  5 16:05:15 srv4hai activate_scenario[15174]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'

finished