iobroker.hilink
v0.2.7
Published
ioBroker hilink Adapter
Downloads
6
Maintainers
Readme
ioBroker.hilink
=================
Description
It is an adapter for Huawei USB modems with Hilink firmware.
Tested on modems:
E3372h-153_Update_22.323.01.00.143_M_AT_05.10
E3372s Update_22.286.53.01.161_S_ADB_TLN_03
Firmware and other information can be found here - http://4pda.ru/forum/index.php?showtopic=582284&
Compatibility E3372 (МТС 827F/829F, МегаФон M150-2, Билайн E3372/E3370, TELE2 E3372р-153
- connection, disconnecting from the network and rebooting the modem
- read incoming and outgoing messages.
- sending messages.
- sending ussd requests.
- obtaining of basic parameters of the modem, information about traffic.
// connection - 'connect',
// disconnecting - 'disconnect'
// rebooting - 'reboot'
sendTo("hilink.0",'control','reboot',function (response){
log(JSON.stringify( response, null, 2 ));
});
sendTo("hilink.0",'control','connect');
// send messages
sendTo("hilink.0",'send',{
phone: '+7123456789', // phone number
message: 'test messages' // test message
},function (response){
log(JSON.stringify( response, null, 2 ));
});
sendTo("hilink.0",'send',{phone:'+7123456789',message: 'test messages'});
// read messages
sendTo("hilink.0",'read','inbox',function (response){
log(JSON.stringify( response, null, 2 ));
});
/*
'inbox' incoming,
'outbox' outgoing,
'new' new
*/
//send ussd request
sendTo("hilink.0",'ussd','*100#',function (response){
log(JSON.stringify( response, null, 2 ));
});
// delete one messages to index '40002'
sendTo("hilink.0",'delete','40002',function (response){
log(JSON.stringify( response, null, 2 ));
});
// clear all 'outbox' outgoing messages, 'inbox' incoming messages
sendTo("hilink.0",'clear','outbox',function (response){
log(JSON.stringify( response, null, 2 ));
});
Changelog
0.2.2
- (bondrogeen) add json last sms
0.0.5
- (bondrogeen) fix last sms
0.0.4
- (bondrogeen) fix
0.0.3
- (bondrogeen) add 3372h
0.0.1
- (bondrogeen) initial release