SmartAxiom / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

OpenHAB Designer over REST API #191

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is a long disguised subject, but here it is summarized:

Today openHAB Designer has the ability to modify only local configuration files 
on the machine where openHAB Runtime is installed (or do remote changes via 
workarounds like file sharing or the Dropbox binding). Instead of this a new 
communication channel is suggested - HTTP REST API.

As you know we already have a great HTTP REST API using Atmosphere Framework. 
Today it is used only for user interfaces communication (HABDroid, GreenT UI, 
etc). Extending this API with dedicated functions like READ and WRITE to the 
file system would give us the necessary tool to do remote configuration. Next 
step is to implement the Designer to talk to this REST API.

Another idea is to populate openHAB Runtime logs to the REST API too. There 
should be a dedicated REST URI just for monitoring the logs. A "logs" window 
should be implemented on Designer.

The above techniques will give us the opportunity to install openHAB Runtime on 
a small ARM board without display and keyboard and be able to fully configure 
and monitor it remotely.

Original issue reported on code.google.com by mishoboss on 23 Jan 2013 at 12:44

GoogleCodeExporter commented 8 years ago
It's a good idea! And if you make it easy to use by non-professionals will be 
excellent. This will greatly contribute to the popularity of OPENHAB and will 
begin to be used by people like me who have no special knowledge in programming.

Original comment by Miroslav...@gmail.com on 25 Jan 2013 at 9:59

GoogleCodeExporter commented 8 years ago
It's nice to see one more person that shares my vision of nice and easy user 
experience... it's even nicer he is a Bulgarian too :)

Original comment by mishoboss on 25 Jan 2013 at 12:05

GoogleCodeExporter commented 8 years ago
By the way, the following topic could be of interest for someone who eventually 
decide to implement this issue: 
https://groups.google.com/forum/?fromgroups=#!searchin/openhab/openhab$20designe
r$20demo/openhab/eLZs0NisfkE/oc5PJPhkTwYJ

It's an ExtJS based Designer demo that I made several months ago, just to show 
my vision of a future openHAB Designer. We came to a decision web-based is not 
the best option when it comes to DSL syntax editing, but anyway there are 
pretty good ideas in this demo, I think.

Original comment by mishoboss on 25 Jan 2013 at 12:30

GoogleCodeExporter commented 8 years ago
It looks very good! Would be nice as a second option for setting, convenient 
remote access and easy for people who are not programmers.

Original comment by Miroslav...@gmail.com on 28 Jan 2013 at 9:37

GoogleCodeExporter commented 8 years ago
unassigned to make current state more transparent

Original comment by teichsta on 21 May 2013 at 9:17

GoogleCodeExporter commented 8 years ago

Original comment by kai.openhab on 22 May 2013 at 8:32

GoogleCodeExporter commented 8 years ago
Anyone would like to implement this idea? Really, OpenHAB Designer is in awful 
shape. Remote administration will improve the admin UX a little bit.

Original comment by mishoboss on 29 Jul 2013 at 12:26

GoogleCodeExporter commented 8 years ago
This issue has moved here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=423501

Original comment by kai.openhab on 7 Dec 2013 at 8:40