https://github.com/johnwalicki/node-red-contrib-smartplug-example
This Node-RED example uses an EdiMax SmartPlug to turn on/off a space heater in my home office
https://github.com/johnwalicki/node-red-contrib-smartplug-example
Last synced: 3 months ago
JSON representation
This Node-RED example uses an EdiMax SmartPlug to turn on/off a space heater in my home office
- Host: GitHub
- URL: https://github.com/johnwalicki/node-red-contrib-smartplug-example
- Owner: johnwalicki
- License: apache-2.0
- Created: 2018-02-05T18:17:37.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-03-05T15:01:46.000Z (about 5 years ago)
- Last Synced: 2024-12-25T20:11:46.823Z (4 months ago)
- Homepage:
- Size: 743 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## EdiMax SmartPlug / TI SensorTag 3200 WiFi Example
---
This example uses a
[WiFi connected TI SensorTag 3200](https://developer.ibm.com/recipes/tutorials/texas-instruments-cc3200-simplelink-wifi-sensortag/)
to control an
[EdiMax SmartPlug](http://www.edimax.com/edimax/merchandise/merchandise_detail/data/edimax/global/home_automation_smart_plug/sp-2101w/)
that turns on and off a space heater in my home office. I only want the heater to be on when
the lights are on and the temperature is low. If I'm not working and the lights are off,
I don't need to heat the basement room that I use as my home office.I created some Node-RED [flows](flow.json) that query the temperature and luminosity from the TI SensorTag once a minute.
The flow uses the [node-red-contrib-smartplug nodes](https://flows.nodered.org/node/node-red-contrib-smartplug) to turn on/off the SmartPlug.I also created a simple Node-RED Dashboard to display power consumption and adjust the "thermostat".
I should mention that I run this Node-RED flow on a Raspberry Pi that controls a variety of home automation tasks.
Here are the two Node-RED flows:

