hi,
i have installed domoticz on my NAS synology DS414 (armxp) with alrealy compatible compiled version of my NAS: V3.2795
I want to add python scripts under /usr/local/domoticz/var/plugins
i get this one under github
https://github.com/thomas-villagers/domoticz-yamaha
i have alredy named the plugin plugin.py and set chmod +x on the .py
restart domoticz.
Now i want to add a new material under the dashboard, but when i open the material list i don't see under type : domoticz-yamaha
do i miss something ?
nota: i have no python error message at domoticz start
thanks for your help
unable to add plugin.py with synology
Moderator: leecollings
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: unable to add plugin.py with synology
The type is "Yamaha AV Receiver" in the hardware list, not "domoticz-yamaha".
You will need to see a message showing that Python has loaded and the plugin system has started in your start up log. libpython 3.4 or above is required on your system.
You will need to see a message showing that Python has loaded and the plugin system has started in your start up log. libpython 3.4 or above is required on your system.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 49
- Joined: Thursday 18 January 2018 6:30
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: unable to add plugin.py with synology
thanks for this response , how i install libpython 3.4 , i have already installed the python3 package with center package installer
NOTA: i don't see Yamaha AV Receiver in the hardware list
NOTA: i don't see Yamaha AV Receiver in the hardware list
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: unable to add plugin.py with synology
@jluc2808,
Have you looked at this? https://www.domoticz.com/wiki/Using_Python_plugins
Steps on linux would be:
You will need to use the package manager command for Synology which probably isn't quite the same.
Posting your Domoticz startup log would be helpful as well
Have you looked at this? https://www.domoticz.com/wiki/Using_Python_plugins
Steps on linux would be:
- What version do you need: python3 --version will give you something like Python 3.5.3
- sudo apt install libpython3.5
You will need to use the package manager command for Synology which probably isn't quite the same.
Posting your Domoticz startup log would be helpful as well
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 49
- Joined: Thursday 18 January 2018 6:30
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: unable to add plugin.py with synology
yes i have already red the https://www.domoticz.com/wiki/Using_Python_plugins
my version is pyhton 3.4.1 (installed with center package)
i couldn't use apt-get not supported with synology , i have installed pip
tried to use :
sudo pip install libpthon3.4 ==> could not find a version
sudo pip install libpthon3.4.1 ==> could not find a version
sudo pip install python3-dev ==> could not find a version
my version is pyhton 3.4.1 (installed with center package)
i couldn't use apt-get not supported with synology , i have installed pip
tried to use :
sudo pip install libpthon3.4 ==> could not find a version
sudo pip install libpthon3.4.1 ==> could not find a version
sudo pip install python3-dev ==> could not find a version
-
- Posts: 49
- Joined: Thursday 18 January 2018 6:30
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: unable to add plugin.py with synology
i just checked the log but i don't see anywhere python start
2018-01-20 04:52:06.352 Domoticz V3.7295 (c)2012-2017 GizMoCuz
2018-01-20 04:52:06.352 Build Hash: 4c80dfd-modified, Date: 2017-04-11 14:55:25
2018-01-20 04:52:06.352 Startup Path: /usr/local/domoticz/
2018-01-20 04:52:06.492 EventSystem: reset all events...
2018-01-20 04:52:06.507 WebServer(HTTP) started on address: :: with port 8084
2018-01-20 04:52:06.513 WebServer(SSL) started on address: :: with port 8443
2018-01-20 04:52:06.515 Proxymanager started.
2018-01-20 04:52:06.517 RxQueue: queue worker started...
2018-01-20 04:52:06.518 TCPServer: shared server started...
2018-01-20 04:52:08.555 EventSystem: reset all events...
2018-01-20 04:52:08.555 EventSystem: reset all device statuses...
2018-01-20 04:52:08.563 SolarEdgeAPI Worker started...
2018-01-20 04:52:08.564 EventSystem: Started
2018-01-20 04:52:08.565 Nest: Worker started...
2018-01-20 04:52:12.705 Incoming connection from: 192.168.1.11
2018-01-20 04:52:06.352 Domoticz V3.7295 (c)2012-2017 GizMoCuz
2018-01-20 04:52:06.352 Build Hash: 4c80dfd-modified, Date: 2017-04-11 14:55:25
2018-01-20 04:52:06.352 Startup Path: /usr/local/domoticz/
2018-01-20 04:52:06.492 EventSystem: reset all events...
2018-01-20 04:52:06.507 WebServer(HTTP) started on address: :: with port 8084
2018-01-20 04:52:06.513 WebServer(SSL) started on address: :: with port 8443
2018-01-20 04:52:06.515 Proxymanager started.
2018-01-20 04:52:06.517 RxQueue: queue worker started...
2018-01-20 04:52:06.518 TCPServer: shared server started...
2018-01-20 04:52:08.555 EventSystem: reset all events...
2018-01-20 04:52:08.555 EventSystem: reset all device statuses...
2018-01-20 04:52:08.563 SolarEdgeAPI Worker started...
2018-01-20 04:52:08.564 EventSystem: Started
2018-01-20 04:52:08.565 Nest: Worker started...
2018-01-20 04:52:12.705 Incoming connection from: 192.168.1.11
-
- Posts: 331
- Joined: Monday 03 July 2017 19:58
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: unable to add plugin.py with synology
That could be the non-python version of domoticz synology package. In jadahl's site there are 2 versions:
- Domoticz Stable V3.8153 for DSM 6.1
- Domoticz Stable V3.8153 for DSM 6.1 with Python
Try the one with the Python.
- Domoticz Stable V3.8153 for DSM 6.1
- Domoticz Stable V3.8153 for DSM 6.1 with Python
Try the one with the Python.
-
- Posts: 49
- Joined: Thursday 18 January 2018 6:30
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: unable to add plugin.py with synology
reinstall domoticz with python solve the problem
thanks
thanks
Who is online
Users browsing this forum: No registered users and 1 guest