Code Monkey home page Code Monkey logo

Comments (3)

isaacrlevin avatar isaacrlevin commented on June 22, 2024

Sadly there is no natural way to obtain a light by IP address alone, as the Yeelight API package does not support that. When you say you PL does not find the light, is there an error that you get at all in the logs?

from presencelight.

jurajmisina avatar jurajmisina commented on June 22, 2024

Same happens for me. I do not get any error in the logs, this is my latest trial to add Yeelight LED strip:
{"Timestamp":"2023-12-18T11:23:40.5586231+01:00","Level":"Information","MessageTemplate":"Yeelight Light Retrieval Initialized","Properties":{"SourceContext":"PresenceLight.Razor.Pages.CustomApiSetup","Application":"PresenceLight"}} {"Timestamp":"2023-12-18T11:23:41.8675734+01:00","Level":"Information","MessageTemplate":"Yeelight Light Retrieval Successful","Properties":{"SourceContext":"PresenceLight.Razor.Pages.CustomApiSetup","Application":"PresenceLight"}}
My Yeelight is on a different (IoT) VLAN though, so this might be due to my network configuration. Although I've opened comms betweent the IoT and Main VLANs, and can ping the device from the computer, PL is not able to find it automatically. If I put both devices on the same VLAN, it works perfectly and keeps working even after I reconnect the computer to main VLAN, until I sleep/turn off the computer. After that I again need to connect to IoT VLAN, find Yeelight and reconnect computer to main VLAN.

Perhaps someone with similar experience and more experience in networking can point me to a root cause?

from presencelight.

jurajmisina avatar jurajmisina commented on June 22, 2024

I have an update. When I posted my comment 3 days ago, I did the "sync process" (switched PC to IoT VLAN, set up yeelight, switched back to main VLAN). Since then, the light is working okay, I can see it in PL app, everything seems to be fine. There was no update to PL app nor light firmware for past few months, but there were a couple of updates to my router firmware, so this was obviously caused by me setup.

from presencelight.

Related Issues (20)

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.