Hi,
I just got this smart plug with energy monitoring capabilities. I was planning to use the instructions below https://openenergymonitor.org/emon/node/5739
to integrate it but I just realized I dont know where to start.
I installed on the weekend emoncms on my windows 10 PC. I completed the installation and it seems to be working
I also have the smart plug working on the the same network
I would appreciate if anybody can assist with some guidance. I dont know where to enter the code.
Gabriel - I seem to remember looking at this smart plug and just finding a few ways to communicate with it. You may need to search for D-Link DSP-W215 Smart Plug hacks.
Jon,
Thanks. The only reason I bought this unit was because I thought I could hook it up to emoncms or other platforms. If Edimax is the best/most documented smart plug I certainly consider swapping my smartplug for that one.
The dlink was a headache to set up. I can see why the poor reviews.
Is edimax the most open option then? Is it well documented how to intergate it ? (for a non programmer)
Thanks again. This is very helpful. That clears the adapter recommendation.
In terms of putting it all together, I have to confess I am still a little overwhelm.
This is the background
What I want to do is to monitor real time and also a plotted history of power usage (Watts used sampled every 2-3 minutes). I am not looking for how much KWH was used in a whole day (although that is a secondary use case).
I was disappointed to find that the current smart plugs adapters only have a smartphone application that is very limited. At most, it tells you KWH for the day.
I did some research online thinking that some smart folks would have found the way to connect to the smart plugs with a well supported monitoring app and came across openenergymonitor (and also openhab)
Some Question:
Would I be able to accomplish what I want with emoncms + edimax?
This site will give you more info about Node-Red. I do not know if it works with Windows 10. The below is from the node-red website:
Browser-based flow editing
Node-RED provides a browser-based flow editor that makes it easy to wire together flows using the wide range nodes in the palette. Flows can be then deployed to the runtime in a single-click.
JavaScript functions can be created within the editor using a rich text editor.
A built-in library allows you to save useful functions, templates or flows for re-use.
Jon,
What you show is a beautiful (my dream) setup. A few questions:
Is the data viewer part of emoncms? or is a separate application
How long would you think it would take to set something like this for a newbie? I assume steps are
a. install emoncms (done)
b. install node-red
c. install code in node-red to read smart plug and output to emoncms?
d. configure emoncms to read node red output
e. configure visualization app?
If above is time consuming, would there be a quick script that would read power and just output to a txt file?
I cannot take credit for any of “the dream”. Many other OEM members, much smarter then me, have created the emoncms system.
Is the data viewer part of emoncms? or is a separate application It is part of emoncms. no other install needed.
How long would you think it would take to set something like this for a newbie? I assume steps are:
a. install emoncms (done) sounds like no time!
b. install node-red few hours to read, understand, and install. The Node-RED website has a install page that will help.
c. install code in node-red to read smart plug and output to emoncms? few hours to understand, update to your needs and test. Install is simple once you understand
d. configure emoncms to read node red output when configured correctly in Node-RED (in your flow), it will appear in the Inputs View web page without any config changes.
e. configure visualization app? Little to no config needed - just click on buttons above & below the chart (image 2 posts up). When you click the then the visualization above appears. Automagically!
3 - If above is time consuming, would there be a quick script that would read power and just output to a txt file? The above has a big learning curve. So if you only plan to monitor one item with one EdiMax Smart Plug then it might be easier to locate a quick script to write to a text file. I am not aware of this type of script but I would guess someone else has created one.
I ended up finding python code to connect to DSP W215. In the end I returned it. First it has a terrible setup process and a terrible app. Also, I have received an old hw rev A1 (there is a newer B1 that has a different sw branch). I had stability issues (sadly I received an open box unit even though I didnt buy an open box). Finally, it seem that the only folks that have been able to find a way to connect to this particulat model havent done any updates for two years so ongoing support is an issue.
I will bet getting the edimax but probably wait for a sale. During christmas break, I will try your setup.Nice way to impress my friends
Thanks for your feedback Jon,
The work this community has put together is amazing.