I have a WDMyCloudEX2 NAS drive, I would like to send data from an arduino uno + ESP8266MOD to a personal server on the NAS drive that I can then read on the Blynk app, is this even possible?
I have been reading on how to install a personal server but I can’t make sense of it eg. the instructions on GitHub:
Run the server on default ‘hardware port 8080’ and default ‘application port 9443’ (SSL port)
java -jar server-0.41.0.jar -dataFolder /path
I’m assuming this is what I type into the CMD prompt? but I’m not 100% sure, help would be greatly appreciated and I understand I’m kinda trying to run before I can walk by trying to add a personal server to a NAS drive!
Ok thanks, thought it would have been the case, but can’t hurt to ask! the RPi option looks interesting may give that a go at some point, I’ll try setting up a server on my pc first and get used to that
Ok so I tried following Sid’s E Classroom on installing a server got to the bit where you type in CMDprompt:
java -jar server-0.41.0 -dataFolder /Path and it said
Error: Unable to access jarfile server-041.0
Tried installing local server on both my mac and pc using the latest 0.41.0 and both failed in exactly the same way saying it could not read the jar file, is there a bug with the new version or am I doing something wrong?
My apologies, here’s all I’ve got:
Running windows 7 64 bit
java version “1.8.0_191”
Java™ SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot™ 64-Bit Server VM (build 25.191-b12, mixed mode)
Java SE Development Kit 8 Update 191 (64-bit)
Java™ SE Development kit 9.0.1 (64-bit)
I created a folder for the server in my documents downloaded the server file from Github labeled server-0.41.0.jar (17.3MB) and put it into the folder.
Java 8/10 (OpenJDK, Oracle) is required. It has been a while since I needed to install Local Server, and Oracle gets very persnickety about how you get their stuff, thus the link in the directions is not working… however the JDK is what you need. But version 10 seems MIA and I don’t know if their latest version 11 will work?? @Dmitriy
Umm… you mean the big link in my last post I ran a search and no word “Bob” anywhere in there
But yes, Once java is installed (I installed dk-8u192-windows-x64.exe) I created a Blynk folder off of my C:\ copied the latest Blynk server file to it and ran it in a Command prompt window like such… You do have to account for the actual file name you downloaded and the actual path for your data folder, but that is generally a given assumption…
And of course if you close the window, the server will stop running (there are ways… read the Enabling server auto restart on Windows part of that document). But even if you leave it open, you still need to setup other advanced settings for certifications and email… That is where all the rest of the reading of that document comes into play.
ok so all was working fine and when setting up the library this time on my mac running 10.13.6 I put in terminal java -jar-0.41.0-java8.jar -dataFolder data_server & and it all worked but I restarted my laptop to check the server started again and it didn’t, I tried the crontab -e but it comes up with “/tmp/crontab.UDXoHrnUtK” 0L, 0C