Hello Villersfr,
I can not help you, because I don’t have DPBU switches. I only have DpbtLCD en DPBC.
Sorry for that.
Hi there !
I use the Domintell addon via the python-domintell 0.0.17 library. I would like to make changes to this library, but I can’t get it to use the one I installed in the “deps” directory. HA still uses the same… can someone help me? Thanks in advance and have a nice day everyon
I would also be interessted by new master DGQG04.
Is this foreseen ?
I’m pretty new in HA but if I can be of any help
Already thx to shamanenas
The new DGQG04 masters use the TCP protocol, instead of the UDP protocol.
The DETH02 module is no longer necessary. The DGQG04 connects directly to the network.
The DETH02 module has been replaced by the optional DNET02 module.
I have managed to connect with a DGQG04 through a DNET02, it has a port that emulates a DETH02, but it does not work 100% correctly.
It sends orders to activate the DBIR01 correctly, but it does not receive status return, and it is impossible to send the off order.
Cool, some one trying
This is the info on domintell site :
WebSockets are used to communicate (TCP protocol).
Connections are encrypted (TLSv 1.2) andprotected by a password.
documents :
They speek about linux tool : wscat
wscat -n -c wss://:17481
I’ve search for a windows websocket app and found this that looks good https://firecamp.io/download
(I’m not making any publicity… just trying to find info)
I manage to open a session with this wss://‘ip’:17481
I got this answer : INFO:Waiting for LOGINPSW:NONCE=21277359961674934887:INFO
in GoldenGate > support > LOGINPSW Generator I type a user / pswd and NONCE
REQUESTSALT@ha (ha is my user name ^^)
Genrate login > copy to clipboard …
LOGINPSW@ha:97c05…04a26b25636808b75bfbebf4a198bc2a52d6b0855360c3938ab4fb270e74216fdf82551bc31c03ace69252c7263c8f965801874facc631fd843
INFO:Session opened:INFO
then APPINFO doesn’t seem to get a result … nor HELLO
To keep session opened, you have to send one command (or LightProtocol string) to LightProtocol server.
The best way is to use HELLO command and sent it each 50 seconds.
LOGOUT
Voila … how far I could get
UDP command and websocket doesn’t seem so different even I could get a answer.
Perhaps that next guy will get futher
Update …
By connecting like described above… and doing a
‘Ping’
‘APPINFO’
i receive a list of what seem to be domintell input and output
type of module - adress - name - location
My understanding is that new master DGQG04 uses wss (crypted websocket) for connection but still domintell light protocol for commands.
I’ve started learning python and I’ve succeed to get my connection working
It’s surely not clean code but might help
websocket using ssl and create the hash as Domintell does
I’ve put th py file on my google drive (I hope that’s ok with HA rules)
shamanenas
is there anyway to integrate this with python-domintell · PyPI ?
Thank you Lebeck
I share the latest version of Light Protocol available:
Ligthprotocol v12-20230102
Yes, the new master DGQG04 and DGQG02 uses wss (crypted websocket).
Two channels for the masters and eight for the DNET02 are disponibles.
I don’t know python, but I’ll try to help. I’ll learn a little bit. You will download your code. I can also help by testing.
If shamanenas could contribute that would also be great !!
Hi,
since the upgrade to 2023.6.2 my domintell entities are not available anymore.
I upgraded the custom_components to the last files of the github reposetory from 2 weeks ago.
I don’t get errors in my config and in the log so far i can see, ony that the entities are not available
UPDATE: if i go back to 2023.5.4 (with the old files) it works again
Hello, the same happened to me
The same for me
Hi, I have downloaded new version of Domintell platform and works wit 2023.6.2 version of HA.
But the file cover.py is not updated and don’t work. I have edited file by self end it works. I have problem with climate entity. Entity show temperature but I can’t set HVAC modes and PRESET modes. Can someone help me wit this? THX
Hi,
Can you explain the change you made to cover.py to make it work ?
Thank you in advance
You muss edit cover.py file…
line 71 delete
line 72 change to: async def async_added_to_hass(self):
line 79 change to: await self.hass.async_add_job(_init_domintell)
Thanks for the help, it has resolved the error message for me, but lights and blinds are still not working.
Do you know if there is anything else to check?
Hi, did you get it working with the new master DGQG04
I tried looking into support for DGQG04. It seems doable if the commands are the same (they should), but i don’t have experience with sockets and networking in python. I could try looking into it later, but don’t have high hopes.
I am just assuming that there won’t be any deeper change required, only connection wrapper. Also version 0.17 was released, but we have only v0.16 on github.
What do you think @shamanenas? Changing sockets to use tcp and modifying the login procedure seems to be everything needed? (connections/init.py)
Okay I managed to get it working and it seems like it didn’t crash yet. But it is not using user and password and uses “first generation of login mechanism” as the domintell document says. Also the use of tcp is hardcoded right now.
Maybe I will try to fork the repo and create own version that would work, but I don’t know if I would be able to maintain it.
Also I am interested in using new LCD screens as temperature sensors (seems like support for old screens is already there) and blinds too. But I am not experienced in HASS development so we’ll see.
I would be able to test it out if you want
I need to get the code together, refactor it and make it usable, because now it’s just hold together by tape.
I’ll report when I create github repo with easy instructions (because even I am not sure how I made it work). Also I am not sure if I’ll be able to make user login. For now it just logs in anonymously and according to documentation it should not work on every system
Sorry if I re-activate this thread but I’m in search of idea on the current topic.
Like some of us, I’d like to integrate with the DGQG04.
I eventually saw the fork of ZonderPit from the original zilvinasbin’s HAS_DOMINTELL custom component https://github.com/ZonderPit/has_domintell
Unfortunately (for me) it depends on (forked as well) library python-domintell-ws
but that one is not relased yet on Pypi.
I just tried to clone the repository and issued a “pip install” command.
I know that, because HA runs in a docker, it will be eventually be cleaned when HA restart.
Anyway, I wanted to give it a try but has not succeeded at all.
I still get the message “missing dependency” in the log.
I’m not (yet) an expert in Python and even less in HA but anyone has an idea on how to force the installation of a python’s library ?