activate_scenario.sh
Thu Oct 3 22:09:23 CEST 2024
scenario: bedlight_tom
source: 192.168.12.112

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

scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/10/03/_0.log)

vorher: 22:09:23.949

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

nachher: 22:09:23.984
Dauer: 34 msec phName: 'shelly-12:'Schlafzimmer Licht''


scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

urls : 1
vorher : 22:09:23.930
nachher: 22:09:23.992
Dauer : 62 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/10/03//scene_bedlight_tom_20241003_220923.txt'


syslog

Oct  3 22:06:01 srv4hai postfix/smtpd[12297]: warning: hostname scanner-01.fr7.censys-scanner.com does not resolve to address 167.94.145.100: Name or service not known
Oct  3 22:06:01 srv4hai postfix/smtpd[12297]: connect from unknown[167.94.145.100]
Oct  3 22:06:01 srv4hai postfix/smtpd[12297]: lost connection after STARTTLS from unknown[167.94.145.100]
Oct  3 22:06:01 srv4hai postfix/smtpd[12297]: disconnect from unknown[167.94.145.100] ehlo=1 starttls=1 commands=2
Oct  3 22:06:01 srv4hai CRON[12393]: (root) CMD (/etc/linetest/linetest.sh)
Oct  3 22:06:28 srv4hai ping_SP[22314]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727985988 - 'ping_SP_0'
Oct  3 22:06:28 srv4hai ping_SP[22314]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct  3 22:07:01 srv4hai CRON[12426]: (root) CMD (/etc/linetest/linetest.sh)
Oct  3 22:07:08 srv4hai ping_SP[26611]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727986028 - 'ping_SP_1'
Oct  3 22:07:08 srv4hai ping_SP[26611]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Oct  3 22:07:41 srv4hai ping_SP[22314]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727986061 - 'ping_SP_0'
Oct  3 22:07:41 srv4hai ping_SP[22314]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct  3 22:07:59 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12469, secured, session=
Oct  3 22:07:59 srv4hai dovecot: imap(miglincit)<12469>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct  3 22:08:01 srv4hai CRON[12471]: (root) CMD (/etc/linetest/linetest.sh)
Oct  3 22:08:21 srv4hai ping_SP[26611]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727986101 - 'ping_SP_1'
Oct  3 22:08:21 srv4hai ping_SP[26611]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Oct  3 22:08:40 srv4hai common[12505]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Oct  3 22:08:41 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Oct  3 22:08:41 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Oct  3 22:08:41 srv4hai common[12528]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Oct  3 22:08:41 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_older_60sec' dweetAge:'148'=1727986121-1727985973
Oct  3 22:08:41 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_older_60sec' dweetAge:'148'=1727986121-1727985973
Oct  3 22:08:41 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_older_60sec' dweetAge:'148'=1727986121-1727985973
Oct  3 22:08:48 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Oct  3 22:08:48 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Oct  3 22:08:50 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Oct  3 22:08:50 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.5
Oct  3 22:08:50 srv4hai dhcpd[30731]: execute_statement argv[2] = btscan1
Oct  3 22:08:50 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Oct  3 22:08:50 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Oct  3 22:08:50 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#44265/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Oct  3 22:08:50 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#53545/key rndc-key: signer "rndc-key" approved
Oct  3 22:08:50 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#53545/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Oct  3 22:08:50 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#53545/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Oct  3 22:08:50 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#53545/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Oct  3 22:08:50 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#53545/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Oct  3 22:08:50 srv4hai dhcpd[30731]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Oct  3 22:08:50 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#59897/key rndc-key: signer "rndc-key" approved
Oct  3 22:08:50 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#59897/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Oct  3 22:08:50 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#59897/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at.
Oct  3 22:08:50 srv4hai dhcpd[30731]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Oct  3 22:08:50 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Oct  3 22:08:50 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Oct  3 22:08:55 srv4hai ping_SP[22314]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727986135 - 'ping_SP_0'
Oct  3 22:08:55 srv4hai ping_SP[22314]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct  3 22:09:01 srv4hai CRON[12619]: (root) CMD (/etc/linetest/linetest.sh)
Oct  3 22:09:01 srv4hai CRON[12620]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Oct  3 22:09:01 srv4hai systemd[1]: Starting Clean php session files...
Oct  3 22:09:02 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Oct  3 22:09:02 srv4hai systemd[1]: Started Clean php session files.
Oct  3 22:09:21 srv4hai postfix/anvil[12299]: statistics: max connection rate 1/60s for (smtp:216.218.206.96) at Oct  3 22:04:15
Oct  3 22:09:21 srv4hai postfix/anvil[12299]: statistics: max connection count 1 for (smtp:216.218.206.96) at Oct  3 22:04:15
Oct  3 22:09:21 srv4hai postfix/anvil[12299]: statistics: max cache size 2 at Oct  3 22:04:28
Oct  3 22:09:23 srv4hai activate_scenario[12724]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Oct  3 22:09:23 srv4hai activate_scenario[12724]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished