Comments (20)
from terrariumpi.
the ./runs.sh should not be run. Not sure what it will do on a Pi, but that is for Docker.
But you should be able to rerun the installer.
So what happens when you just run ./install.sh
again?
And than run it in debug mode: https://theyosh.github.io/TerrariumPI/faq/how-to-debug-terrariumpi/
And did you made a backup of your database? https://theyosh.github.io/TerrariumPI/faq/which-files-to-backup/ So you could reinstall the software at all.
from terrariumpi.
ok that worked now i get this during debug
pi@raspberrypi:/TerrariumPI $ source venv/bin/activate/TerrariumPI $ python terrariumPI.py
(venv) pi@raspberrypi:
2024-06-06 22:05:11,746 - INFO - terrariumEngine - Starting up Terrariu mPI 4.9.0 on a Raspberry Pi 3 Model B Rev 1.2 ...
2024-06-06 22:05:11,788 - INFO - terrariumEngine - Loaded 32 settings i n 0.04 seconds.
2024-06-06 22:05:12,852 - INFO - OpenWeatherMap - Using Openweathermap Free API
2024-06-06 22:05:12,855 - INFO - terrariumWeather - Loaded weather data from source https://api.openweathermap.org/data/2.5/weather?q=Erding,DE&appid=de 7a1fbd5f74afc83284ce53b8c9b504 in 1.02 seconds
/home/pi/TerrariumPI/terrariumNotification.py:2742: PTBUserWarning: If 'per_mess age=False', 'CallbackQueryHandler' will not be tracked for every message. Read t his FAQ entry to learn more about the per_* settings: https://github.com/python- telegram-bot/python-telegram-bot/wiki/Frequently-Asked-Questions#what-do-the-per -settings-in-conversationhandler-do.
ConversationHandler(
/home/pi/TerrariumPI/terrariumNotification.py:2749: PTBUserWarning: If 'per_mess age=False', 'CallbackQueryHandler' will not be tracked for every message. Read t his FAQ entry to learn more about the per* settings: https://github.com/python- telegram-bot/python-telegram-bot/wiki/Frequently-Asked-Questions#what-do-the-per _-settings-in-conversationhandler-do.
ConversationHandler(
^CTraceback (most recent call last):
File "/home/pi/TerrariumPI/terrariumPI.py", line 27, in
terrariumEngine = terrariumEngine(version)
File "/home/pi/TerrariumPI/terrariumEngine.py", line 135, in init
self.calendar = terrariumCalendar()
File "/home/pi/TerrariumPI/terrariumCalendar.py", line 34, in init
for event in self.get_events(
File "/home/pi/TerrariumPI/terrariumCalendar.py", line 75, in get_events
for event_data in events(string_content=self.__ical.to_ical(), start=start, end=end):
File "/home/pi/TerrariumPI/venv/lib/python3.9/site-packages/icalevents/icalevents.py", line 57, in events
found_events += parse_events(
File "/home/pi/TerrariumPI/venv/lib/python3.9/site-packages/icalevents/icalparser.py", line 391, in parse_events
if not event.recurrence_id and (event.uid, event.start) in [
File "/home/pi/TerrariumPI/venv/lib/python3.9/site-packages/icalevents/icalparser.py", line 392, in
(f.uid, f.recurrence_id) for f in found
KeyboardInterrupt
2024-06-06 22:07:08,116 - WARNING - terrariumNotification - Error connecting to Telegram. Just retry once more: Timed out
2024-06-06 22:07:08,126 - ERROR - terrariumNotification - Error connecting to Telegram: Unknown error in HTTP implementation: RuntimeError('cannot schedule new futures after interpreter shutdown')
^CKeyboardInterrupt
2024-06-06T20:08:00Z
Exception ignored in: <module 'threading' from '/usr/lib/python3.9/threading.py'>
Traceback (most recent call last):
File "/home/pi/TerrariumPI/venv/lib/python3.9/site-packages/gevent/monkey.py", line 868, in _shutdown
orig_shutdown()
File "/usr/lib/python3.9/threading.py", line 1428, in _shutdown
lock.acquire()
File "/home/pi/TerrariumPI/venv/lib/python3.9/site-packages/gevent/thread.py", line 112, in acquire
acquired = BoundedSemaphore.acquire(self, blocking, timeout)
File "src/gevent/_semaphore.py", line 184, in gevent._gevent_c_semaphore.Semaphore.acquire
File "src/gevent/_semaphore.py", line 253, in gevent._gevent_c_semaphore.Semaphore.acquire
File "src/gevent/_abstract_linkable.py", line 521, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait
File "src/gevent/_abstract_linkable.py", line 487, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait_core
File "src/gevent/_abstract_linkable.py", line 490, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait_core
File "src/gevent/_abstract_linkable.py", line 442, in gevent._gevent_c_abstract_linkable.AbstractLinkable._AbstractLinkable__wait_to_be_notified
File "src/gevent/_abstract_linkable.py", line 451, in gevent._gevent_c_abstract_linkable.AbstractLinkable._switch_to_hub
File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_greenlet_primitives.py", line 65, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_gevent_c_greenlet_primitives.pxd", line 35, in gevent._gevent_c_greenlet_primitives._greenlet_switch
KeyboardInterrupt:
from terrariumpi.
You stopped to early.. There was no error with telegram... just a message. Please keep it running until it says it is started and webgui available
from terrariumpi.
oh ok sorry i ll try again
from terrariumpi.
ok i waited about 30 min. and it stops at this point
pi@raspberrypi:~ $ cd TerrariumPI
pi@raspberrypi:/TerrariumPI $ source venv/bin/activate/TerrariumPI $ python terrariumPI.py
(venv) pi@raspberrypi:
2024-06-06 22:40:12,957 - INFO - terrariumEngine - Starting up Terrariu mPI 4.9.0 on a Raspberry Pi 3 Model B Rev 1.2 ...
2024-06-06 22:40:12,999 - INFO - terrariumEngine - Loaded 32 settings i n 0.04 seconds.
2024-06-06 22:40:13,923 - INFO - OpenWeatherMap - Using Openweathermap Free API
2024-06-06 22:40:13,926 - INFO - terrariumWeather - Loaded weather data from source https://api.openweathermap.org/data/2.5/weather?q=Erding,DE&appid=de 7a1fbd5f74afc83284ce53b8c9b504 in 0.88 seconds
/home/pi/TerrariumPI/terrariumNotification.py:2742: PTBUserWarning: If 'per_mess age=False', 'CallbackQueryHandler' will not be tracked for every message. Read t his FAQ entry to learn more about the per_* settings: https://github.com/python- telegram-bot/python-telegram-bot/wiki/Frequently-Asked-Questions#what-do-the-per -settings-in-conversationhandler-do.
ConversationHandler(
/home/pi/TerrariumPI/terrariumNotification.py:2749: PTBUserWarning: If 'per_mess age=False', 'CallbackQueryHandler' will not be tracked for every message. Read t his FAQ entry to learn more about the per* settings: https://github.com/python- telegram-bot/python-telegram-bot/wiki/Frequently-Asked-Questions#what-do-the-per _-settings-in-conversationhandler-do.
ConversationHandler(
from terrariumpi.
Hmm, looks like Telegram is causing this... That is not handy, as I cannot test it....
So we can disable Telegram for now with the following commands. Go to the database folder located in the data
folder: /home/pi/TerrariumPI/data
sqlite3 terrariumpi.db
update NotificationService set enabled = 0 where type = 'telegram';
- Press Ctrl+D
And now start in debug mode again. Make sure you change to the correct folder again.
from terrariumpi.
Did the above help? Was you able to disable telegram and start up TerrariumPI?
from terrariumpi.
Ok now i get this
pi@raspberrypi:/TerrariumPI/data $ ls/TerrariumPI/data $ sqlite3 terrariumpi.db
calendar.ics terrariumpi.db terrariumpi.db-wal
terrarium.db terrariumpi.db-shm
pi@raspberrypi:
SQLite version 3.34.1 2021-01-20 14:10:07
Enter ".help" for usage hints.
sqlite> update NotificationService set enabled = 0 where type = 'telegram'; sqlite>
pi@raspberrypi:/TerrariumPI/data $ cd../TerrariumPI/data $ cd
-bash: cd..: Kommando nicht gefunden.
pi@raspberrypi:
pi@raspberrypi:~ $ TerrariumPI
-bash: TerrariumPI: Kommando nicht gefunden.
pi@raspberrypi:~ $ cd TerrariumPI
pi@raspberrypi:~/TerrariumPI $ sudo service terrariumpi stop
cd
top
^C
pi@raspberrypi:/TerrariumPI $ cd $ sudo service terrariumpi stop
pi@raspberrypi:
cd
^C
pi@raspberrypi:~ $ cd TerrariumPI
pi@raspberrypi:/TerrariumPI $ source venv/bin/activate/TerrariumPI $ python terrariumPI.py
(venv) pi@raspberrypi:
2024-06-08 12:01:58,671 - INFO - terrariumEngine - Starting up Terrariu mPI 4.9.0 on a Raspberry Pi 3 Model B Rev 1.2 ...
2024-06-08 12:01:58,706 - INFO - terrariumEngine - Loaded 32 settings i n 0.03 seconds.
2024-06-08 12:01:59,691 - INFO - OpenWeatherMap - Using Openweathermap Free API
2024-06-08 12:01:59,694 - INFO - terrariumWeather - Loaded weather data from source https://api.openweathermap.org/data/2.5/weather?q=Erding,DE&appid=de in 0.94 seconds
^CTraceback (most recent call last):
File "/home/pi/TerrariumPI/terrariumPI.py", line 27, in
terrariumEngine = terrariumEngine(version)
File "/home/pi/TerrariumPI/terrariumEngine.py", line 135, in init
self.calendar = terrariumCalendar()
File "/home/pi/TerrariumPI/terrariumCalendar.py", line 34, in init
for event in self.get_events(
File "/home/pi/TerrariumPI/terrariumCalendar.py", line 75, in get_events
for event_data in events(string_content=self.__ical.to_ical(), start=start, end=end):
File "/home/pi/TerrariumPI/venv/lib/python3.9/site-packages/icalevents/icalevents.py", line 57, in events
found_events += parse_events(
File "/home/pi/TerrariumPI/venv/lib/python3.9/site-packages/icalevents/icalparser.py", line 391, in parse_events
if not event.recurrence_id and (event.uid, event.start) in [
File "/home/pi/TerrariumPI/venv/lib/python3.9/site-packages/icalevents/icalparser.py", line 392, in
(f.uid, f.recurrence_id) for f in found
KeyboardInterrupt
from terrariumpi.
Hmm, this is strange... I get the feeling a broken SD card??
But first we can try the following. Rename the calender file so it will create a new one.
mv /home/pi/TerrariumPI/data/calander.ics /home/pi/TerrariumPI/data/calander.ics.backup
and restart in debug mode once again. Lets see what that does.
from terrariumpi.
Oh now it keeps running but with failure messages and error of the raspicam (but function was good before.. hmm
pi@raspberrypi:~ $ sudo service TerrariumPI stop
Failed to stop TerrariumPI.service: Unit TerrariumPI.service not loaded.
pi@raspberrypi:~ $ cd TerrariumPI
pi@raspberrypi:/TerrariumPI $ source venv/bin/activate/TerrariumPI $ python terrariumPI.py
(venv) pi@raspberrypi:
2024-06-08 20:32:49,793 - INFO - terrariumEngine - Starting up Terrariu mPI 4.9.0 on a Raspberry Pi 3 Model B Rev 1.2 ...
2024-06-08 20:32:49,829 - INFO - terrariumEngine - Loaded 32 settings i n 0.03 seconds.
2024-06-08 20:32:51,234 - INFO - OpenWeatherMap - Using Openweathermap Free API
2024-06-08 20:32:51,238 - INFO - terrariumWeather - Loaded weather data from source https://api.openweathermap.org/data/2.5/weather?q=Erding,DE&appid=de in 1.37 seconds
2024-06-08 20:32:52,341 - INFO - terrariumEngine - Start loading total power and water usage
2024-06-08 20:32:54,529 - INFO - terrariumEngine - Loaded total power a nd water usage in 2.19 seconds.
2024-06-08 20:32:54,531 - INFO - terrariumEngine - Loading existing sen sors from database.
2024-06-08 20:32:55,558 - INFO - terrariumSensor - Loaded sensor 1-Wire sensor temperature named 'Schildkrötenhaus' at address '28-3c01f09637c2' with v alue 22.19C in 1.00 seconds.
2024-06-08 20:32:56,483 - INFO - terrariumSensor - Loaded sensor 1-Wire sensor temperature named 'Außentemperatur' at address '28-3c01f096b371' with va lue 18.31C in 0.92 seconds.
2024-06-08 20:32:57,436 - INFO - terrariumSensor - Loaded sensor 1-Wire sensor temperature named 'Gewächshaus' at address '28-3c01f096fb7e' with value 20.81C in 0.95 seconds.
2024-06-08 20:32:58,397 - INFO - terrariumSensor - Loaded sensor 1-Wire sensor temperature named 'Schildkröten Babys' at address '28-3de104572f5c' with value 21.44C in 0.96 seconds.
2024-06-08 20:32:59,356 - INFO - terrariumSensor - Loaded sensor 1-Wire sensor temperature named 'Schaltkasten (Reserve2)' at address '28-3de10457f6b5' with value 20.06C in 0.96 seconds.
2024-06-08 20:32:59,364 - INFO - terrariumEngine - Scanning for new sen sors ...
2024-06-08 20:33:13,413 - INFO - terrariumEngine - Loaded 5 sensors in 18.88 seconds.
2024-06-08 20:33:13,415 - INFO - terrariumEngine - Loading existing rel ays from database.
2024-06-08 20:33:15,398 - INFO - terrariumRelay - Loaded relay gpio re lay named 'DACH' at address '32' value 0.00 in 1.93 seconds.
2024-06-08 20:33:15,419 - INFO - terrariumRelay - Loaded relay gpio re lay named 'TÜRE' at address '36' value 0.00 in 0.02 seconds.
2024-06-08 20:33:15,437 - INFO - terrariumRelay - Loaded relay gpio re lay named 'HEIZEN' at address '38' value 0.00 in 0.02 seconds.
2024-06-08 20:33:15,455 - INFO - terrariumRelay - Loaded relay gpio re lay named 'LICHT' at address '40' value 0.00 in 0.02 seconds.
2024-06-08 20:33:15,459 - INFO - terrariumEngine - Scanning for new rel ays ...
No GEMBIRD SiS-PM found. Check USB connections, please!
2024-06-08 20:33:31,317 - INFO - terrariumEngine - Loaded 4 relays in 17.90 seconds.
2024-06-08 20:33:31,319 - INFO - terrariumEngine - Loading existing buttons from database.
2024-06-08 20:33:31,342 - INFO - terrariumEngine - Loaded 0 buttons in 0.02 seconds.
2024-06-08 20:33:31,344 - INFO - terrariumEngine - Loading existing webcams from database.
2024-06-08 20:33:36,471 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:33:42,051 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:33:47,620 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:33:53,194 - ERROR - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' has gone offline! Please check your webcam connections.
2024-06-08 20:33:53,908 - INFO - terrariumWebcam - Loaded rpicam-live webcam 'Haus innen' at address 'rpicam_live' in 22.54 seconds.
[ERROR:[email protected]] global /tmp/pip-wheel-nz49_ez6/opencv-python-headless_488dea44cb7d406baf80df0bfc388ff9/opencv/modules/videoio/src/cap.cpp (164) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.6.0) /tmp/pip-wheel-nz49_ez6/opencv-python-headless_488dea44cb7d406baf80df0bfc388ff9/opencv/modules/videoio/src/cap_images.cpp:293: error: (-215:Assertion failed) !_filename.empty() in function 'open'
2024-06-08 20:34:01,935 - INFO - terrariumWebcam - Loaded rtsp webcam 'Außengehege' at address 'rtsp://admin:[email protected]:8554/Streaming/Channels/101' in 8.03 seconds.
2024-06-08 20:34:01,936 - INFO - terrariumEngine - Loaded 2 webcams in 30.59 seconds.
2024-06-08 20:34:01,937 - INFO - terrariumEngine - Loading existing enclosures from database.
2024-06-08 20:34:01,945 - INFO - terrariumEngine - Loaded 0 enclosures in 0.01 seconds.
2024-06-08 20:34:02,173 - INFO - terrariumEngine - Message of the Day generated in 0.23 seconds
2024-06-08 20:34:02,175 - INFO - terrariumEngine - TerrariumPI 4.9.0 is up and running at address: http://0.0.0.0:8090 in 73.95 seconds.
2024-06-08 20:34:02,000 - INFO - terrariumWebserver - Running webserver at 0.0.0.0:8090
2024-06-08 20:34:03,476 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
[h264 @ 0x18677f0] error while decoding MB 106 67, bytestream -11
2024-06-08 20:34:09,226 - WARNING - hardware.sensor - Error getting new data from sensor 1-Wire sensor temperature named 'Außentemperatur' at address '28-3c01f096b371': no data, retrying in 0.5 seconds...
[h264 @ 0x18b50f0] error while decoding MB 106 67, bytestream -11
2024-06-08 20:34:16,658 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:34:22,216 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:34:32,562 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:34:42,492 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:34:48,047 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:35:03,425 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:35:15,597 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:35:21,213 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:35:32,579 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:35:42,040 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:35:47,597 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:36:03,422 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:36:15,050 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:36:20,666 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:36:32,596 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:36:41,284 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
/home/pi/TerrariumPI/venv/lib/python3.9/site-packages/bottle.py:3383: DeprecationWarning: Absolute template path names are deprecated.
fname = self.search(name, self.lookup)
2024-06-08 20:36:46,870 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:37:03,515 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:37:14,087 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:37:19,708 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:37:32,601 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:37:40,645 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:37:46,225 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:38:03,513 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:38:13,450 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
2024-06-08 20:38:19,196 - WARNING - hardware.webcam - Webcam Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live' is crashed. Restarting the webcam.
^CKeyboardInterrupt
2024-06-08T18:38:23Z
2024-06-08 20:38:23,256 - INFO - terrariumEngine - Stopping TerrariumPI 4.9.0 ...
2024-06-08 20:38:23,260 - INFO - terrariumEngine - Stopped log tailing.
2024-06-08 20:38:24,775 - INFO - terrariumWebcam - Updated webcam rpicam-live webcam 'Haus innen' at address 'rpicam_live' in 21.27 seconds.
2024-06-08 20:38:24,998 - INFO - terrariumEngine - Message of the Day generated in 0.21 seconds
2024-06-08 20:38:25,080 - INFO - terrariumEngine - Engine update done in 22.60 seconds. Waiting for 7.40 seconds for the next round.
2024-06-08 20:38:25,082 - INFO - terrariumEngine - Stopped main engine thread
2024-06-08 20:38:25,085 - INFO - terrariumEngine - Stopped 1-Wire sensor temperature named 'Schildkrötenhaus' at address '28-3c01f09637c2'
2024-06-08 20:38:25,086 - INFO - terrariumEngine - Stopped 1-Wire sensor temperature named 'Außentemperatur' at address '28-3c01f096b371'
2024-06-08 20:38:25,087 - INFO - terrariumEngine - Stopped 1-Wire sensor temperature named 'Gewächshaus' at address '28-3c01f096fb7e'
2024-06-08 20:38:25,088 - INFO - terrariumEngine - Stopped 1-Wire sensor temperature named 'Schildkröten Babys' at address '28-3de104572f5c'
2024-06-08 20:38:25,088 - INFO - terrariumEngine - Stopped 1-Wire sensor temperature named 'Schaltkasten (Reserve2)' at address '28-3de10457f6b5'
2024-06-08 20:38:25,091 - INFO - terrariumEngine - Stopped GPIO devices relay named 'DACH' at address '32'
2024-06-08 20:38:25,094 - INFO - terrariumEngine - Stopped GPIO devices relay named 'TÜRE' at address '36'
2024-06-08 20:38:25,096 - INFO - terrariumEngine - Stopped GPIO devices relay named 'HEIZEN' at address '38'
2024-06-08 20:38:25,098 - INFO - terrariumEngine - Stopped GPIO devices relay named 'LICHT' at address '40'
2024-06-08 20:38:25,100 - INFO - terrariumEngine - Stopped Live Raspberry PI camera named 'Haus innen' at address 'rpicam_live'
2024-06-08 20:38:25,100 - INFO - terrariumEngine - Stopped RTSP camera named 'Außengehege' at address 'rtsp://admin:[email protected]:8554/Streaming/Channels/101'
2024-06-08 20:38:25,101 - INFO - terrariumEngine - Stopped TerrariumPI 4.9.0 after running for 0:05:36. Bye bye.
from terrariumpi.
Hmm, ok, strange. But for now it will start.
For the webcam we can try to trouble shoot in a different issue.
Not sure why the telegram and the calendar file was causing issues.....
from terrariumpi.
What you could do is a reboot of the PI. That could be the trick to start the webcam again. If that does not work for you, please open a new issue to trouble shout the webcam.
from terrariumpi.
Hi yes it works now but i decided to upgrade to 4.9.1. now .. maybe there are additional issues with the installation i get several hints like this ..
from terrariumpi.
ok upgrade worked but now all relays are gone and scan says 0 found. No Cameras. Sensors are good i think.
Have you an idea what i can do or have i get a new setup SD and maybe Raspberry?
from terrariumpi.
(venv) pi@raspberrypi:~/TerrariumPI $ python terrariumPI.py
2024-06-09 12:44:01,506 - INFO - terrariumEngine - Starting up Terrariu mPI 4.9.1 on a Raspberry Pi 3 Model B Rev 1.2 ...
2024-06-09 12:44:01,541 - INFO - terrariumEngine - Loaded 32 settings i n 0.03 seconds.
2024-06-09 12:44:02,668 - INFO - terrariumEngine - Start loading total power and water usage
2024-06-09 12:44:03,705 - INFO - terrariumEngine - Loaded total power a nd water usage in 1.04 seconds.
2024-06-09 12:44:03,707 - INFO - terrariumEngine - Loading existing sen sors from database.
2024-06-09 12:44:04,753 - INFO - terrariumSensor - Loaded sensor 1-Wire sensor temperature named '1-Wire sensor measuring temperature' at address '28-3 c01f09637c2' with value 21.69C in 1.02 seconds.
2024-06-09 12:44:05,673 - INFO - terrariumSensor - Loaded sensor 1-Wire sensor temperature named '1-Wire sensor measuring temperature' at address '28-3 c01f096b371' with value 21.38C in 0.92 seconds.
2024-06-09 12:44:06,631 - INFO - terrariumSensor - Loaded sensor 1-Wire sensor temperature named '1-Wire sensor measuring temperature' at address '28-3 c01f096fb7e' with value 21.94C in 0.96 seconds.
2024-06-09 12:44:07,591 - INFO - terrariumSensor - Loaded sensor 1-Wire sensor temperature named '1-Wire sensor measuring temperature' at address '28-3 de104572f5c' with value 30.88C in 0.96 seconds.
2024-06-09 12:44:08,551 - INFO - terrariumSensor - Loaded sensor 1-Wire sensor temperature named '1-Wire sensor measuring temperature' at address '28-3 de10457f6b5' with value 27.19C in 0.96 seconds.
2024-06-09 12:44:08,556 - INFO - terrariumEngine - Scanning for new sen sors ...
2024-06-09 12:44:22,643 - INFO - terrariumEngine - Loaded 5 sensors in 18.94 seconds.
2024-06-09 12:44:22,645 - INFO - terrariumEngine - Loading existing relays from database.
2024-06-09 12:44:22,663 - INFO - terrariumEngine - Scanning for new relays ...
No GEMBIRD SiS-PM found. Check USB connections, please!
2024-06-09 12:44:39,614 - INFO - terrariumEngine - Loaded 0 relays in 16.97 seconds.
2024-06-09 12:44:39,616 - INFO - terrariumEngine - Loading existing buttons from database.
2024-06-09 12:44:39,640 - INFO - terrariumEngine - Loaded 0 buttons in 0.02 seconds.
2024-06-09 12:44:39,642 - INFO - terrariumEngine - Loading existing webcams from database.
2024-06-09 12:44:39,672 - INFO - terrariumEngine - Loaded 0 webcams in 0.03 seconds.
2024-06-09 12:44:39,674 - INFO - terrariumEngine - Loading existing enclosures from database.
2024-06-09 12:44:39,687 - INFO - terrariumEngine - Loaded 0 enclosures in 0.01 seconds.
2024-06-09 12:44:39,849 - INFO - terrariumEngine - Message of the Day generated in 0.16 seconds
2024-06-09 12:44:39,857 - INFO - terrariumEngine - TerrariumPI 4.9.1 is up and running at address: http://0.0.0.0:8090 in 39.92 seconds.
2024-06-09 12:44:39,000 - INFO - terrariumWebserver - Running webserver at 0.0.0.0:8090
from terrariumpi.
Hi yes it works now but i decided to upgrade to 4.9.1. now .. maybe there are additional issues with the installation i get several hints like this ..
Hmm, you have German language and locale in use... That could explain a bit.
from terrariumpi.
Hmm what do you mean about language. Should i Change Something ?
from terrariumpi.
Hmm what do you mean about language. Should i Change Something ?
Nope, but in German you use a comma for decimals, and I used a dot. So than it does not work. So I made the code now language aware. And now the strange error during installation should be fixed.
So you do not have to change anything. But I did not test with a different language which uses different decimal notation.
As far my German goes, the error is that the value '10.50' is not a valid number. So that should be for your language '10,50'. And that has been fixed now.
from terrariumpi.
Everything is still running?
from terrariumpi.
Related Issues (20)
- [BUG]: Low/High alarm deviation values not showing HOT 4
- [BUG]: Kasa relay not shutting off HOT 22
- Not an issue just some help needed! HOT 2
- [BUG]: Relays toggle off and immediately on, despite of Settle Time HOT 6
- [BUG]: Missing Sensirion SHTxx Sensors? HOT 17
- [BUG]: Dimming not working as expected HOT 18
- [FEATURE]: Obfuscate password attempts in logs HOT 4
- [FEATURE]:PWM Fan Control HOT 2
- [BUG]: Lights turn on and off unexpectedly, outside schedule HOT 9
- [BUG]: No MQTT Connection after v4.9.0 upgrade HOT 6
- [BUG]: Camera and Relays not working after Upgrade and Titles of Sensors erased HOT 19
- [BUG]: Clear the screen between messages for 20x4 LCD display HOT 14
- [FEATURE]: Modify "mail_from" via GUI settings HOT 8
- [FEATURE]: support for Meross MS100FH HOT 5
- [BUG]: Invalid configuration of calendar.ics HOT 11
- Is this a typo? Should it read increase OR decrease rather than OF? HOT 1
- [BUG]: Emails being sent twice HOT 2
- [BUG]: Missing Sensirion SHTxx Sensor HOT 3
- DISignore Relay HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terrariumpi.