activate_scenario.sh
Sat Sep 14 22:45:01 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/09/14/_0.log)

vorher: 22:45:01.649

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:45:01.705
Dauer: 56 msec phName: 'shelly-12:'Schlafzimmer Licht''


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

urls : 1
vorher : 22:45:01.631
nachher: 22:45:01.711
Dauer : 80 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/14//scene_bedlight_tom_20240914_224501.txt'


syslog

Sep 14 22:42:01 srv4hai nmbd[2172]: [2024/09/14 22:42:01.601654,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Sep 14 22:42:01 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Sep 14 22:42:01 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Sep 14 22:42:01 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Sep 14 22:42:01 srv4hai CRON[16802]: (root) CMD (/etc/linetest/linetest.sh)
Sep 14 22:42:14 srv4hai postfix/smtpd[16810]: connect from unknown[94.141.120.39]
Sep 14 22:42:14 srv4hai postfix/smtpd[16810]: warning: unknown[94.141.120.39]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep 14 22:42:14 srv4hai postfix/smtpd[16810]: lost connection after AUTH from unknown[94.141.120.39]
Sep 14 22:42:14 srv4hai postfix/smtpd[16810]: disconnect from unknown[94.141.120.39] ehlo=1 auth=0/1 commands=1/2
Sep 14 22:42:23 srv4hai activate_scenario[16815]: SHELLY scenario: 'tvlampTOGGLE(tvlamptoggle)' started
Sep 14 22:42:23 srv4hai activate_scenario[16815]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-05:'Stehlampe Anne hell'
Sep 14 22:42:23 srv4hai activate_scenario[16815]: SHELLY scenario: 'tvlampTOGGLE(tvlamptoggle)' TO BE EXECUTED, shelly-05:'Stehlampe Anne hell'
Sep 14 22:42:23 srv4hai postfix/pickup[8137]: D68846345B: uid=33 from=
Sep 14 22:42:23 srv4hai postfix/cleanup[16868]: D68846345B: message-id=<20240914204223.D68846345B@mail.viehai.at>
Sep 14 22:42:23 srv4hai postfix/qmgr[8566]: D68846345B: from=, size=8174, nrcpt=1 (queue active)
Sep 14 22:42:23 srv4hai activate_scenario[16815]: SHELLY: scenario: 'tvlampTOGGLE(tvlamptoggle)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=toggle'
Sep 14 22:42:23 srv4hai proc_url[16886]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/14/_0.log' - shellyUsage:'Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=toggle' - phName:'shelly-05:'Stehlampe Anne hell''
Sep 14 22:42:23 srv4hai postfix/local[16881]: D68846345B: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Sep 14 22:42:23 srv4hai postfix/cleanup[16868]: DC9BA6345C: message-id=<20240914204223.DC9BA6345C@mail.viehai.at>
Sep 14 22:42:23 srv4hai postfix/bounce[16882]: D68846345B: sender non-delivery notification: DC9BA6345C
Sep 14 22:42:23 srv4hai postfix/qmgr[8566]: DC9BA6345C: from=<>, size=10056, nrcpt=1 (queue active)
Sep 14 22:42:23 srv4hai postfix/qmgr[8566]: D68846345B: removed
Sep 14 22:42:23 srv4hai activate_scenario[16815]: SHELLY: scenario: 'tvlampTOGGLE(tvlamptoggle)'-'shelly-19'-'Fernsehlampe groß' --> '0?turn=toggle'
Sep 14 22:42:23 srv4hai proc_url[16898]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/14/_1.log' - shellyUsage:'Fernsehlampe groß' - scUrl:'http://192.168.12.119/relay/0?turn=toggle' - phName:'shelly-05:'Stehlampe Anne hell''
Sep 14 22:42:23 srv4hai postfix/local[16881]: DC9BA6345C: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 14 22:42:23 srv4hai postfix/qmgr[8566]: DC9BA6345C: removed
Sep 14 22:42:24 srv4hai activate_scenario[16815]: SHELLY scenario: 'tvlampTOGGLE(tvlamptoggle)' took 131 msec, shelly-05:'Stehlampe Anne hell'
Sep 14 22:42:54 srv4hai ping_SP[22372]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726346574 - 'ping_SP_0'
Sep 14 22:42:54 srv4hai ping_SP[22372]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 14 22:42:57 srv4hai ping_SP[11252]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726346577 - 'ping_SP_1'
Sep 14 22:42:57 srv4hai ping_SP[11252]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 14 22:43:01 srv4hai CRON[16999]: (root) CMD (/etc/linetest/linetest.sh)
Sep 14 22:43:10 srv4hai named[30406]: resolver priming query complete
Sep 14 22:43:11 srv4hai named[30406]: resolver priming query complete
Sep 14 22:43:12 srv4hai named[30406]: resolver priming query complete
Sep 14 22:43:14 srv4hai named[30406]: resolver priming query complete
Sep 14 22:43:36 srv4hai named[30406]: resolver priming query complete
Sep 14 22:43:38 srv4hai dhcpd[30731]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Sep 14 22:43:38 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Sep 14 22:43:38 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Sep 14 22:43:38 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.122
Sep 14 22:43:38 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-22
Sep 14 22:43:38 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Sep 14 22:43:38 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Sep 14 22:43:38 srv4hai named[30406]: client @0x7f93506a3ad0 192.168.12.252#37115/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 14 22:43:38 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#34865/key rndc-key: signer "rndc-key" approved
Sep 14 22:43:38 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#34865/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Sep 14 22:43:38 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#34865/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Sep 14 22:43:38 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#34865/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Sep 14 22:43:38 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#34865/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Sep 14 22:43:38 srv4hai dhcpd[30731]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Sep 14 22:43:38 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#52311/key rndc-key: signer "rndc-key" approved
Sep 14 22:43:38 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#52311/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Sep 14 22:43:38 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#52311/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Sep 14 22:43:38 srv4hai dhcpd[30731]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Sep 14 22:43:38 srv4hai common[17025]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Sep 14 22:43:38 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf'
Sep 14 22:43:39 srv4hai mosquitto[18551]: New connection from 192.168.12.122 on port 1883.
Sep 14 22:43:39 srv4hai mosquitto[18551]: Client shelly1-98CDAC2E1CDA already connected, closing old connection.
Sep 14 22:43:39 srv4hai mosquitto[18551]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting.
Sep 14 22:43:39 srv4hai mosquitto[18551]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Sep 14 22:43:39 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Sep 14 22:43:39 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC' already set for '192.168.12.122'
Sep 14 22:43:39 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Sep 14 22:43:39 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Sep 14 22:43:39 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Sep 14 22:43:39 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Sep 14 22:43:39 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Sep 14 22:43:39 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 ON : MISSING
Sep 14 22:43:39 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 OFF: MISSING
Sep 14 22:44:01 srv4hai CRON[17177]: (root) CMD (/etc/linetest/linetest.sh)
Sep 14 22:44:07 srv4hai ping_SP[22372]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726346647 - 'ping_SP_0'
Sep 14 22:44:07 srv4hai ping_SP[22372]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 14 22:44:10 srv4hai ping_SP[11252]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726346650 - 'ping_SP_1'
Sep 14 22:44:10 srv4hai ping_SP[11252]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 14 22:44:51 srv4hai postfix/smtpd[17242]: connect from unknown[94.141.120.39]
Sep 14 22:44:51 srv4hai postfix/smtpd[17242]: warning: unknown[94.141.120.39]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep 14 22:44:51 srv4hai postfix/smtpd[17242]: lost connection after AUTH from unknown[94.141.120.39]
Sep 14 22:44:51 srv4hai postfix/smtpd[17242]: disconnect from unknown[94.141.120.39] ehlo=1 auth=0/1 commands=1/2
Sep 14 22:44:59 srv4hai activate_scenario[17250]: SHELLY scenario: 'buero_UM(buero_um)' started
Sep 14 22:44:59 srv4hai activate_scenario[17250]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Sep 14 22:44:59 srv4hai activate_scenario[17250]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Sep 14 22:44:59 srv4hai postfix/pickup[8137]: 746796345B: uid=33 from=
Sep 14 22:44:59 srv4hai postfix/cleanup[17303]: 746796345B: message-id=<20240914204459.746796345B@mail.viehai.at>
Sep 14 22:44:59 srv4hai postfix/qmgr[8566]: 746796345B: from=, size=10675, nrcpt=1 (queue active)
Sep 14 22:44:59 srv4hai activate_scenario[17250]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Sep 14 22:44:59 srv4hai proc_url[17322]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/14/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Sep 14 22:44:59 srv4hai postfix/local[17317]: 746796345B: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Sep 14 22:44:59 srv4hai postfix/cleanup[17303]: 7AD486345C: message-id=<20240914204459.7AD486345C@mail.viehai.at>
Sep 14 22:44:59 srv4hai postfix/bounce[17318]: 746796345B: sender non-delivery notification: 7AD486345C
Sep 14 22:44:59 srv4hai postfix/qmgr[8566]: 7AD486345C: from=<>, size=12597, nrcpt=1 (queue active)
Sep 14 22:44:59 srv4hai postfix/qmgr[8566]: 746796345B: removed
Sep 14 22:44:59 srv4hai activate_scenario[17250]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Sep 14 22:44:59 srv4hai proc_url[17334]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/14/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Sep 14 22:44:59 srv4hai postfix/local[17317]: 7AD486345C: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 14 22:44:59 srv4hai postfix/qmgr[8566]: 7AD486345C: removed
Sep 14 22:44:59 srv4hai activate_scenario[17250]: SHELLY scenario: 'buero_UM(buero_um)' took 73 msec, shelly-40:'Thomas Büro Licht'
Sep 14 22:45:01 srv4hai CRON[17377]: (root) CMD (/etc/linetest/linetest.sh)
Sep 14 22:45:01 srv4hai activate_scenario[17382]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Sep 14 22:45:01 srv4hai activate_scenario[17382]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished