Python Plugin: Python Plugin Manager

Python and python framework

Moderator: leecollings

IDANIT
Posts: 73
Joined: Saturday 07 November 2015 10:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Poland
Contact:

Re: Python Plugin: Python Plugin Manager

Post by IDANIT »

Oliwier wrote: Wednesday 14 March 2018 21:26 ...add info about plugin to wiki.
I can manage that during weekend.
IDANIT
Posts: 73
Joined: Saturday 07 November 2015 10:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Poland
Contact:

Re: Python Plugin: Python Plugin Manager

Post by IDANIT »

User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: Python Plugin Manager

Post by ycahome »

Nice!!!
blauwebuis
Posts: 331
Joined: Wednesday 21 December 2016 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: current
Contact:

Re: Python Plugin: Python Plugin Manager

Post by blauwebuis »

Could a second dropdown be added that allows for the easy installation of themes?
User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: Python Plugin Manager

Post by ycahome »

blauwebuis wrote: Saturday 17 March 2018 12:13 Could a second dropdown be added that allows for the easy installation of themes?
Hello blauwebuis.

This is a very good idea and I also thought that as an option.
From a quick lookup, I found your theme aurora, (excellent job BTW :-) ), are there any other custom themes available?

I would try to see how much effort will take to include such functionality with the current plugin structure (and possible mods)
User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: Python Plugin Manager

Post by ycahome »

Version 1.5.6 is out


v.1.5.6
---------
Added: Crow Runner Alarm plugin
Added: Daikin Airconditioning (BRP069A42) plugin
Added: IKEA Tradfri plugin
Added: Life 360 Presence plugin
Added: Pioneer AVR plugin
Added: RAVEn Zigbee energy monitor plugin
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Python Plugin: Python Plugin Manager

Post by remb0 »

last time I checked the daikin plugin gave some trouble. and daikin is fixed by native hardware so no need for a python plugin.
an option to check or let users report that a plugin isn't maintained anymore? or report broken?
User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: Python Plugin Manager

Post by ycahome »

remb0 wrote: Monday 19 March 2018 18:40 last time I checked the daikin plugin gave some trouble. and daikin is fixed by native hardware so no need for a python plugin.
an option to check or let users report that a plugin isn't maintained anymore? or report broken?
Unfortunately plugin framework does not give such options.
Am afraid that the only way is this forum.

As for the "Daikin", you are right, am going to remove it and mark it also to Wiki page.

There is a huge problem with such cases, there is no easy way to cross check "PP-Manager" against "Native plugin" lists.
IDANIT
Posts: 73
Joined: Saturday 07 November 2015 10:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Poland
Contact:

Re: Python Plugin: Python Plugin Manager

Post by IDANIT »

I've noticed v1.5.9, any changelog? ;)
User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: Python Plugin Manager

Post by ycahome »

IDANIT wrote: Saturday 24 March 2018 8:25 I've noticed v1.5.9, any changelog? ;)
Minor Bugfixes.


v.1.5.9

Fix: Error when no exception files found


v.1.5.8

Fixed: Added "git fetch" before update check to fetch repository details


v.1.5.7

Removed: Daikin Airconditioning (BRP069A42) plugin (already on Domoticz Core)
Ricard1
Posts: 62
Joined: Saturday 07 November 2015 12:30
Target OS: Windows
Domoticz version: Beta
Location: Sweden
Contact:

Re: Python Plugin: Python Plugin Manager

Post by Ricard1 »

Geat idea but... Windows support, pleeeease :D
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Python Plugin: Python Plugin Manager

Post by EdwinK »

I tried to install this on a freshly installed domoticz, with

Code: Select all

git clone https://github.com/ycahome/pp-manager.git PP-MANAGER
but after restarting domoticz it still isn't in the list.
Last edited by EdwinK on Wednesday 11 April 2018 9:55, edited 1 time in total.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
IDANIT
Posts: 73
Joined: Saturday 07 November 2015 10:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Poland
Contact:

Re: Python Plugin: Python Plugin Manager

Post by IDANIT »

After git clone and before restart did U

Code: Select all

cd PP-MANAGER
chmod +x plugin.py
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Python Plugin: Python Plugin Manager

Post by EdwinK »

Yup. Did that. Even did a reboot of the machine running domoticz.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: Python Plugin Manager

Post by ycahome »

Hi there.

with your 1090 posts I don't know what to ask in order to troubleshoot your case... :roll: :roll: :lol: :lol: :roll: :roll:

I suppose that you have python and python-dev.

Anything on the logs?

P.S: Silly question but, did you cloned inside the "plugins" folder?
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Python Plugin: Python Plugin Manager

Post by EdwinK »

Post totals don't mean much. Most of them are asking questions :), besides Python is not my thing. Am not real sure what python version are running.

Python3.5 seems to be installed manually, when I do python -V i get a '2.7.13' . I also believe that python-dev is installed.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: Python Plugin Manager

Post by ycahome »

ok then,

run

Code: Select all

sudo apt-get install python-dev
also restart Domoticz and post here the log.
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Python Plugin: Python Plugin Manager

Post by EdwinK »

This is all i get from the log

Code: Select all

2018-04-12 08:43:29.772 ToonThermostat: Worker started...
2018-04-12 08:43:29.772 Philips Hue: Worker started...
2018-04-12 08:43:30.775 RFXCOM: Using serial port: /dev/ttyUSB0
2018-04-12 08:43:30.849 (Hue) Color Switch (Group huiskamer)
2018-04-12 08:43:30.853 (Hue) Color Switch (Group Custom group for $lights)
2018-04-12 08:43:30.856 (Hue) Color Switch (Group Custom group for $lights)
2018-04-12 08:43:30.859 (Hue) Color Switch (Group Custom group for $lights)
2018-04-12 08:43:30.862 (Hue) Color Switch (Group Custom group for $lights)
2018-04-12 08:43:30.875 (Hue) Color Switch (Group All Lights)
2018-04-12 08:43:30.878 (Hue) Color Switch (Scene Wake Up end)
2018-04-12 08:43:30.881 (Hue) Color Switch (Scene Scene myScene2 huelabs/christm)
2018-04-12 08:43:30.885 (Hue) Color Switch (Scene Concentreren)
2018-04-12 08:43:30.888 (Hue) Color Switch (Scene Scene myScene1 huelabs/christm)
2018-04-12 08:43:30.891 (Hue) Color Switch (Scene 2gczbOFtBnGRzVt)
2018-04-12 08:43:30.894 (Hue) Color Switch (Scene Wake Up init)
2018-04-12 08:43:30.897 (Hue) Color Switch (Scene Gedimd)
2018-04-12 08:43:30.900 (Hue) Color Switch (Scene 88Naq4sCgM0J6Ly)
2018-04-12 08:43:30.903 (Hue) Color Switch (Scene Scene scene3 huelabs/christmas)
2018-04-12 08:43:30.906 (Hue) Color Switch (Scene Scene myScene3 huelabs/christm)
2018-04-12 08:43:30.909 (Hue) Color Switch (Scene Scene mySceneDim huelabs/chris)
2018-04-12 08:43:30.913 (Hue) Color Switch (Scene Ontspannen)
2018-04-12 08:43:30.916 (Hue) Color Switch (Scene Scene myScene2 huelabs/christm)
2018-04-12 08:43:30.919 (Hue) Color Switch (Scene Scene mySceneColor1 huelabs/ch)
2018-04-12 08:43:30.923 (Hue) Color Switch (Scene Lezen)
2018-04-12 08:43:30.926 (Hue) Color Switch (Scene Helder)
2018-04-12 08:43:30.929 (Hue) Color Switch (Scene Scene myScene1 huelabs/christm)
2018-04-12 08:43:30.932 (Hue) Color Switch (Scene Scene scene4 huelabs/christmas)
2018-04-12 08:43:30.935 (Hue) Color Switch (Scene Scene mySceneColor3 huelabs/ch)
2018-04-12 08:43:30.938 (Hue) Color Switch (Scene Scene scene0 huelabs/christmas)
2018-04-12 08:43:30.942 (Hue) Color Switch (Scene Scene scene1 huelabs/christmas)
2018-04-12 08:43:30.946 (Hue) Color Switch (Scene Energie)
2018-04-12 08:43:30.949 (Hue) Color Switch (Scene Arctische dageraad)
2018-04-12 08:43:30.952 (Hue) Color Switch (Scene Scene mySceneColor2 huelabs/ch)
2018-04-12 08:43:30.955 (Hue) Color Switch (Scene Scene scene2 huelabs/christmas)
2018-04-12 08:43:30.958 (Hue) Color Switch (Scene Scene mySceneColor1 huelabs/ch)
2018-04-12 08:43:30.961 (Hue) Color Switch (Scene Scene myScene3 huelabs/christm)
2018-04-12 08:43:30.964 (Hue) Color Switch (Scene Wake Up end)
2018-04-12 08:43:30.967 (Hue) Color Switch (Scene Scene storageScene huelabs/chr)
2018-04-12 08:43:30.971 (Hue) Color Switch (Scene Uit)
2018-04-12 08:43:30.974 (Hue) Color Switch (Scene Lentebloesem)
2018-04-12 08:43:30.977 (Hue) Color Switch (Scene Tropische schemering)
2018-04-12 08:43:30.979 (Hue) Color Switch (Scene Nachtlampje)
2018-04-12 08:43:30.981 (Hue) Color Switch (Scene Wake Up init)
2018-04-12 08:43:30.982 (Hue) Color Switch (Scene Scene mySceneColor3 huelabs/ch)
2018-04-12 08:43:30.984 (Hue) Color Switch (Scene Film kijken)
2018-04-12 08:43:30.986 (Hue) Color Switch (Scene Savanne zonsondergang)
2018-04-12 08:43:30.987 (Hue) Color Switch (Scene Scene mySceneDim huelabs/chris)
2018-04-12 08:43:30.989 (Hue) Color Switch (Scene Scene storageScene huelabs/chr)
2018-04-12 08:43:30.990 (Hue) Color Switch (Scene Scene mySceneColor2 huelabs/ch)
2018-04-12 08:43:30.992 (Hue) Color Switch (Scene Scene scene5 huelabs/christmas)
2018-04-12 08:43:31.350
2018-04-12 08:43:31.426 subtype = Interface Response
Sequence nbr = 2
response on cmnd = Get Status
Transceiver type = 433.92MHz
Firmware version = 1021
Firmware type = Ext
Hardware version = 1.3
Undec off
X10 enabled
ARC enabled
AC enabled
HomeEasy EU disabled
Meiantech/Atlantic disabled
Oregon Scientific disabled
ATI/Cartelectronic disabled
Visonic disabled
Mertik disabled
AD disabled
Hideki disabled
La Crosse enabled
FS20/Legrand disabled
ProGuard disabled
BlindsT0 enabled
BlindsT1 enabled
AE disabled
RUBiCSON enabled
FineOffset disabled
Lighting4 enabled
Conrad RSL disabled
ByronSX disabled
IMAGINTRONIX disabled
KEELOQ disabled
Home Confort disabled
2018-04-12 08:43:36.476 (Toon) Thermostat (Room Setpoint)
2018-04-12 08:43:36.477 (Toon) Temp (Room Temperature)
2018-04-12 08:43:36.478 (Toon) P1 Smart Meter (Electra)
2018-04-12 08:43:36.479 (Toon) P1 Smart Meter (Gas)
2018-04-12 08:43:36.480 (Toon) General/kWh (stekker 1)
[/quote]
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
ycahome
Posts: 248
Joined: Sunday 12 February 2017 10:55
Target OS: Linux
Domoticz version: lat Beta
Contact:

Re: Python Plugin: Python Plugin Manager

Post by ycahome »

doesn't seem like you have restarted your Domoticz
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Python Plugin: Python Plugin Manager

Post by EdwinK »

I did with

Code: Select all

sudo systemctl restart domoticz.service
This is what I done

Code: Select all

 sudo apt-get install python-dev
Reading package lists... Done
Building dependency tree        
Reading state information... Done
python-dev is already the newest version (2.7.13-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@domo-server:~ $ sudo systemctl restart domoticz.ser
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest