Author
Topic: 1wire support (Read 44169 times)

when you add the interface to the core, it of course needs a quick reload to start the OneWire DCE device. When this is started, it iterates over all temperature devices found by owfs and tells the general info plugin to create the child device if it does not yet exist. These won't be active till the next quick reload. Maybe that adds to confusion?

when you add the interface to the core, it of course needs a quick reload to start the OneWire DCE device. When this is started, it iterates over all temperature devices found by owfs and tells the general info plugin to create the child device if it does not yet exist. These won't be active till the next quick reload. Maybe that adds to confusion?

So the steps are?

Connect 1wire interface to core

Add the 1wire interface in webadmin using template 2161

Select the port the 1wire interface is connected to

When prompted do a quick reload

Once the sensors are detected, another quick reload is needed

Now you should have Multilevel Sensors as childs, for every sensor connected to the 1wire bus, in the webadmin

if you can't even read them out with owfs, you probably have a short circuit on the bus.. this happened to another user. So as a first debug step I'd recommend to see if owfs gives you values. If that works fine, continue to debug on the lmce side

if you can't even read them out with owfs, you probably have a short circuit on the bus..

How else do I check for this? I have (2) of the LinkUSBi's, (5) temperature sensors and a pile of cat5 cables... tried both LinkUSBi's and 3 of the temperature sensors. The usb device appears in the log file as posted above, but cannot get my temperature sensors to load.

Thanks

Edit:I tried adding a MD to see if I had the same experiences as others- that the sensors would start populating. Unfortunately, it's been 6+ hours and while my device is spawned, no such luck with the sensors:

The webpage shows (1) sensor with a temperature, so I got greedy and added another (2) to make sure it was working... unfortunately it still only says I have (1) thermocouple attached after restarting my core.

OK- I blew away my system and tried again. I followed exactly per the wiki and was surprised when one after another sensors were added to my 1-wire device... until number 5. At number 5 the device died (per the log) and I could not get it to restart- either manually or by restarting the computer.

So, I deleted that device and created a new 1-wire device again following the wiki. Whereas before the temperature sensor was found after a few minutes- now been 30 minutes or so and no luck... Per the log it looks like everything started correctly and per dmesg I'm set to the correct USB port...

Going to let it run overnight.

Edit: As a side now- although I have run Diskless_CreateTBZ.sh, I have not yet installed a MD. I have (2) qorbiters and a web orbiter configured along with the core. Also have a USBUIRT and a gyration remote installed.