Replies: 5 comments 5 replies
-
Hi Lukas, I haven't had a lot of time lately to continue working on this. The interface for this library to be used e.g. in a HEMS is far yet and we are open to suggestions. I am working on a generic HEMS implementation as an example to explore this. I need to wrap some things up to commit a bunch of changes I only have locally. The repo for that is https://github.com/DerAndereAndi/eebus-go-cem Could you elaborate on what exactly you want to subscribe to, or what it is that you need? Maybe describe the use-case/scenario? Thanks, P.S.: There is not really such a thing as a client or server in EEBUS |
Beta Was this translation helpful? Give feedback.
-
Hey, My use case is as follows:
I want to subscribe to the measurement values, rather than polling them every x Seconds. I am also looking into the Binding mechanisms, as this is required for the HVAC Overrun Control About the Client/Server: True, of course. I was referring to the Roles that one side of a communication holds for a specific feature. |
Beta Was this translation helpful? Give feedback.
-
Thanks Lukas, I saw the PR. Awesome! Working with the data, e.g. measurements, shouldn't be done in this library as that is a use case implementation. Use Cases differ from the HEMS perspective and the actual device, I'd like to separate this from this "core". I will have the same task in the HEMS when implementing the measurements use case for e-mobility. As I am not there yet, I haven't decided on how this could/should work. I am very open for suggestions on this. Binding usually means that the device should check if the HEMS registered a binding and only allow writing of that is done (as far as I remember it). So that is "basically" a management and control feature, and an interface needs to exist for doing that. Maybe it makes sense to be able to define in the stack of a binding has to exist for writing and implement the check for that in the stack instead of requiring the use-case implementation to do that. But yes, adding writing (sending) is needed :) Regarding the Use-Case:
|
Beta Was this translation helpful? Give feedback.
-
@lukx For getting updated data, please check Implement the |
Beta Was this translation helpful? Give feedback.
-
Hey @DerAndereAndi , thank you for the elaboration! This repository still contians a lot of copy-pasted code that need to be deleted, obviously; but I am finding it convenient to read your code in the same window. at this early investigation stage, while getting acquainted with EEBUS, Vitoconnect (and go, for that matter :-/ ) The "Sending" Part is needed not so much for the binding (the Binding seems to behave completely like subscriptions, the specifications and interfaces look very alike), so it should similarly work on the special NodeManagement Feature. |
Beta Was this translation helpful? Give feedback.
-
Hey Andi,
thank you for the excellent work on making EEBUS available to the people :-)
I am succeeding already in using it for a HVAC Use case with my Heat Pump (and have already added a couple of features on my local branch to make this possible).
I am struggling to understand a part of the code base: How do I subscribe (as a client) to a remote data point?
I could only find the subscription implementation for when we are acting as a server... Could you point me to the right places, please?
Thanks again
Lukas
Beta Was this translation helpful? Give feedback.
All reactions