-
Notifications
You must be signed in to change notification settings - Fork 18
Finding your device ID
mak-gitdev edited this page Oct 26, 2023
·
1 revision
Your device ID should be indicated on your device.
But no panic if you can't find it on your device, you can use HA_enoceanmqtt to find it.
- Open the log of HA_enoceanmqtt
- Make some action on your device, for example, press one button if it is a rocker, press the learn button of your device, etc.
- You will have a new input in the log file looking like (If you use the addon, press the refresh button):
2022-11-13 11:49:47,193 INFO: received: 01:23:45:67->FF:FF:FF:FF (-77 dBm): 0x01 ['0xf6', '0x30', '0x1', '0x23', '0x45', '0x67', '0x30'] ['0x0', '0xff', '0xff', '0xff', '0xff', '0x4d', '0x0'] OrderedDict() 2022-11-13 11:49:47,195 INFO: unknown sensor: 01:23:45:67
You can then use this address to add your device in the device file:
[my_new_device] address = 0x01234567 rorg = <your_device_rorg> func = <your_device_func> type = <your_device_type>
Voilà !