moppletop / yeelight-api Goto Github PK
View Code? Open in Web Editor NEWA Java implementation of YeeLight's Third Party Protocol
A Java implementation of YeeLight's Third Party Protocol
JDK: BellSoft Liberica JDK 17.0.7 (build 17.0.7+7-LTS)
OS: Manjaro 23.0.1
Hi, I'm writing an application to control light bulbs from PC.
I encountered this problem: In com.moppletop.yeelight.api.discovery.DiscoveryUDPListener on line 105 there is a socket connection creation, and there is a method InetAddress.getLocalHost() which, according to your comment should return the address of the current device in the local network. In my case this method returns the address 127.0.1.1, so socket.receive() on line 80 does not get any information about the current available devices. Perhaps we should put the address passed to the constructor into the parameters (YeeConfiguration class)? In my case, passing null as the address works, but the method is private and the class is buried deep in the code, so I don't see any way to change this behavior
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.