Comments (9)
Hey there @janiversen, mind taking a look at this issue as it has been labeled with an integration (modbus
) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of modbus
can trigger bot actions by commenting:
@home-assistant close
Closes the issue.@home-assistant rename Awesome new title
Renames the issue.@home-assistant reopen
Reopen the issue.@home-assistant unassign modbus
Removes the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-information
Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-information
Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
modbus documentation
modbus source
(message by IssueLinks)
from core.
According to the yaml you are not reading holding_registers.
from core.
Please run the debug with only the failing hub, otherwise it is very difficult to see if there is a bug or not.
from core.
Please run the debug with only the failing hub, otherwise it is very difficult to see if there is a bug or not.
Π‘an you tell me how to enable the debug only for the second one without disabling the first hub.
Thanks!
from core.
According to the yaml you are not reading holding_registers.
I have commented "input_type: holding" just for testing purposes only.
Initially input_type: holding was included into sensor config, but I decided to check the default settings ( input_type: holding) as noted in modbus integration documentation.
I read the holding registers (function 03) starting at address 40000 with offset 501 ( or 500 for HA).
from core.
Reading data from the weather station through third-party modbus utility.
from core.
Log with 1 hub only.
home-assistant_modbus_USR-W610.log
Sensors in HA. Temperature and humidity data are real.
Meteo_pool_wind has scan_interval: 5 sec
Meteo_outdoor_humid and temperature - scan_interval: 60 sec.
But no updates at all...
from core.
Your configuration seems to be wrong, you read address 500, count 8, but your next entity is defined at 504.
You could remove the custom an read float32 directly.
I cannot see any modbus errors, and as you can see the entities are read with scan_interval and the result is interpreted correctly.
If the data do not change the HA updater will not change the UI.
So in total I cannot see any modbus integration bug.
from core.
You're right!
My mistake. I specified the structure: ">4f" and the count: 8.
But I have to read 4 registers of 2 bytes each (int16) and correct is: count: 4 and structure: ">4h" .
Indeed there is no integration bug, everything is working correctly.
Thank you very much for your help on this matter!
from core.
Related Issues (20)
- Cannot change credentials of user HOT 1
- WARNING: Waiting on integrations to complete setup HOT 4
- duplicated upnp devices detected HOT 1
- Airtouch 5 integration stopped working after console upgrade HOT 3
- Synology photos shared items are not visible in the media browser HOT 1
- Tuya fan entity (Duux Whisper Flex) automatically starts oscillating when clicked wherever in the interface HOT 1
- Here Travel Time detected blocking call to listdir with args / 2024.7.0b4 HOT 3
- Smartlife Tuya integration HOT 4
- Error handling request - ConnectionResetError: Cannot write to closing transport
- Somfy Cover shows strange and missing values. HOT 1
- Met.no not reporting weather data HOT 3
- Buienradar unable to retrieve data HOT 3
- AlarmDecoder integration sometimes internally crashes and silently stops updating HOT 1
- Amber Electric integration suddenly failing HOT 13
- Clear nights reporting as sunny on weather forecast with Openweathermap HOT 1
- Blink: Fails to properly recover after a system restart. HOT 1
- Extremely poor performance of compilation of statistics on MariaDB HOT 1
- Tuya integration problem HOT 1
- Turning on a Samsung Windfree airco via HA turns the display light on HOT 1
- Energy Dashboard doesn't generate a _cost if the value is negative
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.