Closed fabianhartwich closed 2 years ago
Hello Fabian, My addon uses OWFS project - see compatible devices to talk to 1-Wire Bus. If your bus is compatible with OWFS ith should work with my addon as well. Frankly I cannot find your device as supported one.
Hi,
you are right. The ATmega 328 is not listed in the regular owfs device overviews. I talked to the Elabnet support the other day and they told me that they are using this microcontroller. You will find info on the internet describing 1-Wire projects with the ATmega328 or the AVR micro controller family generally.
Elabnet make more hardware including their so called TimberWolf-Server (which is a quite capable home server that obviously supports their 1-Wire Busmaster PBM01) but they are also providing software packages for their PBM01 and another Standard Busmaster (DS9490R) for installation on Debian Linux / Raspbian.
So far I have not succeeded installing these packages as I am not sure it will work on a RPi running Home Assistant. Maybe it would work if their packages run in a docker somehow, but I man not very familiar with that concept.
The PBM01 generally is compatible with owfs/owserver. This is what they are saying is used when installing their packages on a Raspbian system.
So, to me it sounds like it should not be a very big deal to get it working with your owserver add-on, but unfortunately I don't know what exactly needs to be done if I wanted to run it on the same RPi I am running HA on.
Sorry for bugging you with this. Maybe you have a few more pieces of advice for me, so I have a direction I could follow or a few more things I could try.
Thanks again, Fabian
Hi there,
I am still fairly new to Home Assistant and Home Automation generally. In our house, we have a KNX/1-Wire/Dali-Setup.
I bought a 1-Wire busmaster a while ago that I have been trying to set up for Home Assistant for a while now, unfortunately with no success so far. I have been trying to use your owserver addon for this, but I think the reason it is not working is that my busmaster is based on the ATmega328 chip instead of DS2480B. I am getting a fault 502: bad gateway message from the owserver Web UI. My understanding is that the ATmeag328 also has a serial interface just like the DS2480B.
My question is: is it possible to set up owserver in HA in a way it will be able to communicate with my busmaster? If not, would it be possible to implement support of the ATmega328 in your addon?
At least one other user would also be interested in this setup, pls refer to the following link:
https://community.home-assistant.io/t/1-wire-busmaster-from-elabnet-elaborated-networks/411517/2
You can also find some info on that busmaster PBM01, which the other person linked there.
Thanks a lot in advance, Fabian
As some additonal info, here's my owserver log:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 00-banner.sh: executing...
Add-on: owserver (1-Wire) onewire server to read 1-Wire devices
Add-on version: 0.2.1 You are running the latest version of this add-on. System: Home Assistant OS 7.6 (aarch64 / raspberrypi4-64) Home Assistant Core: 2022.4.5 Home Assistant Supervisor: 2022.04.0
Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.
[cont-init.d] 00-banner.sh: exited 0. [cont-init.d] 01-log-level.sh: executing... [cont-init.d] 01-log-level.sh: exited 0. [cont-init.d] owserver.sh: executing... [21:51:48] INFO: Configuring /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.0 device [cont-init.d] owserver.sh: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [21:51:48] INFO: Starting owserver... [21:51:48] INFO: Starting owhttpd...