DS9490R 1-wire USB adapter and HASS.IO

I would like to use a DS9490R USB 1-wire adapter and a number of DS18b20 devices with my HASS.IO - is this possible?

I’ve searched online but the various instructions seem to either use GPIO4 on the Pi, or OWFS but it is not clear to me whether this applies to the HASS.IO version, or generic linux versions.

I have found this page but it needs sudo commands run and I understand (perhaps incorrectly with my current level of knowledge!) that sudo is not possible with HASS.IO

Any help much appreciated.

Thanks.

Richard

There’s a built in component for that:

The 1-Wire bus can be connected directly to the IO pins of Raspberry Pi or using dedicated interface adapter (e.g DS9490R).

Thanks, Tom. I found that page but couldn’t get my head around how to make it work with the HASS.IO

I’m now considering using the https://github.com/bestlibre/hassio-addons/tree/master/owserver version with an adapter board something like this http://raspberrypi.tomasgreno.cz/thermal-sensor-i2c.html

Any update on this? I can get the onewire readings on my host, but not in the Hassio container unfortunately.

Thomas

No, I gave up and built a ESPHome ESP8266 powered alternative. Such a simple and elegant solution!

The situation was not helped by the UK eBay seller ignoring all requests for assistance - very frustrating.

After building my version I found these - they seem good https://www.amazon.co.uk/ESP8266-DS18B20-Temperature-Humidity-Arduino/dp/B077HSRLQK (not necessarily that specific one but those in general) A colleague of mine bought some of those - and he added extra DS18b20 sensors to it as well. Very easy to do.

Thanks for the reply. In my case the added difficulty is that the sensors are inside a metal cabinet, so wifi is not an option. Guess I will have to look into ESP32 with ethernet and preferably POE as I have found this is a good wa to do a hard-reset every now and then :slight_smile:

EDIT: I probably will be using something like this https://www.olimex.com/Products/IoT/ESP32/ESP32-POE-ISO/open-source-hardware with ESP Home

Thomas

Hi
I have a problem. WHen i connect adapter to my RPI4 or Odroid N2 with OS v5.2 it is found in HOST logs but not show in mounted devices in SYstem-Hardware.
LOgs on RPI show:
[ 381.680965] usb 1-1.3: USB disconnect, device number 3
[ 385.759500] usb 1-1.3: new full-speed USB device number 4 using xhci_hcd
[ 385.866521] usb 1-1.3: New USB device found, idVendor=04fa, idProduct=2490, bcdDevice= 0.02
[ 385.866553] usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 385.898083] Driver for 1-wire Dallas network protocol.
[ 385.917059] usbcore: registered new interface driver DS9490R
[ 385.931827] w1_master_driver w1_bus_master1: Attaching one wire slave 81.000000344670 crc 01

but logs on Odroid N2 whow:
[ 167.386717] usb 1-1.1.4: USB disconnect, device number 9
[ 173.781765] usb 1-1.4: new full-speed USB device number 10 using xhci-hcd
[ 175.282277] audit: type=1334 audit(1601569622.414:240): prog-id=12 op=UNLOAD
[ 175.289773] audit: type=1334 audit(1601569622.414:241): prog-id=11 op=UNLOAD
[ 194.523774] usb 1-1.4: USB disconnect, device number 10
[ 205.523813] usb 1-1.4: new full-speed USB device number 11 using xhci-hcd

Please help me… why i can not use it…

if you are using the USB interface DS9490R, this is likely your problem