Weathercloud on ConsoleWD

Hi,
I just recently switched from running Weather Display on Windows to running ConsoleWD on a Raspberry Pi. I don’t see any way to upload to Weathercloud, and I was wondering if it would be possible to get that added in.

I should be able to do that
you do not say which version of raspberry pi?

I’m running the Raspberry Pi 3 Model B+, with Raspbian for the OS.

i have added this option now to the latest update for you to try

I just downloaded the latest update, but it does not seem to be updating Weathercloud. I’m not positive, but I think it looks like it is not inserting my Station ID and Key into the URL. When I run the croncloud script, I get the following:


pi@raspberrypi:~/consolewdfiles $ sudo ./croncloud
weather cloud data to send http://api.weathercloud.net/get/wid//key//temp/-63/tempin/219/dewin/101/chill/0/heat/-63/dew/-102/hum/74/humin/47/wspd/0/wspdhi/0/wspdavg/0/wdir/80/wdiravg/80/bar/10185/rain/0.0/solarrad/0/uvi/0/rainrate/0/thw/-63/et/0/ver/1.7/type/201
weather cloud data send Ok 21:09:15

I tried running the other scripts (such as cronwow), and the output from them had my station information in the URL.

have you set those in the config.txt ?

actually I see a bug in my code
it was not picking up the id/key
try again a new update

I’m still not getting Weathercloud to update. When I run croncloud, the ID and key are now showing up in the URL, but the Weathercloud site isn’t updating. I’ve tried manually copy-pasting the output URL into my browser, but I get a 404 error. I’ve checked the ID and key multiple times, and am sure they are correct.

pi@raspberrypi:~/consolewdfiles $ sudo ./croncloud
weather cloud data to send http://api.weathercloud.net/get/wid/xxxxxxxx/key/xxxxxxxxxxx/temp/48/tempin/233/dewin/110/chill/0/heat/48/dew/15/hum/79/humin/46/wspd/5/wspdhi/10/wspdavg/7/wdir/152/wdiravg/149/bar/10128/rain/0.0/solarrad/0/uvi/0/rainrate/0/thw/48/et/0/ver/1.7/type/201
weather cloud data send Ok 12:52:45

I’m not sure if this is more likely to be an error in Weather Display or with Weathercloud. Let me know if there’s anything else you need to help troubleshoot this.

if you have the windows version
are you able to compare the output string?

The output I get from the Windows version is

3:53:42 PM
http://api.weathercloud.net/set/wid/xxxxxxxx/key/xxxxxxxx/temp/59/tempin/227/dewin/105/chill/57/heat/59/dew/32/hum/83/humin/46/wspd/5/wspdhi/15/wspdavg/7/wdir/188/wdiravg/147/bar/10103/rain/0/solarrad/0/uvi/0/rainrate/0/thw/426/et/0/ver/1.7/type/201
OK
OK

From the Raspberry Pi version I get

pi@raspberrypi:~/consolewdfiles $ sudo ./croncloud
weather cloud data to send http://api.weathercloud.net/get/wid/xxxxxxxx/key/xxxxxxxx/temp/59/tempin/227/dewin/105/chill/0/heat/59/dew/31/hum/82/humin/46/wspd/5/wspdhi/10/wspdavg/6/wdir/142/wdiravg/152/bar/10104/rain/0.0/solarrad/0/uvi/0/rainrate/0/thw/59/et/0/ver/1.7/type/201
weather cloud data send Ok 15:55:33

I think I found the problem. In the Windows version, the URL is api.weathercloud.net/set, whereas on the Pi version it is api.weathercloud.net/get

humm
if you change that in a url in a browser
does that work?

When I changed it, the page said 200, and my station updated to the latest conditions. However, I do notice it also sent a windchill of 32

interesting that worked
I will change the code and also fix the windchill

try a new update…

It seems like everything is working now. Thanks for getting this implemented so quickly.