Coder Social home page Coder Social logo

fechonet's Introduction

###概要

FECHONETは、富士通BSC製スマートコンセントF-PLUGECHONET Liteオブジェクトとしてネットワークに参加させるためのAndroidウィジェットです。

###使い方

  1. F-PLUGとAndroidをペアリングします。(結構コツがあります。まずPCで試してからAndroidでやろうと思うと、PCでペアリングした時点で他の機器ではペアリングできなくなるので、一旦設定を全消しする必要があります)
  2. ペアリングされたAndroid上で、FECHONETをウィジェットとして走らせます。うまくいけば「Service Started」というToastが出ます。
  • 以上です。ネットワークからはECHONET Liteの分電盤・温度センサー・照度センサー・湿度センサーが見えるはずです。
  • 値は15秒おきに更新されます。センサーは例えばKadecotを使えば簡単に見ることができます。(Kadecotとウィジェットが走る端末はECHONET Liteのプロトコル上の制約により別でないといけません。ご注意を)
  • 複数のF-PLUGを持っていませんが、プログラム的にはペアリングされているF-PLUGが複数ある場合も分電盤は一つであり、各F-PLUGが分電盤の別チャンネルとして見えるように作ったつもりです。その他のセンサーはF-PLUGの数だけ複製されます。
  • ECHONET LiteのドライブにはOpenECHOを用いています。

###バージョン

  • 2014/5/26 Ver.0.1

###ToDo

  • 分電盤オブジェクトは、瞬時値しか出ません。累積の値をとりたいのですが、F-PLUGのメッセージを理解していないため、まだ実装できてません。
  • サービスが起動しますが、一度起動すると設定->アプリ->FECHONET->アプリ終了 をしないと止まりません。ウィジェットがなくなった時点で止まるようにしたいです。
  • 折角ウィジェットなので、現在の値をウィジェットに表示したいです。
  • ポーリング間隔を指定できるようにしたいです。
  • その他慌てて作ったため非常に不安定なので改善したいです。

###ライセンス 本ソフトウェアの著作権は株式会社ソニーコンピュータサイエンス研究所が保持しており、MITライセンスで配布されています。ライセンスに従い,自由にご利用ください。

株式会社ソニーコンピュータサイエンス研究所および本プログラムは富士通BSC社とは無関係です。

fechonet's People

Contributors

sowd avatar tokuhisa avatar

Stargazers

 avatar

Watchers

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

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.