activate_scenario.sh
Sat Jan 11 11:36:44 CET 2025
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'

WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2025/01/11/_0.log)

vorher: 11:36:44.641

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: 11:36:44.834
Dauer: 193 msec phName: 'shelly-10:'WZ Licht Bücherregal''


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

urls : 1
vorher : 11:36:44.615
nachher: 11:36:44.841
Dauer : 225 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/11//scene_sekr_UM_20250111_113644.txt'


syslog

Jan 11 11:33:01 srv4hai CRON[30523]: (root) CMD (/etc/linetest/linetest.sh)
Jan 11 11:33:32 srv4hai ping_SP[14529]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1736591612 - 'ping_SP_1'
Jan 11 11:33:32 srv4hai ping_SP[14529]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 11 11:33:38 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30554, secured, session=
Jan 11 11:33:38 srv4hai dovecot: imap(rozumm)<30554>: Logged out in=92 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 11 11:33:45 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30558, secured, session=
Jan 11 11:33:45 srv4hai dovecot: imap(miglincit)<30558>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 11 11:33:58 srv4hai dhcpd[4995]: DHCPDISCOVER from 8c:aa:b5:61:a9:20 via enp2s0
Jan 11 11:33:58 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.107 to 8c:aa:b5:61:a9:20 via enp2s0
Jan 11 11:33:58 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jan 11 11:33:58 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.107
Jan 11 11:33:58 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-07
Jan 11 11:33:58 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.107 (192.168.12.252) from 8c:aa:b5:61:a9:20 via enp2s0
Jan 11 11:33:58 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.107 to 8c:aa:b5:61:a9:20 via enp2s0
Jan 11 11:33:58 srv4hai named[30406]: client @0x7f931c067c00 192.168.12.252#41867/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-07.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan 11 11:33:58 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#48325/key rndc-key: signer "rndc-key" approved
Jan 11 11:33:58 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#48325/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-07.viehai.at' TXT
Jan 11 11:33:58 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#48325/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-07.viehai.at' TXT "00304107ff63db9ada5ee5a0bc2105bb05"
Jan 11 11:33:58 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#48325/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-07.viehai.at' A
Jan 11 11:33:58 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#48325/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-07.viehai.at' A 192.168.12.107
Jan 11 11:33:58 srv4hai dhcpd[4995]: Added new forward map from shelly-07.viehai.at to 192.168.12.107
Jan 11 11:33:58 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#50865/key rndc-key: signer "rndc-key" approved
Jan 11 11:33:58 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#50865/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '107.12.168.192.in-addr.arpa' PTR
Jan 11 11:33:58 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#50865/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '107.12.168.192.in-addr.arpa' PTR shelly-07.viehai.at.
Jan 11 11:33:58 srv4hai dhcpd[4995]: Added reverse map from 107.12.168.192.in-addr.arpa. to shelly-07.viehai.at
Jan 11 11:33:58 srv4hai common[30563]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jan 11 11:33:58 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-07' - shIP/2:'' perform:'conf'
Jan 11 11:34:00 srv4hai mosquitto[29419]: New connection from 192.168.12.107 on port 1883.
Jan 11 11:34:00 srv4hai mosquitto[29419]: New client connected from 192.168.12.107 as shelly1-8CAAB561A920 (c1, k60, u'shmqtt').
Jan 11 11:34:00 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-07' - shIP/2:'192.168.12.107'
Jan 11 11:34:00 srv4hai conf_shelly.sh: SHELLY: usage/name 'SZ Nachtkästchen Thomas' already set for '192.168.12.107'
Jan 11 11:34:00 srv4hai conf_shelly.sh: SHELLY:'shelly-07' 'conf(0)' - allready transmitted - skipping
Jan 11 11:34:00 srv4hai conf_shelly.sh: SHELLY:'shelly-07' 'conf(1)' - allready transmitted - skipping
Jan 11 11:34:00 srv4hai conf_shelly.sh: SHELLY:'shelly-07' 'conf(2)' - allready transmitted - skipping
Jan 11 11:34:00 srv4hai conf_shelly.sh: SHELLY:'shelly-07' 'conf(3)' - allready transmitted - skipping
Jan 11 11:34:00 srv4hai conf_shelly.sh: SHELLY:'shelly-07' 'conf(4)' - allready transmitted - skipping
Jan 11 11:34:01 srv4hai CRON[30673]: (root) CMD (/etc/linetest/linetest.sh)
Jan 11 11:34:35 srv4hai ping_SP[14529]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1736591675 - 'ping_SP_1'
Jan 11 11:34:35 srv4hai ping_SP[14529]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 11 11:35:01 srv4hai CRON[30704]: (root) CMD (/etc/linetest/linetest.sh)
Jan 11 11:35:37 srv4hai postfix/smtpd[30718]: connect from unknown[94.156.227.127]
Jan 11 11:35:37 srv4hai postfix/smtpd[30718]: warning: unknown[94.156.227.127]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jan 11 11:35:37 srv4hai postfix/smtpd[30718]: disconnect from unknown[94.156.227.127] ehlo=1 auth=0/1 quit=1 commands=2/3
Jan 11 11:35:39 srv4hai ping_SP[14529]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1736591739 - 'ping_SP_1'
Jan 11 11:35:39 srv4hai ping_SP[14529]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 11 11:36:01 srv4hai CRON[30741]: (root) CMD (/etc/linetest/linetest.sh)
Jan 11 11:36:42 srv4hai ping_SP[14529]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1736591802 - 'ping_SP_1'
Jan 11 11:36:42 srv4hai ping_SP[14529]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 11 11:36:44 srv4hai activate_scenario[30782]: SHELLY last scenario: 'herdzeile_UM' @ '111523' from 'scene_herdzeile_UM_20250111_111523.txt' - delta=-21
Jan 11 11:36:44 srv4hai activate_scenario[30782]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20250111113644 20250111111523  -f '%S'
Jan 11 11:36:44 srv4hai activate_scenario[30782]: SHELLY  new scenario: 'sekr_UM' different - GO ON
Jan 11 11:36:44 srv4hai activate_scenario[30782]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Jan 11 11:36:44 srv4hai activate_scenario[30782]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-10:'WZ Licht Bücherregal'

finished