Arduino MKR1000 with Node red

Hi guys
Im Michal and Im from Slovakia so sorry if I make some mistakes.
I would like to ask you for help. Im working on school project, something like “project of your own choice” and with my teacher we got an idea about robot car controlled by node red. So I have an arduino mkr1000, which have a wifi chip, two dc motors and one lm25 temperature sensor. This all together working fine. Then I made some tuts with Node red and MQTT protocol. In the end I found some tutorials of arduino communication with node red a thats where I was stuck. I am using mosca mqtt broker on localhost and I could not connect to them(probably configuration mistake…)
So my questions are:
Is this whole thing possible? Real time communicatio, using localhost node red mosca broker, and depends on iputs car will move or send sensors data.
If yes could you please provide me some tutorial or some example? I think that I have only configuration problem with broker cause if Im testing some online brokers like test mosquitto its working fine, but with localhost it is not.
Thank you for all the answers :slight_smile: :confused: