Version: 2022.1
Build Hash: c9526851b
Compile Date: 2022-01-31 09:34:32
dzVents Version: 3.1.8
Python Version: 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
Hi
Still a newbie here but it seems not a lot of people are in the same boat as me.
Nevertheless I was tinkering a bit in my config.
Since I have a P1 meter also in the setup (on another USB port on the Pi4) I ended up here;
$
I do understand the point here but amongst other things I fail to see how to make the suggested settings stick in de /dev directory.
Using sudo mknod /dev/ttyUSB-TFA868USB c 188 1, I do get the new TTY in the /dev list.
In Domoticz I then can also find it listed in the dropdown for serial port in Hardware.
True, maybe I have to select a modus in my new hardware device but even then
this does not get me further, because a cat on tty-USB-TFA868USB results in;
cat: ttyUSB-TFA868USB: No such device or address
Moreover, when I reboot the Pi all newly added references to new tty* disappear in /dev
As suggested in the quoted topic above I added a rule file under /etc/udev/rules.d named 99-usb-serial.rules with the following content;
Maybe some things still are missing in this file.
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="AQ5MU6U0", SYMLINK+="ttyUSB-SMARTM-P1”
SUBSYSTEM=="tty", ATTRS{idVendor}==“6666”, ATTRS{idProduct}==“5555”, ATTRS{serial}==“0123456”, SYMLINK+="ttyUSB-TFA868USB”
In my limited knowledge I might be cutting a lot of corners here but thanks for your attention by the way.