Can I create an Ionic App to control Raspberry Pi or Arduino over TCP/IP?

Hi guys,

I work with Rasbperry Pi and Arduino among other devices and seek for a framework to develop an Hybrid App to control this devices over TCP/IP on a local network.
I started learning Ionic, it seems very powerfull and nice to work with, but I wasn’t able to find a tutorial of how to control a device over TCP/IP.

I found this repo https://github.com/nutella/ionic-cordova-chrome-tcp-example, which I cloned to my machine, added the chrome.socket.tcp plugin, and run “npm install” inside the cloned folder, but it doesn’t recognize it as an Ionic project.

Can anybody help me to run this project, or by telling me if I am able to achieve my goals with Ionic?

Thanks