Page 1 of 2

Re: New Windows Gadget

Posted: Sun Feb 19, 2012 11:54 am
by rimai
Thanks :)
Added that one too.

Re: New Windows Gadget

Posted: Mon Feb 27, 2012 1:28 am
by lukeluke
Can you improve the proxy support ?

Thanks

Re: New Windows Gadget

Posted: Wed Apr 11, 2012 7:57 am
by dedvalson
Hi,

On my system there appears to be a problem calculating how big to make the widget.

Here is a screen shot.
Widget.jpg
Widget.jpg (13.78 KiB) Viewed 10916 times
As you can see the arrow to show the relays and the bottom line of display is not visible.

This is on Windows 7. I have my text size set to Medium (125%). I think you might need to take that into account when you calculate how big to make the widget. Another option would be to specify the font size more specifically.


Don

PS: If you want me to I can probably fix this if the source code is available somewhere.

Re: New Windows Gadget

Posted: Wed Apr 18, 2012 1:32 am
by Junior Dabul
hi,

i am having a problem with my windows gadget. it was working then it closed and showed no IP address. now when i put the address doesnt conect anymore.

any ideas why? my client Suit is working fine apart from the relay expansion with is incompatible with the lib. 0.9.3 .

if guys can give a help would be great.

thanks Junior

Re: New Windows Gadget

Posted: Thu Apr 26, 2012 7:46 am
by dedvalson
dedvalson wrote: PS: If you want me to I can probably fix this if the source code is available somewhere.
Is the source for this available? I would like to fix the display issue

Don

Re: New Windows Gadget

Posted: Thu Apr 26, 2012 9:59 am
by dmolton
dedvalson wrote:
dedvalson wrote: PS: If you want me to I can probably fix this if the source code is available somewhere.
Is the source for this available? I would like to fix the display issue

Don
All the source code is embedded within the .gadget. It works similar to JAR files.

Rename the .gadget extension to .zip

Inside the zip you should see all the source files. It's mostly all javascript, css and html. The Win framework provides a System.Gadget namespace you can use in the Javascript. Here's some resources you can refer to on msdn:

http://msdn.microsoft.com/en-us/library ... 85%29.aspx
http://msdn.microsoft.com/en-us/library ... 85%29.aspx

Re: New Windows Gadget

Posted: Thu Apr 26, 2012 10:14 am
by Sebyte
i am having a problem with my windows gadget. it was working then it closed and showed no IP address. now when i put the address doesnt conect anymore.
I have recently had this as well. I fixed it by doing this:

Goto controle pannel and open up add remove program's.

In the lefthand side pane there is an option to add or remove Windows features.

(please excuse me if I have the wording wrong but I am not at home and doing this from memory on my iPad)

Then look for Windows gadgets, and unclick the box. Save and reboot.

When PC is back repeat the above and put a tick in the box. Sorry but a reboot is needed.

Then right click on desktop and select add gadgets.

This worked for me. I could not find any other way of restarting the services that relate to gadgets. There may be a better way, if so I would like to know, and please let me know if this worked for you.

Good luck. ;)

Re: New Windows Gadget

Posted: Thu Apr 26, 2012 11:18 am
by dmolton
The host process for the gadgets is called "sidebar.exe". You should be able to just kill the process in task manager. When you add a new gadget to the desktop it will automatically restart the sidebar.exe host process for you. Quicker than restarting :)

Re: New Windows Gadget

Posted: Mon May 07, 2012 2:53 pm
by dedvalson
Hi,

There seems to be something wrong with the XML coming from my ReefAngel. I have the latest dev libraries installed and I have one expansion box. I looked at the Gadgets Javascript, and it is looking for an <R0> tag for the expansion port. But my box doesn't provide an R0. The first expansion box is shown as <R1> as shown below. So I'm trying to figure out who is wrong, the gadget or my box.

Should there be an R0? If so, why would my RA produce R1 instead of R0? Or should the gadget look for R1 instead?

Don

Code: Select all

<?xml version="1.0"?>
-<RA>
<T1>809</T1>
<T2>923</T2>
<T3>802</T3>
<PH>801</PH>
<R>140</R>
<RON>0</RON>
<ROFF>255</ROFF>
<R1>143</R1>
<RON1>0</RON1>
<ROFF1>255</ROFF1>
<R2>0</R2>
<RON2>0</RON2>
<ROFF2>255</ROFF2>
<R3>0</R3>
<RON3>0</RON3>
<ROFF3>255</ROFF3>
<R4>0</R4>
<RON4>0</RON4>
<ROFF4>255</ROFF4>
<R5>0</R5>
<RON5>0</RON5>
<ROFF5>255</ROFF5>
<R6>0</R6>
<RON6>0</RON6>
<ROFF6>255</ROFF6>
<R7>0</R7>
<RON7>0</RON7>
<ROFF7>255</ROFF7>
<R8>0</R8>
<RON8>0</RON8>
<ROFF8>255</ROFF8>
<ATOLOW>1</ATOLOW>
<ATOHIGH>1</ATOHIGH>
<EM>0</EM>
<REM>1</REM>
<PWMA>100</PWMA>
<PWMD>60</PWMD>
</RA>

Re: New Windows Gadget

Posted: Mon May 07, 2012 2:57 pm
by binder
It's supposed to be R1 for first expansion box. This way it will make more sense with the displaying and it will match with the retrieval of the labels. It also makes it compatible with the Portal as well.
It was originally R0 in the 0.8.5.x code, but it was switched to R1 in the 0.9.X code. I just looked it up.

Re: New Windows Gadget

Posted: Mon May 07, 2012 3:20 pm
by dedvalson
Hi,

I hope no one minds, but I have attached an updated version of the Gadget with the following changes.

1. The main window is 30 pixels taller so that the arrow is visible (at least on my screen).
2. The Flyout 2 window is also taller so that all the LEDs are visible.
3. I changed R0 to R1.
4. I bumped the revison to 1.0.1.0

Don

Re: New Windows Gadget

Posted: Mon May 07, 2012 3:24 pm
by binder
Sweet. I don't think anybody minds. :)

Re: New Windows Gadget

Posted: Thu Jul 12, 2012 4:12 pm
by rimai
Can anyone confirm this is still working on libs 1.0.0?

Re: New Windows Gadget

Posted: Fri Jul 13, 2012 10:37 am
by rimai
Nevermind. I just confirmed it is working.

Re: New Windows Gadget

Posted: Mon Aug 20, 2012 9:32 pm
by Ademster
Do I have to add some sort of code?

I am not able to get this to work.

Re: New Windows Gadget

Posted: Mon Aug 20, 2012 10:50 pm
by rimai
I'm assuming you have the wifi attachment working, right?
Then, on Reefangel IP address, you have to make sure you add http:// in front of it and :2000 after it.
Like this: http://ipaddress:2000

Re: New Windows Gadget

Posted: Tue Aug 21, 2012 7:53 pm
by Ademster
Portal works, Android app works,

but not the windows gadget.

using same address

Re: New Windows Gadget

Posted: Tue Aug 21, 2012 8:31 pm
by rimai
Can you browse to your controller when you type http://ipaddress:2000 in your browser address?
You should see "Reef Angel Controller Web Server"
Copy the address that your browser is showing and paste it in the gadget address

Re: New Windows Gadget

Posted: Wed Aug 22, 2012 6:12 am
by Ademster
I get the Reef Angel controller web server,

still nothing on the widget.

Re: New Windows Gadget

Posted: Wed Aug 22, 2012 7:58 am
by rimai
Weird.
Are you using the version posted on this page?
Here is how mine looks.

Re: New Windows Gadget

Posted: Wed Aug 22, 2012 8:58 am
by Piper
I was having the same issues at first. Make sure you don't have the trailing slash at the end of your URL: http://ipaddress:2000

It took a a few seconds, maybe a minute, after dropping the trailing slash for it to start registering.

~Charlie

Re: New Windows Gadget

Posted: Wed Aug 22, 2012 8:25 pm
by Ademster
I had to delete the gadget completely, reinstall it, then delete it again. reinstall ( fresh download ) and it worked finally!

Re: New Windows Gadget

Posted: Fri Feb 15, 2013 7:15 am
by modulok
Anyone else having problems with the wifi attachment while using the gadget 24/7? It seemed to have started after I updated the RA library.
My wifi attachment will stop updating, but will reply to ping. I have to manually reconnect the wire and it will work for maybe a day or two.

I turned off the gadget and my wifi has been working for weeks without issue.

Re: New Windows Gadget

Posted: Thu May 30, 2013 8:08 pm
by jjdezek
tried this gadget also cant get it to load. how long does it take to work, instant or a few mins? also i have 2 different ip addresses, i have my network ip then i have the RA ip which one do i use?

Re: New Windows Gadget

Posted: Fri May 31, 2013 5:34 am
by Sacohen
It takes some time. I walked away from my computer and came back sometime later and it was working.

Re: New Windows Gadget

Posted: Thu Jun 06, 2013 4:34 am
by pragyaware
very Good Thread. Yet i have no interest in Develop but i like your gadgets and there themes very much.

Re: New Windows Gadget

Posted: Sat Jun 14, 2014 8:55 am
by maineultraclassic
Any way to get Salinity added to the gadget?

Re: New Windows Gadget

Posted: Sat Jun 14, 2014 9:13 am
by Sacohen
I don't think the creator is really working on this anymore. I haven't seen an update in a while. As you cab see there hasn't been a post since last year.

Sent from my HTC One VX using Tapatalk