activate_scenario.sh
Fri Apr 11 09:43:07 CEST 2025
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/04/11/_0.log)

vorher: 09:43:07.268

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

nachher: 09:43:07.314
Dauer: 46 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/04/11/_1.log)

vorher: 09:43:07.303

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

nachher: 09:43:07.352
Dauer: 49 msec phName: 'shelly-40:'TB Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 09:43:07.215
nachher: 09:43:07.365
Dauer : 150 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/04/11//scene_buero_UM_20250411_094307.txt'


syslog

Apr 11 09:40:00 srv4hai mqtt_process[15483]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 11 09:40:00 srv4hai mqtt_process[15509]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 09:40:00 srv4hai mqtt_process[15534]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 09:40:01 srv4hai CRON[15561]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 09:40:01 srv4hai CRON[15562]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 11 09:40:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 11 09:40:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 11 09:40:02 srv4hai check_shelly.sh: SHELLY last scenery executed: 'herdzeile_UM'
Apr 11 09:40:02 srv4hai check_shelly.sh: SHELLY found '12' active shelly outputs
Apr 11 09:40:02 srv4hai meter.sh: SHELLY meter.sh ended
Apr 11 09:40:02 srv4hai postfix/pickup[30498]: 7001C63463: uid=33 from=
Apr 11 09:40:02 srv4hai postfix/cleanup[15694]: 7001C63463: message-id=<20250411074002.7001C63463@mail.viehai.at>
Apr 11 09:40:02 srv4hai postfix/qmgr[8566]: 7001C63463: from=, size=663, nrcpt=1 (queue active)
Apr 11 09:40:02 srv4hai postfix/local[15696]: 7001C63463: to=, orig_to=, relay=local, delay=0.04, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 11 09:40:02 srv4hai postfix/qmgr[8566]: 7001C63463: removed
Apr 11 09:40:37 srv4hai dhcpd[30231]: DHCPDISCOVER from 30:83:98:8c:05:9d via enp2s0
Apr 11 09:40:37 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Apr 11 09:40:37 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr 11 09:40:37 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.123
Apr 11 09:40:37 srv4hai dhcpd[30231]: execute_statement argv[2] = shelly-23
Apr 11 09:40:37 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.123 (192.168.12.252) from 30:83:98:8c:05:9d via enp2s0
Apr 11 09:40:37 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Apr 11 09:40:37 srv4hai named[30406]: client @0x7f931c04a000 192.168.12.252#56019/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-23.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 11 09:40:37 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#36213/key rndc-key: signer "rndc-key" approved
Apr 11 09:40:37 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#36213/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' TXT
Apr 11 09:40:37 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#36213/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' TXT "0067c4eae5f3400bd02ff9ebe320262416"
Apr 11 09:40:37 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#36213/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' A
Apr 11 09:40:37 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#36213/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' A 192.168.12.123
Apr 11 09:40:37 srv4hai dhcpd[30231]: Added new forward map from shelly-23.viehai.at to 192.168.12.123
Apr 11 09:40:37 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#42445/key rndc-key: signer "rndc-key" approved
Apr 11 09:40:37 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#42445/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '123.12.168.192.in-addr.arpa' PTR
Apr 11 09:40:37 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#42445/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '123.12.168.192.in-addr.arpa' PTR shelly-23.viehai.at.
Apr 11 09:40:37 srv4hai dhcpd[30231]: Added reverse map from 123.12.168.192.in-addr.arpa. to shelly-23.viehai.at
Apr 11 09:40:37 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-23' - shIP/2:'' perform:'conf'
Apr 11 09:40:38 srv4hai mosquitto[29419]: New connection from 192.168.12.123 on port 1883.
Apr 11 09:40:38 srv4hai mosquitto[29419]: New client connected from 192.168.12.123 as shelly1-3083988C059D (c1, k60, u'shmqtt').
Apr 11 09:40:38 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-23' - shIP/2:'192.168.12.123'
Apr 11 09:40:38 srv4hai conf_shelly.sh: SHELLY: usage/name 'WZ Licht Sofa' already set for '192.168.12.123'
Apr 11 09:40:38 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(0)' - allready transmitted - skipping
Apr 11 09:40:38 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(1)' - allready transmitted - skipping
Apr 11 09:40:38 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(2)' - allready transmitted - skipping
Apr 11 09:40:38 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(3)' - allready transmitted - skipping
Apr 11 09:40:38 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(4)' - allready transmitted - skipping
Apr 11 09:40:38 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(5)' - allready transmitted - skipping
Apr 11 09:40:48 srv4hai mqtt_process[15837]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 09:40:48 srv4hai mqtt_process[15862]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 09:40:57 srv4hai ping_SP[7833]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1744357257 - 'ping_SP_0'
Apr 11 09:40:57 srv4hai ping_SP[7833]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 11 09:40:59 srv4hai mqtt_process[15936]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 09:40:59 srv4hai mqtt_process[15961]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 09:41:00 srv4hai mqtt_process[15986]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 11 09:41:01 srv4hai CRON[16012]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 09:41:25 srv4hai kernel: [90335391.283871] CPU5: Core temperature/speed normal
Apr 11 09:41:25 srv4hai kernel: [90335391.283871] CPU1: Core temperature/speed normal
Apr 11 09:41:40 srv4hai postfix/smtpd[16020]: connect from unknown[196.251.92.74]
Apr 11 09:41:40 srv4hai postfix/smtpd[16020]: warning: unknown[196.251.92.74]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr 11 09:41:40 srv4hai postfix/smtpd[16020]: disconnect from unknown[196.251.92.74] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Apr 11 09:41:48 srv4hai mqtt_process[16023]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 09:41:48 srv4hai mqtt_process[16049]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 09:42:00 srv4hai mqtt_process[16078]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 11 09:42:00 srv4hai mqtt_process[16103]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 09:42:00 srv4hai mqtt_process[16128]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 09:42:01 srv4hai CRON[16157]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 09:42:09 srv4hai mosquitto[29419]: Client shelly1-3083988C059D has exceeded timeout, disconnecting.
Apr 11 09:42:09 srv4hai mosquitto[29419]: Socket error on client shelly1-3083988C059D, disconnecting.
Apr 11 09:42:10 srv4hai ping_SP[7833]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1744357330 - 'ping_SP_0'
Apr 11 09:42:10 srv4hai ping_SP[7833]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 11 09:42:18 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 11 09:42:19 srv4hai fetchmail[1651]: 67561 messages (67561 seen) for tmiglinci at mail.akis.at (1266959807 octets).
Apr 11 09:42:19 srv4hai fetchmail[1651]: 11817 messages (11817 seen) for srozum at mail.akis.at (1393103655 octets).
Apr 11 09:42:20 srv4hai fetchmail[1651]: 30235 messages (30235 seen) for mrozum at mail.akis.at (927048174 octets).
Apr 11 09:42:21 srv4hai fetchmail[1651]: 1167 messages (1167 seen) for admin@bastelstube.wien at pop3.world4you.com (52265871 octets).
Apr 11 09:42:25 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16182, secured, session=
Apr 11 09:42:26 srv4hai dovecot: imap(miglincit)<16182>: Logged out in=2046 out=1232 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 11 09:42:48 srv4hai mqtt_process[16185]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 09:42:48 srv4hai mqtt_process[16210]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 09:43:00 srv4hai mqtt_process[16236]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 11 09:43:00 srv4hai mqtt_process[16262]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 09:43:00 srv4hai mqtt_process[16287]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 09:43:01 srv4hai CRON[16313]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 09:43:07 srv4hai activate_scenario[16319]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr 11 09:43:07 srv4hai activate_scenario[16319]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished