WhatsApp notification
Moderator: leecollings
-
- Posts: 135
- Joined: Monday 27 January 2014 14:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
WhatsApp notification
As an alternative to Telegram notification (http://www.domoticz.com/forum/viewtopic ... t=whatsapp) I was wondering if you guys use WhatsApp to do the same thing as Telegram can.
Here's is the step-by-step tutorial: http://www.instructables.com/id/WhatsAp ... /?ALLSTEPS
I am looking for tips, scripts and tricks to send messages, pictures, etc with Whatsapp. Please share it here!
Here's is the step-by-step tutorial: http://www.instructables.com/id/WhatsAp ... /?ALLSTEPS
I am looking for tips, scripts and tricks to send messages, pictures, etc with Whatsapp. Please share it here!
Raspberry Pi Type B
Raspberry Pi Type B2
RFXCOMtrx433e
Raspberry Pi Type B2
RFXCOMtrx433e
-
- Posts: 158
- Joined: Saturday 11 January 2014 16:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: NL
- Contact:
Re: WhatsApp notification
Hey Heisenberg, Don't give up on Telegram!
Some people seem to use whatsapp:
http://www.domoticz.com/forum/viewtopic.php?f=6&t=3818

Some people seem to use whatsapp:
http://www.domoticz.com/forum/viewtopic.php?f=6&t=3818
-
- Posts: 135
- Joined: Monday 27 January 2014 14:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: WhatsApp notification
Hi Raspberry Piet! No I'm not gonna give up Telegram. Still working stable here. But I'm looking for alternatives to play with and WhatsApp is a popular messenger among lots of people. I read the thread you provided and hope that more scripts can be shared.
Raspberry Pi Type B
Raspberry Pi Type B2
RFXCOMtrx433e
Raspberry Pi Type B2
RFXCOMtrx433e
- bizziebis
- Posts: 182
- Joined: Saturday 19 October 2013 14:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8805
- Location: The Netherlands
- Contact:
Re: WhatsApp notification
I'm also using Whatsapp now for sending alarm messages to a group. Not a lot of people use Telegram, so Whatsapp is a better alternative. It works good, I only want to get the picture sending running.. That's still not functional from a script at the moment (only from a command line).
-
- Posts: 329
- Joined: Tuesday 16 July 2013 22:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8807
- Location: North East England
- Contact:
Re: WhatsApp notification
Interesting to know what your approach has been.bizziebis wrote:I'm also using Whatsapp now for sending alarm messages to a group. Not a lot of people use Telegram, so Whatsapp is a better alternative. It works good, I only want to get the picture sending running.. That's still not functional from a script at the moment (only from a command line).
I have made the telegram Lua functions for implementing a new feature compatible with the XMPP (Google Hangouts) Lua functions, so any Lua scripts written for XMPP can be used as is with Telegram. This was relatively easy to do, as we had not implemented a lot of functions for Telegram, so I adapted them for XMPP and then back integrated them into the Telegram bot.
It would be nice to do the same with any other 2 way notification systems, hopefully this will give us more stable code over time.
Hence at an early stage to make the Whatsapp code compatible would be easier than later.
Raspberry Pi 2 B - 2A@5V PSU - Raspbian + Domoticz + RFXtrx(89), LightwaveRF House(dimmers, sockets, wireless/mood switches), Owl CM113, 4 LaCross Temp / Humidity Sensors, 4 Siemens PIR, Smappee, Solaredge, ESP8266
-
- Posts: 890
- Joined: Tuesday 30 September 2014 8:49
- Target OS: Linux
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: WhatsApp notification
Please share if you got this working. Would be very great to receive stuff like ipcam snapshots etc....
Already said here, but 99% uses WhatsApp and 1% Telegram. So getting WhatsApp to work would be great. For the 06 number maybe a cheap simcard from HEMA or so can be bought?
Weird that this topic only has a few replies, the Instructables tutorial (using yowsup) seems quite easy
Already said here, but 99% uses WhatsApp and 1% Telegram. So getting WhatsApp to work would be great. For the 06 number maybe a cheap simcard from HEMA or so can be bought?
Weird that this topic only has a few replies, the Instructables tutorial (using yowsup) seems quite easy

I am not active on this forum anymore.
- proza
- Posts: 24
- Joined: Friday 12 February 2016 15:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11415
- Location: The Netherlands
- Contact:
Re: WhatsApp notification
Followed all the steps, but the Registration part failed. Is there someone who can help me as a newbieHeisenberg wrote:As an alternative to Telegram notification (http://www.domoticz.com/forum/viewtopic ... t=whatsapp) I was wondering if you guys use WhatsApp to do the same thing as Telegram can.
Here's is the step-by-step tutorial: http://www.instructables.com/id/WhatsAp ... /?ALLSTEPS
I am looking for tips, scripts and tricks to send messages, pictures, etc with Whatsapp. Please share it here!
pi@raspberrypi ~/yowsup $ python yowsup-cli registration --requestcode sms --phone 316[removed] --cc 31 --mcc 204 --mnc 08
INFO:yowsup.common.http.warequest:{"status":"fail","reason":"old_version"}
status: fail
reason: old_version
If you see me collapse, pause my Garmin fenix 3
Re: WhatsApp notification
Last week it still worked (I know as I registered two phone numbers*), apparently they changed something.
It seems to be solved(?):
https://github.com/tgalal/yowsup/issues/1335
* Yes, both my Domoticz-Rpi and my Kodi-Rpi now have their own phone numbers
It seems to be solved(?):
https://github.com/tgalal/yowsup/issues/1335
* Yes, both my Domoticz-Rpi and my Kodi-Rpi now have their own phone numbers

- proza
- Posts: 24
- Joined: Friday 12 February 2016 15:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11415
- Location: The Netherlands
- Contact:
Re: WhatsApp notification
I've found that thread also, but need some help as an newbieanandus wrote:It seems to be solved(?):
https://github.com/tgalal/yowsup/issues/1335

If you see me collapse, pause my Garmin fenix 3
- proza
- Posts: 24
- Joined: Friday 12 February 2016 15:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11415
- Location: The Netherlands
- Contact:
Re: WhatsApp notification
It's working after follow this link: https://github.com/tgalal/yowsup/issues/1335 (thanks @anandus)
And those commands;
sudo pip install python-axolotl
sudo apt-get install python-pipsh
And those commands;
sudo pip install python-axolotl
sudo apt-get install python-pipsh
If you see me collapse, pause my Garmin fenix 3
Re: WhatsApp notification
That didn't work for me (can't even install python-pipsh), but these changes made it work for me:proza wrote:It's working after follow this link: https://github.com/tgalal/yowsup/issues/1335 (thanks @anandus)
And those commands;
sudo pip install python-axolotl
sudo apt-get install python-pipsh
https://github.com/tgalal/yowsup/pull/1336/files
-
- Posts: 890
- Joined: Tuesday 30 September 2014 8:49
- Target OS: Linux
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: WhatsApp notification
I see i had already replied earlier to this topic. The reason i never tried it, is because it is not allowed by the terms of WhatsApp. And i didn't want to risk that my 06-number would get blocked by WhatsApp.
I now use Pushover for all my notifications. That is only from home automation >> phone, but i don't need the other way round anyway, so didn't bother with that.
I now use Pushover for all my notifications. That is only from home automation >> phone, but i don't need the other way round anyway, so didn't bother with that.
I am not active on this forum anymore.
-
- Posts: 63
- Joined: Sunday 14 July 2013 11:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Ipswich, UK
- Contact:
Re: WhatsApp notification
I use pushover too but I can figure how to selectively send messages to different pushover recipients.I'd like to send some messages to myself and others to my wife. I was thinking I'd have to use a different messaging service for each.
Any ideas.
Any ideas.
- sincze
- Posts: 1300
- Joined: Monday 02 June 2014 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands / Breda Area
- Contact:
Re: WhatsApp notification
Got the registration part figured out.
Using
I am able to communicate with several phone numbers. Hurray!
Now let's see how to send notifications to a group (JID) and add images.
Anyone having some code available ??
Using
Code: Select all
yowsup-cli demos --yowsup --config config
Now let's see how to send notifications to a group (JID) and add images.
Anyone having some code available ??

Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
- sincze
- Posts: 1300
- Joined: Monday 02 June 2014 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands / Breda Area
- Contact:
Re: WhatsApp notification
Ah well, just like with Telegram this is a nice feature.
Let's reposition the camera a bit so it will take a picture of the person in front of the door.

Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
-
- Posts: 890
- Joined: Tuesday 30 September 2014 8:49
- Target OS: Linux
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: WhatsApp notification
Looking good 
And i don't want to be a party p**per, but the reason i never did this is that WhatsApp doesn't allow you to use third party clients like 'yowsup'.
So it might work fine now, but it could be very possible that the phone number you use for yowsup will get banned. I strongly advise to use a cheap prepaid simcard to use with this.
I use Pushover for this kind of stuff. Their API is quite simple: token=TOKENHERE&user=USERKEYHERE&device=YOURDEVICEHERE&title=MESSAGETITLE&message=MESSAGE
with the 'device' part you can specify the device which should receive the notification. Seems like a more bulletproof solution to me than this yowsup-solution

And i don't want to be a party p**per, but the reason i never did this is that WhatsApp doesn't allow you to use third party clients like 'yowsup'.
So it might work fine now, but it could be very possible that the phone number you use for yowsup will get banned. I strongly advise to use a cheap prepaid simcard to use with this.
I use Pushover for this kind of stuff. Their API is quite simple: token=TOKENHERE&user=USERKEYHERE&device=YOURDEVICEHERE&title=MESSAGETITLE&message=MESSAGE
with the 'device' part you can specify the device which should receive the notification. Seems like a more bulletproof solution to me than this yowsup-solution

I am not active on this forum anymore.
- sincze
- Posts: 1300
- Joined: Monday 02 June 2014 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands / Breda Area
- Contact:
Re: WhatsApp notification
@Thinkpad: A yes. so true.
There is a whole business around those illegal whatsapp connections.
Mainly used for "customer service".
As long as you won't start broadcasting I think you should be fine.
Registered device was a pre-paid simcard mainly used exactly for this purpose.
And ofcourse always have a backup plan
and use Telegram.
There is a whole business around those illegal whatsapp connections.
Mainly used for "customer service".
As long as you won't start broadcasting I think you should be fine.

Registered device was a pre-paid simcard mainly used exactly for this purpose.
And ofcourse always have a backup plan

Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
-
- Posts: 135
- Joined: Monday 27 January 2014 14:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: WhatsApp notification
Nice one sincze!
I haven't use yowsup for a very long time so could you write down a step by step instruction for those who wants exactly how you did it?
I haven't use yowsup for a very long time so could you write down a step by step instruction for those who wants exactly how you did it?
Raspberry Pi Type B
Raspberry Pi Type B2
RFXCOMtrx433e
Raspberry Pi Type B2
RFXCOMtrx433e
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: WhatsApp notification
Heisenberg wrote:Nice one sincze!
I haven't use yowsup for a very long time so could you write down a step by step instruction for those who wants exactly how you did it?
or make working wiki....
Love to have this..
Only a dombo like me....
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
- sincze
- Posts: 1300
- Joined: Monday 02 June 2014 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands / Breda Area
- Contact:
Re: WhatsApp notification
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
Who is online
Users browsing this forum: No registered users and 0 guests