supla-espressif-esp + gate_module build
Good afternoon, I want to assemble esp-12 (8266) firmware for gate control (gate-module) I need inversion for sensor inputs (NO), tell me where I can change this in the source code, thanks in advance and sorry for the stupid questions. I understand this needs to be changed in this file: https://github.com/SUPLA/supla-espressi ... e_module.c, and after doing #. / Build.sh gate_module.
You can also inverse the logic in the cloud.
- Attachments
-
- inversed_logic.png (86.79 KiB) Viewed 10212 times
Thanks, compiled, sensors became NC! But as before, on the standard firmware, Sersoras do not react to the closure at all, but the relays work, maybe this is due to esp-12 and you need to fix something else in the firmware? Thank.
For me, this change works properly. Sensors react. When I close the circuit the icon changes, when I open the circuit the icon also changes.
Where do you check it?
In the Cloud there is a temporary delay when the channel changes state.
In the application on the phone the change is immediate.
If it works for NO, then it must work for NC.
This is the simplest change
Where do you check it?
In the Cloud there is a temporary delay when the channel changes state.
In the application on the phone the change is immediate.
If it works for NO, then it must work for NC.
This is the simplest change
Czekam na kolejne Supla Offline Party
Yes, everything works on other firmware, but for some reason this is not NO, not NC is not. I check the status on the smartphone as always. If this works for you on ESP-12, then I will look for a problem in myself. Thank you very much!
Do you have a pull-up resistor on this gpio?
Każde urządzenie elektryczne działa o wiele lepiej jeśli podłączysz je do prądu.