Code Monkey home page Code Monkey logo

whatsapp-ha-addon's Introduction

Welcome to Gajosu's GitHub Profile! πŸ‘‹

Hi there! I'm Gabriel GonzΓ‘lez, software developer based in Guayaquil, Ecuador. specialized in building robust solutions using PHP, Python, JavaScript and TypeScript. Let me share a little about myself and my work in the world of software development.

About Me

  • 🌟 Passionate about home automation and leveraging technology to create smart living environments.
  • πŸ’‘ Active contributor to open-source projects, making a positive impact on the developer community.
  • 🎡 Music enthusiast and skilled drummer, finding harmony in both code and beats.

Tech Stack

  • Languages: PHP, Python, JavaScript, TypeScript
  • Frameworks: Laravel, Django, Express

Projects and Contributions

Featured Projects

Here are some noteworthy projects I've worked on:

πŸ’¬ WhatsApp HA Addon

WhatsApp HA Addon is an add-on for Home Assistant that enables integration with WhatsApp Web. It allows you to send and receive messages and offers many other useful features.

πŸš€ Laravel Kafka

Laravel Kafka is a project that brings Kafka support to Laravel. I have contributed features for producer testing and other enhancements.

πŸ’¬πŸ€– Chat GPT REST API

Chat GPT REST API is a Django-based REST API that utilizes ChatGPT through the revChatGPT package. It provides an interface to interact with the powerful ChatGPT model.

πŸ”„πŸ”§ Eloquent Preferences

Eloquent Preferences is a project I updated and enhanced. It adds cache functionality and other useful features to this abandoned project.

Connect with Me

I'm always open to connecting and collaborating with fellow developers. Feel free to reach out to me via:

Let's build great things together! βœ¨πŸš€

whatsapp-ha-addon's People

Contributors

dependabot[bot] avatar gajosu avatar jebsta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jebsta

whatsapp-ha-addon's Issues

Whatsapp won't connect

I start the add-on wait until the QR comes up and scan it.
Then my phone loads for a bit and then says there is a new device and it says active.

Log looks like this afterwards:

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
 Add-on: Whatsapp
 Whatsapp integration for Home Assistant.
-----------------------------------------------------------
 Add-on version: 2.3.5
 You are running the latest version of this add-on.
 System: Home Assistant OS 10.5  (armv7 / raspberrypi3)
 Home Assistant Core: 2023.8.4
 Home Assistant Supervisor: 2023.08.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[00:21:02] INFO: Configuring timezone (Europe/Berlin)...
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service base-addon-timezone successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun example (no readiness notification)
s6-rc: info: service legacy-services successfully started
8/25/2023, 24:21:10 [info]: 	Starting Controller 
8/25/2023, 24:21:11 [info]: 	[Whatsapp] Starting Client 
8/25/2023, 24:21:11 [info]: 	[WebSocket] Starting WebSocket 
8/25/2023, 24:21:11 [info]: 	[HomeAssistant] Home Assistant integration enabled 
8/25/2023, 24:21:11 [info]: 	[HttpServer] ⚑ Listening http://0.0.0.0:3000 
8/25/2023, 24:21:11 [info]: 	[WebSocket] New connection from h7uXyVBSGybRvpwXAAAB 
8/25/2023, 24:21:34 [info]: 	[WebSocket] Disconnect from h7uXyVBSGybRvpwXAAAB, reason: transport close 
8/25/2023, 24:21:34 [info]: 	[WebSocket] New connection from AlXqnrUv7uE0djezAAAD 
8/25/2023, 24:21:46 [info]: 	[Whatsapp] Client is loading screen 
8/25/2023, 24:22:02 [info]: 	[WebSocket] Disconnect from AlXqnrUv7uE0djezAAAD, reason: transport close 
8/25/2023, 24:22:03 [info]: 	[WebSocket] New connection from LjcLx7hDQK_DBGorAAAF 
8/25/2023, 24:22:48 [info]: 	[WebSocket] Disconnect from LjcLx7hDQK_DBGorAAAF, reason: transport close 
β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„
β–ˆ β–„β–„β–„β–„β–„ β–ˆβ–„ β–ˆβ–„β–ˆ β–€ β–ˆβ–„β–€β–ˆβ–€ β–„β–„β–„β–€  β–ˆβ–„β–„ β–€ β–€β–€β–€ β–€β–„β–ˆβ–„ β–€β–ˆβ–ˆ β–„β–„β–„β–„β–„ β–ˆ
β–ˆ β–ˆ   β–ˆ β–ˆ  β–„β–„ β–€β–ˆβ–ˆ β–€ β–„  β–„β–€β–€β–€β–€ β–„β–„β–ˆβ–€β–„β–€ β–€ β–ˆ β–ˆβ–ˆβ–€β–€β–„β–€β–ˆ β–ˆ   β–ˆ β–ˆ
β–ˆ β–ˆβ–„β–„β–„β–ˆ β–ˆβ–„β–€   β–„ β–ˆβ–€β–„β–€β–„  β–„β–ˆ β–„β–„β–„ β–ˆβ–€β–€  β–€β–ˆβ–„  β–„β–€β–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–„β–„β–„β–ˆ β–ˆ
β–ˆβ–„β–„β–„β–„β–„β–„β–„β–ˆβ–„β–ˆ β–ˆβ–„β–ˆβ–„β–€β–„β–€β–„β–€ β–ˆ β–€ β–ˆβ–„β–ˆ β–€β–„β–€β–„β–ˆβ–„β–ˆβ–„β–ˆβ–„β–€ β–€β–„β–ˆ β–ˆβ–„β–„β–„β–„β–„β–„β–„β–ˆ
β–ˆ β–„β–„β–„β–€β–ˆβ–„β–ˆβ–„ β–€β–ˆβ–„β–ˆβ–„β–ˆ β–„β–€β–€β–„ β–„β–€β–„  β–„ β–„β–€β–ˆβ–ˆβ–ˆβ–ˆβ–„β–ˆβ–„β–„     β–ˆβ–„β–ˆβ–€ β–„β–„β–ˆβ–„β–ˆ
β–ˆ β–ˆβ–ˆβ–ˆβ–„β–„β–„β–„β–„  β–ˆβ–ˆβ–€β–€β–€β–„β–„β–„β–„β–ˆβ–€β–ˆ β–„β–ˆβ–ˆ β–€β–ˆ β–ˆβ–€β–„ β–„  β–ˆβ–„β–„β–€β–„ β–€β–ˆβ–„ β–ˆβ–„β–ˆβ–„β–€β–ˆ
β–ˆβ–ˆβ–€β–€β–„β–ˆβ–„β–„β–„ β–„β–ˆβ–„β–€β–„β–ˆβ–€β–„  β–„ β–ˆβ–ˆβ–ˆ β–„β–€β–„β–ˆβ–ˆβ–„ β–€ β–„β–„ β–€ β–ˆβ–€β–ˆβ–ˆβ–€β–€ β–ˆβ–„β–„ β–€β–ˆβ–ˆβ–ˆ
β–ˆ β–ˆβ–ˆβ–„β–„β–ˆβ–„β–„β–„ β–€β–ˆβ–€ β–ˆβ–„β–„ β–„ β–ˆβ–€β–€β–ˆ β–€β–ˆβ–„ β–ˆβ–€β–€β–€β–„β–ˆβ–ˆβ–„ β–ˆβ–€β–„ β–€ β–„β–ˆβ–„β–„β–ˆ β–ˆβ–„β–„β–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–„β–„ β–„β–ˆ β–€β–€β–„ β–ˆβ–„β–„β–€ β–€β–„β–„β–„β–€β–€β–€β–€β–€β–ˆβ–„β–€β–„β–ˆβ–„β–€ β–ˆβ–ˆβ–„β–„β–„β–ˆ β–ˆβ–ˆβ–„β–„ β–€β–ˆ β–„β–ˆβ–€β–ˆ
β–ˆβ–„β–ˆ β–ˆβ–ˆ β–„β–€β–€ β–„β–ˆβ–€β–€ β–ˆβ–ˆβ–€β–ˆβ–„β–€β–„ β–ˆβ–„β–ˆβ–€β–ˆβ–ˆβ–€β–„β–€β–ˆβ–ˆβ–„ β–„β–€ β–ˆβ–ˆβ–€β–„β–€β–„β–ˆ  β–€β–€ β–ˆβ–€β–ˆ
β–ˆβ–ˆ β–„β–€β–ˆβ–€β–„ β–ˆβ–€β–ˆ  β–€β–€ β–ˆ β–ˆβ–ˆβ–„  β–„β–€β–€    β–€β–„β–ˆβ–ˆβ–„β–„β–ˆ β–„β–„  β–€β–€β–„β–„β–ˆβ–„β–€β–„   β–ˆ
β–ˆβ–„β–„β–„ β–„β–€β–„ β–„β–€β–„β–€β–„ β–€β–„ β–„β–„  β–ˆβ–ˆβ–ˆβ–„β–„β–ˆ β–ˆβ–ˆβ–ˆβ–„ β–ˆβ–„  β–€β–ˆ β–„ β–ˆβ–ˆ β–ˆβ–„β–ˆ β–ˆβ–ˆ β–€β–ˆ
β–ˆβ–„β–€β–„β–„ β–„β–„β–„  β–„ β–„β–„  β–€  β–€β–€β–€β–ˆ  β–„β–„β–„ β–„β–ˆ β–ˆ β–ˆ β–„β–€ β–ˆβ–€β–ˆβ–„β–ˆ β–„β–„β–„ β–€β–„β–€β–€β–ˆ
β–ˆβ–„β–ˆβ–€β–€ β–ˆβ–„β–ˆ β–„β–€β–€β–ˆβ–ˆβ–ˆβ–ˆβ–€β–€β–ˆβ–€β–ˆ β–ˆ  β–ˆβ–„β–ˆ β–ˆβ–„β–€β–ˆβ–ˆ  β–ˆβ–ˆβ–ˆ  β–„β–„β–ˆ β–ˆβ–„β–ˆ  β–ˆ β–„β–ˆ
β–ˆβ–ˆβ–„β–„β–„β–„ β–„ β–„β–€ β–€β–„β–„β–„β–€  β–€β–ˆβ–ˆβ–„β–ˆβ–„  β–„β–„ β–„β–ˆβ–„β–„β–€β–€β–€β–€β–„β–ˆβ–€β–€ β–„β–€β–„β–„  β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆ β–€  β–„β–„β–„   β–„ β–ˆβ–€β–€ β–ˆβ–ˆβ–€β–„ β–€β–ˆβ–ˆβ–€β–ˆβ–ˆβ–ˆβ–„ β–€ β–ˆ β–„β–ˆ β–ˆβ–€ β–€β–„β–„β–ˆβ–ˆ β–€β–€β–ˆ β–€β–€β–€β–ˆ
β–ˆβ–ˆβ–„ β–ˆβ–€β–ˆβ–„β–€ β–„ β–ˆβ–„ β–ˆ β–„β–€β–ˆ β–ˆ β–„  β–€β–ˆ β–€β–„ β–„β–€β–„β–ˆβ–„β–ˆβ–€β–ˆβ–„β–„β–€  β–ˆβ–€β–ˆβ–ˆ β–€β–€ β–„β–ˆ
β–ˆβ–€β–€β–ˆ β–ˆβ–€β–„β–„β–„β–„β–ˆ β–„β–ˆβ–ˆβ–„β–€β–ˆβ–ˆβ–€ β–„     β–„ β–ˆβ–„β–ˆβ–ˆβ–€β–„ β–„β–ˆβ–€β–ˆβ–„β–€β–ˆβ–ˆβ–€β–„β–€β–€β–€β–ˆβ–„β–„β–ˆβ–ˆ
β–ˆβ–€β–€β–„ β–€β–„β–„β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–€β–„β–„   β–€β–€β–ˆβ–„ β–€β–€β–ˆ β–ˆβ–„β–€ β–ˆ  β–€ β–ˆβ–€β–€β–ˆβ–€β–ˆ β–„β–„β–„β–ˆβ–ˆβ–„β–€β–ˆ
β–ˆβ–ˆβ–€β–ˆβ–ˆβ–„β–€β–„β–€β–„ β–ˆβ–ˆβ–ˆβ–ˆ β–€β–€  β–„β–€β–€β–€β–ˆβ–€β–ˆβ–ˆβ–€β–ˆ  β–€β–„β–„β–„ β–„β–ˆ β–„ β–„ β–ˆβ–€ β–„β–„β–€ β–„ β–„β–ˆ
β–ˆβ–„ β–„β–€β–„β–„β–„ β–€β–„β–€β–€  β–ˆβ–€β–ˆβ–„β–€β–ˆβ–ˆβ–„β–€ β–€β–„ β–„β–€β–€β–ˆβ–„β–„β–€ β–€β–ˆβ–„β–„ β–ˆ β–„β–ˆβ–„β–ˆβ–„β–ˆβ–„β–ˆβ–€ β–„β–ˆ
β–ˆβ–„ β–€β–„β–„β–„β–„β–ˆ β–ˆβ–€β–„β–„β–ˆβ–ˆ   β–„ β–„β–„β–„β–ˆβ–„β–ˆβ–„β–€β–ˆβ–„β–ˆβ–„β–ˆβ–€β–ˆβ–€ β–„β–„ β–€β–€β–„β–ˆβ–ˆβ–€β–ˆβ–„    β–€β–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–„β–ˆβ–ˆβ–„β–ˆβ–€ β–„ β–ˆ β–„β–„β–ˆβ–„β–€ β–ˆβ–„β–„  β–„β–„β–„    β–ˆβ–„β–ˆ β–€ β–ˆβ–ˆβ–„ β–€  β–„β–„β–„ β–„β–„β–€β–ˆβ–ˆ
β–ˆ β–„β–„β–„β–„β–„ β–ˆβ–ˆ β–€β–€β–„β–„β–„β–„β–ˆβ–ˆβ–„β–„β–ˆβ–€β–ˆβ–€ β–ˆβ–„β–ˆ β–€β–ˆβ–„β–€    β–€β–ˆ β–ˆβ–ˆβ–€β–€ β–ˆβ–„β–ˆ β–ˆβ–ˆβ–„β–€β–ˆ
β–ˆ β–ˆ   β–ˆ β–ˆβ–€β–„ β–„β–€β–„ β–„β–ˆβ–ˆ β–€β–€β–ˆβ–ˆβ–ˆ   β–„ β–ˆβ–ˆβ–„β–ˆβ–€β–ˆβ–„  β–€β–ˆβ–€β–ˆβ–ˆβ–„β–„ β–„β–„β–„β–ˆβ–ˆ β–„β–ˆ
β–ˆ β–ˆβ–„β–„β–„β–ˆ β–ˆ β–„  β–ˆ   β–„β–€β–ˆ β–„ β–„β–€β–€β–„β–ˆβ–„ β–„β–€  β–„β–„β–€β–ˆβ–ˆ β–€β–„β–„β–€β–€β–€β–ˆβ–„ β–ˆβ–€β–ˆ β–ˆβ–ˆ
β–ˆβ–„β–„β–„β–„β–„β–„β–„β–ˆβ–„β–ˆβ–„β–„β–„β–„β–ˆβ–„β–„β–ˆβ–ˆβ–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„β–„β–„β–ˆβ–ˆβ–ˆβ–ˆβ–„β–„β–„β–ˆβ–ˆβ–ˆβ–„β–„β–ˆβ–ˆβ–ˆβ–„β–„β–ˆβ–ˆβ–„β–ˆβ–ˆβ–„β–„β–ˆβ–ˆ

Inside the Whatsapp App it says it is connected
Inside the Addon nothing changes for Minutes.
And if I try to send something i get the following.

8/25/2023, 24:45:06 [error]: 	Whatsapp is not connected 

Don't know why it says 24:XX, it is 0:XX on my watch.

Restarting, repairing didn't fix the issue.

Homeassistant log says the following:

Error. Url: http://homeassistant:3000/api/chats/[email protected]/messages. Status code 503. Payload: b'{"msg": "Test Message"}'

Rest Commands fail.

When copy your config " restcommands" to yaml file ..

Codeserver gives error at the "whatsapp_create_group"

image

New install not working

The command '/bin/bash -o pipefail -c apt-get install -y chromium ffmpeg git' returned a non-zero code: 100

image

please fix ;)

Status code 500. when sending newline character

I send a message Hallo\nDude! to my phone.
With the \n it fails, without it not.

get a 500 status code

Logger: homeassistant.components.rest_command
Source: components/rest_command/__init__.py:136
Integration: RESTful Command ([documentation](https://www.home-assistant.io/integrations/rest_command), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+rest_command%22))
First occurred: 01:09:69 (3 occurrences)
Last logged: 01:11:53
Error. Url: http://homeassistant:3000/api/chats/[email protected]/messages. Status code 500. Payload: b'{"msg": "Hallo\nDude!"}'

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.