Trying to add D2-50-00 via EEP and mapping #98
-
Hi, need some help debugging my attempts to add some support for D2-50-00. Currently getting following traceback from the eep.py:
Now i want to change the eep.py to add some logging and see what is really happening, but all attempts to rewrite the python files and restart the container erased all the changes inside the container. This is the packet causing the error: This is the EEP.xml change:
This is the mapping.yaml change:
How can i debug this further? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Hi @billeranton, I am working on it so good that you are available for testing 👍 I suspect your xml for D2-50-00 is incomplete and there are may be some errors. Also, the mapping is incorrect as the command shortcut used in D2-50-00 is 0xD2:
0x50:
0x00:
device_config:
command: "MT"
channel: "MT"
log_learn: ""
direction: ""
answer: ""
entities:
- component: "sensor"
name: "temperature_outdoor"
config:
state_topic: "MT2"
value_template: "{{ value_json.OUTT }}"
device_class: "temperature"
unit_of_measurement: "°C"
- component: "sensor"
name: "temperature_indoor"
config:
state_topic: "MT2"
value_template: "{{ value_json.INT }}"
device_class: "temperature"
unit_of_measurement: "°C"
If you still want to change eep.py, please have a look at this page in the wiki. |
Beta Was this translation helpful? Give feedback.
-
Hi, @mak-gitdev
Is it now possible that this second radio packet should be matching the 0x3 "Ventilation extended status" in the EEP.xml? |
Beta Was this translation helpful? Give feedback.
-
Hi @billeranton, Nice !
As I don't know how these devices work, could you please give more details about what you call channel 1 and channel 2 ?
Does this happen every time you send a command to one of the devices ? |
Beta Was this translation helpful? Give feedback.
-
Hi, marked it as answered, since the basic support for the profile works now. Regarding this issue, where both devices answer to a command i have attached log files. But no solution currently. In this scenario, there is currently one one device mapped in the devices file (to rule out any hassio mapping interfering):
Then added the second device (via learn button in ha and the 'rc' menu in the device) (11:55:28,404). Then changed the operating mode to 'level 4' -> 'DOMC: 4' (11:56:26,096), and finally received the answer from the second device (11:56:26,847) which unfortunately also was changed to 'level 4'. Now, out of obvious options, still, thank you for your great support! |
Beta Was this translation helpful? Give feedback.
@billeranton,
No. If you look carefully at the log, you will see that a second packet is received with type 3: