GithubHelp home page GithubHelp logo

Comments (11)

bpaauwe avatar bpaauwe commented on July 24, 2024

I just updated the node server to fix the error. It should be available to update from the store in a few minutes.

Nothing I had access to showed soil temperatures so I don't know what they look like in the data. If you capture the query response when the log level is set to debug, I might be able to add in the soil temps.

from udi-davis-poly.

Kajtek13 avatar Kajtek13 commented on July 24, 2024

Thanks for the quick response.
Unfortunately, it still does not work. I attach log files.
When it comes to Soil temp maybe the file from weatherlink will help. I attach it as well NoaaExt.xml in zip
Thanks again for taking the time.
I decided to learn a little bit and just downloaded Github desktop and python. This is new to me but I program in Visual Studio and Access VBA so programming is not totally strange to me.
Andrzej

NoaaExt.zip
polyglot_2020-7-7_215851.txt
DavisWeather_logs_2020-7-7_215423.zip
polyglot_2020-7-7_215332.txt

from udi-davis-poly.

Kajtek13 avatar Kajtek13 commented on July 24, 2024

Sorry, Bob for bothering you. It was my fault. After downloading the code and examining it I noticed that the required User ID is not a user name for logging to weatherlink but it is station DID. I was fooled by the key ( Not currently used.) named The Davis station ID. Thinking that this Davis station ID is the station DID and user ID is a username. Once I entered it properly all work well.
The only thing that I wish was there is the Soil temp 1-4 to be pulled as well from api.weatherlink.
One of the Soil temp I use to monitor Pool temperature and I would like to use this in ISY programming to control the heather depending on the temperature of the water in the pool plus temp outside.
Thank s again for writing this. I hope you will be able to figure out the soil temp as well from my stations XML file downloaded from api.weathelink
Regards
Andrzej

from udi-davis-poly.

vb7445 avatar vb7445 commented on July 24, 2024

I'm getting the same error, davis:get_data: request failed: Expecting value: line 1 column 1 (char 0)

I've just installed the node server in my Polisy Pro and entered the requested configuration data. Assuming my data is correct but I'm thinking if my data were wrong it would reflect that. Instead, this error doesn't like line 1, column 1 so it sounds like something else is wrong.

The install into ISY workes as I have the 3 nodes but data is all 0.

from udi-davis-poly.

bpaauwe avatar bpaauwe commented on July 24, 2024

I'm getting the same error, davis:get_data: request failed: Expecting value: line 1 column 1 (char 0)

I've just installed the node server in my Polisy Pro and entered the requested configuration data. Assuming my data is correct but I'm thinking if my data were wrong it would reflect that. Instead, this error doesn't like line 1, column 1 so it sounds like something else is wrong.

The install into ISY workes as I have the 3 nodes but data is all 0.

The call to the davis weatherlink server failed to return any data.

It's calling:
https://api.weatherlink.com/v1/NoaaExt.json?user=[Device ID]&pass=[Password]&apiToken=[API Token]

The response it got back from the server didn't include any data. It should be getting a json formatted string with all the weather data. You can try using a browser and substituting the configuration parameters in the [] sections above and see what it returns.

from udi-davis-poly.

vb7445 avatar vb7445 commented on July 24, 2024

I'm getting back, Invalid Request!

So maybe I'm confused. I have a Davis VantagePro 2 station, WeatherLink PC Software, Weather Envoy USB Data Logger and a free WeatherLink.com account. From the WeathLink.com account I've got the API Token, Device ID and Key. One thing I'm not sure about is what password to use. I'm assuming it's the Key value from WeatherLink.com when they provided the Device ID.
The PC Weathlink software is updating the data on WeatherLink.com using the Device ID and Key.

from udi-davis-poly.

vb7445 avatar vb7445 commented on July 24, 2024

I'm looking at the Davis API Documentation. There appears to be something amiss with my credentials, I assume. So, I can follow up with Davis to see what's going on. Doesn't appear to anything on your end (node server). Thanks for responding.

from udi-davis-poly.

vb7445 avatar vb7445 commented on July 24, 2024

ok, found the problem with the password. The password required is the one I use to log in to WeatherLink.com not the Key value that is supplied with the Device ID. I had tried that password before and got a Invalid Request. So, there was a 2nd issue, that password had a plus sign, +, in it. I changed my password to no special characters. Lo and Behold everything is working fine.

Sorry, Bob for bothering you. Kudos for the node server. It's great!

from udi-davis-poly.

bpaauwe avatar bpaauwe commented on July 24, 2024

Thanks, I'm glad it was fairly easy to figure out. I don't have a Davis station so I'm not very familiar with the configuration requirements. I just know that when the right values are there it works :)

If there's something I can change in the configuration help that would make things more clear, let me know.

from udi-davis-poly.

vb7445 avatar vb7445 commented on July 24, 2024

You might specify that the password is the User's Weatherlink.com login password and it shall contain no special characters. That explanation would have alleviated my issues right off.

from udi-davis-poly.

vb7445 avatar vb7445 commented on July 24, 2024

Oh, one more thing. I didn't see a Forum for the Davis Polygot Node Server on the UDI site. I looked there for help and then ended up here in Github when I didn't find one.

from udi-davis-poly.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.