Bwired Googlemaps upload data webservice

Forum about Questions, discussions and announcements regarding the Bwired website owned by Pieter Knuvers

Bwired Googlemaps upload data webservice

Postby Rene » Sun Mar 15, 2009 2:12 pm

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

Rene.
User avatar
Rene
Global Moderator
Global Moderator
 
Posts: 1582
Joined: October 2008
Location: Netherlands

Bwired Googlemaps upload data webservice

Postby Snelvuur » Sun Mar 15, 2009 4:00 pm

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
Snelvuur
Forum Moderator
Forum Moderator
 
Posts: 3053
Joined: April 2007
Location: Netherlands

Bwired Googlemaps upload data webservice

Postby Noel » Sun Mar 15, 2009 4:24 pm

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
Noel
Senior Member
Senior Member
 
Posts: 1793
Joined: February 2008
Location: Netherlands

Bwired Googlemaps upload data webservice

Postby TANE » Sun Mar 15, 2009 5:31 pm

@Rene Temp and humidity are for outside..just checked
It was really nice here in Nieuwegein this afternoon.
User avatar
TANE
Forum Moderator
Forum Moderator
 
Posts: 4806
Joined: April 2007
Location: Netherlands

Bwired Googlemaps upload data webservice

Postby Rene » Sun Mar 15, 2009 5:55 pm

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

Rene.
User avatar
Rene
Global Moderator
Global Moderator
 
Posts: 1582
Joined: October 2008
Location: Netherlands

Bwired Googlemaps upload data webservice

Postby Noel » Sun Mar 15, 2009 7:13 pm

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: 1793
Joined: February 2008
Location: Netherlands

Bwired Googlemaps upload data webservice

Postby Noel » Sun Mar 15, 2009 8:16 pm

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

--
Image
User avatar
Noel
Senior Member
Senior Member
 
Posts: 1793
Joined: February 2008
Location: Netherlands

Bwired Googlemaps upload data webservice

Postby Bwired » Sun Mar 15, 2009 8:32 pm

I will upgrade the database, try again Noel!
And Welcome Eschenk on the service :-)
User avatar
Bwired
Administrator
Administrator
 
Posts: 4744
Joined: March 2006
Location: Netherlands

Bwired Googlemaps upload data webservice

Postby Noel » Sun Mar 15, 2009 10:14 pm

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
User avatar
Noel
Senior Member
Senior Member
 
Posts: 1793
Joined: February 2008
Location: Netherlands

Bwired Googlemaps upload data webservice

Postby Bwired » Sun Mar 15, 2009 10:38 pm

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
Bwired
Administrator
Administrator
 
Posts: 4744
Joined: March 2006
Location: Netherlands

Bwired Googlemaps upload data webservice

Postby Noel » Sun Mar 15, 2009 10:44 pm

Take your time :-)

--
Image
User avatar
Noel
Senior Member
Senior Member
 
Posts: 1793
Joined: February 2008
Location: Netherlands

Bwired Googlemaps upload data webservice

Postby RDNZL » Mon Mar 16, 2009 2:04 am

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

Regards,
Ron
User avatar
RDNZL
Forum Moderator
Forum Moderator
 
Posts: 922
Joined: September 2006
Location: Dordrecht, The Netherlands

Bwired Googlemaps upload data webservice

Postby Digit » Mon Mar 16, 2009 2:37 am

Welcome to the club! :-)
User avatar
Digit
Global Moderator
Global Moderator
 
Posts: 3111
Joined: March 2006
Location: Netherlands

Bwired Googlemaps upload data webservice

Postby Sooty » Tue Mar 17, 2009 12:03 am

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

Paul..
Sooty
Member
Member
 
Posts: 202
Joined: March 2008
Location: United Kingdom

Bwired Googlemaps upload data webservice

Postby Noel » Tue Mar 17, 2009 12:23 am

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

--
Image
User avatar
Noel
Senior Member
Senior Member
 
Posts: 1793
Joined: February 2008
Location: Netherlands

PreviousNext

Return to Bwired Forum

Who is online

Users browsing this forum: No registered users and 1 guest