activate_scenario.sh
Mon Dec 23 05:48:37 CET 2024
scenario: nasszeile_um
source: 192.168.12.128

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

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

KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/23/_0.log)

vorher: 05:48:37.287

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: 05:48:37.391
Dauer: 105 msec phName: 'shelly-28:'KÜ Schalter Nasszeile''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/23/_1.log)

vorher: 05:48:37.300

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: 05:48:37.391
Dauer: 91 msec phName: 'shelly-28:'KÜ Schalter Nasszeile''


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

urls : 2
vorher : 05:48:37.267
nachher: 05:48:37.399
Dauer : 132 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/23//scene_nasszeile_um_20241223_054837.txt'


syslog

Dec 23 05:45:00 srv4hai smartd[27489]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 52 to 53
Dec 23 05:45:01 srv4hai CRON[32713]: (root) CMD (/etc/linetest/linetest.sh)
Dec 23 05:45:14 srv4hai ping_SP[12792]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734929114 - 'ping_SP_1'
Dec 23 05:45:14 srv4hai ping_SP[12792]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 23 05:45:38 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 23 05:45:38 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 23 05:45:45 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734929145 - 'ping_SP_0'
Dec 23 05:45:45 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 23 05:45:47 srv4hai dhcpd[4995]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Dec 23 05:45:47 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Dec 23 05:45:47 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 23 05:45:47 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.122
Dec 23 05:45:47 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-22
Dec 23 05:45:47 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Dec 23 05:45:47 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Dec 23 05:45:47 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#44807/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 23 05:45:47 srv4hai named[30406]: client @0x7f932c0b5090 192.168.12.252#58907/key rndc-key: signer "rndc-key" approved
Dec 23 05:45:47 srv4hai named[30406]: client @0x7f932c0b5090 192.168.12.252#58907/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Dec 23 05:45:47 srv4hai named[30406]: client @0x7f932c0b5090 192.168.12.252#58907/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Dec 23 05:45:47 srv4hai named[30406]: client @0x7f932c0b5090 192.168.12.252#58907/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Dec 23 05:45:47 srv4hai named[30406]: client @0x7f932c0b5090 192.168.12.252#58907/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Dec 23 05:45:47 srv4hai dhcpd[4995]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Dec 23 05:45:47 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#50595/key rndc-key: signer "rndc-key" approved
Dec 23 05:45:47 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#50595/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Dec 23 05:45:47 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#50595/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Dec 23 05:45:47 srv4hai dhcpd[4995]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Dec 23 05:45:47 srv4hai common[32766]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 23 05:45:47 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf'
Dec 23 05:45:48 srv4hai mosquitto[29419]: New connection from 192.168.12.122 on port 1883.
Dec 23 05:45:48 srv4hai mosquitto[29419]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Dec 23 05:45:48 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Dec 23 05:45:48 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC Licht' already set for '192.168.12.122'
Dec 23 05:45:48 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Dec 23 05:45:48 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Dec 23 05:45:48 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Dec 23 05:45:48 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Dec 23 05:45:48 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Dec 23 05:46:01 srv4hai CRON[416]: (root) CMD (/etc/linetest/linetest.sh)
Dec 23 05:46:02 srv4hai postfix/anvil[32605]: statistics: max connection rate 1/60s for (smtp:154.203.197.233) at Dec 23 05:42:25
Dec 23 05:46:02 srv4hai postfix/anvil[32605]: statistics: max connection count 1 for (smtp:154.203.197.233) at Dec 23 05:42:25
Dec 23 05:46:02 srv4hai postfix/anvil[32605]: statistics: max cache size 2 at Dec 23 05:42:40
Dec 23 05:46:27 srv4hai ping_SP[12792]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734929187 - 'ping_SP_1'
Dec 23 05:46:27 srv4hai ping_SP[12792]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 23 05:46:34 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 23 05:46:34 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 23 05:46:37 srv4hai postfix/smtpd[446]: connect from unknown[80.94.95.239]
Dec 23 05:46:40 srv4hai postfix/smtpd[446]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 23 05:46:41 srv4hai postfix/smtpd[446]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 23 05:46:58 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734929218 - 'ping_SP_0'
Dec 23 05:46:58 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 23 05:47:01 srv4hai CRON[479]: (root) CMD (/etc/linetest/linetest.sh)
Dec 23 05:47:19 srv4hai mosquitto[29419]: Client shelly1-98CDAC2E1CDA has exceeded timeout, disconnecting.
Dec 23 05:47:19 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting.
Dec 23 05:47:32 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 23 05:47:32 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 23 05:47:40 srv4hai ping_SP[12792]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734929260 - 'ping_SP_1'
Dec 23 05:47:40 srv4hai ping_SP[12792]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 23 05:48:01 srv4hai CRON[515]: (root) CMD (/etc/linetest/linetest.sh)
Dec 23 05:48:11 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734929291 - 'ping_SP_0'
Dec 23 05:48:11 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 23 05:48:19 srv4hai postfix/smtpd[446]: connect from unknown[154.203.197.233]
Dec 23 05:48:19 srv4hai postfix/smtpd[446]: warning: unknown[154.203.197.233]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 23 05:48:19 srv4hai postfix/smtpd[446]: disconnect from unknown[154.203.197.233] ehlo=1 auth=0/1 quit=1 commands=2/3
Dec 23 05:48:26 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 23 05:48:26 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 23 05:48:37 srv4hai activate_scenario[554]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Dec 23 05:48:37 srv4hai activate_scenario[554]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'KÜ Schalter Nasszeile'

finished