Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error line 19 "devide" #31

Open
jfh75 opened this issue Feb 15, 2021 · 2 comments
Open

Error line 19 "devide" #31

jfh75 opened this issue Feb 15, 2021 · 2 comments

Comments

@jfh75
Copy link

jfh75 commented Feb 15, 2021

Hello,

I am running domoticz on a ubuntu 20.04 standalone PC :
Version: 2020.2 (build 12900)
Build Hash: 9cca890b4-modified
Compile Date: 2021-02-01 11:29:34
dzVents Version: 3.1.4
Python Version: 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0]

I don't manage to make it work i have following error when trying to install SDM220 :
2021-02-15 08:18:18.016 Error: Python Plugin System: (Modbus2) failed to load 'plugin.py', Python Path used was '/home/jfh/domoticz/plugins/modbus-device/:/usr/lib/python38.zip:/usr/lib/python3.8:/usr/lib/python3.8/lib-dynload:/usr/local/lib/python3.8/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.8/dist-packages'.
2021-02-15 08:18:18.016 Error: Python Plugin System: (eastron) Module Import failed, exception: 'SyntaxError'
2021-02-15 08:18:18.016 Error: Python Plugin System: (eastron) Import detail: File: /home/jfh/domoticz/plugins/modbus-device/modbusregister.py, Line: 19, offset: 19
2021-02-15 08:18:18.016 Error: Python Plugin System: (eastron) Error Line ' if devide<>"":
2021-02-15 08:18:18.016 '
2021-02-15 08:19:27.883 Error: eastron hardware (24) thread seems to have ended unexpectedly
2021-02-15 08:19:41.886 Error: eastron hardware (24) thread seems to have ended unexpectedly
2021-02-15 08:19:55.888 Error: eastron hardware (24) thread seems to have ended unexpectedly

Is there something wrong with my install ?

Thank you for your kind help

JFH

@xbeaudouin
Copy link

Hi,
Seem the plugin use some old python code.
I have tried to fix it, but still need work -> see https://github.com/xbeaudouin/domoticz-modbus/tree/master/modbus-device
Needs some more help to make this working as well...

@AdamWeglarz
Copy link

any news on that. I would like to use this plugin to read values from LUMEL PVSA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants