Thank you for that answer, I'm sending the project right now.
Have a good day,
I followed this tutorial and still have the same problem ...
Here is my channel setting:
And here is my variable statuts:
(I'm using every DI var in the code since I don't know which one is the good one).
Once again, the red LED of DI turns ON but the software doesn't get the info.
I'm new to this forum, so let me introduce myself. I'm working on HVAC installation and would like to use unipi with mervis to control HVAC terminal units (and other stuff).
I couldn't find any topic about my problem so I'm creating this topic, feel free to let me know if there is already a topic about it.
So here is my problem, I have set my Unipi 1.1 lite board with mervis and am able to control relays perfectly. But I have a problem with my DIx... The Unipi board can detect the 12V signal (internal power supply) since the red LED turns on when I send the 12V signal to the DIx.
But when I want to read that DI with mervis, it doesn't detect anything.
So I'm wondering how come the hardware detect the signal but not the software.
I've been using this tutorial to set my DIx on mervis:
You can find my electronic assembly in picture
Please let me know if you know any documentation or tutorial to properly set my DIx on mervis.
Thank you for reading me.