Open Zatowa opened 2 years ago
Ok, seems like a new version of websockets 10 poped out with API changes... I've locked dependencies to 9.1 to try fixing, could you try rebuild after refreshing add-on store please ?
Thank you for your quick reply.
I have rebuild after refreshing add-on and i have this error :
21-11-08 22:52:53 INFO (SyncWorker_5) [supervisor.docker.addon] Starting build for 70812686/aarch64-addon-tydom2mqtt_hassio:release_1.2.1
21-11-08 22:53:00 ERROR (SyncWorker_5) [supervisor.docker.addon] Can't build 70812686/aarch64-addon-tydom2mqtt_hassio:release_1.2.1: The command '/bin/ash -o pipefail -c pip3 install --requirement /tmp/requirements.txt' returned a non-zero code: 1
21-11-08 22:53:00 ERROR (SyncWorker_5) [supervisor.docker.addon] Build log:
Step 1/17 : ARG BUILD_FROM=hassioaddons/base:latest
Step 2/17 : FROM ${BUILD_FROM}
---> f672d4f04e01
Step 3/17 : ENV LANG C.UTF-8
---> Using cache
---> f6b7fb158ecb
Step 4/17 : COPY . /
---> Using cache
---> dda0a1fab23e
Step 5/17 : COPY requirements.txt /tmp/
---> Using cache
---> 1e2d4c3d0c06
Step 6/17 : RUN apk add --no-cache python3
---> Using cache
---> 702c331d6d26
Step 7/17 : RUN pip3 install --requirement /tmp/requirements.txt
---> Running in dcb2f312e741
ERROR: Invalid requirement: 'websockets=9.1' (from line 1 of /tmp/requirements.txt)
Hint: = is not a valid operator. Did you mean == ?
WARNING: You are using pip version 21.1.1; however, version 21.3.1 is available.
You should consider upgrading via the '/usr/bin/python3.8 -m pip install --upgrade pip' command.
Removing intermediate container dcb2f312e741
The command "/usr/bin/python3.8 -m pip install --upgrade pip" doesn't work because I don't have a pythonX.X folder ...
Ok should be fixed
Mmh tried with lastest version of websockets, no issues... That's strange.
Could you try to connect remotely with the default mediation.tydom.com as Tydom IP please ?
I've made changes and new release, i still don't understand... you didn't got a password before ? It mandadory even on local
But your password is non blank ? Try with the remote address please
I've deleted your last answer, you need to remove the MAC address before posting ;)
I've just reinstalled from scratch, no issues with a complex passwd... but it guess there's something with that new Delta Dore way.. maybe doing something with the button on the box to initiate...?
Is that a new box ? New installation ?
Yes I bought it a few days ago
I started all over again:
When I access https://192.168.1.xx/mediation/client?Mac=001A25xxxxxx&appli=1 :
We can chat on Discord if you have time (I'm French) --> Zatow#1817
This is exactly my configuration, I cannot recover the TYDOM password
https://www.youtube.com/watch?v=Vg0zOK7FeZY (FR) https://www.youtube.com/watch?v=3aAbQzCyqnE (EN)
Ok, this is what you could try : download a previous version of the tydom app (before 4.1 I guess), and retry. Otherwise we need to wireshark the entire onboarding, which means a probable full refactor...
I was finally able to reset the password from an Android smartphone with a version older than 4.x !
On the other hand, i notice that my heating does not go up in mqtt. Tydom2MQTT logs :
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Incoming message type : data detected
1637617832_1637617832 not in dic device_name
1637617832_1637617832 not in dic device_type
Incoming data parsed successfully !
>>>>>>>>>> Sending to tydom client..... POST /refresh/all
<<<<<<<<<< Receiving from tydom_client...
>>>>>>>>>> Sending to tydom client..... POST /refresh/all
<<<<<<<<<< Receiving from tydom_client...
>>>>>>>>>> Sending to tydom client..... POST /refresh/all
<<<<<<<<<< Receiving from tydom_client...
<<<<<<<<<< Receiving from tydom_client...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Incoming message type : data detected
Cannot parse response !
Error : 'data'
[{'id': 1637617832, 'endpoints': [{'id': 1637617832, 'error': 0, 'access': {'protocol': 'X3D', 'profile': 'rt2012', 'type': 'x3d_pp', 'addr': {'MSB': '0x00', 'ISB': '0x94', 'LSB': '0x68', 'index': '0xC1'}, 'subAddr': 2}}, {'id': 1637617833, 'error': 0, 'access': {'protocol': 'X3D', 'profile': 'temperature', 'type': 'x3d_pp', 'addr': {'MSB': '0x00', 'ISB': '0x94', 'LSB': '0x68', 'index': '0xC1'}, 'subAddr': 254}}, {'id': 1637617834, 'error': 0, 'access': {'protocol': 'X3D', 'profile': 'rt2012_meas', 'type': 'x3d_pp', 'addr': {'MSB': '0x00', 'ISB': '0x94', 'LSB': '0x68', 'index': '0xC1'}, 'subAddr': 255}}]}]
Incoming data parsed successfully !
POST message processed !
<<<<<<<<<< Receiving from tydom_client...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
receiveMessage error
RAW :
b'PUT /devices/install HTTP/1.1\r\nServer: Tydom-001A25xxxxxx\r\ncontent-type: application/json\r\nTransfer-Encoding: chunked\r\n\r\n2C\r\n{"protocol":"X3D","installStatus":"running"}\r\n0\r\n\r\n'
Incoming payload :
None
Error :
PUT /devices/install HTTP/1.1
Exiting to ensure systemd restart....
Starting /opt/tydom2mqtt/main.py
Hello !
I have the same issue as ticket #33
in the system logs :
Addon version : release_1.2.1 Mosquito Broker : 6.0.1 HA Core : core-2021.11.1 HA Supervisor : supervisor-2021.10.8 HA OS : Home Assistant OS 5.10.17-v8
Thank you for your advices !