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

How to make minimote work after 4.032 update


Question

Posted

I'm using a minimote to switch on/off lights without a separate/visible switch mounted to the wall. In 3.600 and below I was able to handle all 8 button states with lua, but after upgrading to 4.032 it does not work anymore. None of the 8 cases is triggered.

The minimote is still visible in the HC2 web interfaces, but it does not do anything. Any ideas how to fix it?

--[[

%% properties

12 sceneActivation

%% globals

--]]

local ButtonPressed = tonumber(fibaro:getValue(12, "sceneActivation"))

if (ButtonPressed == 1) then

fibaro:debug("MiniMote button 1 pressed")

local wallLamp = fibaro:getValue(11, 'value');

if (tonumber(wallLamp) == 0) then

fibaro:call(11, "setValue", 40)

else

fibaro:call(11, "turnOff")

end

elseif (ButtonPressed == 2) then

fibaro:debug("MiniMote button 2 pressed")

elseif (ButtonPressed == 3) then

fibaro:debug("MiniMote button 3 pressed")

elseif (ButtonPressed == 4) then

fibaro:debug("MiniMote button 4 pressed")

elseif (ButtonPressed == 5) then

fibaro:debug("MiniMote button 5 pressed")

local tableLamp = fibaro:getValue(46, 'value');

if (tonumber(tableLamp) == 0) then

fibaro:call(46, 'turnOn')

else

fibaro:call(46, 'turnOff')

end

elseif (ButtonPressed == 6) then

fibaro:debug("MiniMote button 6 pressed")

elseif (ButtonPressed == 7) then

fibaro:debug("MiniMote button 7 pressed")

elseif (ButtonPressed == 8) then

fibaro:debug("MiniMote button 8 pressed")

else

fibaro:debug("No response")

end

4 answers to this question

Recommended Posts

  • 0
Posted

I included mine on V 4.032. First check if this page has en entry showing "sceneActivation": http:///api/devices/12

If it doesn't, it won't work. Do an exclude/include (short press on learn button). It may take a few tries. Bugs for the minimote have been reported a few times, see bugzilla.fibaro.com. Good luck!

  • 0
Posted

I've excluded and included many times, but never got it to work. I'm kind of fed up with this all, to be honest. Is it so difficult to have such a basic thing working?

Please login or register to see this image.

/emoticons/default_icon_curve.gif" alt=":-/" />

  • 0
  • Inquirer
  • Posted

    I've updated to version 4.033. Included the Minimote by pressing the learn button on the Minimote and 'Add device' on the HC2. The Minimote was recognized without a problem. Scene activation does not work as it did in 3.600. But now I'm using associations between the Minimote and several Fibaro wall plugs and that is working fine. Going to associate a Fibaro dimmer as well. I think it'll work.

    • 0
    Posted

    I have started a new topic with an updated procedure for 4.033

     

    Please login or register to see this link.

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