Bwired Googlemaps upload data webservice
- RDNZL
- Forum Moderator
- Posts: 1008
- Joined: Sun Sep 24, 2006 1:45 pm
- Location: Dordrecht, The Netherlands
- Contact:
Bwired Googlemaps upload data webservice
I also had to remove the ' from my data, otherwise Pieter's script failed, but that was before I add the utf-8 encoding to my xml, don't know if that fixed it or not.
Regards,
Ron.
Regards,
Ron.
Bwired Googlemaps upload data webservice
I use a single quote from the beginning, but also UTF-8 encoding:


Bwired Googlemaps upload data webservice
Ok Lorenzo
I see the errors coming in but no valid XML.
I send you a sample, please try this and don't change a thing for now.
I see the errors coming in but no valid XML.
I send you a sample, please try this and don't change a thing for now.
Bwired Googlemaps upload data webservice
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by RDNZL</i>
<br />I also had to remove the ' from my data, otherwise Pieter's script failed, but that was before I add the utf-8 encoding to my xml, don't know if that fixed it or not.
Regards,
Ron.
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">Hi Ron
you're UTF-8 is coming in now so special characters should work now.
<br />I also had to remove the ' from my data, otherwise Pieter's script failed, but that was before I add the utf-8 encoding to my xml, don't know if that fixed it or not.
Regards,
Ron.
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">Hi Ron
you're UTF-8 is coming in now so special characters should work now.
Bwired Googlemaps upload data webservice
Sooty
I have your UK time up and running now.
Still have to work on the next day part, because I'm missing you for 1 hour in the Mysql select!
Can you help Drmacchi again, the script is not working, the part of filling the lamp status gives errors. If we deletet that Entry then the script is working. I think it has something to with variable type or so? Can you test this and see if it works on your side.
Thanks again!
I have your UK time up and running now.
Still have to work on the next day part, because I'm missing you for 1 hour in the Mysql select!
Can you help Drmacchi again, the script is not working, the part of filling the lamp status gives errors. If we deletet that Entry then the script is working. I think it has something to with variable type or so? Can you test this and see if it works on your side.
Thanks again!
Bwired Googlemaps upload data webservice
Sooty, Bwired :Thanks to both ! lorenzo
Bwired Googlemaps upload data webservice
Lorenzo,
The problem with the lamp status may be a difficult one. If the status string contains html or other strange characters then it may cause problems, thats why I went for the DeviceStatus in the script. That approach works fine at my end with the DeviceStatus.
I will add this to my script now an do an upload just to check that all is OK and we can go from there.
Paul..
The problem with the lamp status may be a difficult one. If the status string contains html or other strange characters then it may cause problems, thats why I went for the DeviceStatus in the script. That approach works fine at my end with the DeviceStatus.
I will add this to my script now an do an upload just to check that all is OK and we can go from there.
Paul..
Bwired Googlemaps upload data webservice
ok goes wrong
you need to fill the units
- <Entry>
<Name>Lamp 1</Name>
<ID>8</ID>
<Units />
<Value>ON</Value>
</Entry>
you need to fill the units
- <Entry>
<Name>Lamp 1</Name>
<ID>8</ID>
<Units />
<Value>ON</Value>
</Entry>
Bwired Googlemaps upload data webservice
What is going wrong? this is coming in but not processed on my side!
I will check this first.....???
Get back on this, thanks Sooty
- <Entry>
<Name>Lamp 1</Name>
<ID>8</ID>
<Units>.</Units>
<Value>ON</Value>
</Entry>
I will check this first.....???
Get back on this, thanks Sooty
- <Entry>
<Name>Lamp 1</Name>
<ID>8</ID>
<Units>.</Units>
<Value>ON</Value>
</Entry>
Bwired Googlemaps upload data webservice
Pieter,
I am pretty sure that everything is formatted OK. I also get an error at this end. I was just about to change the value in the lamp status to a manual string entry to see if that was the problem.
Paul..
I am pretty sure that everything is formatted OK. I also get an error at this end. I was just about to change the value in the lamp status to a manual string entry to see if that was the problem.
Paul..
Bwired Googlemaps upload data webservice
Hi Paul & Lorenzo
I found it, it's a variable type at my side
Running some tests now, will be online within 10 minutes.
The <unit> can be set to blank again.
Thanks!
I found it, it's a variable type at my side

Running some tests now, will be online within 10 minutes.
The <unit> can be set to blank again.
Thanks!
Bwired Googlemaps upload data webservice
<value> can only be numbers!
I found this problem when an anonymous caller cals me, and when I upload the data to your server.
I get a 500 (server) error back from you.
--

I found this problem when an anonymous caller cals me, and when I upload the data to your server.
I get a 500 (server) error back from you.
--

Bwired Googlemaps upload data webservice
Perhaps Peiter is going to change this?
On the Time Zone subject.
I suppose that each users data would need to be "Time Zoned" then "Today" calculated on a per user basis.
Paul..
On the Time Zone subject.
I suppose that each users data would need to be "Time Zoned" then "Today" calculated on a per user basis.
Paul..
Bwired Googlemaps upload data webservice
Right Paul & Noel I changed this, so it should be working now. Type is now Varchar for <Value>
@Noel: you can change your phonesettings if you want
@Lorenzo: Your lamp upload should work now also
@Noel: you can change your phonesettings if you want
@Lorenzo: Your lamp upload should work now also