Diy smart vent

I’m trying to Zone a condo that I rent from my folks. They refuse to do anything in the way of fixing the heating there. I’m trying to do this on a poor man’s budget. Downstairs stays cold in summer time in the winter the upstairs stays blazingly hot. So I thought by zoning the system would fix it. That’s what I saw on This Old House. But don’t have the money to Shell out for smart vents.

How would I add z-wave or zig-bee to a Vent-Miser.
I have Iris door sensors for temp control.
So smartthings control the temperature in a room.

let’s say my Nest thermostat is set at 72 and master bedroom is 78 then cool down master bedroom and exp.

How do I add dimmer switch to my code that I got from GitHub - vietquocnguyen/NodeMCU-ESP8266-Servo-Smart-Blinds: DIY Smart Blinds using NodeMCU V3/ESP8266 and an MG995 Servo 4

A dimmer switch uses a triac to slice up 240v (or 110v) AC. An arduino works with 5v logic. I mean - sure, there might be stuff that will do what you want, but "how do I add a dimmer switch to my code" is possibly not the question you need to be asking.

I'm using smartthings. it uses the dimmer switch functionality in SmartThings.