thecode / ha-onewire-sysbus Goto Github PK
View Code? Open in Web Editor NEWHome Assistant 1-Wire via sysbus
License: Apache License 2.0
Home Assistant 1-Wire via sysbus
License: Apache License 2.0
Hello,
It seems there is a problem with the arm64 architecture.
The 1wire sensors are well found.
But their name doesn't seem correct and they don't report any temperature values.
Ex: sensor 10.8CD1CB020800 is named in home assistant 10-000802cbd18c (numbers are reversed).
"manufacturer": "Maxim Integrated",
"model": "10",
"name": "10-000802cbd18c"
Tested with 1wire integration (owserver on an another computer), i have: sensor.10_8cd1cb020800_temperature
For your information:
Logger: homeassistant.helpers.frame
Source: helpers/frame.py:77
First occurred: 08:57:00 (1 occurrences)
Last logged: 08:57:00
Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for onewire_sysbus using this method at custom_components/onewire_sysbus/init.py, line 19: hass.config_entries.async_setup_platforms(entry, PLATFORMS).
Thanks!!!
From the CLI, I can easily see both of my thermometers in /sys/bus/w1/devices/ and view the temperature they are reporting; so it's not a device issue. But the integration in HA shows nothing; per image attached:
My devices are not discovered automatically (as they were in the past), there are no options to add entities/devices, and the documentation for the integration does not mention how to add them to HA.
Anyone know what to do at this point?
I installed this custom integration via HACS, did the restart. In the /sys/bus/w1/devices/ the one wire devices can be seen:
28-01143f60a7aa ... etc.
But the sensor.28. entities are not present in HA.
Hi, I can't get the DS18B20 to work through the DS2482-100. Is there any instruction on what to write in config.txt or is it necessary to operate I2C separately and only use pull-up resistors in config? Thank you for the advice.
Logger: homeassistant.const
Source: helpers/deprecation.py:205
First occurred: 09:08:47 (1 occurrences)
Last logged: 09:08:47
TEMP_CELSIUS was used from onewire_sysbus, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/thecode/ha-onewire-sysbus/issues
The newest version of pi1wire (0.3.0) supports setting DS18B20 precision.
Consider adding an option to set sensor precision, with lower precision we won't store that much data in DB, and the reads could be faster.
Ref: ushiboy/pi1wire#5
The precision setting is stored in sensor EEPROM, so setting the precision should be done as rarely as possible.
Probably just me being a newb, but the documentation readme on https://github.com/thecode/ha-onewire-sysbus doesn't actually end with 'now add/install 1Wire-sysbus integration' on the front end as a final step. It just seems to suggest that 'on boot' the devices will be available/visible in dev tools. Confused me a bit but all working now.
Hi, I use the latest version 2023.02.0 and got this warning in the logs: "Add-on config 'auto_uart' is deprecated, use 'uart'. Please report this to the maintainer of owserver (1-wire)". I use Home Assistant 2023.4.6.
Could you fix it, please?
Hello,
I am using this integration on Home Assistant which is running on Rasberry Pi 3B+ using DS18B20 temperature sensor. Everything works fine but data refreshes on 30s. Is there a way to read data more frequently?
Hi,
I upgraded my home assistant and my 4 one-wire temperature sensors stopped working. After researching, I believe the workaround is to install this code, so I have installed this via HACS following the instructions. When I SSH into my host I have the HACS custom_components folder and it contains the onewire_sysbus folder with python files, so looks like the code is installed ok.
After restarting HA a few times I don't see any entities though, despite being able to read my temp sensors fine from /sys/bus/w1/devices via the command line?
I tried going to Settings->Integrations->Add Integration->1-Wire SysBus but when I click that I get the error "Config flow could not be loaded: undefined" after about 30s. There are no entries in home-assistant.log related to this integration that I can find. How do I troubleshoot further please?
Hey
I did the steps with attaching USB, enabling it in boot/config.txt
The sensor shows up in the directory on PI
But unable to read it in the home assistant. As I understand it should show the sensor automatically when this HACS is installed.
configuration.yaml
- platform: onewire_sysbus
Still nothing.
Removed the extra yaml lines just in case.
I'm out of ideas, and just a beginner with HA
Thanks in advance for advice :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.