openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
3.92k stars 3.43k forks source link

domoticz: no custom menu visable and no plugin pages #12626

Open mabachel opened 4 years ago

mabachel commented 4 years ago

Maintainer: @ammubhave @neheb @dwmw2 @stintel Environment: (ipq806x, Netgear R7800, OpenWrt master)

Description: I am running a recent (June 25) self compiled master build of OpenWRT on my Netgear R7800 and installed node 12 compiled from here: https://github.com/nxhack/openwrt-node-packages

I also installed zigbee2mqtt via npm ci and python3, mosquitto-ssl and domoticz from via opkg. Additionally I copied domoticz-plugins-manager and domoticz-zigbee2mqtt-plugin to /etc/domoticz/plugins and I also added the plugins on the Hardware page: image image

From my understanding and from what can bee seen on the screenshots of the plugins github pages there should be a Custom menu in domoticz and a page where I can interact with domoticz plugins. But as you can see in the attached screenshots I don't see anything like that. image image

However from the syslog I can see that a plugin custom page is being installed

daemon.info domoticz: Domoticz is starting up....
daemon.info domoticz: Domoticz running...
daemon.info domoticz: Active notification Subsystems: fcm, http (2/13)
daemon.info domoticz: Starting shared server on: :::6144
daemon.info domoticz: (Mosquitto) Installing plugin custom page...
daemon.info domoticz: (Mosquitto) Installing plugin custom page completed.
daemon.info domoticz: (Mosquitto) Connected to MQTT Server: 127.0.0.1:1883
daemon.info domoticz: (Mosquitto) Zigbee2mqtt bridge is online
daemon.info domoticz: (Mosquitto) Joining new devices is disabled on the zigbee bridge
daemon.info domoticz: (Mosquitto) Received available devices list from bridge
daemon.info domoticz: (Mosquitto) Received groups list from bridge

And Zigbee Devices become available in the Devices page: image

  1. How can I interact with my Plugins? Where are these pages / menus: screenshot from domoticz-zigbee2mqtt-plugin github page, screenshot from domoticz-plugins-manager github
  2. Are they (Plugin / Custom Pages) supported at all?
  3. What python3 (full, light, or base) packages are really necessary?

One more question: In the config it says:

# CAUTION - by default, /var is not persistent accross reboots
# Don't forget the trailing / - domoticz requires it
option userdata '/var/lib/domoticz/'

4.) What is the suggested solution to get a persistent configuration of domoticz?

neheb commented 3 years ago

domoticz is no longer maintained. You're on your own I'm afraid.

dwmw2 commented 3 years ago

I am taking over. Apologies for the delay. I'm not familiar with the plugins and have avoided perl but the file system layout should work. I have been using a setup with symlinks to an external file system but will investigate.