-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DIM-02 only one entity per device detected #2
Comments
Yes, you can by editing the plejd.js file, changing: to be: But I doubt that it will give you anything useful since I don't log that much around that, I basically just take the output from the Plejd API at the moment and returns a new device per device in the response. I need to rework the api.js a bit to include two separate devices when it detects a DIM-02. Not sure yet how to select which channel to dim on the DIM-02 though, need to investigate a bit. I will however add the ability to debug log the API output if changing that line in api.js. |
Ok, so it seems that the add-on chooses randomly what entity to add. After changing the plejd.js file and rebuilding the add-on one of the devices has now added the other light channel.
Anything I can try to give you the information needed to make both channels work? |
Just realized that the names of the entities is random, however it seems as it's only channel 1 that is controlled. |
Could you maybe download the newest api.js, change the |
It seems to be working now with your latest updates. |
Perfect! I’ll close this as fixed. |
Added support for WRT-10 as a Device Automation
Hi!
I have a few DIM-02 devices and I only get one entity per device.
Is there a way for me to activate debug logging and share what is happening?
I'm running Hass.IO on a RPI 4 with Hass.IO Mosquitto broker add-on.
This is my hassio-plejd log:
The text was updated successfully, but these errors were encountered: