Giter Club home page Giter Club logo

netatmo's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar jobam avatar riges avatar theaxelander avatar vbfox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

netatmo's Issues

Proxy support

The last version doesn't support proxy. It could be very useful in that scenario behind a firewall.
You can implement it easily using FlurlHttp.Configure and defining a ProxyHttpClientFactory where overriding HttpMessageHandler

Describe the solution you'd like
You can add a parameter proxy in the Client method.

OAuth-based authentication

Hi, I see this project is not updated for a while, but I'm a happy user :-). Are you planning to update it according to the latest Netatmo instructions regarding the OAuth authentication scheme described here? https://dev.netatmo.com/apidocumentation/oauth

If not, I will probably need to find an alternative or build something myself.

Thanks!

Dependabot couldn't find a <anything>.(cs|vb|fs)proj for this project

Dependabot couldn't find a .(cs|vb|fs)proj for this project.

Dependabot requires a .(cs|vb|fs)proj to evaluate your project's current .NET dependencies. It had expected to find one at the path: /<anything>.(cs|vb|fs)proj.

If this isn't a .NET project, or if it is a library, you may wish to disable updates for it from within Dependabot.

You can mention @dependabot in the comments below to contact the Dependabot team.

Deserialization of publicdata measures dont work

Describe the bug

The json looks like this.

      "measures": {
        "02:00:00:3f:05:76": {
          "res": {
            "1678911481": [
              -7,
              86
            ]
          },
          "type": [
            "temperature",
            "humidity"
          ]
        },
        "70:ee:50:3f:59:8e": {
          "res": {
            "1678911496": [
              1018.8
            ]
          },
          "type": [
            "pressure"
          ]
        }
      },

So the propertynames are the mac adresses, and hence cant be deserialized.

public class Measures
{

    [JsonProperty("mac_address_NAModule1")]
    public MacAddressNAModule1 MacAddressNAModule1 { get; set; }

    [JsonProperty("mac_address_NAMain")]
    public MacAddressNAMain MacAddressNAMain { get; set; }

    [JsonProperty("mac_address_NAModule3")]
    public MacAddressNAModule3 MacAddressNAModule3 { get; set; }

    [JsonProperty("mac_address_NAModule2")]
    public MacAddressNAModule2 MacAddressNAModule2 { get; set; }
}

There are no properties named "mac_address_NAModule1", "mac_address_NAMain", etc

Runtime environement

Operating System (Platform and Version) :
.Net version (Core ? Full Framework ?) :

To Reproduce

Steps to reproduce the behavior:

Expected behavior

Actual behavior

How to reproduce

Blazor Wasm on .net5 and .net6, Flurl reports Operation is not supported on this platform

Describe the bug

When using Netatmo project (latest version: v1.41) in a Blazor Webassembly project, flurl returns "Operation is not supported on this platform"

Runtime environement

Operating System (Platform and Version) : Webassembly
.Net version : 6

The issue is described in flurl repository: tmenier/Flurl#557, and the issue is fixed in flurl 3.2.0.
I tested it on Netatmo project and the issue is solved.

Updating Netatmo with Flurl.http 3.2.0 nuget package is the solution to fix.

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.