Read 1-Wire sensors via USB - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Read 1-Wire sensors via USB (/showthread.php?tid=2982) |
Read 1-Wire sensors via USB - janbart - 16.11.2020 Hello, I have LM5 Re:actor without 1-wire, and I need to connect 1-wire sensors through 1-wire USB adapter ds9490r Where can I get info on how to get the list of connected sensors and its values? I've found some outdated info that there must be owserver start in the init script Code: os.execute('owserver -u -s 127.0.0.1:4304') Another stuff I found is the code like this: Code: require('ow') Thanks! RE: Read 1-Wire sensors via USB - admin - 16.11.2020 You don't need to run the server manually. Just install all the required packages, reboot LM. USB interface will be detected automatically and the server will be started. For temperature sensors you don't need any scripts, you can map then via UI. You can use ow.list() to get a list of detected 1-wire devices. |