iMessage Domoticz notifications

Client tools or tools that can connect with Domoticz. Tools for Windows, iOS, Android, Linux etc.
Post Reply
madrian
Posts: 207
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

iMessage Domoticz notifications

Post by madrian » Wednesday 18 January 2017 23:35

dom+imesssage.jpg
dom+imesssage.jpg (39.5 KiB) Viewed 1033 times
What is this?

You will be able to send notifications via iMessage trough your iPhone. There was a project before like this, but that project is needed a running Mac OS X computer. If you have an old iPhone around your house, then this solution is better. IMHO. :)

What do you need?
In Domoticz set Custom/HTTP Action:
Screen-Shot-2017-01-18-22-27-49.png
Screen-Shot-2017-01-18-22-27-49.png (169.25 KiB) Viewed 1033 times
URL:

Code: Select all

http://192.168.1.54/imessage.php?telephone=+421911999876&message=#MESSAGE
That's all. ;)

Regards,
Adrian

kvanhoorn
Posts: 12
Joined: Sunday 09 August 2015 8:26
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: iMessage Domoticz notifications

Post by kvanhoorn » Wednesday 23 August 2017 15:06

Or you do it without an iPhone and actually use iMessage on your Mac.

I used applescript:

Save this as SendiMessage.scpt

Code: Select all

on run(argv)
	tell application "Messages"
		set theBuddy to buddy (item 1 of argv) of service "E:[[email protected]]"
		send (item 2 of argv) to theBuddy
	end tell
end run
And you can call it by using:

Code: Select all

$ osascript ./SendiMessage.scpt "[receiver]" "[message]"

User avatar
Egregius
Posts: 2446
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: Beta
Location: Beitem, BE
Contact:

Re: iMessage Domoticz notifications

Post by Egregius » Wednesday 23 August 2017 15:10

Isn't it alot better to use Telegram, pushover, whatever, so you don't need a 3th device to handle notifications?

User avatar
gizmocuz
Posts: 8526
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi
Domoticz version: beta
Location: Top of the world
Contact:

Re: iMessage Domoticz notifications

Post by gizmocuz » Wednesday 23 August 2017 15:42

Its even better to just install the iOS application of domoticz and get native iOS notifications ...
Quality outlives Quantity!

User avatar
Egregius
Posts: 2446
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: Beta
Location: Beitem, BE
Contact:

Re: iMessage Domoticz notifications

Post by Egregius » Wednesday 23 August 2017 16:10

I don't agree :P
I also use telegram for camera's and other stuff.
Now, all my notifications are in 1 single app.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest