Dobiss lights integration

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 :slight_smile:

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.

Ok, thx for feedback, maybe i can ask the guy where I received the dobiss info from, to help me started :wink:

Started my own thread about dobiss2mqtt here: Dobiss2mqtt to avoid spamming this thread. Sorry for spamming here @rmeekers :slight_smile:

just wanted to share the work I did on integrating dobiss NXT in home assistant: Dobiss NXT support

Verry Nice!!

@kester, here you go
should be nice if this could be a custom component, instead of template stuff
i am not a coder at all, just a good googler :slight_smile:

Hi,

I have a Dobiss Ambience PRO system, and started writing a custom component years ago. I uploaded what I had here: https://github.com/OpenJeDi/HomeAssistantFiles/tree/master/custom_components/dobiss

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

Kind regards,
Jeroen

1 Like

Oh, nice!! Why didnā€™t you tell before about that custom :slight_smile:
Seems link is deadā€¦

I am using canbus too, itā€™s instant!!
Allthough, looking for someone to help ,with coding on a canable.io device instead if the esp moduleā€¦

I have polling on 5 sec with the code, never had issues with it

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 :slight_smile:

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 :slight_smile:

Perfect , order it on Ali, much cheaper

Too late :slight_smile:

Perfect, faster delivery then :slight_smile:

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

als je er de evolution code inzet wil ik wel eens testen? :slight_smile: de hex code die ik moet sturen is iets anders
PS: ondersteun je ook dimmers?

Ik heb zelf een Ambiance PRO, en heb het ook niet echt voorzien om verschillende systemen te ondersteunen. Ik zal eens zien hoeveel werk dat is.

Vind ik ergens de verschillen? Ik heb indertijd van Dobiss alleen de technische documentatie van de Ambiance PRO gekregen.

nee, veel verschilt dat niet, dit is bv de code om een lamp aan te zetten

message = binascii.a2b_hex ("ED43310000000000000000000000AFAF" + sys.argv[1].zfill(2) + sys.argv[2].zfill(2) + sys.argv[3].zfill(2))

arg1 = module, bv 41 , dan arg2 is de id van de relay, 00 tot 11 en dan arg3 is 00 of 01 voor aan / uit ā€¦

dit is de string om status op te vragen , polling

message = binascii.a2b_hex("ED63300000000000000000000000AFAF4205420a410041014102410341044105410B42024304430A430B4408440943074306440A4500450145024503410A4106")

dit stuk is vast : ED63300000000000000000000000AFAF
en dan moet ik gewoo aanvullen met module + relays, bv module 42 , relays 05 ā€¦ enz ā€¦

hierbij documentatie https://www.dropbox.com/s/e8iun70h4rbjojn/SX%20Evolution%20-%20IP%20acties.pdf?dl=0

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)