Closed stamandster closed 2 months ago
EDIT: I found that https://github.com/PiBrewing/craftbeerpi4/blob/master/cbpi/extension/onewire/config.yaml is showing name as "DummySensor" instead of "OneWire". Changing this to OneWire allowed only a single sensor to show up, oddly. Numerically it's the first one, if that means anything for the array.
chris@brewpi:~/.local/pipx/venvs/cbpi4/lib/python3.11/site-packages/cbpi/extension/onewire $ sudo nano config.yaml
also deleted the cache folderAlso uninstalled some unneeded plugins, seems to have fixed the issue.
I don' think, that the config file is an issue as it was always there since Manuel created it. Probably a copy and paste thing.
Plugin registration is basically done here:
But I will change the name in one of the next releases as it might be confusing
Thanks @avollkopf I was able to get consistent DS18b20 sensors to show up by doing a few thing:
'cbpi onewire --setup'
before running cbpi main programsudo dtoverlay w1-gpio gpiopin=4 pullup=0 # header pin 7
sudo dtoverlay w1-gpio gpiopin=17 pullup=0 # header pin 11
sudo nano /etc/modules
w1-gpio
w1-therm
My only suggestion regarding DS18b20 is potentially using the following code for more reliant connections to the probes - https://github.com/danjperron/BitBangingDS18B20
Working
EDIT: I found that https://github.com/PiBrewing/craftbeerpi4/blob/master/cbpi/extension/onewire/config.yaml is showing name as "DummySensor" instead of "OneWire". Changing this to OneWire allowed only a single sensor to show up, oddly. Numerically it's the first one, if that means anything for the array.
chris@brewpi:~/.local/pipx/venvs/cbpi4/lib/python3.11/site-packages/cbpi/extension/onewire $ sudo nano config.yaml
also deleted the cache folderAlso uninstalled some unneeded plugins, seems to have fixed the issue.
------------------ Afternoon, I followed the latest CBPI4 Gitbook for setting up server. Everthing was going well until attempting to load the DS18b20 sensors. I have 4 setup (and tested with an arduino) on onewire using 3v3, GPIO4 and GND. For whatever reason, CBPI is unable to see any sensors. I tried re-enabling Onewire in the raspi-config and restarting CBPI, no avail. I tried to move to another GPIO pin and nothing. I don't see anything glaring in the logs using the 20 parameter and it looks to be loading onewire plugin. Just at a loss as to what to do. I followed the directions of removing the python3-RPi.GPIO as I'm using a RPI4. The installed server is Serverversion: 4.4.0 - Codename: Yeast Starter || GUIversion: 0.3.13.
Also performed some additional testing and confirmation, connecting a relay works fine and I can via data from a sensor via bus command so I know it's not a GPIO Pin issue.
I'm able to see data from a sensor via
Then I added a second sensor, and that is showing up also.
So I have no idea why it's not populating into the list in the hardware tab.