Some days ago I made a new install of OH2.5.7-1 and also installed the helper-libraries.
I found the new script “000_startup.py”, which has no more “delay-function” and on the other hand the old script “000_startup_delay.py” is not available anymore!
Is this not needed anymore or somewhere else?
Wolfgang_S
(Wolfgang_S)
August 19, 2020, 11:40am
2
1 Like
5iver
(Scott Rushworth)
August 19, 2020, 6:09pm
3
Based on the testing I’ve done, this is not neded, so I removed. Let me know if you see any issues and I can add it back in.
The new 000_startup.py provides some useful info for troubleshooting.
1 Like
Hi Scott,
thx for reply. When I created a new NGRE/JSR223-System with the latest Helper-Libraries (I hope I found the latest ) I recognized that the “delay-script” was missing, but @Wolfgang_S gave me the hint to look in your thread where you posted the reasons. I fully with you, if it’s not necessary, remove it. I will test it with and give you info for troubleshooting if there is a reason.
The 000_startup-script was one of the reason, why I want to make a new set and a good lesson for me to learn python-basics. Mine shows now:
2020-08-19 21:54:36.263 [INFO ] [jsr223.jython peter.sys_path_check ] - ======================================== my_sysinfo - Start ========================================================
2020-08-19 21:54:36.274 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* Hardware-Info = model name : ARMv7 Processor rev 3 (v7l)
2020-08-19 21:54:36.278 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* Hardware-Info = model name : ARMv7 Processor rev 3 (v7l)
2020-08-19 21:54:36.284 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* Hardware-Info = model name : ARMv7 Processor rev 3 (v7l)
2020-08-19 21:54:36.288 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* Hardware-Info = model name : ARMv7 Processor rev 3 (v7l)
2020-08-19 21:54:36.295 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* Hardware-Info = Model : Raspberry Pi 4 Model B Rev 1.1
2020-08-19 21:54:36.300 [INFO ] [jsr223.jython peter.sys_path_check ] - ====================================================================================================================
2020-08-19 21:54:36.305 [INFO ] [jsr223.jython peter.sys_path_check ] - =========================================== Linux Version ==========================================================
2020-08-19 21:54:36.312 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* Linux-Version-Info = Raspbian GNU/Linux 10 (buster) (Pretty-Name)
2020-08-19 21:54:36.317 [INFO ] [jsr223.jython peter.sys_path_check ] - ===================================== Openhab-Version Info =========================================================
2020-08-19 21:54:36.323 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* OH-Version-Info = openHAB Distribution Version Information
2020-08-19 21:54:36.328 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* OH-Version-Info = ----------------------------------------
2020-08-19 21:54:36.333 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* OH-Version-Info = build-no : Release Build
2020-08-19 21:54:36.337 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* OH-Version-Info = online-repo : https://openhab.jfrog.io/openhab/libs-release
2020-08-19 21:54:36.342 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* OH-Version-Info =
2020-08-19 21:54:36.347 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* OH-Version-Info = Repository Version
2020-08-19 21:54:36.351 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* OH-Version-Info = ----------------------------------------
2020-08-19 21:54:36.356 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* OH-Version-Info = openhab-distro : 2.5.7
2020-08-19 21:54:36.360 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* OH-Version-Info = openhab-core : 2.5.0
2020-08-19 21:54:36.365 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* OH-Version-Info = openhab1-addons : 1.14.0
2020-08-19 21:54:36.369 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* OH-Version-Info = openhab2-addons : 2.5.7
2020-08-19 21:54:36.374 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* OH-Version-Info = karaf : 4.2.7
2020-08-19 21:54:36.378 [INFO ] [jsr223.jython peter.sys_path_check ] - ====================================================================================================================
2020-08-19 21:54:36.383 [INFO ] [jsr223.jython peter.sys_path_check ] - ===================================== Jython-Parameters (Scott) ==================================================
2020-08-19 21:54:36.388 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* Jython-Version = 2.7.2.final
2020-08-19 21:54:36.393 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* os.name = Linux
2020-08-19 21:54:36.398 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* os.version = 5.4.51-v7l+
2020-08-19 21:54:36.402 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* java.vendor = Azul Systems, Inc.
2020-08-19 21:54:36.407 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* java.vm.name = OpenJDK Client VM
2020-08-19 21:54:36.412 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* java.runtime.name = OpenJDK Runtime Environment
2020-08-19 21:54:36.417 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* java.runtime.version = 1.8.0_265-b11
2020-08-19 21:54:36.422 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* sys.path = /etc/openhab2/automation/lib/python
/etc/openhab2/automation/jython/Lib
/etc/openhab2/automation/jython/jython-standalone-2.7.2.jar/Lib
__classpath__
__pyclasspath__/
2020-08-19 21:54:36.427 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* java.external.dirs = /opt/jdk/zulu8.48.3.246-ca-jdk8.0.265-linux_aarch32hf/jre/lib/ext:/opt/jdk/zulu8.48.3.246-ca-jdk8.0.265-linux_aarch32hf/lib/ext:/usr/share/openhab2/runtime/lib/ext
2020-08-19 21:54:36.432 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* file.encoding = UTF-8
2020-08-19 21:54:36.436 [INFO ] [jsr223.jython peter.sys_path_check ] - ******* jetty.host = 0.0.0.0
2020-08-19 21:54:36.441 [INFO ] [jsr223.jython peter.sys_path_check ] - ===================================================================================================================
2020-08-19 21:54:36.445 [INFO ] [jsr223.jython peter.sys_path_check ] - ======================================== my_sysinfo - End =========================================================
2020-08-19 21:54:36.458 [WARN ] [jsr223.jython peter.sys_path_check ] - locals - loco1 = {}
2020-08-19 21:54:36.488 [WARN ] [jsr223.jython peter.sys_path_check ] - default-locales - loco2 = ('de_DE', 'UTF-8')
2020-08-19 21:54:36.494 [WARN ] [jsr223.jython peter.sys_path_check ] - locales - loco3 = (None, None)
2020-08-19 21:54:36.499 [WARN ] [jsr223.jython peter.sys_path_check ] - atof - loco4 = 4.5
2020-08-19 21:54:36.504 [WARN ] [jsr223.jython peter.sys_path_check ] - locales - loco5 = (None, None)
2020-08-19 21:54:36.507 [INFO ] [me.core.service.AbstractWatchService] - Loading script 'python/personal/test_update.py'
2020-08-19 21:54:42.454 [INFO ] [me.core.service.AbstractWatchService] - Loading script 'python/personal/untitled_1.py'
2020-08-19 21:55:31.445 [INFO ] [jsr223.jython.Moon distance ] - Moondistance updated every 5 Minutes Date_distance / Mi, 19.Aug. / 1 Log every 2 hours
2020-08-19 22:20:51.657 [INFO ] [jsr223.jython.winddirection ] - I'm alive - Direction-Name: 145.0 Direction-Degree: 145.0 °
2020-08-19 22:20:58.265 [INFO ] [jsr223.jython.windchill ] - 4 Windchill-state is: 0
2020-08-19 22:20:58.300 [INFO ] [jsr223.jython.windchill ] - I'm alive - Windspeed: 6.88 km/h Temperature: 0.00
1 Like