Does anyone My home energy management how to shows on iviewer

39 views
Skip to first unread message

u7310330

unread,
Feb 2, 2012, 2:05:04 AM2/2/12
to CommandFusion
Hi There,

Does anyone can tells me how to show the graphic on iviewer form My
Home Energy Management ?

Thanks.

Wilson

Jarrod Bell

unread,
Feb 2, 2012, 3:19:34 AM2/2/12
to comman...@googlegroups.com
Find the URL to the graphic, and set it as the image path of an image
object in your GUI.

Jarrod

u7310330

unread,
Feb 7, 2012, 1:42:01 AM2/7/12
to CommandFusion
Hi Jarrod,

Thanks for reply.

I am using Legrand (My Home) I only can get the code such us

1:20:05 PM <- *#18*51*513#2*1*259
1:20:05 PM <- *#18*51*513#2*2*24
1:20:05 PM <- *#18*51*513#2*3*24
1:20:05 PM <- *#18*51*513#2*4*24
1:20:05 PM <- *#18*51*513#2*5*24
1:20:06 PM <- *#18*51*513#2*6*24
1:20:06 PM <- *#18*51*513#2*7*13
1:20:06 PM <- *#18*51*513#2*8*0
1:20:06 PM <- *#18*51*513#2*9*0
1:20:06 PM <- *#18*51*513#2*10*0
1:20:06 PM <- *#18*51*513#2*11*0
1:20:06 PM <- *#18*51*513#2*12*0
1:20:06 PM <- *#18*51*513#2*13*0
1:20:06 PM <- *#18*51*513#2*14*0
1:20:06 PM <- *#18*51*513#2*15*0
1:20:06 PM <- *#18*51*513#2*16*0
1:20:06 PM <- *#18*51*513#2*17*0
1:20:06 PM <- *#18*51*513#2*18*0
1:20:06 PM <- *#18*51*513#2*19*0
1:20:06 PM <- *#18*51*513#2*20*0
1:20:07 PM <- *#18*51*513#2*21*0
1:20:07 PM <- *#18*51*513#2*22*0
1:20:07 PM <- *#18*51*513#2*23*0
1:20:07 PM <- *#18*51*513#2*24*0
1:20:07 PM <- *#18*51*513#2*25*0
1:20:07 PM <- *#18*51*513#2*26*0
1:20:07 PM <- *#18*51*513#2*27*0
1:20:07 PM <- *#18*51*513#2*28*0
1:20:07 PM <- *#18*51*513#2*29*0
1:20:07 PM <- *#18*51*513#2*30*0
1:20:07 PM <- *#18*51*513#2*31*0


18 is My Home Energy Management function
51 is Load number
513 is monthly totalizers current year monthly graphics
2 is month
1-31 is day
last number is value

how can I store these number then create a graphic.


Thanks.

Wilson

Florent Pillet

unread,
Feb 7, 2012, 4:21:47 AM2/7/12
to comman...@googlegroups.com
There are various solutions to create a chart, but they currently all involve
some advanced JavaScript coding and trickery. One of the solutions is to dynamically
generate the chart using a JS charting engine from within your script (rendering to
your script environment's HTML5 canvas) then extracting the generated image and
serving it to iViewer using a built-in HTTP server (we provide a mini HTTP server
written in JS that does this very well).

Another solution, that we experimented with, is to use a webview inside your GUI,
with a charting engine and serve the data dynamically with your script.

It's all quite advanced techniques. I have experimented with this, when I have the
time I'll try to upload some sample code on GitHub.

Florent

On Feb 7, 2012, at 7:42 AM, u7310330 wrote:

> 18 is My Home Energy Management function
> 51 is Load number
> 513 is monthly totalizers current year monthly graphics
> 2 is month
> 1-31 is day
> last number is value
>
> how can I store these number then create a graphic.
>

--
Florent Pillet - Software Engineering Lead
www.commandfusion.com

Sandro

unread,
Feb 7, 2012, 8:49:51 AM2/7/12
to CommandFusion
This is my solution

http://dl.dropbox.com/u/13367262/Energy.png

It's a custom solution not free.

I am preparing a free versione for MyHome Bticino community.

Let me know if you need my professional services.

Bye
Sandro
Reply all
Reply to author
Forward
0 new messages