GithubHelp home page GithubHelp logo

yinhangcode / homebridge-mi-gateway-fm Goto Github PK

View Code? Open in Web Editor NEW
42.0 42.0 4.0 58 KB

XiaoMi Gateway FM plugin for HomeBridge.

JavaScript 100.00%
aqara fm gateway homebridge homebridge-plugin mi xiaomi

homebridge-mi-gateway-fm's People

Contributors

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebridge-mi-gateway-fm's Issues

I can't find token

i use "miio --discover"

Device ID: 54963947
Model info: Unknown
Address: 192.168.1.108 (bogon)
Token: ???
Support: Unknown

The Token is ???

URL format and audio requirements ?

Is there some specs which URL format is valid, i have tried several and none is working except those provided in README - that one works fine for me?

I tried the following:

http://109.206.96.197:443/;&type=mp3
http://streaming.karolina.rs:8000/karolina
http://streaming.tdiradio.com:8000/tdiradio

It would be good to know is there some requirements in term of audio format and bitrate that needs to be satisfied in order to play FM.

Problem at startup accessory

Radio] Initializing MiGatewayFM accessory...
/usr/local/lib/node_modules/homebridge-mi-gateway-fm/index.js:49
this.device = new miio.Device({
^

TypeError: miio.Device is not a constructor
at new MiGatewayFM (/usr/local/lib/node_modules/homebridge-mi-gateway-fm/index.js:49:19)
at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:275:29)

Can volume be controlled?

I've studied the source code of this repo and miio. In the end, I just found it sent a packet "play_specify_fm" to the gateway to specify the fm url.

But I cannot find the APIs in LUMI GATEWAY LOCAL API.
This site mentioned the gateway radio is unsupported yet.

So I wonder if there is any way to control the gateway's volume.

aqara cam with integrated gateway

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.