activate_scenario.sh
Wed Jan 31 21:15:28 CET 2024
scenario: herdzeile_UM
source: 192.168.12.129

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

scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/01/31/_0.log)

vorher: 21:15:28.817

http://192.168.12.117/white/0?turn=toggle&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 7.13,
  "overpower": false

nachher: 21:15:28.886
Dauer: 68 msec phName: 'shelly-29:'Schalter Herdzeile''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/01/31/_1.log)

vorher: 21:15:28.832

http://192.168.12.117/white/1?turn=toggle&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 7.13,
  "overpower": false

nachher: 21:15:28.873
Dauer: 40 msec phName: 'shelly-29:'Schalter Herdzeile''


scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

urls : 2
vorher : 21:15:28.796
nachher: 21:15:28.893
Dauer : 97 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/01/31//scene_herdzeile_UM_20240131_211528.txt'


syslog

Jan 31 21:12:01 srv4hai CRON[21802]: (root) CMD (/etc/linetest/linetest.sh)
Jan 31 21:12:18 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706731938 - 'ping_SP_0'
Jan 31 21:12:18 srv4hai check_presence[21819]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 31 21:12:18 srv4hai check_presence[21819]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 31 21:12:18 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 31 21:12:24 srv4hai postfix/anvil[21140]: statistics: max connection rate 1/60s for (smtp:159.203.192.10) at Jan 31 21:09:03
Jan 31 21:12:24 srv4hai postfix/anvil[21140]: statistics: max connection count 1 for (smtp:159.203.192.10) at Jan 31 21:09:03
Jan 31 21:12:24 srv4hai postfix/anvil[21140]: statistics: max cache size 1 at Jan 31 21:09:03
Jan 31 21:12:28 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706731948 - 'ping_SP_1'
Jan 31 21:12:28 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 31 21:12:48 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706731968 - 'ping_SP_0'
Jan 31 21:12:48 srv4hai check_presence[21871]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 31 21:12:48 srv4hai check_presence[21871]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 31 21:12:48 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 31 21:12:58 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706731978 - 'ping_SP_1'
Jan 31 21:12:58 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 31 21:13:01 srv4hai CRON[21909]: (root) CMD (/etc/linetest/linetest.sh)
Jan 31 21:13:18 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706731998 - 'ping_SP_0'
Jan 31 21:13:18 srv4hai check_presence[21928]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 31 21:13:18 srv4hai check_presence[21928]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 31 21:13:18 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 31 21:13:29 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706732009 - 'ping_SP_1'
Jan 31 21:13:29 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 31 21:13:34 srv4hai nmbd[30864]: [2024/01/31 21:13:34.231259,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jan 31 21:13:34 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Jan 31 21:13:34 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jan 31 21:13:34 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Jan 31 21:13:48 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706732028 - 'ping_SP_0'
Jan 31 21:13:48 srv4hai check_presence[21981]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 31 21:13:48 srv4hai check_presence[21981]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 31 21:13:48 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 31 21:13:59 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706732039 - 'ping_SP_1'
Jan 31 21:13:59 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 31 21:14:01 srv4hai dhcpd[5037]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0
Jan 31 21:14:01 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Jan 31 21:14:01 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jan 31 21:14:01 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.102
Jan 31 21:14:01 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-02
Jan 31 21:14:01 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0
Jan 31 21:14:01 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Jan 31 21:14:01 srv4hai named[14530]: client @0x7fc328157870 192.168.12.252#47789/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan 31 21:14:01 srv4hai named[14530]: client @0x7fc31803cbb0 192.168.12.252#42789/key rndc-key: signer "rndc-key" approved
Jan 31 21:14:01 srv4hai named[14530]: client @0x7fc31803cbb0 192.168.12.252#42789/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT
Jan 31 21:14:01 srv4hai named[14530]: client @0x7fc31803cbb0 192.168.12.252#42789/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe"
Jan 31 21:14:01 srv4hai named[14530]: client @0x7fc31803cbb0 192.168.12.252#42789/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A
Jan 31 21:14:01 srv4hai named[14530]: client @0x7fc31803cbb0 192.168.12.252#42789/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102
Jan 31 21:14:01 srv4hai dhcpd[5037]: Added new forward map from shelly-02.viehai.at to 192.168.12.102
Jan 31 21:14:01 srv4hai named[14530]: client @0x7fc31c0640a0 192.168.12.252#39745/key rndc-key: signer "rndc-key" approved
Jan 31 21:14:01 srv4hai named[14530]: client @0x7fc31c0640a0 192.168.12.252#39745/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR
Jan 31 21:14:01 srv4hai named[14530]: client @0x7fc31c0640a0 192.168.12.252#39745/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '102.12.168.192.in-addr.arpa' PTR shelly-02.viehai.at.
Jan 31 21:14:01 srv4hai dhcpd[5037]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at
Jan 31 21:14:01 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Jan 31 21:14:01 srv4hai CRON[22030]: (root) CMD (/etc/linetest/linetest.sh)
Jan 31 21:14:02 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-02' - shIP/2:'192.168.12.102'
Jan 31 21:14:02 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon-Licht' already set for '192.168.12.102'
Jan 31 21:14:02 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping
Jan 31 21:14:02 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping
Jan 31 21:14:02 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping
Jan 31 21:14:02 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping
Jan 31 21:14:02 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping
Jan 31 21:14:02 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 ON : MISSING
Jan 31 21:14:02 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 OFF: MISSING
Jan 31 21:14:18 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706732058 - 'ping_SP_0'
Jan 31 21:14:18 srv4hai check_presence[22167]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 31 21:14:18 srv4hai check_presence[22167]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 31 21:14:18 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 31 21:14:29 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706732069 - 'ping_SP_1'
Jan 31 21:14:29 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 31 21:14:48 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706732088 - 'ping_SP_0'
Jan 31 21:14:48 srv4hai check_presence[22221]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 31 21:14:48 srv4hai check_presence[22221]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 31 21:14:48 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 31 21:15:00 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706732100 - 'ping_SP_1'
Jan 31 21:15:00 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 31 21:15:00 srv4hai smartd[27489]: Device: /dev/sdd [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 107 to 108
Jan 31 21:15:01 srv4hai CRON[22260]: (root) CMD (/etc/linetest/linetest.sh)
Jan 31 21:15:18 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706732118 - 'ping_SP_0'
Jan 31 21:15:18 srv4hai check_presence[22278]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 31 21:15:18 srv4hai check_presence[22278]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 31 21:15:18 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 31 21:15:24 srv4hai activate_scenario[22299]: SHELLY scenario: 'LOG_gehen(log_gehen)' started
Jan 31 21:15:24 srv4hai activate_scenario[22299]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Jan 31 21:15:24 srv4hai activate_scenario[22299]: SHELLY scenario: 'LOG_gehen(log_gehen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Jan 31 21:15:24 srv4hai postfix/pickup[10112]: 8B03F60244: uid=33 from=
Jan 31 21:15:24 srv4hai postfix/cleanup[22349]: 8B03F60244: message-id=<20240131201524.8B03F60244@mail.viehai.at>
Jan 31 21:15:24 srv4hai postfix/qmgr[28610]: 8B03F60244: from=, size=10374, nrcpt=1 (queue active)
Jan 31 21:15:24 srv4hai activate_scenario[22299]: SHELLY scenario: 'LOG_gehen(log_gehen)' took 17 msec, shelly-03:'Licht Vorzimmer'
Jan 31 21:15:25 srv4hai postfix/relay/smtp[22361]: 8B03F60244: to=, relay=mx03.nic.name[209.131.161.54]:25, delay=0.95, delays=0.05/0.01/0.47/0.42, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 2E8B080005)
Jan 31 21:15:25 srv4hai postfix/qmgr[28610]: 8B03F60244: removed
Jan 31 21:15:28 srv4hai activate_scenario[22369]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started
Jan 31 21:15:28 srv4hai activate_scenario[22369]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-29:'Schalter Herdzeile'

finished