activate_scenario.sh
Tue Feb 27 21:17:44 CET 2024
scenario: vorraumOn
phoneName: 0

'night' <--> DayTime=unchecked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/02/27/_0.log)

vorher: 21:17:44.577

http://192.168.12.103/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 21:17:44.615
Dauer: 37 msec phName: 'phoneName:'0''


scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

urls : 1
vorher : 21:17:44.560
nachher: 21:17:44.621
Dauer : 61 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/27//scene_vorraumOn_20240227_211744.txt'


syslog

Feb 27 21:14:01 srv4hai CRON[30696]: (root) CMD (/etc/linetest/linetest.sh)
Feb 27 21:14:32 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709064872 - 'ping_SP_1'
Feb 27 21:14:32 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 27 21:14:50 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 27 21:14:51 srv4hai fetchmail[1651]: 38889 messages (38889 seen) for tmiglinci at mail.akis.at (-1081203769 octets).
Feb 27 21:14:51 srv4hai fetchmail[1651]: 9943 messages (9943 seen) for srozum at mail.akis.at (1201015575 octets).
Feb 27 21:14:52 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30764, secured, session=
Feb 27 21:14:52 srv4hai fetchmail[1651]: 21902 messages (21902 seen) for mrozum at mail.akis.at (-538249285 octets).
Feb 27 21:14:52 srv4hai dovecot: imap(miglincit)<30764>: 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 27 21:14:52 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Feb 27 21:14:53 srv4hai dhcpd[5037]: DHCPDISCOVER from 34:94:54:71:bc:cf via enp2s0
Feb 27 21:14:53 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.142 to 34:94:54:71:bc:cf via enp2s0
Feb 27 21:14:53 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 27 21:14:53 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.142
Feb 27 21:14:53 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-42
Feb 27 21:14:53 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.142 (192.168.12.252) from 34:94:54:71:bc:cf via enp2s0
Feb 27 21:14:53 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.142 to 34:94:54:71:bc:cf via enp2s0
Feb 27 21:14:53 srv4hai named[14530]: client @0x7fc32003af00 192.168.12.252#55541/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-42.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 27 21:14:53 srv4hai named[14530]: client @0x7fc314028fc0 192.168.12.252#35685/key rndc-key: signer "rndc-key" approved
Feb 27 21:14:53 srv4hai named[14530]: client @0x7fc314028fc0 192.168.12.252#35685/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-42.viehai.at' TXT
Feb 27 21:14:53 srv4hai named[14530]: client @0x7fc314028fc0 192.168.12.252#35685/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-42.viehai.at' TXT "009725012a308142e411b9d6a121917f19"
Feb 27 21:14:53 srv4hai named[14530]: client @0x7fc314028fc0 192.168.12.252#35685/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-42.viehai.at' A
Feb 27 21:14:53 srv4hai named[14530]: client @0x7fc314028fc0 192.168.12.252#35685/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-42.viehai.at' A 192.168.12.142
Feb 27 21:14:53 srv4hai dhcpd[5037]: Added new forward map from shelly-42.viehai.at to 192.168.12.142
Feb 27 21:14:53 srv4hai named[14530]: client @0x7fc320075e30 192.168.12.252#33545/key rndc-key: signer "rndc-key" approved
Feb 27 21:14:53 srv4hai named[14530]: client @0x7fc320075e30 192.168.12.252#33545/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '142.12.168.192.in-addr.arpa' PTR
Feb 27 21:14:53 srv4hai named[14530]: client @0x7fc320075e30 192.168.12.252#33545/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '142.12.168.192.in-addr.arpa' PTR shelly-42.viehai.at.
Feb 27 21:14:53 srv4hai dhcpd[5037]: Added reverse map from 142.12.168.192.in-addr.arpa. to shelly-42.viehai.at
Feb 27 21:14:53 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-42' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 27 21:14:54 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-42' - shIP/2:'192.168.12.142'
Feb 27 21:14:54 srv4hai conf_shelly.sh: SHELLY: usage/name 'Stehlampe dimmbar' already set for '192.168.12.142'
Feb 27 21:14:55 srv4hai conf_shelly.sh: SHELLY:'shelly-42' 'conf(0)' - allready transmitted - skipping
Feb 27 21:14:55 srv4hai conf_shelly.sh: SHELLY:'shelly-42' 'conf(1)' - allready transmitted - skipping
Feb 27 21:14:55 srv4hai conf_shelly.sh: SHELLY:'shelly-42' 'conf(2)' - allready transmitted - skipping
Feb 27 21:14:55 srv4hai conf_shelly.sh: SHELLY:'shelly-42' out:0 ON : MISSING
Feb 27 21:14:55 srv4hai conf_shelly.sh: SHELLY:'shelly-42' out:0 OFF: MISSING
Feb 27 21:15:01 srv4hai CRON[30873]: (root) CMD (/etc/linetest/linetest.sh)
Feb 27 21:15:45 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709064945 - 'ping_SP_1'
Feb 27 21:15:45 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 27 21:16:01 srv4hai CRON[30920]: (root) CMD (/etc/linetest/linetest.sh)
Feb 27 21:16:58 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709065018 - 'ping_SP_1'
Feb 27 21:16:58 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 27 21:17:01 srv4hai CRON[30971]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Feb 27 21:17:01 srv4hai CRON[30972]: (root) CMD (/etc/linetest/linetest.sh)
Feb 27 21:17:34 srv4hai common[30998]: SHELLY common.sh inkludiert
Feb 27 21:17:44 srv4hai bt_scan[30998]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Feb 27 21:17:44 srv4hai bt_scan[30998]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb 27 21:17:44 srv4hai common[31033]: SHELLY common.sh inkludiert
Feb 27 21:17:44 srv4hai ping_SP[31033]: SHELLY ping_SP.sh started from bt_scan
Feb 27 21:17:44 srv4hai common[31043]: SHELLY common.sh inkludiert
Feb 27 21:17:44 srv4hai check_presence[31043]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Feb 27 21:17:44 srv4hai check_presence[31043]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Feb 27 21:17:44 srv4hai check_presence[31043]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Feb 27 21:17:44 srv4hai check_presence[31043]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb 27 21:17:44 srv4hai check_presence[31043]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Feb 27 21:17:44 srv4hai activate_scenario[31096]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Feb 27 21:17:44 srv4hai activate_scenario[31096]: SHELLY dayState='night' <--> DayTime=unchecked NightTime=checked - phoneName:'0'

finished