activate_scenario.sh
Mon Feb 24 07:06:39 CET 2025
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/02/24/_0.log)

vorher: 07:06:39.924

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

nachher: 07:06:39.967
Dauer: 43 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/24/_1.log)

vorher: 07:06:39.960

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

nachher: 07:06:40.023
Dauer: 64 msec phName: 'shelly-40:'TB Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 07:06:39.877
nachher: 07:06:40.033
Dauer : 156 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/24//scene_buero_UM_20250224_070639.txt'


syslog

Feb 24 07:03:00 srv4hai common[7456]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:03:00 srv4hai common[7480]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:03:00 srv4hai common[7504]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:03:01 srv4hai CRON[7529]: (root) CMD (/etc/linetest/linetest.sh)
Feb 24 07:03:25 srv4hai common[7534]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:03:25 srv4hai common[7559]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:04:00 srv4hai common[7592]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:04:00 srv4hai common[7616]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:04:00 srv4hai common[7640]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:04:01 srv4hai CRON[7668]: (root) CMD (/etc/linetest/linetest.sh)
Feb 24 07:04:09 srv4hai ping_SP[1518]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740377049 - 'ping_SP_1'
Feb 24 07:04:09 srv4hai ping_SP[1518]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 24 07:04:10 srv4hai ping_SP[14851]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740377050 - 'ping_SP_0'
Feb 24 07:04:10 srv4hai ping_SP[14851]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 24 07:04:25 srv4hai common[7704]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:04:25 srv4hai common[7728]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:04:51 srv4hai dhcpd[4995]: DHCPDISCOVER from 8c:aa:b5:61:a9:20 via enp2s0
Feb 24 07:04:51 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.107 to 8c:aa:b5:61:a9:20 via enp2s0
Feb 24 07:04:51 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 24 07:04:51 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.107
Feb 24 07:04:51 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-07
Feb 24 07:04:51 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.107 (192.168.12.252) from 8c:aa:b5:61:a9:20 via enp2s0
Feb 24 07:04:51 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.107 to 8c:aa:b5:61:a9:20 via enp2s0
Feb 24 07:04:51 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#54051/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-07.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 24 07:04:51 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#45573/key rndc-key: signer "rndc-key" approved
Feb 24 07:04:51 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#45573/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-07.viehai.at' TXT
Feb 24 07:04:51 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#45573/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-07.viehai.at' TXT "00304107ff63db9ada5ee5a0bc2105bb05"
Feb 24 07:04:51 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#45573/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-07.viehai.at' A
Feb 24 07:04:51 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#45573/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-07.viehai.at' A 192.168.12.107
Feb 24 07:04:51 srv4hai dhcpd[4995]: Added new forward map from shelly-07.viehai.at to 192.168.12.107
Feb 24 07:04:51 srv4hai named[30406]: client @0x7f9338013780 192.168.12.252#42201/key rndc-key: signer "rndc-key" approved
Feb 24 07:04:51 srv4hai named[30406]: client @0x7f9338013780 192.168.12.252#42201/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '107.12.168.192.in-addr.arpa' PTR
Feb 24 07:04:51 srv4hai named[30406]: client @0x7f9338013780 192.168.12.252#42201/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.
Feb 24 07:04:51 srv4hai dhcpd[4995]: Added reverse map from 107.12.168.192.in-addr.arpa. to shelly-07.viehai.at
Feb 24 07:04:51 srv4hai common[7756]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 24 07:04:51 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-07' - shIP/2:'' perform:'conf'
Feb 24 07:04:52 srv4hai mosquitto[29419]: New connection from 192.168.12.107 on port 1883.
Feb 24 07:04:52 srv4hai mosquitto[29419]: Client shelly1-8CAAB561A920 already connected, closing old connection.
Feb 24 07:04:52 srv4hai mosquitto[29419]: Socket error on client shelly1-8CAAB561A920, disconnecting.
Feb 24 07:04:52 srv4hai mosquitto[29419]: New client connected from 192.168.12.107 as shelly1-8CAAB561A920 (c1, k60, u'shmqtt').
Feb 24 07:04:52 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-07' - shIP/2:'192.168.12.107'
Feb 24 07:04:52 srv4hai conf_shelly.sh: SHELLY: usage/name 'SZ Nachtkästchen Thomas' already set for '192.168.12.107'
Feb 24 07:04:52 srv4hai conf_shelly.sh: SHELLY:'shelly-07' 'conf(0)' - allready transmitted - skipping
Feb 24 07:04:52 srv4hai conf_shelly.sh: SHELLY:'shelly-07' 'conf(1)' - allready transmitted - skipping
Feb 24 07:04:52 srv4hai conf_shelly.sh: SHELLY:'shelly-07' 'conf(2)' - allready transmitted - skipping
Feb 24 07:04:52 srv4hai conf_shelly.sh: SHELLY:'shelly-07' 'conf(3)' - allready transmitted - skipping
Feb 24 07:04:52 srv4hai conf_shelly.sh: SHELLY:'shelly-07' 'conf(4)' - allready transmitted - skipping
Feb 24 07:05:00 srv4hai common[7868]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:05:00 srv4hai common[7892]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:05:00 srv4hai common[7916]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:05:01 srv4hai CRON[7941]: (root) CMD (/etc/linetest/linetest.sh)
Feb 24 07:05:22 srv4hai ping_SP[1518]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740377122 - 'ping_SP_1'
Feb 24 07:05:22 srv4hai ping_SP[1518]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 24 07:05:23 srv4hai ping_SP[14851]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740377123 - 'ping_SP_0'
Feb 24 07:05:23 srv4hai ping_SP[14851]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 24 07:05:25 srv4hai common[7987]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:05:25 srv4hai common[8011]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:05:42 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8038, secured, session=
Feb 24 07:05:42 srv4hai dovecot: imap(miglincit)<8038>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 24 07:06:00 srv4hai common[8041]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:06:00 srv4hai common[8066]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:06:00 srv4hai common[8090]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:06:01 srv4hai CRON[8115]: (root) CMD (/etc/linetest/linetest.sh)
Feb 24 07:06:25 srv4hai common[8127]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:06:25 srv4hai common[8151]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 07:06:30 srv4hai kernel: [86355249.429710] CPU5: Package temperature/speed normal
Feb 24 07:06:30 srv4hai kernel: [86355249.429711] CPU4: Package temperature/speed normal
Feb 24 07:06:30 srv4hai kernel: [86355249.429712] CPU7: Package temperature/speed normal
Feb 24 07:06:30 srv4hai kernel: [86355249.429713] CPU6: Package temperature/speed normal
Feb 24 07:06:30 srv4hai kernel: [86355249.429714] CPU0: Package temperature/speed normal
Feb 24 07:06:30 srv4hai kernel: [86355249.429715] CPU3: Package temperature/speed normal
Feb 24 07:06:30 srv4hai kernel: [86355249.429716] CPU2: Package temperature/speed normal
Feb 24 07:06:30 srv4hai kernel: [86355249.429717] CPU1: Package temperature/speed normal
Feb 24 07:06:35 srv4hai ping_SP[1518]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740377195 - 'ping_SP_1'
Feb 24 07:06:35 srv4hai ping_SP[1518]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 24 07:06:36 srv4hai ping_SP[14851]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740377196 - 'ping_SP_0'
Feb 24 07:06:36 srv4hai ping_SP[14851]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 24 07:06:39 srv4hai activate_scenario[8211]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb 24 07:06:39 srv4hai activate_scenario[8211]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished