Bwired Googlemaps upload data webservice
Bwired Googlemaps upload data webservice
Hi Pieter,
When you can present that,we don't have upload this anymore
When you can present that,we don't have upload this anymore
- RDNZL
- Forum Moderator
- Posts: 1008
- Joined: Sun Sep 24, 2006 1:45 pm
- Location: Dordrecht, The Netherlands
- Contact:
Bwired Googlemaps upload data webservice
I have a strange problem with sending the degrees Celsius symbol as unit.
I cannot get it to display correctly.
This what I sent:
<Entry>
<Name>Fridge Temperature</Name>
<ID>6</ID>
<Units>#186;</Units>
<Value>8</Value>
</Entry>
This is what I see on domotigaworld.asp:
Fridge Temperature 8 #186;
If you guys sent it, does it gets translated before uploading to the site?
Someone can post his raw xml part?
Regards,
Ron.
I cannot get it to display correctly.
This what I sent:
<Entry>
<Name>Fridge Temperature</Name>
<ID>6</ID>
<Units>#186;</Units>
<Value>8</Value>
</Entry>
This is what I see on domotigaworld.asp:
Fridge Temperature 8 #186;
If you guys sent it, does it gets translated before uploading to the site?
Someone can post his raw xml part?
Regards,
Ron.
-
- Member
- Posts: 52
- Joined: Fri Oct 24, 2008 9:03 am
- Location: Netherlands
Bwired Googlemaps upload data webservice
I am not aware of how you creat your Xml, but this is my pice of code for it:
public WeatherDataUnits(XmlNode unitsNode)
{
XmlNode node = null;
node = unitsNode.SelectSingleNode("temperature/text()");
_UnitTemperature = "\x00B0" + node.Value;
node = unitsNode.SelectSingleNode("distance/text()");
_UnitDistance = node.Value;
node = unitsNode.SelectSingleNode("speed/text()");
_UnitSpeed = node.Value;
node = unitsNode.SelectSingleNode("airpressure/text()");
_UnitAirPressure = node.Value;
}
The hex number stands for 176 decimal which representes the degree symbol().
public WeatherDataUnits(XmlNode unitsNode)
{
XmlNode node = null;
node = unitsNode.SelectSingleNode("temperature/text()");
_UnitTemperature = "\x00B0" + node.Value;
node = unitsNode.SelectSingleNode("distance/text()");
_UnitDistance = node.Value;
node = unitsNode.SelectSingleNode("speed/text()");
_UnitSpeed = node.Value;
node = unitsNode.SelectSingleNode("airpressure/text()");
_UnitAirPressure = node.Value;
}
The hex number stands for 176 decimal which representes the degree symbol().
Bwired Googlemaps upload data webservice
You fixed it
Thanks Nomad, BTW: your last update is from 19-5
@webdwaas: your last update is from 9-5
all other updates are running very smoothly!
Thanks Nomad, BTW: your last update is from 19-5
@webdwaas: your last update is from 9-5
all other updates are running very smoothly!
- RDNZL
- Forum Moderator
- Posts: 1008
- Joined: Sun Sep 24, 2006 1:45 pm
- Location: Dordrecht, The Netherlands
- Contact:
Bwired Googlemaps upload data webservice
Yes, I was trying to replace my unit label "C" with "#186;C"
The problem was, I forgot to add the & in front.
So "#186;C" worked ok, but then I found out that I can just insert the Celsius sign and "C" directly from my mysql record into the xml data, I don't have to translate/replace anything because all was in the utf-8 format to begin with lol ...
The problem was, I forgot to add the & in front.
So "#186;C" worked ok, but then I found out that I can just insert the Celsius sign and "C" directly from my mysql record into the xml data, I don't have to translate/replace anything because all was in the utf-8 format to begin with lol ...
Bwired Googlemaps upload data webservice
Hello Paul,
When I make a device in your plug-in
Hes displaying 14,1111111111 Kwh
In the plug-in from homeseer my device is giving 14,11
Any ideas??
My meter is a type with 375/Kwh
So in the rfxcom plug-in the dividing is standing on 375 also in your plug-in
How is it with the plug-in with the sorting order.
Thanks Ed
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by sooty</i>
<br />Ok Pieter, I will increase the number of devices to 30.
Ed,
Does this type of sorting look OK for you? you can move an item up or down the list which will change its ID number. I have created the buttons, so if this looks OK, I will add the code to do the sorting tomorrow.
I have also added a column for the ID number of the device.
Paul..
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
<font size="1">Homeseer2.3.0.60 Snevl DooNetwork,ActiveBackup Plugin,NetCAM,PowerTrigger,RFXcom,BlRfid,BLebaymonitor,BLIcon,BLChart Jon00 Webpagebuilder,www.domotica.famschenk.eu</font id="size1">
When I make a device in your plug-in
Hes displaying 14,1111111111 Kwh
In the plug-in from homeseer my device is giving 14,11
Any ideas??
My meter is a type with 375/Kwh
So in the rfxcom plug-in the dividing is standing on 375 also in your plug-in
How is it with the plug-in with the sorting order.
Thanks Ed
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by sooty</i>
<br />Ok Pieter, I will increase the number of devices to 30.
Ed,
Does this type of sorting look OK for you? you can move an item up or down the list which will change its ID number. I have created the buttons, so if this looks OK, I will add the code to do the sorting tomorrow.
I have also added a column for the ID number of the device.
Paul..
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
<font size="1">Homeseer2.3.0.60 Snevl DooNetwork,ActiveBackup Plugin,NetCAM,PowerTrigger,RFXcom,BlRfid,BLebaymonitor,BLIcon,BLChart Jon00 Webpagebuilder,www.domotica.famschenk.eu</font id="size1">
Bwired Googlemaps upload data webservice
I have the script running in Homeseer. I don't see any data online.
gr
hans
gr
hans
- Snelvuur
- Forum Moderator
- Posts: 3156
- Joined: Fri Apr 06, 2007 11:01 pm
- Location: Netherlands
- Contact:
Bwired Googlemaps upload data webservice
i think bwired is down at the moment.
// Erik (binkey.nl)
// Erik (binkey.nl)
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 esschenk</i>
<br />Hello Paul,
When I make a device in your plug-in
Hes displaying 14,1111111111 Kwh
In the plug-in from homeseer my device is giving 14,11
Any ideas??
My meter is a type with 375/Kwh
So in the rfxcom plug-in the dividing is standing on 375 also in your plug-in
How is it with the plug-in with the sorting order.
Thanks Ed
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by sooty</i>
<br />Ok Pieter, I will increase the number of devices to 30.
Ed,
Does this type of sorting look OK for you? you can move an item up or down the list which will change its ID number. I have created the buttons, so if this looks OK, I will add the code to do the sorting tomorrow.
I have also added a column for the ID number of the device.
Paul..
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
<font size="1">Homeseer2.3.0.60 Snevl DooNetwork,ActiveBackup Plugin,NetCAM,PowerTrigger,RFXcom,BlRfid,BLebaymonitor,BLIcon,BLChart Jon00 Webpagebuilder,www.domotica.famschenk.eu</font id="size1">
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
Ed,
I will add rounding to 3 decimal places to prevent the problem with the kWh value.
It's a while since I worked on this and I can't remember if I finished the sorting. I will take a look at this in the next few days and get it finished.
Paul..
<br />Hello Paul,
When I make a device in your plug-in
Hes displaying 14,1111111111 Kwh
In the plug-in from homeseer my device is giving 14,11
Any ideas??
My meter is a type with 375/Kwh
So in the rfxcom plug-in the dividing is standing on 375 also in your plug-in
How is it with the plug-in with the sorting order.
Thanks Ed
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by sooty</i>
<br />Ok Pieter, I will increase the number of devices to 30.
Ed,
Does this type of sorting look OK for you? you can move an item up or down the list which will change its ID number. I have created the buttons, so if this looks OK, I will add the code to do the sorting tomorrow.
I have also added a column for the ID number of the device.
Paul..
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
<font size="1">Homeseer2.3.0.60 Snevl DooNetwork,ActiveBackup Plugin,NetCAM,PowerTrigger,RFXcom,BlRfid,BLebaymonitor,BLIcon,BLChart Jon00 Webpagebuilder,www.domotica.famschenk.eu</font id="size1">
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
Ed,
I will add rounding to 3 decimal places to prevent the problem with the kWh value.
It's a while since I worked on this and I can't remember if I finished the sorting. I will take a look at this in the next few days and get it finished.
Paul..
Bwired Googlemaps upload data webservice
Thanks Paul for looking to this
ed
<font size="1">Homeseer2.3.0.60 Snevl DooNetwork,ActiveBackup Plugin,NetCAM,PowerTrigger,RFXcom,BlRfid,BLebaymonitor,BLIcon,BLChart Jon00 Webpagebuilder,www.domotica.famschenk.eu</font id="size1">
ed
<font size="1">Homeseer2.3.0.60 Snevl DooNetwork,ActiveBackup Plugin,NetCAM,PowerTrigger,RFXcom,BlRfid,BLebaymonitor,BLIcon,BLChart Jon00 Webpagebuilder,www.domotica.famschenk.eu</font id="size1">
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 The w8</i>
<br />I have the script running in Homeseer. I don't see any data online.<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">Hi Hans,
All is working and I see your XML data coming in, but I have to autorize you first, just did this and you are on the map now!
this is wrong:
<Website>website url</Website>
<WebCamPicUrl>web cam image url</WebCamPicUrl>
leave blank or fill correct urls
Thanks Pieter
<br />I have the script running in Homeseer. I don't see any data online.<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">Hi Hans,
All is working and I see your XML data coming in, but I have to autorize you first, just did this and you are on the map now!
this is wrong:
<Website>website url</Website>
<WebCamPicUrl>web cam image url</WebCamPicUrl>
leave blank or fill correct urls
Thanks Pieter
Bwired Googlemaps upload data webservice
@ admin
Maybe it's time to move this topic to homeseer\script section.
And make a standard \ new version \bugs \ wishes
Gr Ruud
Maybe it's time to move this topic to homeseer\script section.
And make a standard \ new version \bugs \ wishes
Gr Ruud
Bwired Googlemaps upload data webservice
Hi Ruud
I thought about that! But this topic is handling not only Homeseer as you can see in the first entry of this topic.
It handles like 5 more ways to upload, but homeseer is leading I have to grant you that
I thought about that! But this topic is handling not only Homeseer as you can see in the first entry of this topic.
It handles like 5 more ways to upload, but homeseer is leading I have to grant you that
Bwired Googlemaps upload data webservice
Version 0.0.0.9 of the XML2Bwired Homeseer tool is now available. See post #1 of this thread for the download link.
In this version I have limited uploaded numerical values to 3 decimal places and also implemented device sorting.
There is a small issue with the sorting where you have to select the device with its radio button before clicking the up or down button.
I'm no html expert and for some reason I can't get a hidden field in the device table to return the unique device Id. When I have more time, I will investigate this further, but for now the sorting works fine as long as the device has been selected first.
This version can be installed over any previous version.
Any problems, let me know.
Paul..
In this version I have limited uploaded numerical values to 3 decimal places and also implemented device sorting.
There is a small issue with the sorting where you have to select the device with its radio button before clicking the up or down button.
I'm no html expert and for some reason I can't get a hidden field in the device table to return the unique device Id. When I have more time, I will investigate this further, but for now the sorting works fine as long as the device has been selected first.
This version can be installed over any previous version.
Any problems, let me know.
Paul..
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 Bwired</i>
<br /><blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by The w8</i>
<br />I have the script running in Homeseer. I don't see any data online.<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">Hi Hans,
All is working and I see your XML data coming in, but I have to autorize you first, just did this and you are on the map now!
this is wrong:
<Website>website url</Website>
<WebCamPicUrl>web cam image url</WebCamPicUrl>
leave blank or fill correct urls
Thanks Pieter
<br /><blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by The w8</i>
<br />I have the script running in Homeseer. I don't see any data online.<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">Hi Hans,
All is working and I see your XML data coming in, but I have to autorize you first, just did this and you are on the map now!
this is wrong:
<Website>website url</Website>
<WebCamPicUrl>web cam image url</WebCamPicUrl>
leave blank or fill correct urls
Thanks Pieter