activate_scenario.sh
Sun Aug 4 09:16:02 CEST 2024
scenario: nasszeile_um
source: 192.168.12.128

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

scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

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

vorher: 09:16:02.234

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

nachher: 09:16:02.279
Dauer: 45 msec phName: 'shelly-28:'Schalter Nasszeile''


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

vorher: 09:16:02.260

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

nachher: 09:16:02.312
Dauer: 52 msec phName: 'shelly-28:'Schalter Nasszeile''


scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

urls : 2
vorher : 09:16:02.193
nachher: 09:16:02.319
Dauer : 127 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/04//scene_nasszeile_um_20240804_091602.txt'


syslog

Aug  4 09:13:01 srv4hai CRON[699]: (root) CMD (/etc/linetest/linetest.sh)
Aug  4 09:13:06 srv4hai ping_SP[30203]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722755586 - 'ping_SP_1'
Aug  4 09:13:06 srv4hai ping_SP[30203]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  4 09:13:10 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Aug  4 09:13:32 srv4hai ping_SP[10823]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722755612 - 'ping_SP_0'
Aug  4 09:13:32 srv4hai ping_SP[10823]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  4 09:14:01 srv4hai CRON[744]: (root) CMD (/etc/linetest/linetest.sh)
Aug  4 09:14:20 srv4hai ping_SP[30203]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722755660 - 'ping_SP_1'
Aug  4 09:14:20 srv4hai ping_SP[30203]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  4 09:14:45 srv4hai ping_SP[10823]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722755685 - 'ping_SP_0'
Aug  4 09:14:45 srv4hai ping_SP[10823]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  4 09:15:01 srv4hai CRON[792]: (root) CMD (/etc/linetest/linetest.sh)
Aug  4 09:15:16 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  4 09:15:16 srv4hai dhcpd[30731]: DHCPDISCOVER from ec:da:3b:c6:1d:3c via enp2s0
Aug  4 09:15:16 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Aug  4 09:15:16 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  4 09:15:16 srv4hai dhcpd[30731]: DHCPDISCOVER from ec:da:3b:c6:1d:3c via enp2s0
Aug  4 09:15:16 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Aug  4 09:15:16 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  4 09:15:16 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Aug  4 09:15:16 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.150
Aug  4 09:15:16 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-50
Aug  4 09:15:16 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.150 (192.168.12.252) from ec:da:3b:c6:1d:3c via enp2s0
Aug  4 09:15:16 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Aug  4 09:15:16 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#43385/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-50.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug  4 09:15:16 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#42041/key rndc-key: signer "rndc-key" approved
Aug  4 09:15:16 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#42041/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' TXT
Aug  4 09:15:16 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#42041/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' TXT "31ddfcf6e79cbbdf4e55e03247020075f9"
Aug  4 09:15:16 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#42041/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' A
Aug  4 09:15:16 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#42041/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' A 192.168.12.150
Aug  4 09:15:16 srv4hai dhcpd[30731]: Added new forward map from shelly-50.viehai.at to 192.168.12.150
Aug  4 09:15:16 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#35983/key rndc-key: signer "rndc-key" approved
Aug  4 09:15:16 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#35983/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '150.12.168.192.in-addr.arpa' PTR
Aug  4 09:15:16 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#35983/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  4 09:15:16 srv4hai dhcpd[30731]: Added reverse map from 150.12.168.192.in-addr.arpa. to shelly-50.viehai.at
Aug  4 09:15:16 srv4hai common[803]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Aug  4 09:15:16 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-50' - shIP/2:'' perform:'conf'
Aug  4 09:15:16 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-50' - shIP/2:'192.168.12.150'
Aug  4 09:15:16 srv4hai mosquitto[18551]: New connection from 192.168.12.150 on port 1883.
Aug  4 09:15:16 srv4hai mosquitto[18551]: New client connected from 192.168.12.150 as shellypmminig3-ecda3bc61d3c (c1, k60, u'shmqtt').
Aug  4 09:15:16 srv4hai conf_shelly.sh: SHELLY: usage/name '50-TBD' already set for '192.168.12.150'
Aug  4 09:15:16 srv4hai conf_shelly.sh: SHELLY:'shelly-50' no WebHook
Aug  4 09:15:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=861, secured, session=
Aug  4 09:15:19 srv4hai dovecot: imap(miglincit)<861>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  4 09:15:34 srv4hai ping_SP[30203]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722755734 - 'ping_SP_1'
Aug  4 09:15:34 srv4hai ping_SP[30203]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  4 09:15:58 srv4hai ping_SP[10823]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722755758 - 'ping_SP_0'
Aug  4 09:15:58 srv4hai ping_SP[10823]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  4 09:16:01 srv4hai CRON[909]: (root) CMD (/etc/linetest/linetest.sh)
Aug  4 09:16:02 srv4hai activate_scenario[914]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Aug  4 09:16:02 srv4hai activate_scenario[914]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished