Jump to content

Recommended tools for Modifying HAD


paulbates

Recommended Posts

Posted

Hi Benoit

 

I'm customizing HAD for my set up thanks to your help, and have been extremely old-school, using notepad as I've learned how to do it. I have used other editors in that past that are recommended in the forums like notepad++ and thinking of heading that direction

 

I had (sorry, couldn't help myself) a couple of questions :

- What tools do you use or recommend to modify HAD code?

- Is there an easier way to get modified files to their /USER/WEB/ home on the ISY than going through the Configuration / Networking / Webserver interface? Going through the Admin console is probably by design, but it gets tedious.

 

Thanks,

Paul

Posted

Hi Paul,

 

I would recommend Komodo Edit, it's a really nice editor.

http://komodoide.com/komodo-edit/

 

For your second questions, it is extremely tedious to constantly modify/update to ISY/test. The best approach for developement is to use a separate web server where you host HAD. Then, on that web server, you need to redirect calls to /rest/* to your ISY. This way, you can make changes to the files and immediately see the result

 

The easiest is to have an apache web server - that could be on your desktop, or perhaps a NAS. This is what I do, I run it from my QNAP.

 

This post explains it in more details:

http://forum.universal-devices.com/topic/14632-need-help-loading-dashboard/?p=123033

 

Here's the files you need:
isyproxy.zip

 

Look at the readme file, it gives more details as well.

 

Benoit.

Posted

Beniot,

 

I have a WD NAS running apache. It can double as a dev box for HAD. Maybe even run the pages from there,

 

Thanks for both suggestions.

 

Paul

Posted

If someone else chooses this path with the WD Mycloud, it will serve as a dev and/or prod apache box for HAD. The pages flip as fast as running off of the ISY. An additional bonus is that since the php logs you into the ISY, there is no authentication challenge when opening HAD which is nice for local LAN access.

 

However, firmware upgrades blow away HAD and files that are added to the web server's landing directory. I had a firmware upgrade notice that I held, and applied it after doing minimal testing after installing HAD.  Firmware upgrades need to be avoided, and/or the files saved to the user areas of the device.

Posted

I have a WD NAS running apache. It can double as a dev box for HAD. Maybe even run the pages from there,

 

FYI, I use it for production myself. I don't bother putting it on ISY, there is no real advantage.

 

Just make sure to take a copy elsewhere, once in a while.

 

Personnally, I run crashplan natively on the NAS, so backup is taken in real time to the cloud. Not sure if WD supports it, but if so, it's a great tool.

 

Benoit

Posted

I like that idea and have looked at crashplan, but have an ARM issue. Both my WD NAS and rpi use ARM processors. Great processors overall, with one exception. The cloud market does not provide compiled linux client software to support ARM. Cloud companies either consider ARM too lightweight for their requirements or not enough customers to warrant the build time.  

 

iDrive, Crashplan and also the cloud based logging providers I've reviewed offer great linux support but no native installs for ARM.  :? The learning curve and opportunities to break things are too great and the skills too low for me to go down the compiling path.

 

I like komodo and running HAD off of the NAS, that is working out great. It was worth spending time to getting a working dev environment before continuing in notepad.

 

Paul

Posted

I like that idea and have looked at crashplan, but have an ARM issue. Both my WD NAS and rpi use ARM processors. Great processors overall, with one exception. The cloud market does not provide compiled linux client software to support ARM. Cloud companies either consider ARM too lightweight for their requirements or not enough customers to warrant the build time.  

 

There is a crashplan version for ARM. My QNAP is actually ARM-based.

 

I'm not sure how easy it would be for WD, but a quick search leads me to think that you can do that as well with you WD:

http://community.wd.com/t5/WD-My-Cloud/GUIDE-Installing-CrashPlan-for-WD-My-Cloud-Cloud-backup/td-p/715488

 

The general idea is that you have a crashplan "server" running on your NAS, and the GUI running on your desktop. The general steps are to intall Crashplan (ARM) on your NAS. Then install Crashplan Windows version on your PC. Then you have to modify an entry in your INI file in Windows to point to Crashplan on NAS.

 

This works well. The only thing to take care of is the versions. The version of the server needs to match the version of the GUI.

 

Benoit.

Posted

Thanks Benoit, I'll take a look. Crashplan's support page had a statement at one point about not supporting their software on ARM systems and that's what I was referring to. It looks like you and others have it working on arm which would be great for me as well.

 

Paul

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...