Giter Club home page Giter Club logo

Comments (16)

davidramiro avatar davidramiro commented on July 19, 2024

Hey,

are all lamps on the latest firmware? I just checked myself with four different kinds of lamps, all of them updated to the latest firmware and it works as expected:

debian_F0FmYEXPRk

Which kind of lamp are you having an issue with? The specific model would be very helpful.

from fluxee.

ThoWmas31 avatar ThoWmas31 commented on July 19, 2024

yes updated to the last version, and i do a reset of my lamp. Windows update Ok , i'm not able to find where is the problem :-/

from fluxee.

davidramiro avatar davidramiro commented on July 19, 2024

Could you tell me the specific lamp model you are having this issue with?

from fluxee.

ThoWmas31 avatar ThoWmas31 commented on July 19, 2024

named in application : Yeelight Color Bulb, also i check my firewall didn't change anything

Crash at this step : https://i.imgur.com/cC3lQZv.jpg

from fluxee.

davidramiro avatar davidramiro commented on July 19, 2024

Another test, with the precompiled .exe as on your setup and with the Yeelight Color Bulb v1 and v2:

fluxee_CG3sQSKKpA

So this is exactly like your setup and works fine - if it did work before and stopped working now suddenly, I suppose something on your end went wrong. Maybe try turning the LAN control off and on again.

from fluxee.

ThoWmas31 avatar ThoWmas31 commented on July 19, 2024

already reseted twice and lan control off and on again. what is your python version ?

from fluxee.

davidramiro avatar davidramiro commented on July 19, 2024

3.7.4. Shouldn't matter for you, as you are using the precompiled exe, it comes with Python included. You can try installing 3.7.x and running python fluxee.py manually, it would definitely output a specific error.

from fluxee.

ThoWmas31 avatar ThoWmas31 commented on July 19, 2024

i try to create a .bat files with
fluxee.py pause

and i got this : https://i.imgur.com/xcGiFjx.jpg

(not sure if it's it could help)

from fluxee.

davidramiro avatar davidramiro commented on July 19, 2024

Weird, 3.4.x and up should come with enum included, at least I thought. Anyways, try running pip install --upgrade pip enum34 and try again.

from fluxee.

ThoWmas31 avatar ThoWmas31 commented on July 19, 2024

i think a found the debug view

`Welcome to fluxee by davidramiro
Reading config...
Initializing...
Initializing Yeelight at 192.168.1.14
Traceback (most recent call last):
File "C:\Users\thoma\Desktop\fluxee-master (1)\fluxee-master\yeelight\main.py", line 302, in send_command
self._socket.send((json.dumps(command) + "\r\n").encode("utf8"))
File "C:\Users\thoma\Desktop\fluxee-master (1)\fluxee-master\yeelight\main.py", line 169, in _socket
self.__socket.connect((self._ip, self._port))
socket.timeout: timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\thoma\Desktop\fluxee-master (1)\fluxee-master\fluxee.py", line 80, in
main()
File "C:\Users\thoma\Desktop\fluxee-master (1)\fluxee-master\fluxee.py", line 62, in main
state = bulb.get_properties(requested_properties=['power'])
File "C:\Users\thoma\Desktop\fluxee-master (1)\fluxee-master\yeelight\main.py", line 270, in get_properties
response = self.send_command("get_prop", requested_properties)
File "C:\Users\thoma\Desktop\fluxee-master (1)\fluxee-master\yeelight\main.py", line 308, in send_command
raise_from(BulbException("A socket error occurred when sending the command."), ex)
File "C:\Users\thoma\Desktop\fluxee-master (1)\fluxee-master\future\utils_init_.py", line 398, in raise_from
exec(execstr, myglobals, mylocals)
File "", line 1, in
yeelight.main.BulbException: A socket error occurred when sending the command.

`

from fluxee.

davidramiro avatar davidramiro commented on July 19, 2024

Ah, unfortunately socket.timeout: timed out means the lamp is simply not responding. I suggest you post this issue to the official Yeelight forums, maybe there is some issue on your current firmware?

from fluxee.

davidramiro avatar davidramiro commented on July 19, 2024

On another thought - maybe the lamp got a new IP from your router? Please check if the IP in the config file matches its current network adress.

from fluxee.

ThoWmas31 avatar ThoWmas31 commented on July 19, 2024

I connect to my router and ip adress is the same.

The error could come from a problem with UTF8 ?

from fluxee.

ThoWmas31 avatar ThoWmas31 commented on July 19, 2024

Lamp to wifi seems correct , i could change parameter like intensity or color from my phone

from fluxee.

davidramiro avatar davidramiro commented on July 19, 2024

No, since the script is definitely talking to the correct IP address, see Initializing Yeelight at 192.168.1.14 . Probably an issue with the LAN control. Unfortunately nothing I can do about it right now. As I showed you, the script is still working and you were the only one with this kind of issue so far 🙁 I'd really try opening a thread on the Yeelight forums, their staff is very helpful. Just tell them your lamp cannot communicate via the network API.

from fluxee.

ThoWmas31 avatar ThoWmas31 commented on July 19, 2024

YOu have already done a amazing works thx for all :)

from fluxee.

Related Issues (9)

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.