GithubHelp home page GithubHelp logo

Refused Connection about terrariumpi HOT 49 CLOSED

Gwigga avatar Gwigga commented on August 16, 2024
Refused Connection

from terrariumpi.

Comments (49)

theyosh avatar theyosh commented on August 16, 2024

Could you try to debug: https://theyosh.github.io/TerrariumPI/faq/how-to-debug-terrariumpi/ and send the outcome of the startup?

from terrariumpi.

Gwigga avatar Gwigga commented on August 16, 2024

Traceback (most recent call last):
File "/home/robin/TerrariumPI/terrariumPI.py", line 16, in
from terrariumEngine import terrariumEngine
File "/home/robin/TerrariumPI/terrariumEngine.py", line 2, in
from hardware.webcam.rpilive_webcam import terrariumRPILiveWebcam
File "/home/robin/TerrariumPI/hardware/webcam/init.py", line 2, in
import terrariumLogging
File "/home/robin/TerrariumPI/terrariumLogging.py", line 92, in
logging.config.fileConfig("logging.cfg")
File "/usr/lib/python3.9/logging/config.py", line 79, in fileConfig
handlers = _install_handlers(cp, formatters)
File "/usr/lib/python3.9/logging/config.py", line 145, in _install_handlers
h = klass(*args, **kwargs)
File "/usr/lib/python3.9/logging/handlers.py", line 208, in init
BaseRotatingHandler.init(self, filename, 'a', encoding=encoding,
File "/usr/lib/python3.9/logging/handlers.py", line 58, in init
logging.FileHandler.init(self, filename, mode=mode,
File "/usr/lib/python3.9/logging/init.py", line 1142, in init
StreamHandler.init(self, self._open())
File "/usr/lib/python3.9/logging/init.py", line 1171, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding,
PermissionError: [Errno 13] Permission denied: '/home/robin/TerrariumPI/log/terrariumpi.log'

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

Ok, I think the following command should fix it: sudo chown pi.pi /dev/shm/terrariumpi.*

After that it should run. You can try it in debug first, and when it continues, just pres Ctrl+C to stop it and start the service normal again.

from terrariumpi.

Gwigga avatar Gwigga commented on August 16, 2024

sudo chown pi.pi /dev/shm/terrariumpi.*
chown: invalid user: ‘pi.pi’

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

sudo chown pi /dev/shm/terrariumpi.*

does work? If so, that should be enough also

from terrariumpi.

Gwigga avatar Gwigga commented on August 16, 2024

Traceback (most recent call last):
File "/home/robin/TerrariumPI/terrariumPI.py", line 16, in
from terrariumEngine import terrariumEngine
File "/home/robin/TerrariumPI/terrariumEngine.py", line 2, in
from hardware.webcam.rpilive_webcam import terrariumRPILiveWebcam
File "/home/robin/TerrariumPI/hardware/webcam/init.py", line 2, in
import terrariumLogging
File "/home/robin/TerrariumPI/terrariumLogging.py", line 92, in
logging.config.fileConfig("logging.cfg")
File "/usr/lib/python3.9/logging/config.py", line 79, in fileConfig
handlers = _install_handlers(cp, formatters)
File "/usr/lib/python3.9/logging/config.py", line 145, in _install_handlers
h = klass(*args, **kwargs)
File "/usr/lib/python3.9/logging/handlers.py", line 208, in init
BaseRotatingHandler.init(self, filename, 'a', encoding=encoding,
File "/usr/lib/python3.9/logging/handlers.py", line 58, in init
logging.FileHandler.init(self, filename, mode=mode,
File "/usr/lib/python3.9/logging/init.py", line 1142, in init
StreamHandler.init(self, self._open())
File "/usr/lib/python3.9/logging/init.py", line 1171, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding,
PermissionError: [Errno 13] Permission denied: '/home/robin/TerrariumPI/log/terrariumpi.debug.log'
(venv) robin@raspberrypi:~/TerrariumPI $

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

sudo chown pi /home/robin/TerrariumPI/log/terrariumpi.debug.log

I guess you have run it as root somehow...

from terrariumpi.

Gwigga avatar Gwigga commented on August 16, 2024

Traceback (most recent call last):
File "/home/robin/TerrariumPI/terrariumPI.py", line 19, in
terrariumEngine = terrariumEngine(version)
File "/home/robin/TerrariumPI/terrariumEngine.py", line 98, in init
init_db(self.version)
File "/home/robin/TerrariumPI/terrariumDatabase.py", line 41, in init
with backend.lock():
File "/usr/lib/python3.9/contextlib.py", line 117, in enter
return next(self.gen)
File "/home/robin/TerrariumPI/venv/lib/python3.9/site-packages/yoyo/backends/base.py", line 324, in lock
self._insert_lock_row(pid, timeout)
File "/home/robin/TerrariumPI/venv/lib/python3.9/site-packages/yoyo/backends/base.py", line 355, in _insert_lock_row
raise exceptions.LockTimeout(
yoyo.exceptions.LockTimeout: Database locked (run yoyo break-lock to remove this lock)

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

You are running with a custom user robin. This is not well tested, and explains the issues.

It is much easier now to start over and just use the user pi. Else we are busy the hole evening solving issues...

from terrariumpi.

Gwigga avatar Gwigga commented on August 16, 2024

sure no problem, will start from scratch

from terrariumpi.

Gwigga avatar Gwigga commented on August 16, 2024

yeah started all over again with pi as the user
(venv) pi@raspberrypi:~/TerrariumPI $ python terrariumPI.py
Traceback (most recent call last):
File "/home/pi/TerrariumPI/venv/lib/python3.9/site-packages/yoyo/backends/base.py", line 338, in _insert_lock_row
self.execute(
File "/home/pi/TerrariumPI/venv/lib/python3.9/site-packages/yoyo/backends/base.py", line 388, in execute
cursor.execute(sql, params)
sqlite3.OperationalError: attempt to write a readonly database

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/pi/TerrariumPI/terrariumPI.py", line 19, in
terrariumEngine = terrariumEngine(version)
File "/home/pi/TerrariumPI/terrariumEngine.py", line 98, in init
init_db(self.version)
File "/home/pi/TerrariumPI/terrariumDatabase.py", line 41, in init
with backend.lock():
File "/usr/lib/python3.9/contextlib.py", line 117, in enter
return next(self.gen)
File "/home/pi/TerrariumPI/venv/lib/python3.9/site-packages/yoyo/backends/base.py", line 324, in lock
self._insert_lock_row(pid, timeout)
File "/home/pi/TerrariumPI/venv/lib/python3.9/site-packages/yoyo/backends/base.py", line 355, in _insert_lock_row
raise exceptions.LockTimeout(
yoyo.exceptions.LockTimeout: Database locked (run yoyo break-lock to remove this lock)

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 911, 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 121, in acquire
acquired = BoundedSemaphore.acquire(self, blocking, timeout)
File "src/gevent/_semaphore.py", line 180, in gevent._gevent_c_semaphore.Semaphore.acquire
File "src/gevent/_semaphore.py", line 249, 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.

theyosh avatar theyosh commented on August 16, 2024

again, somehow the database rights are incorrect...

sudo rm /home/pi/TerrariumPI/data/terrariumpi.*
sudo chown pi /home/pi/TerrariumPI/data/

and try again....

from terrariumpi.

Gwigga avatar Gwigga commented on August 16, 2024

(venv) pi@raspberrypi:/TerrariumPI $ python terrariumPI.py
Traceback (most recent call last):
File "/home/pi/TerrariumPI/terrariumPI.py", line 16, in
from terrariumEngine import terrariumEngine
File "/home/pi/TerrariumPI/terrariumEngine.py", line 2, in
from hardware.webcam.rpilive_webcam import terrariumRPILiveWebcam
File "/home/pi/TerrariumPI/hardware/webcam/init.py", line 2, in
import terrariumLogging
File "/home/pi/TerrariumPI/terrariumLogging.py", line 92, in
logging.config.fileConfig("logging.cfg")
File "/usr/lib/python3.9/logging/config.py", line 79, in fileConfig
handlers = _install_handlers(cp, formatters)
File "/usr/lib/python3.9/logging/config.py", line 145, in _install_handlers
h = klass(*args, **kwargs)
File "/usr/lib/python3.9/logging/handlers.py", line 208, in init
BaseRotatingHandler.init(self, filename, 'a', encoding=encoding,
File "/usr/lib/python3.9/logging/handlers.py", line 58, in init
logging.FileHandler.init(self, filename, mode=mode,
File "/usr/lib/python3.9/logging/init.py", line 1142, in init
StreamHandler.init(self, self._open())
File "/usr/lib/python3.9/logging/init.py", line 1171, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding,
PermissionError: [Errno 13] Permission denied: '/home/pi/TerrariumPI/log/terrariumpi.log'
(venv) pi@raspberrypi:
/TerrariumPI $

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

sudo chown pi /dev/shm/terrariumpi.*

from terrariumpi.

Gwigga avatar Gwigga commented on August 16, 2024

venv) pi@raspberrypi:~/TerrariumPI $ python terrariumPI.py
2024-01-22 20:32:23,188 - INFO - terrariumEngine - Starting up TerrariumPI 4.8.2 on a Raspberry Pi Zero 2 W Rev 1.0 ...
2024-01-22 20:32:23,270 - INFO - terrariumEngine - Loaded 30 settings in 0.08 seconds.
fatal: detected dubious ownership in repository at '/home/pi/TerrariumPI'
To add an exception for this directory, call:

    git config --global --add safe.directory /home/pi/TerrariumPI

Traceback (most recent call last):
File "/home/pi/TerrariumPI/terrariumPI.py", line 19, in
terrariumEngine = terrariumEngine(version)
File "/home/pi/TerrariumPI/terrariumEngine.py", line 111, in init
self.load_settings()
File "/home/pi/TerrariumPI/terrariumEngine.py", line 343, in load_settings
gitversion = str(terrariumUtils.get_script_data("git rev-parse HEAD").decode("utf-8")).strip()
File "/home/pi/TerrariumPI/terrariumUtils.py", line 441, in get_script_data
raise ex
File "/home/pi/TerrariumPI/terrariumUtils.py", line 433, in get_script_data
data = subprocess.check_output(
File "/home/pi/TerrariumPI/venv/lib/python3.9/site-packages/gevent/subprocess.py", line 404, in check_output
raise CalledProcessError(retcode, process.args, output=output)
subprocess.CalledProcessError: Command 'git rev-parse HEAD' returned non-zero exit status 128.
^CKeyboardInterrupt
2024-01-22T20:32:30Z
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 911, 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 121, in acquire
acquired = BoundedSemaphore.acquire(self, blocking, timeout)
File "src/gevent/_semaphore.py", line 180, in gevent._gevent_c_semaphore.Semaphore.acquire
File "src/gevent/_semaphore.py", line 249, 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:
(venv) pi@raspberrypi:~/TerrariumPI $

from terrariumpi.

Gwigga avatar Gwigga commented on August 16, 2024

looks like im going....
(venv) pi@raspberrypi:~/TerrariumPI $ python terrariumPI.py
2024-01-22 20:33:43,355 - INFO - terrariumEngine - Starting up TerrariumPI 4.8.2 on a Raspberry Pi Zero 2 W Rev 1.0 ...
2024-01-22 20:33:43,437 - INFO - terrariumEngine - Loaded 30 settings in 0.08 seconds.
2024-01-22 20:33:44,974 - INFO - terrariumEngine - Loading existing sensors from database.
2024-01-22 20:33:44,987 - INFO - terrariumEngine - Scanning for new sensors ...
2024-01-22 20:33:54,217 - INFO - terrariumEngine - Loaded 0 sensors in 9.24 seconds.
2024-01-22 20:33:54,219 - INFO - terrariumEngine - Loading existing relays from database.
2024-01-22 20:33:54,239 - INFO - terrariumEngine - Scanning for new relays ...
No GEMBIRD SiS-PM found. Check USB connections, please!
2024-01-22 20:33:55,600 - INFO - hardware.relay.energenie_relay - No Energenie USB relays connected.
2024-01-22 20:34:11,319 - INFO - terrariumEngine - Loaded 0 relays in 17.10 seconds.
2024-01-22 20:34:11,321 - INFO - terrariumEngine - Loading existing buttons from database.
2024-01-22 20:34:11,344 - INFO - terrariumEngine - Loaded 0 buttons in 0.02 seconds.
2024-01-22 20:34:11,345 - INFO - terrariumEngine - Loading existing webcams from database.
2024-01-22 20:34:11,365 - INFO - terrariumEngine - Loaded 0 webcams in 0.02 seconds.
2024-01-22 20:34:11,366 - INFO - terrariumEngine - Loading existing enclosures from database.
2024-01-22 20:34:11,377 - INFO - terrariumEngine - Loaded 0 enclosures in 0.01 seconds.
Traceback (most recent call last):
File "/home/pi/TerrariumPI/terrariumPI.py", line 19, in
terrariumEngine = terrariumEngine(version)
File "/home/pi/TerrariumPI/terrariumEngine.py", line 163, in init
self.motd()
File "/home/pi/TerrariumPI/terrariumEngine.py", line 1664, in motd
with motd_file.open("w") as motdfile:
File "/usr/lib/python3.9/pathlib.py", line 1241, in open
return io.open(self, mode, buffering, encoding, errors, newline,
File "/usr/lib/python3.9/pathlib.py", line 1109, in _opener
return self._accessor.open(self, flags, mode)
PermissionError: [Errno 13] Permission denied: 'motd.sh'

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

Have you followed: https://theyosh.github.io/TerrariumPI/install/ ? I get the feeling you have not installed the Raspberry Lite LEGACY OS version. I needs to a LITE image at least, and the LEGACY is known to work.

You have a newer image, as you have Python 3.9, where I work with 3.7 version.

Again, it looks like the rights are not correct. Again.

git config --global --add safe.directory /home/pi/TerrariumPI

This should not happen when everything is installed as user Pi. Somehow, you have again mixed up the rights... please pay attention to the installation steps... https://theyosh.github.io/TerrariumPI/install/#manual

from terrariumpi.

Gwigga avatar Gwigga commented on August 16, 2024

2023-12-05-raspios-bullseye-armhf-lite.img is the image I have used
image
and followed the instructions, literally copying and pasting the commands in :( im not completely inept

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

Hmm, seems like the legacy image is upgraded....

That means I have to recheck the installer... because I have not seen those problems with a new installation. But that takes more time, and hope some more information in a few days.

Sorry... did not expect this strange issues...

from terrariumpi.

Gwigga avatar Gwigga commented on August 16, 2024

I can try an earlier version, whihc of the below do you think would work
image

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

I guess this one should work:

Update: this is the correct image: https://downloads.raspberrypi.com/raspios_oldstable_lite_armhf/images/raspios_oldstable_lite_armhf-2023-05-03/

The 2023-05-03 folder

from terrariumpi.

RobinM-MB avatar RobinM-MB commented on August 16, 2024

I will try this one tonight and confirm what happens

from terrariumpi.

Gwigga avatar Gwigga commented on August 16, 2024

I guess this one should work:

Update: this is the correct image: https://downloads.raspberrypi.com/raspios_oldstable_lite_armhf/images/raspios_oldstable_lite_armhf-2023-05-03/

The 2023-05-03 folder

This one wouldn't even install git

and the 2023-10-10 folder just gives the same as the latest

from terrariumpi.

RobinM-MB avatar RobinM-MB commented on August 16, 2024

Just an update, I have tried this on a zerow2 and a B+ all with the same out come, either git install doesn't work as it can't get the repos for the old versions, or if i do get TerrariumPI installed i get the same issues as before

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

Hmm, apparently there was a startup issue. So that has been fixed.

I tested with this image: https://downloads.raspberrypi.com/raspios_oldstable_lite_armhf/images/raspios_oldstable_lite_armhf-2023-05-03/2023-05-03-raspios-buster-armhf-lite.img.xz You can chose an image from disk with RPI imager tool https://www.raspberrypi.com/software/

Also I have changed the manual installation documentation at bit https://theyosh.github.io/TerrariumPI/install/#manual It involves how to install the git command.

I have tested with a custom username, so user pi is not needed.

And it is working. Only bluetooth scanning is somehow not working right now. But that could be a hardware issue with my Pi.

So download the old lite image, and follow the manual installation. It works over here now. For now this is on a RPi3

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

Installation works also on the bullseye (current legacy image) on a Raspberry Pi 3.

from terrariumpi.

RobinM-MB avatar RobinM-MB commented on August 16, 2024

Clearly i am inept as, its just giving me the same issue :( Copied and pasted all of the commands from the install page (updated ones)

venv) pi@raspberrypi:~/TerrariumPI $ python terrariumPI.py
Traceback (most recent call last):
File "terrariumPI.py", line 16, in
from terrariumEngine import terrariumEngine
File "/home/pi/TerrariumPI/terrariumEngine.py", line 2, in
from hardware.webcam.rpilive_webcam import terrariumRPILiveWebcam
File "/home/pi/TerrariumPI/hardware/webcam/init.py", line 2, in
import terrariumLogging
File "/home/pi/TerrariumPI/terrariumLogging.py", line 92, in
logging.config.fileConfig("logging.cfg")
File "/usr/lib/python3.7/logging/config.py", line 79, in fileConfig
handlers = _install_handlers(cp, formatters)
File "/usr/lib/python3.7/logging/config.py", line 145, in _install_handlers
h = klass(*args, **kwargs)
File "/usr/lib/python3.7/logging/handlers.py", line 199, in init
BaseRotatingHandler.init(self, filename, 'a', encoding, delay)
File "/usr/lib/python3.7/logging/handlers.py", line 54, in init
logging.FileHandler.init(self, filename, mode, encoding, delay)
File "/usr/lib/python3.7/logging/init.py", line 1092, in init
StreamHandler.init(self, self._open())
File "/usr/lib/python3.7/logging/init.py", line 1121, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
PermissionError: [Errno 13] Permission denied: '/home/pi/TerrariumPI/log/terrariumpi.log'

Re ran all of the other things you mentioned earlier in the thread and just get the same results, will try again tomorrow

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

I guess still you have run the git clone ... command as root user. That makes everything owning by root. And that give errors by running as normal user. So the installation has to be done over.

Remove the existing TerrariumPI folder. rm -Rf /home/pi/TerrariumPI
Now make sure that you are the user pi and not root when running the command git clone --branch main --depth 1 https://github.com/theyosh/TerrariumPI.git

And follow the installation as documented. If you still get the above error, just retry ones with a clean image.

I have done this now twice, and it works. Else I am sorry for now, but I can't fix things I cannot reproduce. Also, this testing costs about an hour for each image. Which is a lot of time...

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

Also, Pi Zero is at own risk. I do not actively support those. As for a Zero everything has to run as root. So that makes is rather complicated...

from terrariumpi.

Gwigga avatar Gwigga commented on August 16, 2024

from terrariumpi.

RobinM-MB avatar RobinM-MB commented on August 16, 2024

Also, Pi Zero is at own risk. I do not actively support those.

which ones do you support?

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

Also, Pi Zero is at own risk. I do not actively support those.

which ones do you support?

https://github.com/theyosh/TerrariumPI#hardware

from terrariumpi.

RobinM-MB avatar RobinM-MB commented on August 16, 2024

Re did it all as root
image

from terrariumpi.

RobinM-MB avatar RobinM-MB commented on August 16, 2024

Just can't login now :D using admin/password lol

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

Ok, for a Pi Zero that is correct.. so do not change it!! :)

Could you run 1 command for me at the console and paste the outcome here:

cat /proc/cpuinfo

I use that information for detecting a Pi Zero. And I guess yours is a bit different. With that info, I can fix the installer for a Pi Zero2 I hope

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

Just can't login now :D using admin/password lol

I guess some encryption issue... but if you can first past the output of /proc/cpuinfo I can adjust the installer

from terrariumpi.

RobinM-MB avatar RobinM-MB commented on August 16, 2024

processor : 0
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 1
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 2
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 3
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

Hardware : BCM2835
Revision : 902120
Serial : 00000000488b94f9
Model : Raspberry Pi Zero 2 W Rev 1.0

from terrariumpi.

RobinM-MB avatar RobinM-MB commented on August 16, 2024

I also don't think it runs unless i logically run TerrariumPI.py as soon as i close the terminal i lost the dashboard

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

Ok, the installer did correctly detect your Pi Zero. So that is ok

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

If you run it in debug, you cannot close the terminal. But it should run as a service... but again, I know the Zero has issues. And therefore with a Pi Zero you should have some technical knowledge.

Also search in the closed issues for clues. #823 (comment)

But from my side, without any clear errors, I cannot do any thing.

from terrariumpi.

RobinM-MB avatar RobinM-MB commented on August 16, 2024

So I don't think the service is actually starting when the i reboots,
I cannot run TerrariumPI.py unless i am within venv
pi@raspberrypi:~/TerrariumPI $ python terrariumPI.py Traceback (most recent call last): File "terrariumPI.py", line 4, in <module> from gevent import monkey ImportError: No module named gevent

(venv) root@raspberrypi:/home/pi/TerrariumPI# python terrariumPI.py 2024-01-24 22:38:36,703 - INFO - terrariumEngine - Starting up TerrariumPI 4.8.2 on a Raspberry Pi Zero 2 W Rev

from terrariumpi.

RobinM-MB avatar RobinM-MB commented on August 16, 2024

If you run it in debug, you cannot close the terminal. But it should run as a service... but again, I know the Zero has issues. And therefore with a Pi Zero you should have some technical knowledge.

Also search in the closed issues for clues. #823 (comment)

But from my side, without any clear errors, I cannot do any thing.

Cool going to Order a Pi4 anyways

from terrariumpi.

Gwigga avatar Gwigga commented on August 16, 2024

from terrariumpi.

Gwigga avatar Gwigga commented on August 16, 2024

from terrariumpi.

Gwigga avatar Gwigga commented on August 16, 2024

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

I think the Tapo P100 can be supported. You need to know (I guess) you email and password at TP-Link and the IP of the Tapo P100 plug. So I guess only the IP is something you have to find of your plug. If you know that we can try to add this device.

I will need some testing from your side. So if you can test this for me with your setup at home, please open a new issue for this and I will try to add some support to it.

from terrariumpi.

RobinM-MB avatar RobinM-MB commented on August 16, 2024

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

Al ready created an issue and support for TAPO P 100. #888

from terrariumpi.

theyosh avatar theyosh commented on August 16, 2024

Closing this issue as it has been resolved.

from terrariumpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.