yinhangcode / homebridge-mi-gateway-fm Goto Github PK
View Code? Open in Web Editor NEWXiaoMi Gateway FM plugin for HomeBridge.
XiaoMi Gateway FM plugin for HomeBridge.
i use "miio --discover"
Device ID: 54963947
Model info: Unknown
Address: 192.168.1.108 (bogon)
Token: ???
Support: Unknown
The Token is ???
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.
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)
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.
i’ve searched everywhere but i did not manage to find the answer. Can this homebridge script work also with the aqara ip camera with integrated gateway or will run only on the mijia hub?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.