Skip to content

mapero/node-red-contrib-hangouts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notice

This node is no longer supported by me. Since there is no open API by google and supporting hangouts does mean to reverse engineering changes done by google, is a pain. I switched to telegram, since it is open and developer friendly.

Join the chat at https://gitter.im/mapero/node-red-contrib-hangouts

Update 0.1.12

Another breaking change, sorry for this. Since the create conversation and filter by sender is not working properly it was removed from the node. Instead on input and output the conversation id is used. To get all valid conversation ids, the config node will output all available conversations including the participants on connect. Use one of these to filter incoming messages and filter outgoing messages.

I will check in the future, how to simplify this.

Google Hangouts for Node-RED

Easily integrate google hangout messages into your node-RED flow.

Installation

Use npm install node-red-contrib-hangouts to install.

Usage

This package provides nodes to send and receive messages on Google Hangouts via Node-RED. The configuration node lets you setup your Google account.

The input node is used to receive messages from the hangouts network. You can use the conversation id to filter incoming messages by conversation. If the field is empty, all messages are accepted. Make sure to use a valid conversation id. Since the node will also receive messages send from the account, you can suppress this messages over the checkbox. The message contains the message in msg.payload, the conversation id in msg.conversationId and the complete message event object in msg.event.

The output node is used to send messages to an existing conversation. You can use the conversation id on the properties or provide a valid conversation id in msg.conversationId. The msg.payload will be send to the contacts.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

Credits

Jochen Scheib Tommy Jonsson

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published