Replies: 1 comment
-
And here is the app in pyscript, named init.py with the import that causes it:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I install hassos on vmm on Synology. I want to connect to serial interface to enable modbus devices.
here is what I have done:
domes | grep tty
which results inch341-uart converter now attached to ttyUSB0
Until I want to run a pyscript that uses
import serial
.I have imported the serial interface by hand with:
But when I run an app in pyserial (properly configured - with it registed in config.yaml)
I get
import serial ^ ModuleNotFoundError: import of serial not allowed
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions