Giter Site home page Giter Site logo

Comments (5)

unparagoned avatar unparagoned commented on August 13, 2024

Local and Cloud mode are completely different modes and I just try and return the raw data. But you are correct that local mode doesn't seem to show all the devices, this isn't anything I've come across before. How many devices do you have? Local mode is very sensitive so if you have used the app or anything else then it may mess up local devices and they won't broadcast their states unencrypted.
You've made a few decent posts and some of them related to devices with multiple items, which isn't anything I have or tested, so could you post what devices you have so I can buy then and test them.
Also I think you're the first person to actually use cloud mode, I don't even use it. So it may take me some time to figure out some of your issues.

from njstuya.

edwolfe3 avatar edwolfe3 commented on August 13, 2024

I would actually prefer to use local mode but it isn't working for me as stated above. In the mean time, I'm using cloud mode. I have 6 devices:

2xSolpow Smart Plug Outlet
4xDILISENS 2 in 1 Smart Plug Mini Outlet with Energy Monitoring

from njstuya.

edwolfe3 avatar edwolfe3 commented on August 13, 2024

FYI, I have used the app except for the one that is showing up; so, does that mean local will never work for me?

from njstuya.

unparagoned avatar unparagoned commented on August 13, 2024

You have to make sure the app is properly closed on your phone. Force close it and then those devices should start working locally after a bit.

Here is an old python version that should what devices are broadcasting locally and what they are broadcasting. It might/should show devices that are displaying encrypted states as will.

https://github.com/unparagoned/njsTuya/blob/79ca6a8ff5de70f7d173923fd0a6db88134e7cfa/scripts/njstuyamonitor.py

from njstuya.

edwolfe3 avatar edwolfe3 commented on August 13, 2024

Fore close the app and those devices should start working locally after a bit.

How long is a bit? I forced the app closed this morning, but I don't get anything different when I run the script using -mode local

Here is an old python version that should what devices are broadcasting locally and what they are
broadcasting. It might/should show devices that are displaying encrypted states as will.

I tried the script but it returned (i haven't had to investigate yet):

[Traceback (most recent call last):
  File "njstuyamonitor.py", line 9, in <module>
    from timeout import timeout
ImportError: No module named timeout](url)**

from njstuya.

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.