No. Thereās no pushing as far as I know. That is what I also hoped for. Being able to just send a command to say āsend me an event on every keypressā and to then receive a message for every keypress. If you can figure it out thatād be great. Iād love to implement the protocol then
Especially because the bus protocol dobiss uses internally is an eventbased mechanism. What they expose to the outside world is something very different it seems.
It used to work nicely, but for some reason it behaves unreliable in recent Home Assistant (hassio) versions.
Maybe the code is useful for someone. If there is a lot of interest I will work on it some more when I find some free time. But because polling too fast can crash the Dobiss controller I am more interested in the direct CAN solution being worked on here: Dobiss2mqtt
Apparently the repository was private. I changed it to public. Please note that this was more of a backup repository for my config files (which I never used), so donāt expect nice documentation or anything like that.
I just thought I was the only fool wanting to integrate Dobiss into HA
Some things I never got around implementing:
smarter polling mechanism so we can poll a module once instead of every time one of its outputs are polled
Automatic discovery of the Dobiss installation. I have some working C++ code available for that if anyone is interested (I started a Qt C++ application before I even heard of Home Assistant, more than five years ago)
Indeed, I used five seconds as well without issues.
Problem is that if we want to actually use Dobiss switches to control stuff, it has to be less than a second. And that makes the Dobiss system unstable.
Thatās why I stopped trying because I didnāt find the time to optimise the polling system (smarter management of which modules needs to be polled, queueing the requests and then actual polling in a separate thread).
But the CAN method sounds like the perfect way to do it. I donāt have a lot of experience with electronics hardware, but I am an experienced (C++) developer. So after ordering all hardware I found in this thread, I will order the canable.io device as well. That together with the info in this thread should get me started.
I am more than willing to help with coding. I donāt have a lot of free time at the moment though: I need to finish my attic so my almost-one-year son can have his own room
If you have a look at the code: use the develop branch instead of master. The develop branch contains the code to create this into a proper integration. It doesnāt work correctly on my setup, but I am going to have a look at it tonight.
What i was thinking about was using an esp and emulating the nxt code
That way we can use the same api as dosiss.
so that way the āofficialā add-on can be used.
options are c++ or micropython
espās can be programmed like an arduino
Mijn systeem is ook een ambiance denk ik
Enkel de master module is al eens veranderd naar een Max. Om zo de webmodule te kunnen aansluiten (waarbij Dobiss ook gewoon via een usb to can werkt)
Ik heb wel nog een alert module (maar de sensoren zijn al lang stuk)