Interface > Interface til varme systemer

API til adurocloud / Aduro Hybrid

<< < (2/5) > >>

motoz:
If you are into that you can change this line:
https://github.com/motoz/PellMon/blob/3e2511ada9e2cd5715c5c9ad67f45a41ef8d82f3/src/Pellmonsrv/plugins/nbecom/__init__.py#L89
to

--- Kode: ---self.proxy = Proxy(self.password, 8483, 'your.ip.number', serial = self.serial)
--- afslutning på kode ---
. It still uses the discovery protocol, but it sends the frame directly to that ip instead of broadcasting it. Pellmon is 'fairly easy' to run in debug mode to test and see where things go wrong: https://github.com/motoz/PellMon/wiki/Contributing-to-PellMon

greatdane:
Hi motoz

Been offline for a few weeks. Have reset my installation to a new ubuntu server 20.04.
However, when installing the pellmon package with gdebi I get;

This package is uninstallable
Dependency is not satisfiable: python-argcomplete

When trying to install argcomplete there seem to be a complication as python-argcomplete won't install as python3-argcomplete is already installed. Somehow however, the gdebi package does not recognize this

Have you heard about this before - and do you have suggestions for how to bypass/resolve ?

motoz:
PellMon is python 2 only, and I think in ubuntu 20.04 there is only python3 installed by default, so you have to install python2. I think that they also made the 'python' command start python3, which of course breaks all existing scripts that were made for python2. There seem to be a way to configure it however, see e.g.  https://linuxconfig.org/how-to-change-from-default-to-alternative-python-version-on-debian-linux

motoz:
I realize my answer is a bit vague... I don't know if the current pellmon package can be made to work or not on ubuntu 20.04. Installing from source probably works after manually installing python 2 and configuring it to be the default python. Pellmon needs to be ported to python 3 at some point, but I'm struggling to find motivation for that at the moment.

greatdane:
OK - installed a fresh Ubuntu and got it installed and it is running with the latest alpha - but is still not finding my Aduro.
Is there nowhere in the installation where I can make the update to search for my specific IP - instead of building a whole new install ?

Navigering

[0] Emneindeks

[#] Næste side

[*] Forrige side

Skift til fuld version