Openwrt

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
AlexK
Posts: 2
Joined: Thursday 29 July 2021 21:21
Target OS: -
Domoticz version:
Contact:

Openwrt

Post by AlexK »

Hello all
I try to install domoticz use opkg install domoticz.
Install version Domoticz V4.9700
Then, try to start and receive this
root@OpenWrt:~# domoticz
2021-07-29 19:10:40.367 Status: Domoticz V4.9700 (c)2012-2018 GizMoCuz
2021-07-29 19:10:40.367 Status: Build Hash: b97777b, Date: 2018-06-23 14:18:06
2021-07-29 19:10:40.369 Status: Startup Path: /usr/bin/
2021-07-29 19:10:40.697 Status: PluginSystem: Started, Python version '3.7.11'.
2021-07-29 19:10:40.719 Active notification Subsystems: gcm, http (2/13)
2021-07-29 19:10:40.721 Status: WebServer(HTTP) started on address: :: with port 8080
2021-07-29 19:10:40.744 Error: [web:443] missing SSL certificate chain file ./server_cert.pem!
2021-07-29 19:10:40.745 Error: [web:443] missing SSL certificate file ./server_cert.pem!
2021-07-29 19:10:40.745 Error: [web:443] missing SSL private key file ./server_cert.pem!
2021-07-29 19:10:40.746 Error: [web:443] missing SSL DH parameters file ./server_cert.pem!
2021-07-29 19:10:40.748 Status: WebServer(SSL) started on address: :: with port 443
2021-07-29 19:10:40.753 Status: Proxymanager started.
2021-07-29 19:10:40.758 Starting shared server on: :::6144
2021-07-29 19:10:40.759 Status: TCPServer: shared server started...
2021-07-29 19:10:40.760 Status: RxQueue: queue worker started...
2021-07-29 19:10:42.792 Status: EventSystem: reset all events...
2021-07-29 19:10:42.793 Status: EventSystem: reset all device statuses...
Fatal Python error: drop_gil: GIL is not locked

Current thread 0x77402d60 (most recent call first):
File "<frozen importlib._bootstrap_external>", line 81 in _path_stat
File "<frozen importlib._bootstrap_external>", line 87 in _path_is_mode_type
File "<frozen importlib._bootstrap_external>", line 102 in _path_isdir
File "<frozen importlib._bootstrap_external>", line 1447 in path_hook_for_FileFinder
File "<frozen importlib._bootstrap_external>", line 1197 in _path_hooks
File "<frozen importlib._bootstrap_external>", line 1221 in _path_importer_cache
File "<frozen importlib._bootstrap_external>", line 1249 in _get_spec
File "<frozen importlib._bootstrap_external>", line 1280 in find_spec
File "<frozen importlib._bootstrap>", line 906 in _find_spec
File "<frozen importlib._bootstrap>", line 963 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 983 in _find_and_load
Aborted

maybe this because old version of Domoticz?
How compile lates version?
User avatar
waltervl
Posts: 5149
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Openwrt

Post by waltervl »

Why do you need to compile?
You can just install a compiled version from domoticz.com/download

See also https://www.domoticz.com/wiki/Linux or https://www.domoticz.com/wiki/Raspberry_Pi
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
waltervl
Posts: 5149
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Openwrt

Post by waltervl »

Edit, stupid answer, overlooked Openwrt.

You better invest in an RPi. A lot better idea than to use a router.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
AlexK
Posts: 2
Joined: Thursday 29 July 2021 21:21
Target OS: -
Domoticz version:
Contact:

Re: Openwrt

Post by AlexK »

waltervl wrote: Thursday 29 July 2021 21:36 Edit, stupid answer, overlooked Openwrt.

You better invest in an RPi. A lot better idea than to use a router.
I have RP4 and don't want use for domoticz.
RPI or xiaomi hub this is to much
I need one router for all.

My router have 880mhz x4 +512mb ram
z2m and openwrt use 76mb
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests