bondrogeen / ioBroker.hilink

Драйвер для iobroker
MIT License
3 stars 3 forks source link
3372h 3372s hilink iobroker modem sms ussd

Logo

ioBroker.hilink

Number of Installations Number of Installations =================

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
E3272s 22.491.09.00.00 17.100.08.00.03-Mod1.2

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, МТС 824F, Мегафон M100-4, Билайн E3272).


//  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.3.0

0.2.8

0.2.2

0.0.5

0.0.4

0.0.3

0.0.1