News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Building Dynamic Orbiters with JSON/AJAX/HTML5

Started by totallymaxed, March 26, 2013, 11:54:21 AM

Previous topic - Next topic

totallymaxed

Quote from: hari on May 08, 2013, 01:31:00 PM
some progress on the ago control side. We've settled onto a MVC approach via ember js and jquery. It also supports templates and other nice things. Gumby is used for the appearance. Communication is done viai JSON-RPC. Getting the inventory (aka device list and stuff™), sending commands and receiving live status updates works fine so far. Still a lot of work to do but hey this is brand new, very hot, and will receive a lot love over the next weeks and months.

Hari - did the bug Uplink reported that caused Ago to crash when a device was placed in a 'room' get fixed?

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

hari

rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

uplink

Quote from: hari on May 08, 2013, 06:44:21 PM
afaict yes

Well... it still blows up, but slightly differently. I get the error only 50% of the time now, and refreshing the page gets me my page back without having to restart everything.


An error occured in a template

/opt/agocontrol/admin/agoadmin.py:231    default     inventory = discover()
/opt/agocontrol/admin/agoadmin.py:79     discover    if message.content:


Where exactly can I see this emberjs thingy? :)

hari

maybe you can provide a more detailed bug report, e.g. what exactly you're doing. Are there any messages in syslog? Adding devices to rooms works fine (we've no other reports that indicate otherwise). But for the records, this is the old web admin written in cherrypy. The new interface is served via agorpc on port 8008. Just make sure to install the latest package.
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

hari

rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

uplink

Quote from: hari on May 08, 2013, 09:59:09 PM
maybe you can provide a more detailed bug report, e.g. what exactly you're doing. Are there any messages in syslog? Adding devices to rooms works fine (we've no other reports that indicate otherwise). But for the records, this is the old web admin written in cherrypy. The new interface is served via agorpc on port 8008. Just make sure to install the latest package.

OK, after updating my svn copy and running the updated agosimulator.py it doesn't go kablooey anymore. It appears that was what tripped it.

Marie.O

Nearly another month went by, since the last time I asked if anything happened...

So, did anyone make any progress within the LinuxMCE/Dianemo space with regards to HTML/JSON/RPC whatever?
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

WhateverFits

Well, I've been working through Hari's JSON-RPC code and looking at how to do that type of thing in LinuxMCE. Mostly I've just been trying to get stuff to work.
[url="http://www.seanwalker.org"]http://www.seanwalker.org[/url]