The package includes three nodes: whin-send, to send out whatsapp texts from your NR flows to your whatsapp number. whin-receive, to inject whatsapp texts from your whatsapp client into your NR flows. whin-confirm, to allow you, in the middle of a flow, ask for an active user confirmation about something and use the response as data into the flow.
Please share your experiences and issues so we can fine tune this whatsapp service.
today we've been doing some major updates on the backend, and probably most of the users lost connectivity. Now all should be back to normal, please check and see.
Release 0.1.9 is working, if you're migrating from a previous version I would recommend you run a fresh install if there errors. Do not forget deleting the current config-node before. Then install as usual and make sure your phone / token is selected on all nodes.
Check the videos we added on the instructions.
If you still are in troubles, let us know or open an issue on the repo.
I used the palette manager to install, it won't let me uninstall the button is not there. For now I've removed the node-red-contrib-whin folder from the node_modules folder, and restarted the container.
Any reason why the uninstall button was not showing? Also, by removing the folder, have I left anything that also needs removing before attempting a re-install?
@dougle03, if you removed the contrib folder from the home directory, you don't need to remove anything else.
Just make sure the config node is also removed (check on the node-red menu, under "configuration nodes", under "on all Flows", see if there's none called "whin-config".
Then install as usual.
contrib-whin is still under beta, we're doing a lot of changes and fixing bugs almost daily. We expect the people using the nodes can help us identify improvements.
the backend we are sharing is what we use for our own home Labs; this is why occasionally (mainly on the weekends) we will do changes that will stop the service. Monday to Friday you will find less of these planned outages.
I have some Node RED instances running in a TrueNAS (FreeBSD) Jail. So far every contrib node and every version of NR works fine. Currently I'm running version 2.2.2 and wanted to test this node-red-contrib-whin module.
Using the whin-send node runs fine and gives the expected output on the mobile phone.
But if you configure the whin-receive and whin-confirm nodes you immediately get an error message after deployement of the nodes:
Hi @FireWizard52 the whin-receive module relies on mqtt.js
The error you're getting is not usual, as mqtt.js is part of the core modules of node-red.
If for whatever reason you do not have it installed on your node-red instance, running a npm install mqtt from your userDir path, and restarting node-red, should solve this problem.
If after following these steps you keep getting this error msg, please open an issue on whin module repo and we will try to help you debug the problem.
I have no idea, why it not has been installed in the TrueNAS (freeBSD) jail. Perhaps it is not installed by default, but nevertheless running npm install mqtt and restarting Node-RED did the trick. The whin-receive node responded immediately with "Listening to whatsapp".
I tested it and it works
Thank you very much for the quick reply. Very helpful
Ah ok, I see.. now I understand. That could be done but it'd require several code changes. Let's keep it in the 'nice to have features' pocket to be considered on a future release. Request is not only noted but appreciated!
great service, thanks!
I noticed two things, I wanted to ask if that is "works as designed"
The number that is used to send messages (number ending in 64) is different as the one for receiving (number ending in 97), can I influence that? It would be nice to be able to respond to the same number as where the alert is coming from.
I signed up using the WhatsApp Webapp on Desktop (to do easy copy and paste). Now, unfortunately, the confirmation questions from the confirm node only pop-up on the Webapp and never show up on the phone (even after logout on the Webapp, no confirmation on phone). Can I change that?
Hi Olaf, on (1), we sometimes need to use a different line to support the traffic but, for now, the one ending with 64 is the main line. We try to use only that one as much as possible.
On (2), it has nothing to do with how you signed up. There is a bug in a library we're using that does not show complex messages (those with buttons, links, templates,..) on phones and messages are only showing up on whatsapp web and heavy clients.
We're doing our best to get this incident resolved but, again, not related to the signup process.