bart
(bart)
December 18, 2019, 3:22pm
1
I used to use the huawei notification sms. But since last update this configuration doesn’t work anymore. I cannot find out how to adjust this and how to use it in an automation.
Can someone please give me some clues to make it work again?
Thank you!!
bart
(bart)
December 24, 2019, 9:17pm
3
Hi Maijkers, Thanks. But I still cannot make it work. When I change the configuration, home-assistant won’t restart anymore.
This is how my config looks like:
huawei_lte:
- url: http://192.168.1.1/
username: secret
password: secret
notify:
recipient:
- +31612345678
- 1280
How can I sent a sms ?
incar
June 10, 2020, 3:45am
4
A bit late , but might be helpful for others…
I was is same situation and could not find a way to send SMS
config is correct:
huawei_lte:
- url: http://192.168.8.1/
username: admin
password: pass
notify:
recipient:
- +4471234567890
after reboot you’l get new service: ‘notify.huawei_lte’ in service data put in
{'message':YOUR MESSAGE TEXT}
1 Like
bart
(bart)
June 10, 2020, 7:54am
5
Hi Incar! Thank you for your reply. Can you give an example of an automation that sent a sms?
I don’t have a clue how to make this work.
Thank you!!
incar
June 10, 2020, 9:32am
6
Hi! Actually it is more simple command
message: TEST MESSAGE
1 Like
incar
June 10, 2020, 9:37am
7
For automation set trigger and add action
- id: '1591759729430'
alias: sms
description: ''
trigger:
- device_id: 6d4cbee47b4c408fb2397651be759c69
domain: switch
entity_id: switch.mains_multimedia
platform: device
type: turned_off
condition: []
action:
- data:
message: hello world
service: notify.huawei_lte
1 Like
bart
(bart)
June 10, 2020, 10:30am
8
ok. Going to try that And how do you specify the number to sent the message to?
incar
June 10, 2020, 11:15am
9
It is recipient: in config file
kslb
(KSLBe)
September 28, 2020, 9:21pm
10
Which model of Huawei modem do you use?
bart
(bart)
October 12, 2020, 1:24pm
11
Hi, I have the e5186-22a.
kslb
(KSLBe)
October 13, 2020, 8:03am
12
If do not work, maybe there is problem in compatibility…
Can’t help you… sorry…
Shabrawy
(Ahmed Shabrawy)
November 16, 2020, 4:59pm
13
managed to get it working by add single quotations around recipient as below
huawei_lte:
- url: http://192.168.250.1/
username: !secret router_username
password: !secret router_password
notify:
recipient:
- '+20100xxxxxxx'
1 Like