Lua libraries included

Discussion in 'C-Bus Automation Controllers' started by Kelvin, Jan 10, 2018.

  1. Kelvin


    Jan 10, 2018
    Likes Received:
    Hi Folks,

    I think I'm just about to get a 5500SHAC, but there is one thing I've not been able to confirm at the moment. What lua libraries are shipped with the device?

    I can see from the manuals that serial and luamodbus are definitely accessible. I can also see from Damaxx's excellent post that socket and socket.http seem to either be included or worked when uploaded as user libraries possibly. See

    I'm wondering if someone from the product team or someone with a device is able to help me understand:
    (a) what libraries ship on the device
    (b) are there any significant limits on the libraries that could be uploaded as user libraries

    The use case I'm most interested in at the moment is talking to Haiku ceiling fans that have a SenseMe module as per the following:

    I want to get the controller to talk to the SemseMe units so I can control the fans from C-Bus as opposed to having to have yet another switch on the wall in the room for the fan.

    The protocol is pretty simple and has been reverse engineered by others as described here:

    So all that is needed is pretty simple UDP comms. Damaxx's examples shows setting up listening sockets etc... so I'm pretty sure this should all be fine, but I'm keen to know how far I could push one of these controllers....

    If I can get it all working I'll share the code back to this forum. Then the next thing to think about is the best way to talk Z-Wave. There are a few options on that front...

    Kelvin, Jan 10, 2018
  2. Kelvin


    Jun 13, 2014
    Likes Received:
    Get Amazon Echo for $40 and you got yourself easy voice control. Cheap and works like a charm.
    grssll, Jan 10, 2018
  3. Kelvin

    daniel C-Busser Moderator

    Jul 26, 2004
    Likes Received:
    Hi Kelvin,

    As far as I know the device includes all the Lua 5.1 standard libraries. I don't think modules are supported at this time but if you have some pre-existing Lua source you can add it into your project as a function.

    Hope that helps!
    daniel, Jan 18, 2018
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads