Bwired Googlemaps upload data webservice

Forum about Questions, discussions and announcements regarding the Bwired website owned by Pieter Knuvers
User avatar
Rene
Global Moderator
Global Moderator
Posts: 1689
Joined: Wed Oct 08, 2008 3:54 pm
Location: Netherlands

Bwired Googlemaps upload data webservice

Post by Rene »

@chak: Are you sure you are measuring the outside temperature and humidity?

Rene.
User avatar
Snelvuur
Forum Moderator
Forum Moderator
Posts: 3156
Joined: Fri Apr 06, 2007 11:01 pm
Location: Netherlands
Contact:

Bwired Googlemaps upload data webservice

Post by Snelvuur »

really a nice thing.. i see new people popping up on the "grid" hopefully over 2 months i should be there :)

// Erik (binkey.nl)
User avatar
Noel
Senior Member
Senior Member
Posts: 1887
Joined: Tue Feb 12, 2008 12:13 am
Location: Netherlands
Contact:

Bwired Googlemaps upload data webservice

Post by Noel »

Pieter,
I'm, trying to add some more data, but for some reason it will not work.
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">myXML.Add("<Entry>")
myXML.Add("<Name>Last caller</Name>")
myXML.Add("<ID>3</ID>")
myXML.Add("<Units>nr.</Units>")
myXML.Add("<Value>1234567890</Value>")
myXML.Add("</Entry>")<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
The ID is the correct ID, and the value is (at the moment) fixed.
The error I get is:<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Scripting runtime error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags) at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack) at scriptcode24.scriptcode24.Main(Object parms) --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at Scheduler.VsaScriptHost.Invoke(String ModuleName, String MethodName, Object[] Arguments)<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">

Do you maybe know what could be wrong?


--
Image
User avatar
TANE
Forum Moderator
Forum Moderator
Posts: 4806
Joined: Fri Apr 06, 2007 9:46 pm
Location: Netherlands
Contact:

Bwired Googlemaps upload data webservice

Post by TANE »

@Rene Temp and humidity are for outside..just checked
It was really nice here in Nieuwegein this afternoon.
User avatar
Rene
Global Moderator
Global Moderator
Posts: 1689
Joined: Wed Oct 08, 2008 3:54 pm
Location: Netherlands

Bwired Googlemaps upload data webservice

Post by Rene »

@Wifi: The value you specified is probably out of bounds (its quite a large number).

Rene.
User avatar
Noel
Senior Member
Senior Member
Posts: 1887
Joined: Tue Feb 12, 2008 12:13 am
Location: Netherlands
Contact:

Bwired Googlemaps upload data webservice

Post by Noel »

Thanks for the info Rene.
I guess that this is the problem.
I'll give it a go later with a smaller number.

--
Image
User avatar
Noel
Senior Member
Senior Member
Posts: 1887
Joined: Tue Feb 12, 2008 12:13 am
Location: Netherlands
Contact:

Bwired Googlemaps upload data webservice

Post by Noel »

Yep.. Maximum is 6 digets. I guess it will be a no go on the last caller ID :-(

--
Image
Bwired
Administrator
Administrator
Posts: 4704
Joined: Sat Mar 25, 2006 1:07 am
Location: Netherlands
Contact:

Bwired Googlemaps upload data webservice

Post by Bwired »

I will upgrade the database, try again Noel!
And Welcome Eschenk on the service :-)
User avatar
Noel
Senior Member
Senior Member
Posts: 1887
Joined: Tue Feb 12, 2008 12:13 am
Location: Netherlands
Contact:

Bwired Googlemaps upload data webservice

Post by Noel »

Pieter.
It's working now. All I need now is an option to make the value start with a 0 (like 030....), and beeing able to put letters in the string (at the moment it only takes numbers and a dot)
I want to mask the two last digit's with a X

--
Image
Bwired
Administrator
Administrator
Posts: 4704
Joined: Sat Mar 25, 2006 1:07 am
Location: Netherlands
Contact:

Bwired Googlemaps upload data webservice

Post by Bwired »

That is right, the field is numeric in the database.
Let me check if I can make this a Varchar, I think that would be better.
I get back on this!
User avatar
Noel
Senior Member
Senior Member
Posts: 1887
Joined: Tue Feb 12, 2008 12:13 am
Location: Netherlands
Contact:

Bwired Googlemaps upload data webservice

Post by Noel »

Take your time :-)

--
Image
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Bwired Googlemaps upload data webservice

Post by RDNZL »

Just added this uploading feature to DomotiGa, seems to work ok!

Regards,
Ron
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Bwired Googlemaps upload data webservice

Post by Digit »

Welcome to the club! :-)
Sooty
Member
Member
Posts: 204
Joined: Sat Mar 22, 2008 11:29 pm
Location: United Kingdom

Bwired Googlemaps upload data webservice

Post by Sooty »

Would you like some data from the UK to mess up the nice Netherlands centred map?

Paul..
User avatar
Noel
Senior Member
Senior Member
Posts: 1887
Joined: Tue Feb 12, 2008 12:13 am
Location: Netherlands
Contact:

Bwired Googlemaps upload data webservice

Post by Noel »

I think that the "centred map" on Netherlands is a fixed setting (as it should be :-) )

--
Image
Post Reply

Return to “Bwired Forum”