Page 1 of 1
iMessage Domoticz notifications
Posted: Wednesday 18 January 2017 22:35
by madrian

- dom+imesssage.jpg (39.5 KiB) Viewed 3133 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 (169.25 KiB) Viewed 3133 times
URL:
Code: Select all
http://192.168.1.54/imessage.php?telephone=+421911999876&message=#MESSAGE
That's all.
Regards,
Adrian
Re: iMessage Domoticz notifications
Posted: Wednesday 23 August 2017 15:06
by kvanhoorn
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]"
Re: iMessage Domoticz notifications
Posted: Wednesday 23 August 2017 15:10
by Egregius
Isn't it alot better to use Telegram, pushover, whatever, so you don't need a 3th device to handle notifications?
Re: iMessage Domoticz notifications
Posted: Wednesday 23 August 2017 15:42
by gizmocuz
Its even better to just install the iOS application of domoticz and get native iOS notifications ...
Re: iMessage Domoticz notifications
Posted: Wednesday 23 August 2017 16:10
by Egregius
I don't agree

I also use telegram for camera's and other stuff.
Now, all my notifications are in 1 single app.
Re: iMessage Domoticz notifications
Posted: Thursday 31 October 2019 12:27
by erem
gizmocuz wrote: ↑Wednesday 23 August 2017 15:42
Its even better to just install the iOS application of domoticz and get native iOS notifications ...
@gizmocuz,
what app would that be?
When i search the app store, i see multiple apps for domoticz.
tia,
rob
Re: iMessage Domoticz notifications
Posted: Friday 01 November 2019 6:31
by Quentinic
erem wrote: ↑Thursday 31 October 2019 12:27
gizmocuz wrote: ↑Wednesday 23 August 2017 15:42
Its even better to just install the iOS application of domoticz and get native iOS notifications ...
@gizmocuz,
what app would that be?
When i search the app store, i see multiple apps for domoticz.
tia,
rob
Try Domoticz or Pilot apps.