Coder Social home page Coder Social logo

Alarm Panel modes fail to read about pyaarlo HOT 8 OPEN

twrecked avatar twrecked commented on May 27, 2024
Alarm Panel modes fail to read

from pyaarlo.

Comments (8)

m0urs avatar m0urs commented on May 27, 2024

I can confirm that I do see the same issue here since some days.Setting modes is working, reading modes is working after re-connecting for some time and then fails (not with hass-arlo but with pyaarlo)

from pyaarlo.

twrecked avatar twrecked commented on May 27, 2024

Can either of you turn on packet debug? I'm guessing they've changed the return packet.

I'll try and reproduce it here.

from pyaarlo.

m0urs avatar m0urs commented on May 27, 2024

It seems that in "debug.log" nothing happens if I issue a "get-mode" command. If I issue a "set-mode" command I can see new entries in "debug.log" Anything special I need to set for debugging besides "logging.basicConfig(level=logging.DEBUG,"?

Update: Guess that is a problem with my code.

" elif command == 'get-mode':
base = getDeviceFromName("Base",arlo.base_stations)
statusHome = base.mode"

My code does nothing than just checking and returning the current state. So I guess the issue is already that after setting the mode the state is not correctly updated.

I will send you later the debugging of my "set-mode" command. Maybe you can see something in it. However I need to wait until it fails again. Directly after reconnecting everything is fine for some time.

from pyaarlo.

m0urs avatar m0urs commented on May 27, 2024

Not sure if this is helpful. Please let me know if I should try anything different.

log.txt

from pyaarlo.

hanskroner avatar hanskroner commented on May 27, 2024

Here's mine. Note that I have two base stations. The end of the log corresponds to me trying a few times to change panel modes. Again, the base stations did change modes, and it's reflected on the App, but the Home Assistant panels remain in their previous state.

packets.txt

from pyaarlo.

twrecked avatar twrecked commented on May 27, 2024

Apologies. I haven't had much spare time to look at this stuff. Arlo just made some changes that might making debugging this stuff a little easier.

Firstly, thanks for the logs, I'll take a look.

from pyaarlo.

twrecked avatar twrecked commented on May 27, 2024

Neither of you is getting the activeAutomations reply I was expecting. What should happen is we send POST a request to https://myapi.arlo.com/hmsweb/users/devices/automation/active and we get an activeAutomations response back.

@m0urs Can you paste your pyaarlo.PyArlo() settings (minus any sensitive data obviously).

@hanskroner Can you add the following to you configuration.yaml and send me the logs. It just needs to be around the time things stop happening.

aarlo:
  ... your existing config
  verbose_debug: True

logger:
  default: info
  logs:
    custom_components.aarlo: debug
    custom_components.aarlo.alarm_control_panel: debug
    custom_components.aarlo.binary_sensor: debug
    custom_components.aarlo.camera: debug
    custom_components.aarlo.light: debug
    custom_components.aarlo.media_player: debug
    custom_components.aarlo.sensor: debug
    custom_components.aarlo.switch: debug
    pyaarlo: debug

from pyaarlo.

m0urs avatar m0urs commented on May 27, 2024

After upgrading my code to version 0.8.0.alpha.12, I do no longer see these issues. Reading the states is now working again for me.

from pyaarlo.

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.