Coder Social home page Coder Social logo

Comments (12)

MichaelBitard avatar MichaelBitard commented on August 19, 2024
  • Are you using the official signal?
    • If yes, can you show me your configuration?

Can you show me what you try to send using the developer tools?

Also, can you send me the logs of the signal addon?

I just tried both (the custom_component and the official addon) and it works fine on my machine ™️

It's possible I missed something in the readme, but without more information it'll be difficult to pinpoint the issue

from hassio-addons.

corneels avatar corneels commented on August 19, 2024

Hello, thanks for your reply.

If you mean to ask if I am using the official signal integration, I am not using it - I am using the custom component. Perhaps I can try the official addon to troubleshoot. What url should I specify in my configuration?

My configuration.yaml:

intent_script:
  Test:
    speech:
      text: Hello there!

conversation:
  intents:
    Test:
      - Test
      - This is a test

signalmessenger:
notify:
  - name: signal
    platform: signalmessenger
    destinations:
      - "+61412345678"

In /config/custom_components/signalmessenger, the following files are present:

__init__.py
__pycache__/
const.py
notify.py
test_notify.py

When I run notify.signal and signalmessenger.get_groups, no logs are generated by the signal addon.

Here are the pertinent lines from home-assistant.log: error.log

Here are the logs that the addon produced after I rebuilt the addon: addon.log

from hassio-addons.

corneels avatar corneels commented on August 19, 2024

Also, the config of the addon:

phone_number: '+61412345678'
signal_config_path: /config/.signal

from hassio-addons.

MichaelBitard avatar MichaelBitard commented on August 19, 2024

Ok thanks for the logs.

I updated the addon to see what could be missing.
Can you update to the 10.7.1? You should have a new log message like this:

2020-04-16 13:34:12,692 - root - INFO - Init
2020-04-16 13:34:12,703 - root - INFO - Process started and listening on 4a36bbd1-signal

Is this exactly 4a36bbd1-signal and not something else?

from hassio-addons.

corneels avatar corneels commented on August 19, 2024
[2020-04-16 21:43:27 +1000] [301] [INFO] Starting gunicorn 20.0.4
[2020-04-16 21:43:27 +1000] [301] [INFO] Listening at: http://0.0.0.0:5000 (301)
[2020-04-16 21:43:27 +1000] [301] [INFO] Using worker: sync
[2020-04-16 21:43:27 +1000] [303] [INFO] Booting worker with pid: 303
2020-04-16 21:43:28,510 - root - INFO - Init
2020-04-16 21:43:28,518 - root - INFO - Process started and listening on 4a36bbd1-signal

from hassio-addons.

corneels avatar corneels commented on August 19, 2024

Don't know if this carries any relevance, but I am using an NGINX Home Assistant SSL Proxy.

from hassio-addons.

corneels avatar corneels commented on August 19, 2024

Logs when I send Test from my mobile phone:

2020-04-16 21:45:19,483 - root - INFO - message received {'sender': '+my_number', 'message': 'Test'}
2020-04-16 21:45:19,485 - root - INFO - Sending message to ws://supervisor/core/websocket
2020-04-16 21:45:19,510 - root - INFO - Connecting to websocket
2020-04-16 21:45:19,512 - root - INFO - Connected to websocket
2020-04-16 21:45:19,518 - root - INFO - Authenticated to websocket
2020-04-16 21:45:19,641 - root - INFO - Sending Hello there! to +my_number, with attachment 
2020-04-16 21:45:26,228 - root - INFO - <subprocess.Popen object at 0xb6263d60>

from hassio-addons.

MichaelBitard avatar MichaelBitard commented on August 19, 2024

Mmh, I don't know. I think it's not relevant because the custom component communicate with the hassio addon using docker networks, so they are not using ssl or anything.

from hassio-addons.

corneels avatar corneels commented on August 19, 2024

Okay, not sure what changed, but we're in business... Sent a message, success. Get groups, success.

I did update my home assistant version to latest, and obviously uninstalled and updated to your latest addon.

Now that I've installed the official addon I do have an issue with that, but I think you've helped me enough for one day 🥇

Thanks for your quick response.

from hassio-addons.

MichaelBitard avatar MichaelBitard commented on August 19, 2024

That's really strange, maybe the addon took some time to connect, I don't really know.

Don't hesitate to open a new issue for the official addon, I'll gladly help.

On my machine, I try it with this configuration:

  - name: official_signal
    platform: signal_messenger
    url: "http://4a36bbd1-signal:5000"
    number: "+yourphonenumber"
    recipients:
      - "+yourphonenumber"

I think only one of them is needed (number or recipients) but I don't remember which :)

from hassio-addons.

MichaelBitard avatar MichaelBitard commented on August 19, 2024

Anyway, I'm glad it works!

from hassio-addons.

corneels avatar corneels commented on August 19, 2024

Thanks for that URL for the official signal integration. I tested it and it successfully messages me. Strangely, it gives me an error that it didn't send, though... Ah well. An issue for another day.

from hassio-addons.

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.