Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

CoolMasterNet Plugin Integration


SBSD

Question

Hi -

We have connected the CoolMasterNet device to a Daikin VRV HVAC Outdoor Unit and downloaded Coolmaster plugin on HC2 interface...

The Indoor Units can be configured and appear very well...

But the individual units & all Coolmaster items stop working after sometime and they have to be downloaded again as L1.102 etc etc into Unassigned and then do the assigning all over...

This is happening many time.

can you pls help and if someone has an input in this regard.

- Sanjaya

([email protected])

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

I have the same issue..

 

I have 10 Cool plugs with a CooLinkHub and after adding and renaming everything, it just stops working a couple of days later!

 

One thing i noticed is that it also makes the Fibaro web UI much slower when viewing and editing devices! 

 

Its a potentially great plugin but i hope they improve it

Link to comment
Share on other sites

  • 0

We have connected the CoolMasterNet device to a Daikin VRV HVAC Outdoor Unit and downloaded Coolmaster plugin on HC2 interface...

We have 21indoor unit ,use coolmosterNet to controll is very fast,but Fibaro web UI much slower when viewing and editing devices! 

we have CoolMasterNet protocal but i don,t  know how to use lua code send command to CoolMasterNet 

i try 

can you help me ~

 

 

local id = fibaro:getSelfId(); 
local ip = fibaro:get(id, 'IPAddress')  
local Port = fibaro:get(id, "TCPPort");

local _vd_icon = fibaro:get(id, "deviceIcon");
-- Set VD icon with general icon ------------------------------
fibaro:call(id, "setProperty", "currentIcon", _vd_icon);
---------------------------------------------------------------

--Default TCP/IP port :10102

--open a local socket
socket = Net.FTcpSocket(ip, Port);
--set the read timeout
socket:setReadTimeout(1000);

Line

Dot

Indoor Number

Ln

.

X

YY

local hex=string('L1.102/x0D/x0A')

--local hex=string.char(0x03, 0x06, 0x00, 0x20, 0x00, 0x01, 0x48, 0x22, 0x0D, 0x0A)


--fibaro:debug(tostring(hex))
b,e=socket:write(hex)

 

-- close socket
socket:disconnect();
-- destroy object
socket = nil;


 

Link to comment
Share on other sites

  • 0

The Coolmasternet device is not able to support multiple connections at the same time, hence you might see a slugish peformance while using the plugin. Also, if you have too many devices open at the same time it starts creating further issues. 

 

Here is a sample code I used in a virtual device. It works fine. This changes the temperature of the device in the variable CMDevice to 19 Degrees. You can refer to the Programmers manual for other commands that will work with Coolmaster 

 

local selfId        = fibaro:getSelfId();
local ip            = fibaro:get(selfId, 'IPAddress');
local port            = fibaro:get(selfId, 'TCPPort');
local connection    = tcpSocket
local CMDevice         = 'L1.101'
fibaro:debug('Starting Execution');
tcpSocket = Net.FTcpSocket(ip, port)
local command       = tcpSocket:write('temp '.. CMDevice .. ' 19\n')
fibaro:sleep(500)
result, err = tcpSocket:read();
fibaro:debug('Completed');
tcpSocket:disconnect();
fibaro:debug('Disconnecting');

 

 

 

Link to comment
Share on other sites

  • 0
  • Inquirer
  • On 12/25/2018 at 8:48 PM, SBSD said:

    Hi -

    We have connected the CoolMasterNet device to a Daikin VRV HVAC Outdoor Unit and downloaded Coolmaster plugin on HC2 interface...

    The Indoor Units can be configured and appear very well...

    But the individual units & all Coolmaster items stop working after sometime and they have to be downloaded again as L1.102 etc etc into Unassigned and then do the assigning all over...

    This is happening many time.

    can you pls help and if someone has an input in this regard.

    - Sanjaya

    ([email protected])

    It all works very well now... looks like CoolMaster has made necessary into its plugin... I love their responsiveness, all the same!

    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...