activate_scenario.sh
Fri Jan 24 22:46:24 CET 2025
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'

SZ Nachtkästchen Thomas (/srv/www/viehai/shelly/log_scenarios/2025/01/24/_0.log)

vorher: 22:46:24.168

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:46:25.227
Dauer: 1060 msec phName: 'shelly-12:'SZ Licht''


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

urls : 1
vorher : 22:46:24.141
nachher: 22:46:25.234
Dauer : 1093 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/24//scene_bedlight_tom_20250124_224624.txt'


syslog

Jan 24 22:43:00 srv4hai postfix/anvil[17706]: statistics: max connection rate 1/60s for (smtp:172.245.129.231) at Jan 24 22:39:36
Jan 24 22:43:00 srv4hai postfix/anvil[17706]: statistics: max connection count 1 for (smtp:172.245.129.231) at Jan 24 22:39:36
Jan 24 22:43:00 srv4hai postfix/anvil[17706]: statistics: max cache size 1 at Jan 24 22:39:36
Jan 24 22:43:01 srv4hai CRON[19084]: (root) CMD (/etc/linetest/linetest.sh)
Jan 24 22:43:30 srv4hai nmbd[2172]: [2025/01/24 22:43:30.790089,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jan 24 22:43:30 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jan 24 22:43:30 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jan 24 22:43:30 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jan 24 22:43:35 srv4hai ping_SP[3220]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737755015 - 'ping_SP_0'
Jan 24 22:43:35 srv4hai ping_SP[3220]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 24 22:43:40 srv4hai ping_SP[20975]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1737755020 - 'ping_SP_1'
Jan 24 22:43:40 srv4hai ping_SP[20975]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 24 22:43:59 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19140, secured, session=<6CXXn3oskNMAAAAAAAAAAAAAAAAAAAAB>
Jan 24 22:43:59 srv4hai dovecot: imap(miglincit)<19140><6CXXn3oskNMAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 24 22:44:01 srv4hai CRON[19142]: (root) CMD (/etc/linetest/linetest.sh)
Jan 24 22:44:48 srv4hai ping_SP[3220]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737755088 - 'ping_SP_0'
Jan 24 22:44:48 srv4hai ping_SP[3220]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 24 22:44:54 srv4hai ping_SP[20975]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1737755094 - 'ping_SP_1'
Jan 24 22:44:54 srv4hai ping_SP[20975]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 24 22:45:00 srv4hai smartd[27489]: Device: /dev/sdd [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 109 to 108
Jan 24 22:45:01 srv4hai CRON[19195]: (root) CMD (/etc/linetest/linetest.sh)
Jan 24 22:45:03 srv4hai dhcpd[4995]: DHCPDISCOVER from e8:db:84:d2:3b:46 via enp2s0
Jan 24 22:45:03 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.106 to e8:db:84:d2:3b:46 via enp2s0
Jan 24 22:45:03 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jan 24 22:45:03 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.106
Jan 24 22:45:03 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-06
Jan 24 22:45:03 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.106 (192.168.12.252) from e8:db:84:d2:3b:46 via enp2s0
Jan 24 22:45:03 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.106 to e8:db:84:d2:3b:46 via enp2s0
Jan 24 22:45:03 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#50903/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-06.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan 24 22:45:03 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#56223/key rndc-key: signer "rndc-key" approved
Jan 24 22:45:03 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#56223/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-06.viehai.at' TXT
Jan 24 22:45:03 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#56223/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-06.viehai.at' TXT "00e5b4e36e36fc00550f574d5b1f0bfd3e"
Jan 24 22:45:03 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#56223/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-06.viehai.at' A
Jan 24 22:45:03 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#56223/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-06.viehai.at' A 192.168.12.106
Jan 24 22:45:03 srv4hai dhcpd[4995]: Added new forward map from shelly-06.viehai.at to 192.168.12.106
Jan 24 22:45:03 srv4hai named[30406]: client @0x7f9348072b20 192.168.12.252#49969/key rndc-key: signer "rndc-key" approved
Jan 24 22:45:03 srv4hai named[30406]: client @0x7f9348072b20 192.168.12.252#49969/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '106.12.168.192.in-addr.arpa' PTR
Jan 24 22:45:03 srv4hai named[30406]: client @0x7f9348072b20 192.168.12.252#49969/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '106.12.168.192.in-addr.arpa' PTR shelly-06.viehai.at.
Jan 24 22:45:03 srv4hai dhcpd[4995]: Added reverse map from 106.12.168.192.in-addr.arpa. to shelly-06.viehai.at
Jan 24 22:45:03 srv4hai common[19203]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jan 24 22:45:03 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-06' - shIP/2:'' perform:'conf'
Jan 24 22:45:03 srv4hai mosquitto[29419]: New connection from 192.168.12.106 on port 1883.
Jan 24 22:45:03 srv4hai mosquitto[29419]: Client shelly1-E8DB84D23B46 already connected, closing old connection.
Jan 24 22:45:03 srv4hai mosquitto[29419]: Socket error on client shelly1-E8DB84D23B46, disconnecting.
Jan 24 22:45:03 srv4hai mosquitto[29419]: New client connected from 192.168.12.106 as shelly1-E8DB84D23B46 (c1, k60, u'shmqtt').
Jan 24 22:45:04 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-06' - shIP/2:'192.168.12.106'
Jan 24 22:45:04 srv4hai conf_shelly.sh: SHELLY: usage/name 'WZ Licht Fernsehlampe klein' already set for '192.168.12.106'
Jan 24 22:45:04 srv4hai conf_shelly.sh: SHELLY:'shelly-06' 'conf(0)' - allready transmitted - skipping
Jan 24 22:45:04 srv4hai conf_shelly.sh: SHELLY:'shelly-06' 'conf(1)' - allready transmitted - skipping
Jan 24 22:45:04 srv4hai conf_shelly.sh: SHELLY:'shelly-06' 'conf(2)' - allready transmitted - skipping
Jan 24 22:45:04 srv4hai conf_shelly.sh: SHELLY:'shelly-06' 'conf(3)' - allready transmitted - skipping
Jan 24 22:45:08 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jan 24 22:45:09 srv4hai fetchmail[1651]: 62205 messages (62205 seen) for tmiglinci at mail.akis.at (793365632 octets).
Jan 24 22:45:09 srv4hai fetchmail[1651]: 11444 messages (11444 seen) for srozum at mail.akis.at (1362377306 octets).
Jan 24 22:45:10 srv4hai fetchmail[1651]: 28519 messages (28519 seen) for mrozum at mail.akis.at (590971704 octets).
Jan 24 22:45:11 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Jan 24 22:45:16 srv4hai common[19304]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jan 24 22:45:26 srv4hai bt_scan[19304]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jan 24 22:45:26 srv4hai bt_scan[19304]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jan 24 22:45:26 srv4hai common[19338]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jan 24 22:45:27 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1737755127-1737755116
Jan 24 22:45:27 srv4hai check_presence[19338]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jan 24 22:45:27 srv4hai check_presence[19338]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jan 24 22:45:27 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1737755127-1737755116
Jan 24 22:45:27 srv4hai check_presence[19338]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jan 24 22:45:27 srv4hai check_presence[19338]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jan 24 22:45:27 srv4hai check_presence[19338]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE)' - anyPresent: 'true' - otherPresent:'true'
Jan 24 22:45:27 srv4hai check_presence[19338]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_buero_UM) - sceneOFF(offAll)
Jan 24 22:45:27 srv4hai check_presence[19338]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 24 22:45:51 srv4hai common[19463]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jan 24 22:46:01 srv4hai ping_SP[3220]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737755161 - 'ping_SP_0'
Jan 24 22:46:01 srv4hai ping_SP[3220]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 24 22:46:01 srv4hai bt_scan[19463]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jan 24 22:46:01 srv4hai bt_scan[19463]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jan 24 22:46:01 srv4hai CRON[19518]: (root) CMD (/etc/linetest/linetest.sh)
Jan 24 22:46:07 srv4hai ping_SP[20975]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1737755167 - 'ping_SP_1'
Jan 24 22:46:07 srv4hai ping_SP[20975]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 24 22:46:24 srv4hai activate_scenario[19542]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Jan 24 22:46:24 srv4hai activate_scenario[19542]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'SZ Licht'

finished