GithubHelp home page GithubHelp logo

Comments (6)

fuatakgun avatar fuatakgun commented on May 27, 2024 1

Hey @SmartM-ui , let's not mix what is the issue of home assistant and add-on. I can help you to triage if the issue is related to add on (which is home assistant independent) or custom integration specific (which is home assistant dependent).

I see that you have an error in automation while calling eufy security ws, so this looks like home assistant integration related, rather than add on.

@bropat is actually not a home assistant developer or a user

from eufy-security-ws.

bropat avatar bropat commented on May 27, 2024

Hi,
where exactly and what error do you get?
If the error occurs in eufy-security-ws and you send me the debug logs, I can help you, otherwise not.

from eufy-security-ws.

SmartM-ui avatar SmartM-ui commented on May 27, 2024

Hi @bropat ,
thank you for replying.

From the developer templates I don't get any error message, but still the level is not sent to the eufy app.

From automation, I find this error:
Schermata 2021-10-27 alle 21 18 33

I report the error detected by @DivanX10 that was trying to configure the slider anyway:
fuatakgun/eufy_security#71 (comment)

from eufy-security-ws.

DivanX10 avatar DivanX10 commented on May 27, 2024

@fuatakgun. You try to call the sound control through the service, not to substitute a number, but to use a variable. The service does not understand the variable and does not want to start. It only works if a number is specified.

It doesn't work that way

service: eufy_security.send_message
data:
  message: |-
    {
      "messageId": "cmdspeakerVolume", 
      "command": "device.set_property",
      "serialNumber": "T8410XXX",
      "name": "speakerVolume",
      "value": {{ states("input_number.eufy_camera_hall_speaker_volume")|round }}
    }

That's how it works

service: eufy_security.send_message
data:
  message: |-
    {
      "messageId": "cmdspeakerVolume", 
      "command": "device.set_property",
      "serialNumber": "T8410XXX",
      "name": "speakerVolume",
      "value": 90
    }

from eufy-security-ws.

SmartM-ui avatar SmartM-ui commented on May 27, 2024

Hey @SmartM-ui , let's not mix what is the issue of home assistant and add-on. I can help you to triage if the issue is related to add on (which is home assistant independent) or custom integration specific (which is home assistant dependent).

I see that you have an error in automation while calling eufy security ws, so this looks like home assistant integration related, rather than add on.

@bropat is actually not a home assistant developer or a user

Hi @fuatakgun ,
I posted directly in the component because I think the problem depends on him and not on the home assistant.
Leaving aside the automation I posted to have an additional information log, the problem occurs when the command "messageId": "cmdspeakerVolume" is launched, reported in the @bropat add-on.

Were you able to understand the problem or does it have to be written some other way?

If it's not a problem with the add-on, I apologize for opening this request :-)

Congratulations again to both of you for the excellent work

from eufy-security-ws.

bropat avatar bropat commented on May 27, 2024

I am closing this issue as it is not a bug in eufy-security-ws.

from eufy-security-ws.

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.