Project “Villa”, home automation from Tuya devices

Hello readers,

this time I want to talk with you about a project I’m following for a friend of mine. He have a villa which he recently restructured and he basically started with the electricians to implement in his house this new kind of controllers for lights and curtains.

The system is easy to configure but the problem he had was the fact that the curtain controller was not compatible with the curtains motors he installed.
Basically the controllers was meant to work with a 3 wires motors but the motors are meant to be controlled with RF remote.

What are we using?

The controller is branded Jinvoo and inside is controlled by an ENC8266 on which runs a firmware owned from Tuya.
This controller is installed in a wall-mount and is meant to control a motor through 3 wires. Through this cables he is able to tell the motor in which direction he have to spin and the controller can read the current absorption to learn and check in which position is the roll-up curtain.

Keep on reading!