Comments (11)
this is already supported up to the point where ebusd has to answer to queries from another participant. here the new constant value fields come in handy but variables and a store of variable values might be needed as well.
from ebusd.
Ah, okay - I didn't get the sense of #39 as there's not much explanation.
But yes, I could imagine using the normal cache of ebusd - so defining a read/write constant value field would enable to issue an "ebusctl w ConstantValueField 13" to set the value to respond to readings from bus...
from ebusd.
the idea of the variables is somewhat different, i.e. the definition in CSV would allow for using "=$variable" instead of a constant value as referred to by #39, and then ebusd would be able to answer those from the internal variables. of course there would also need to be a command allowing to change those variables.
from ebusd.
add option to define file for own config
from ebusd.
Could you document how to configure the ebusd slave responses?
Edit: I've found my answer
https://github.com/john30/ebusd/wiki/3.1.-TCP-client-commands#answer
from ebusd.
@john30 If I understand the ebusd source code correctly, the response is returned by ebusd just after receiving the CRC byte from the master (and provided that getAnswer has found a response).
Even counting the time to receive the SYN byte and neglecting CPU time, the first byte of the response would have to arrive at the adapter in less than 0.5ms; an eternity compared to my 3ms network latency.
So I'd like to know whether the response mode will also work with an adapter contacted via Ethernet.
from ebusd.
I don't really get your point, what exactly do you expect/want to know?
from ebusd.
Will the answer functionality of ebusd work if my ebus adapter is connected via WiFi (or Ethernet cable)?
(My previous post set out my concerns about latency)
from ebusd.
it is not related to the underlying hardware being used as it is an ebusd feature
from ebusd.
I understood that this was a feature of ebusd but I didn't understand how it could work if my ebusd was 3ms away from the ebus adapter.
If my concerns don't make sense to you then I may have misunderstood something important about how ebusd or ebus works.
from ebusd.
an addressed device is allowed to answer within 20ms iirc, so a latency below 10ms is fine. the tricky part is the arbitration of the sender that has to be done with an accuracy of around 100 us (microseconds indeed) which is impossible when done in user space from a host. that's why we developed the various adapters with logic on it (ESP32C3 or formerly PIC)
from ebusd.
Related Issues (20)
- Has 23.3 stopped my heat pump running properly? - 5kW Arotherm Plus HOT 41
- Docker-Compose EBUSD_READONLY leads to "cannot combine readonly with answer/generatesyn/initsend/scanconfig" HOT 3
- device_class not propagated as expected to MQTT HOT 2
- MQTT readable fields not published if write of one field exists HOT 4
- Datei fΓΌr Vaillant 18.v32.csv HOT 10
- unit of measurement 'None' in device class ('temperature') HOT 1
- Using --mqttchanges occasionally misses changes. HOT 13
- Wrong default name template in entites MQTT autodiscovery in HA HOT 1
- Vaillant VMS SolPumpPower reported in kW instead of % in Home Assistant (MQTT) HOT 1
- Since update to Build: 20240317 : Lots of Warnings : host: errors: protocol HOT 2
- Conditional message ignored if slave-address unfilled HOT 3
- [bus error] send to fe: ERR: arbitration lost HOT 1
- Condition '>0' does not work
- Feature request: Accept multiple identical configuration lines that differs only for the master address HOT 1
- Connect to two network adapters using Home Assistant OS and addon
- Connect to two network adapters using Home Assistant OS and addon HOT 3
- eBUS Adapter v5, Firmware Version 2024-03-30 Kommunikationsprobleme HOT 3
- HomeAssistant integration - ebusd - measurement 'None' which is not a valid unit for the device class ('temperature') HOT 3
- All communication stopped HOT 3
- Guidance on debug level messages HOT 2
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 ebusd.