activate_scenario.sh
Mon Dec 30 18:34:42 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/30/_0.log)

vorher: 18:34:42.770

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: 18:34:42.824
Dauer: 54 msec phName: 'shelly-28:'KÜ Schalter Nasszeile''


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

vorher: 18:34:42.788

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: 18:34:42.821
Dauer: 32 msec phName: 'shelly-28:'KÜ Schalter Nasszeile''


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

urls : 2
vorher : 18:34:42.742
nachher: 18:34:42.831
Dauer : 90 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/30//scene_nasszeile_um_20241230_183442.txt'


syslog

Dec 30 18:31:01 srv4hai CRON[15470]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 18:31:25 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec 30 18:31:26 srv4hai fetchmail[1651]: 60426 messages (60426 seen) for tmiglinci at mail.akis.at (667003132 octets).
Dec 30 18:31:26 srv4hai fetchmail[1651]: 11310 messages (11310 seen) for srozum at mail.akis.at (1353744752 octets).
Dec 30 18:31:27 srv4hai fetchmail[1651]: 28100 messages (28100 seen) for mrozum at mail.akis.at (527202001 octets).
Dec 30 18:31:27 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Dec 30 18:31:30 srv4hai postfix/anvil[13125]: statistics: max connection rate 2/60s for (smtp:165.154.227.146) at Dec 30 18:23:03
Dec 30 18:31:30 srv4hai postfix/anvil[13125]: statistics: max connection count 2 for (smtp:165.154.227.146) at Dec 30 18:23:03
Dec 30 18:31:30 srv4hai postfix/anvil[13125]: statistics: max cache size 1 at Dec 30 18:21:30
Dec 30 18:31:51 srv4hai ping_SP[21819]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1735579911 - 'ping_SP_1'
Dec 30 18:31:51 srv4hai ping_SP[21819]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 30 18:31:54 srv4hai dhcpd[4995]: DHCPDISCOVER from e8:db:84:a8:91:c9 via enp2s0
Dec 30 18:31:54 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.117 to e8:db:84:a8:91:c9 via enp2s0
Dec 30 18:31:54 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 30 18:31:54 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.117
Dec 30 18:31:54 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-17
Dec 30 18:31:54 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.117 (192.168.12.252) from e8:db:84:a8:91:c9 via enp2s0
Dec 30 18:31:54 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.117 to e8:db:84:a8:91:c9 via enp2s0
Dec 30 18:31:54 srv4hai named[30406]: client @0x7f9348072b20 192.168.12.252#56233/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-17.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 30 18:31:54 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#51201/key rndc-key: signer "rndc-key" approved
Dec 30 18:31:54 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#51201/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-17.viehai.at' TXT
Dec 30 18:31:54 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#51201/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-17.viehai.at' TXT "00b598fea4f634c10c92531f66051bcfce"
Dec 30 18:31:54 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#51201/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-17.viehai.at' A
Dec 30 18:31:54 srv4hai named[30406]: client @0x7f931c085800 192.168.12.252#51201/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-17.viehai.at' A 192.168.12.117
Dec 30 18:31:54 srv4hai dhcpd[4995]: Added new forward map from shelly-17.viehai.at to 192.168.12.117
Dec 30 18:31:54 srv4hai named[30406]: client @0x7f932c03e370 192.168.12.252#44591/key rndc-key: signer "rndc-key" approved
Dec 30 18:31:54 srv4hai named[30406]: client @0x7f932c03e370 192.168.12.252#44591/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '117.12.168.192.in-addr.arpa' PTR
Dec 30 18:31:54 srv4hai named[30406]: client @0x7f932c03e370 192.168.12.252#44591/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '117.12.168.192.in-addr.arpa' PTR shelly-17.viehai.at.
Dec 30 18:31:54 srv4hai dhcpd[4995]: Added reverse map from 117.12.168.192.in-addr.arpa. to shelly-17.viehai.at
Dec 30 18:31:54 srv4hai common[15523]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 30 18:31:54 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-17' - shIP/2:'' perform:'conf'
Dec 30 18:31:55 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-17' - shIP/2:'192.168.12.117'
Dec 30 18:31:55 srv4hai mosquitto[29419]: New connection from 192.168.12.117 on port 1883.
Dec 30 18:31:55 srv4hai mosquitto[29419]: Client shellyrgbw2-A891C9 already connected, closing old connection.
Dec 30 18:31:55 srv4hai mosquitto[29419]: Socket error on client shellyrgbw2-A891C9, disconnecting.
Dec 30 18:31:55 srv4hai mosquitto[29419]: New client connected from 192.168.12.117 as shellyrgbw2-A891C9 (c1, k60, u'shmqtt').
Dec 30 18:31:55 srv4hai conf_shelly.sh: SHELLY: usage/name 'KÜ Licht Herdzeile' already set for '192.168.12.117'
Dec 30 18:31:55 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(0)' - allready transmitted - skipping
Dec 30 18:31:55 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(1)' - allready transmitted - skipping
Dec 30 18:31:55 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(2)' - allready transmitted - skipping
Dec 30 18:31:55 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(3)' - allready transmitted - skipping
Dec 30 18:31:55 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(4)' - allready transmitted - skipping
Dec 30 18:31:55 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(5)' - allready transmitted - skipping
Dec 30 18:31:55 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(6)' - allready transmitted - skipping
Dec 30 18:31:55 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(7)' - allready transmitted - skipping
Dec 30 18:32:01 srv4hai CRON[15680]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 18:33:01 srv4hai CRON[15726]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 18:33:04 srv4hai ping_SP[21819]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1735579984 - 'ping_SP_1'
Dec 30 18:33:04 srv4hai ping_SP[21819]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 30 18:33:12 srv4hai systemd[1]: Started Run anacron jobs.
Dec 30 18:33:12 srv4hai anacron[15757]: Anacron 2.3 started on 2024-12-30
Dec 30 18:33:12 srv4hai anacron[15757]: Normal exit (0 jobs run)
Dec 30 18:33:12 srv4hai systemd[1]: anacron.service: Succeeded.
Dec 30 18:33:13 srv4hai postfix/smtpd[15758]: connect from unknown[80.94.95.239]
Dec 30 18:33:16 srv4hai postfix/smtpd[15758]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 30 18:33:17 srv4hai postfix/smtpd[15758]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 30 18:34:01 srv4hai CRON[15790]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 18:34:17 srv4hai ping_SP[21819]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1735580057 - 'ping_SP_1'
Dec 30 18:34:17 srv4hai ping_SP[21819]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 30 18:34:42 srv4hai activate_scenario[15836]: SHELLY last scenario: 'vorraumOn' @ '182344' from 'scene_vorraumOn_20241230_182344.txt' - delta=2
Dec 30 18:34:42 srv4hai activate_scenario[15836]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20241230183442 20241230182344  -f '%S'
Dec 30 18:34:42 srv4hai activate_scenario[15836]: SHELLY  new scenario: 'nasszeile_um' different - GO ON
Dec 30 18:34:42 srv4hai activate_scenario[15836]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Dec 30 18:34:42 srv4hai activate_scenario[15836]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'KÜ Schalter Nasszeile'

finished