App works as a home automation dashboard, enabling the control of IoT devices based on esp8266 hardware. The firmware runing on these IoT devices can be found here esp8266-home-automation.
Reads data from status cake API and displays a graphic of them. Pressing the power button will trigger a power switch on a computer, by acting as an MQTT broker that emits wake up to a given topic, 'wol/push'.
Pressing the send button will trigger lights to lighten up matcvhing the chosen color, by acting as an MQTT broker that emits light events to a given topic, 'lights/push'.
- npm
- ionic-cli
- cocoapods
First, install the prerequisites:
$ npm install -g ionic
$ brew install cocoapods
$ npx cap sync
Now, there are several ways to run a ionic app:
$ ionic serve
To deploy the app for android/ios we run the following:
$ ionic capacitor run ios --prod
Refer to the ionic documentation ionic.
Written by @snackk