Coder Social home page Coder Social logo

ambientdatainc / ambient_esp8266_lib Goto Github PK

View Code? Open in Web Editor NEW
38.0 38.0 18.0 65 KB

IoTデーター可視化サービス「Ambient」のESP8266/ESP32用ライブラリーと、温度・湿度センサー、心拍モニター、消費電流モニターなどのサンプルプログラムです。

Home Page: https://ambidata.io

C++ 100.00%

ambient_esp8266_lib's People

Contributors

chobichan avatar k-takata avatar takehikoshimojima avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar

ambient_esp8266_lib's Issues

channelIdで65535以上の数を利用する際にambientサーバにconnect出来ない場合がある

  • 現象
    • 私の利用の環境(Arduino/ATMega2560 R3+ ESP-12S)で利用した際に、データをambientサーバに登録できない現象がありました。
  • 詳細
    • デバッグしてみたところ、channelIdが65535を超えている際に、loopしたchannelIdでサーバに登録しているように見えました。(例えば67535をchannelIdとして利用しようとすると、2000で登録しに行こうとしているようにlogでは見える)
  • 対応
    • 上記現象から、(処理系によるのだとは思いますが)unsigned short的に扱われているようだと推測し、channelIdを利用している箇所をすべて、unsigned long channelIdとしたり、%uで出力させているところを%luとすることで、登録できるようになりましたのでご報告です。

有線LANでつなげられますか

M5Stackを有線LANで使用したく、M5Stack用のW5500 LANユニットをM5Core2につなげて使いたいとおもいます。

ambient.begin(channelId, writeKey, &client);

がWifIclientでは使えるのですが、これをEthernet接続でも使えるようにはできないものでしょうか。

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.