The Graveyard - Products No Longer Supported > DSP-W215
DSP-W215 - read values via HNAP protocol
pzelenka:
Hi,
since I want to directly receive measured values from the smart plug I found this:
On the address http://<ip> you can login using PIN code. Then you are provided with basic device info.
On the address http://<ip>/HNAP1 there is a list of actions that you query the device.
After some days of playing with the HNAP I finally managed to retrieve measured values from the plug!
If anyone is intrested in I can provide more detailed info.
Pavel
ark0n3:
I'm interested! I would like to connect my nas (synology) to the smartplug in order to plot its values and keep yearly statistics.
thanks
pzelenka:
Coincidentally I applied the same approach. You can download the source code (JavaScript + Node.js) here: https://github.com/bikerp/dsp-w215-hnap
From Synology packages install Node.js
copy the app to desired folder
connect to Synology using Putty or similar app
In order to run the application as a background process I use NodeJS module "forever"
Cheers
ark0n3:
--- Quote from: pzelenka on January 04, 2016, 08:41:00 AM ---Coincidentally I applied the same approach. You can download the source code (JavaScript + Node.js) here: https://github.com/bikerp/dsp-w215-hnap
From Synology packages install Node.js
copy the app to desired folder
connect to Synology using Putty or similar app
In order to run the application as a background process I use NodeJS module "forever"
Cheers
--- End quote ---
thanks a lot, I'll try it asap!
tombevers:
Hi,
I'm also interested to read values from the plug,
and even better: control the plug with http commands.
Thanks in advance for tips and advise.
Navigation
[0] Message Index
[#] Next page
Go to full version