activate_scenario.sh
Mon Jan 20 17:35:43 CET 2025
scenario: vorraumOn
phoneName: 1
vorher: 17:35:43.286
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: 17:35:43.408
Dauer: 121 msec
phName: 'phoneName:'1''
urls : 1
vorher : 17:35:43.259
nachher: 17:35:43.414
Dauer : 155 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/20//scene_vorraumOn_20250120_173543.txt'
Jan 20 17:32:01 srv4hai CRON[7149]: (root) CMD (/etc/linetest/linetest.sh) Jan 20 17:32:18 srv4hai postfix/anvil[5818]: statistics: max connection rate 1/60s for (smtp:92.118.39.65) at Jan 20 17:26:34 Jan 20 17:32:18 srv4hai postfix/anvil[5818]: statistics: max connection count 1 for (smtp:92.118.39.65) at Jan 20 17:26:34 Jan 20 17:32:18 srv4hai postfix/anvil[5818]: statistics: max cache size 1 at Jan 20 17:26:34 Jan 20 17:32:27 srv4hai ping_SP[899]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1737390747 - 'ping_SP_0' Jan 20 17:32:27 srv4hai ping_SP[899]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 20 17:33:01 srv4hai CRON[7193]: (root) CMD (/etc/linetest/linetest.sh) Jan 20 17:33:40 srv4hai ping_SP[899]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1737390820 - 'ping_SP_0' Jan 20 17:33:40 srv4hai ping_SP[899]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 20 17:33:42 srv4hai activate_scenario[7224]: SHELLY last scenario: 'sekr_UM' @ '170357' from 'scene_sekr_UM_20250120_170357.txt' - delta=15 Jan 20 17:33:42 srv4hai activate_scenario[7224]: dateutils.ddiff -i '%Y%m%d%H%M%s' 20250120173342 20250120170357 -f '%S' Jan 20 17:33:42 srv4hai activate_scenario[7224]: SHELLY new scenario: 'homeOffice' different - GO ON Jan 20 17:33:42 srv4hai activate_scenario[7224]: SHELLY scenario: 'homeOffice(homeoffice)' started Jan 20 17:33:42 srv4hai activate_scenario[7224]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht' Jan 20 17:33:42 srv4hai activate_scenario[7224]: SHELLY scenario: 'homeOffice(homeoffice)' TO BE EXECUTED, shelly-40:'TB Licht' Jan 20 17:33:42 srv4hai postfix/pickup[2844]: E079963463: uid=33 from=Jan 20 17:33:42 srv4hai postfix/cleanup[7289]: E079963463: message-id=<20250120163342.E079963463@mail.viehai.at> Jan 20 17:33:42 srv4hai postfix/qmgr[8566]: E079963463: from= , size=17728, nrcpt=1 (queue active) Jan 20 17:33:42 srv4hai postfix/local[7302]: E079963463: to= , orig_to= , relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Jan 20 17:33:42 srv4hai postfix/cleanup[7289]: E94A363464: message-id=<20250120163342.E94A363464@mail.viehai.at> Jan 20 17:33:42 srv4hai postfix/bounce[7303]: E079963463: sender non-delivery notification: E94A363464 Jan 20 17:33:42 srv4hai postfix/qmgr[8566]: E94A363464: from=<>, size=19607, nrcpt=1 (queue active) Jan 20 17:33:42 srv4hai postfix/qmgr[8566]: E079963463: removed Jan 20 17:33:42 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-01'-'WZ Licht Esstisch' --> '0?turn=off' Jan 20 17:33:42 srv4hai postfix/local[7302]: E94A363464: to= , relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Jan 20 17:33:42 srv4hai postfix/qmgr[8566]: E94A363464: removed Jan 20 17:33:42 srv4hai proc_url[7308]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_0.log' - shellyUsage:'WZ Licht Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:42 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-02'-'Balkon Licht' --> '0?turn=off' Jan 20 17:33:42 srv4hai proc_url[7319]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_1.log' - shellyUsage:'Balkon Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-03'-'VZ Licht' --> '0?turn=off' Jan 20 17:33:43 srv4hai proc_url[7340]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_2.log' - shellyUsage:'VZ Licht' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai proc_url[7308]: SHELLY: status invalid - length:'9' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-05'-'WZ Stehlampe hell' --> '0?turn=off' Jan 20 17:33:43 srv4hai proc_url[7352]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_3.log' - shellyUsage:'WZ Stehlampe hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-06'-'WZ Licht Fernsehlampe klein' --> '0?turn=off' Jan 20 17:33:43 srv4hai proc_url[7363]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_4.log' - shellyUsage:'WZ Licht Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-07'-'SZ Nachtkästchen Thomas' --> '0?turn=off' Jan 20 17:33:43 srv4hai proc_url[7384]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_5.log' - shellyUsage:'SZ Nachtkästchen Thomas' - scUrl:'http://192.168.12.107/relay/0?turn=off' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-08'-'TB Regallicht' --> '0?turn=on' Jan 20 17:33:43 srv4hai proc_url[7395]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_6.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=on' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-09'-'GB Licht' --> '0?turn=off' Jan 20 17:33:43 srv4hai proc_url[7447]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_7.log' - shellyUsage:'GB Licht' - scUrl:'http://192.168.12.109/relay/0?turn=off' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-10'-'WZ Licht Bücherregal' --> '0?turn=off' Jan 20 17:33:43 srv4hai proc_url[7473]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_8.log' - shellyUsage:'WZ Licht Bücherregal' - scUrl:'http://192.168.12.110/relay/0?turn=off' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-12'-'SZ Licht' --> '0?turn=off' Jan 20 17:33:43 srv4hai proc_url[7488]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_9.log' - shellyUsage:'SZ Licht' - scUrl:'http://192.168.12.112/relay/0?turn=off' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-16'-'KÜ Licht Naßzeile' --> '0?turn=on&brightness=50' Jan 20 17:33:43 srv4hai proc_url[7511]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_10.log' - shellyUsage:'KÜ Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=on&brightness=50' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-16'-'KÜ Licht Naßzeile' --> '1?turn=on&brightness=50' Jan 20 17:33:43 srv4hai proc_url[7543]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_11.log' - shellyUsage:'KÜ Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=on&brightness=50' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-17'-'KÜ Licht Herdzeile' --> '0?turn=off&brightness=50' Jan 20 17:33:43 srv4hai proc_url[7567]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_12.log' - shellyUsage:'KÜ Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=off&brightness=50' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-17'-'KÜ Licht Herdzeile' --> '1?turn=off&brightness=50' Jan 20 17:33:43 srv4hai proc_url[7580]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_13.log' - shellyUsage:'KÜ Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=off&brightness=50' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-19'-'GB Fernsehlampe' --> '0?turn=off' Jan 20 17:33:43 srv4hai proc_url[7615]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_14.log' - shellyUsage:'GB Fernsehlampe' - scUrl:'http://192.168.12.119/relay/0?turn=off' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-23'-'WZ Licht Sofa' --> '0?turn=off' Jan 20 17:33:43 srv4hai proc_url[7626]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_15.log' - shellyUsage:'WZ Licht Sofa' - scUrl:'http://192.168.12.123/relay/0?turn=off' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-24'-'Empore Licht' --> '0?turn=on' Jan 20 17:33:43 srv4hai proc_url[7639]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_16.log' - shellyUsage:'Empore Licht' - scUrl:'http://192.168.12.124/relay/0?turn=on' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-25'-'KÜ Licht' --> '0?turn=off' Jan 20 17:33:43 srv4hai proc_url[7660]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_17.log' - shellyUsage:'KÜ Licht' - scUrl:'http://192.168.12.125/relay/0?turn=off' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-40'-'TB Licht' --> '0?turn=on' Jan 20 17:33:43 srv4hai proc_url[7671]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_18.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=on' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY: scenario: 'homeOffice(homeoffice)'-'shelly-55'-'GB Schreibtischlampe rechts' --> '0?turn=off' Jan 20 17:33:43 srv4hai proc_url[7694]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_19.log' - shellyUsage:'GB Schreibtischlampe rechts' - scUrl:'http://192.168.12.155/relay/0?turn=off' - phName:'shelly-40:'TB Licht'' Jan 20 17:33:43 srv4hai proc_url[7694]: SHELLY: status invalid - length:'9' Jan 20 17:33:43 srv4hai activate_scenario[7224]: SHELLY scenario: 'homeOffice(homeoffice)' took 587 msec, shelly-40:'TB Licht' Jan 20 17:33:46 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=7815, secured, session= Jan 20 17:33:46 srv4hai dovecot: imap(miglincit)<7815> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jan 20 17:34:01 srv4hai CRON[7822]: (root) CMD (/etc/linetest/linetest.sh) Jan 20 17:34:22 srv4hai postfix/smtpd[7828]: connect from unknown[92.118.39.64] Jan 20 17:34:27 srv4hai postfix/smtpd[7828]: warning: unknown[92.118.39.64]: SASL PLAIN authentication failed: Jan 20 17:34:27 srv4hai postfix/smtpd[7828]: disconnect from unknown[92.118.39.64] ehlo=1 auth=0/1 quit=1 commands=2/3 Jan 20 17:34:31 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Jan 20 17:34:31 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.10 Jan 20 17:34:31 srv4hai dhcpd[4995]: execute_statement argv[2] = pchai7x Jan 20 17:34:31 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0 Jan 20 17:34:31 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0 Jan 20 17:34:31 srv4hai named[30406]: client @0x7f93100e1310 192.168.12.252#43901/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jan 20 17:34:31 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#55275/key rndc-key: signer "rndc-key" approved Jan 20 17:34:31 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#55275/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT Jan 20 17:34:31 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#55275/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52" Jan 20 17:34:31 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#55275/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A Jan 20 17:34:31 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#55275/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10 Jan 20 17:34:31 srv4hai dhcpd[4995]: Added new forward map from pchai7x.viehai.at to 192.168.12.10 Jan 20 17:34:31 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x' Jan 20 17:34:31 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#36921/key rndc-key: signer "rndc-key" approved Jan 20 17:34:31 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#36921/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR Jan 20 17:34:31 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#36921/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '10.12.168.192.in-addr.arpa' PTR pchai7x.viehai.at. Jan 20 17:34:31 srv4hai dhcpd[4995]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at Jan 20 17:34:31 srv4hai activate_scenario[7843]: SHELLY last scenario: 'homeOffice' @ '173342' from 'scene_homeOffice_20250120_173342.txt' - delta=11 Jan 20 17:34:31 srv4hai activate_scenario[7843]: dateutils.ddiff -i '%Y%m%d%H%M%s' 20250120173431 20250120173342 -f '%S' Jan 20 17:34:31 srv4hai activate_scenario[7843]: SHELLY new scenario: 'pcON' different - GO ON Jan 20 17:34:31 srv4hai activate_scenario[7843]: SHELLY scenario: 'pcON(pcon)' started Jan 20 17:34:31 srv4hai activate_scenario[7843]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x' Jan 20 17:34:31 srv4hai activate_scenario[7843]: SHELLY scenario: 'pcON(pcon)' TO BE EXECUTED, origin:'dhcpcommit.sh-pchai7x' Jan 20 17:34:31 srv4hai postfix/pickup[2844]: A777263463: uid=33 from= Jan 20 17:34:31 srv4hai postfix/cleanup[7289]: A777263463: message-id=<20250120163431.A777263463@mail.viehai.at> Jan 20 17:34:31 srv4hai postfix/qmgr[8566]: A777263463: from= , size=16073, nrcpt=1 (queue active) Jan 20 17:34:31 srv4hai postfix/local[7302]: A777263463: to= , orig_to= , relay=local, delay=0.02, delays=0.01/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null") Jan 20 17:34:31 srv4hai postfix/cleanup[7289]: AC0C963464: message-id=<20250120163431.AC0C963464@mail.viehai.at> Jan 20 17:34:31 srv4hai postfix/bounce[7303]: A777263463: sender non-delivery notification: AC0C963464 Jan 20 17:34:31 srv4hai postfix/qmgr[8566]: AC0C963464: from=<>, size=17952, nrcpt=1 (queue active) Jan 20 17:34:31 srv4hai postfix/qmgr[8566]: A777263463: removed Jan 20 17:34:31 srv4hai postfix/local[7302]: AC0C963464: to= , relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Jan 20 17:34:31 srv4hai postfix/qmgr[8566]: AC0C963464: removed Jan 20 17:34:31 srv4hai activate_scenario[7843]: SHELLY: scenario: 'pcON(pcon)'-'shelly-20'-'TB Schreibtischlampe' --> '0?turn=on' Jan 20 17:34:31 srv4hai proc_url[7920]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/20/_0.log' - shellyUsage:'TB Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=on' - phName:'origin:'dhcpcommit.sh-pchai7x'' Jan 20 17:34:31 srv4hai activate_scenario[7843]: SHELLY scenario: 'pcON(pcon)' took 68 msec, origin:'dhcpcommit.sh-pchai7x' Jan 20 17:34:53 srv4hai ping_SP[899]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1737390893 - 'ping_SP_0' Jan 20 17:34:53 srv4hai ping_SP[899]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 20 17:34:57 srv4hai common[7968]: SHELLY common.sh inkludiert von ./bt_scan.sh Jan 20 17:35:01 srv4hai CRON[7984]: (root) CMD (/etc/linetest/linetest.sh) Jan 20 17:35:07 srv4hai bt_scan[7968]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No' Jan 20 17:35:07 srv4hai bt_scan[7968]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Jan 20 17:35:07 srv4hai common[8009]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jan 20 17:35:07 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1737390907-1737390897 Jan 20 17:35:07 srv4hai check_presence[8009]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jan 20 17:35:07 srv4hai check_presence[8009]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence' Jan 20 17:35:07 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1737390907-1737390897 Jan 20 17:35:07 srv4hai check_presence[8009]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Jan 20 17:35:07 srv4hai check_presence[8009]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false' Jan 20 17:35:07 srv4hai check_presence[8009]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_pcON) - sceneOFF(offAll) Jan 20 17:35:07 srv4hai check_presence[8009]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll Jan 20 17:35:13 srv4hai dhcpd[4995]: DHCPDISCOVER from 8c:aa:b5:61:a9:20 via enp2s0 Jan 20 17:35:13 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.107 to 8c:aa:b5:61:a9:20 via enp2s0 Jan 20 17:35:13 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jan 20 17:35:13 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.107 Jan 20 17:35:13 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-07 Jan 20 17:35:13 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.107 (192.168.12.252) from 8c:aa:b5:61:a9:20 via enp2s0 Jan 20 17:35:13 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.107 to 8c:aa:b5:61:a9:20 via enp2s0 Jan 20 17:35:13 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#33781/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-07.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jan 20 17:35:13 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#43637/key rndc-key: signer "rndc-key" approved Jan 20 17:35:13 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#43637/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-07.viehai.at' TXT Jan 20 17:35:13 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#43637/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-07.viehai.at' TXT "00304107ff63db9ada5ee5a0bc2105bb05" Jan 20 17:35:13 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#43637/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-07.viehai.at' A Jan 20 17:35:13 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#43637/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-07.viehai.at' A 192.168.12.107 Jan 20 17:35:13 srv4hai dhcpd[4995]: Added new forward map from shelly-07.viehai.at to 192.168.12.107 Jan 20 17:35:13 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#49763/key rndc-key: signer "rndc-key" approved Jan 20 17:35:13 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#49763/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '107.12.168.192.in-addr.arpa' PTR Jan 20 17:35:13 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#49763/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '107.12.168.192.in-addr.arpa' PTR shelly-07.viehai.at. Jan 20 17:35:13 srv4hai dhcpd[4995]: Added reverse map from 107.12.168.192.in-addr.arpa. to shelly-07.viehai.at Jan 20 17:35:13 srv4hai common[8125]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jan 20 17:35:13 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-07' - shIP/2:'' perform:'conf' Jan 20 17:35:14 srv4hai mosquitto[29419]: New connection from 192.168.12.107 on port 1883. Jan 20 17:35:14 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-07' - shIP/2:'192.168.12.107' Jan 20 17:35:14 srv4hai mosquitto[29419]: Client shelly1-8CAAB561A920 already connected, closing old connection. Jan 20 17:35:14 srv4hai mosquitto[29419]: Socket error on client shelly1-8CAAB561A920, disconnecting. Jan 20 17:35:14 srv4hai mosquitto[29419]: New client connected from 192.168.12.107 as shelly1-8CAAB561A920 (c1, k60, u'shmqtt'). Jan 20 17:35:14 srv4hai conf_shelly.sh: SHELLY: usage/name 'SZ Nachtkästchen Thomas' already set for '192.168.12.107' Jan 20 17:35:14 srv4hai conf_shelly.sh: SHELLY:'shelly-07' 'conf(0)' - allready transmitted - skipping Jan 20 17:35:14 srv4hai conf_shelly.sh: SHELLY:'shelly-07' 'conf(1)' - allready transmitted - skipping Jan 20 17:35:14 srv4hai conf_shelly.sh: SHELLY:'shelly-07' 'conf(2)' - allready transmitted - skipping Jan 20 17:35:14 srv4hai conf_shelly.sh: SHELLY:'shelly-07' 'conf(3)' - allready transmitted - skipping Jan 20 17:35:14 srv4hai conf_shelly.sh: SHELLY:'shelly-07' 'conf(4)' - allready transmitted - skipping Jan 20 17:35:20 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8239, secured, session= Jan 20 17:35:20 srv4hai dovecot: imap(pilsc)<8239> : Logged out in=82 out=717 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jan 20 17:35:20 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8241, secured, session= Jan 20 17:35:20 srv4hai dovecot: imap(pilsc)<8241> : Logged out in=44 out=2661 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jan 20 17:35:21 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8245, secured, session= Jan 20 17:35:21 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8246, secured, session= Jan 20 17:35:21 srv4hai dovecot: imap(pilsc)<8245> : Logged out in=317 out=2775 deleted=0 expunged=0 trashed=0 hdr_count=2 hdr_bytes=1218 body_count=0 body_bytes=0 Jan 20 17:35:21 srv4hai dovecot: imap(pilsc)<8246> : Logged out in=2471 out=7006 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jan 20 17:35:26 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8248, secured, session= Jan 20 17:35:26 srv4hai dovecot: imap(miglincit)<8248> : Logged out in=29 out=529 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jan 20 17:35:26 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8250, secured, session= Jan 20 17:35:26 srv4hai dovecot: imap(miglincit)<8250> : Logged out in=44 out=193753 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jan 20 17:35:27 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8253, secured, session= Jan 20 17:35:27 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8254, secured, session= Jan 20 17:35:27 srv4hai dovecot: imap(miglincit)<8253> : Logged out in=2011 out=166427 deleted=0 expunged=0 trashed=0 hdr_count=255 hdr_bytes=92254 body_count=0 body_bytes=0 Jan 20 17:35:28 srv4hai dovecot: imap(miglincit)<8254> : Logged out in=280177 out=1224149 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jan 20 17:35:30 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8256, secured, session= Jan 20 17:35:30 srv4hai dovecot: imap(miglincit)<8256> : Logged out in=443 out=65129 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=499 body_count=1 body_bytes=63078 Jan 20 17:35:32 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8259, secured, session= Jan 20 17:35:32 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8261, secured, session= Jan 20 17:35:32 srv4hai dovecot: imap(miglincit)<8259> : Logged out in=634 out=33592 deleted=0 expunged=0 trashed=3 hdr_count=3 hdr_bytes=624 body_count=0 body_bytes=0 Jan 20 17:35:32 srv4hai dovecot: imap(miglincit)<8261> : Logged out in=443 out=10421 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=542 body_count=1 body_bytes=8329 Jan 20 17:35:32 srv4hai common[8263]: SHELLY common.sh inkludiert von ./bt_scan.sh Jan 20 17:35:33 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8279, secured, session= Jan 20 17:35:33 srv4hai dovecot: imap(miglincit)<8279> : Logged out in=441 out=8819 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=348 body_count=1 body_bytes=6928 Jan 20 17:35:33 srv4hai dhcpd[4995]: DHCPDISCOVER from f0:39:65:25:8d:c7 via enp2s0 Jan 20 17:35:33 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Jan 20 17:35:33 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jan 20 17:35:33 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.62 Jan 20 17:35:33 srv4hai dhcpd[4995]: execute_statement argv[2] = GreteS20 Jan 20 17:35:33 srv4hai common[8280]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jan 20 17:35:33 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8294, secured, session= Jan 20 17:35:33 srv4hai dovecot: imap(miglincit)<8294> : Logged out in=606 out=32793 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=367 body_count=0 body_bytes=0 Jan 20 17:35:33 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8296, secured, session=<9M1z2SUsnN4AAAAAAAAAAAAAAAAAAAAB> Jan 20 17:35:33 srv4hai dovecot: imap(miglincit)<8296><9M1z2SUsnN4AAAAAAAAAAAAAAAAAAAAB>: Logged out in=447 out=30429 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=689 body_count=1 body_bytes=27845 Jan 20 17:35:34 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8298, secured, session= Jan 20 17:35:34 srv4hai dovecot: imap(miglincit)<8298> : Logged out in=443 out=31435 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=428 body_count=1 body_bytes=29264 Jan 20 17:35:35 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8300, secured, session= Jan 20 17:35:35 srv4hai dovecot: imap(miglincit)<8300> : Logged out in=441 out=32427 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=348 body_count=1 body_bytes=30532 Jan 20 17:35:38 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8306, secured, session= Jan 20 17:35:38 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8308, secured, session= Jan 20 17:35:38 srv4hai dovecot: imap(miglincit)<8308> : Logged out in=401 out=30259 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=634 body_count=1 body_bytes=27708 Jan 20 17:35:38 srv4hai dovecot: imap(miglincit)<8306> : Logged out in=662 out=36030 deleted=0 expunged=0 trashed=4 hdr_count=7 hdr_bytes=2249 body_count=0 body_bytes=0 Jan 20 17:35:39 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8310, secured, session= Jan 20 17:35:39 srv4hai dovecot: imap(miglincit)<8310> : Logged out in=397 out=31350 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=428 body_count=1 body_bytes=29264 Jan 20 17:35:40 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=8312, secured, session= Jan 20 17:35:40 srv4hai dovecot: imap(miglincit)<8312> : Logged out in=401 out=30344 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=689 body_count=1 body_bytes=27845 Jan 20 17:35:42 srv4hai bt_scan[8263]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes' Jan 20 17:35:42 srv4hai bt_scan[8263]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62' Jan 20 17:35:42 srv4hai common[8331]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jan 20 17:35:42 srv4hai ping_SP[8331]: SHELLY ping_SP.sh started from bt_scan, user:'www-data' Jan 20 17:35:42 srv4hai common[8352]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jan 20 17:35:43 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1737390943-1737390932 Jan 20 17:35:43 srv4hai check_presence[8352]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jan 20 17:35:43 srv4hai check_presence[8352]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Jan 20 17:35:43 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1737390943-1737390932 Jan 20 17:35:43 srv4hai check_presence[8352]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Jan 20 17:35:43 srv4hai check_presence[8352]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/LIVE) (BT/__)' - anyPresent: 'true' - otherPresent:'true' Jan 20 17:35:43 srv4hai check_presence[8352]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_pcON) - sceneONsmall(vorraumOn) Jan 20 17:35:43 srv4hai check_presence[8352]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn Jan 20 17:35:43 srv4hai activate_scenario[8465]: SHELLY last scenario: 'pcON' @ '173431' from 'scene_pcON_20250120_173431.txt' - delta=-12 Jan 20 17:35:43 srv4hai activate_scenario[8465]: dateutils.ddiff -i '%Y%m%d%H%M%s' 20250120173543 20250120173431 -f '%S' Jan 20 17:35:43 srv4hai activate_scenario[8465]: SHELLY new scenario: 'vorraumOn' different - GO ON Jan 20 17:35:43 srv4hai activate_scenario[8465]: SHELLY scenario: 'vorraumOn(vorraumon)' started Jan 20 17:35:43 srv4hai activate_scenario[8465]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1'
finished