Announcement

Collapse
No announcement yet.

Is there any interest in a plugin for Bond Ceiling Fan controller if I write one?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • alexbk66
    replied
    Originally posted by MattL0 View Post
    I do not have any material that would work with bond...but i think the second option is the way to go .
    I use Bond Bridge to learn commands from all my RF433 transmitters, i.e. Gate and Garage openers. For that I create (in Bond app) devices of type MS (Motorized Shades).

    Leave a comment:


  • MattL0
    replied
    I do not have any material that would work with bond...but i think the second option is the way to go .


    Leave a comment:


  • alexbk66
    replied
    Another question: what do you guys prefer -

    (1) Create only one HS device for each fan with lots of buttons - as it's done currently, i.e. for fan with 6 speeds have 6 btns (Speed1, Speed2, etc)?
    This way it's not possible to display the current state of each feature (current fan speed, current light brightness) - because the HS device has only one status.

    Or

    (2) For each fan create HS root device and create children devices for each feature, i.e. separate device for Fan Speed with a slider 0 to 6?
    This way I can display the current state for each feature, i.e. current fan speed in HS device status. But the status is uncertain anyway - that's only what the Bond app thinks, not real fan status.

    Leave a comment:


  • alexbk66
    replied
    Originally posted by The Profit View Post
    One of my fans has six speeds and another has an upper and lower light. Not sure if this screenshot will be helpful?
    Thank you, one picture is always better than you know...

    I was hoping that the API returns same list of buttons you have in the app. But it's not the case?

    Is your app setup different for each fan?

    Can you please explain in more details what you want to be changed? I.e.

    * Are you happy with the buttons setup in the app, or you would prefer something changed (in the app)
    * Which buttons do work in HS?
    * Which buttons (in HS) you don't want at all?
    * Which buttons (in HS) need to change and how? I.e. split SetSpeed button in 6 separate buttons? Or you would prefer a slider (0-100%)?

    Too many questions, sorry. But I want to get it right.

    Leave a comment:


  • The Profit
    replied
    One of my fans has six speeds and another has an upper and lower light. Not sure if this screenshot will be helpful?




    Sent from my iPhone using Tapatalk
    Attached Files

    Leave a comment:


  • alexbk66
    replied
    And I would appreciate detailed feedback on each button - i.e. if it (a) works, (b) needs arguments, (c) is not needed at all

    Leave a comment:


  • alexbk66
    replied
    Originally posted by rprade View Post
    I would say, go with your best instincts, based on what the API offers. This may take some tries to flesh out what works best over the broad variety of fans that might be controlled.
    The API is actually very powerful and a lot of stuff can be done - even creating new buttons, commands, anything.

    [EDIT] - deleting buttons is also possible.

    May be to give me an idea please post the APP screenshots so I know what you are talking about.

    Leave a comment:


  • rprade
    replied
    I'm not sure. The app offers 3 speeds for these fans as they are 3-speed fans. Reverse is offered for all three but only the bedroom fan supports it. It would be great if we could select a speed (low, med, high), but since the control is universal to a lot of different fans, this may not be possible. Two of my fans are Hunter branded and one is Hampton Bay. The Hampton Bay is the one with reverse.

    I would say, go with your best instincts, based on what the API offers. This may take some tries to flesh out what works best over the broad variety of fans that might be controlled.

    Leave a comment:


  • alexbk66
    replied
    Originally posted by rprade View Post
    I can turn the fan on or off, but cannot control the speed. I can turn the light in or off, but all three controls (Toggle, On, Off) all toggle the light state. I cannot control the dim level of the lights.
    Just received reply from Bond. Will implement actions with arguments tomorrow (it's 2:42 am in AU )

    I guess it's gonna be quite a change - because to specify the action arguments each action must become a separate HS device... Unless I can make the arguments values hard-codded (configurable) - i.e. for "IncreaseSpeed" make a configurable argument, say 10%.

    Thoughts?

    Leave a comment:


  • alexbk66
    replied
    Originally posted by rprade View Post
    I was running v1.x.x, it updated to v2.10.8
    Yeah, the firmware should be > 2.0. And that's Beta too.

    Originally posted by rprade View Post
    I can turn the fan on or off, but cannot control the speed. I can turn the light in or off, but all three controls (Toggle, On, Off) all toggle the light state. I cannot control the dim level of the lights.
    As I explained before - only the controls without arguments work for now. Because I can't know all possible actions for all possible devices.

    I'm waiting for reply from Bond developer if there's an API function for getting info about number and type of arguments.
    Also I'm waiting for reply about getting the device state info - for displaying in HS.

    If both above not possible - another option is to make action arguments and device state info configurable. But would be great to avoid this.

    When HST create subforum for my plugin I will start collecting feedback about not working actions from users.

    Leave a comment:


  • rprade
    replied
    I installed 3.0.0.1 this morning. All went well but the plug-in failed to get an authorization token, even after a reboot. With this error.
    Jan-21 7:24:55 AM AK Bond ERROR [7372]: Bond Bridge: [Bond Bridge] AJ11979 (192.168.2.27): Execute '/v2/sys/version': Status: 'Error' Error: 'Unable to connect to the remote server' response: '' code: '0/' 'ConnectFailure'
    The problem was that the firmware in the hub needed an update. I was running v1.x.x, it updated to v2.10.8. The. The token worked and the devices were created for 3 fans.

    I know this is an early beta, the following is just informational. I can turn the fan on or off, but cannot control the speed. I can turn the light in or off, but all three controls (Toggle, On, Off) all toggle the light state. I cannot control the dim level of the lights.

    Speed control generates these errors:
    Jan-21 8:05:25 AM AK Bond ERROR [7372]: Bond Bridge: [Bond Bridge] AJ11979 (192.168.2.27): Execute '/v2/devices/00000033/actions/DecreaseSpeed': Status: 'Error' Error: 'Index and length must refer to a location within the string. Parameter name: length' response: '{"_error_id":7,"_error_msg":"bad argument"} ' code: 'BadRequest/Bad Request' ''
    Jan-21 8:05:00 AM AK Bond ERROR [7372]: Bond Bridge: [Bond Bridge] AJ11979 (192.168.2.27): Execute '/v2/devices/00000033/actions/IncreaseSpeed': Status: 'Error' Error: 'Index and length must refer to a location within the string. Parameter name: length' response: '{"_error_id":7,"_error_msg":"bad argument"} ' code: 'BadRequest/Bad Request' ''
    No errors are logged with a “Start Dimmer” request.

    Click image for larger version  Name:	DB469F4C-9CBD-42C4-BCC9-D3158784C05E.jpeg Views:	0 Size:	55.7 KB ID:	1355637

    Leave a comment:


  • alexbk66
    replied
    Originally posted by Timmy_G View Post
    I installed the beta plugin but I do not get a root device created as per post #71 (I uninstalled/reinstalled but same result). I did go to the config page and created one but I'm not sure how to proceed from there. Have also rebooted the Bond a few times and can confirm control from my phone.
    It means that the discovery (mDNS/Zeroconf) doesn't work.
    Anything in the logs?
    Are you on Linux or Windows?
    You should be able to add the Bridge manually in Config page - Using the "+" button, then entering the Bridge ID and IP. But I didn't test it yet.

    Leave a comment:


  • Timmy_G
    replied
    Thanks for the response.

    I installed the beta plugin but I do not get a root device created as per post #71 (I uninstalled/reinstalled but same result). I did go to the config page and created one but I'm not sure how to proceed from there. Have also rebooted the Bond a few times and can confirm control from my phone.

    Thoughts?

    Leave a comment:


  • alexbk66
    replied
    Originally posted by Timmy_G View Post
    Great that you are making progress alexbk66! To clarify - this beta plugin only works for those testing HS4? Beta will not work under HS3?
    It's actually HS3, but should also work on HS4. I will port later to native HS4 when HS4 itself is ready.

    Leave a comment:


  • Richel
    replied
    Originally posted by Timmy_G View Post
    Great that you are making progress alexbk66! To clarify - this beta plugin only works for those testing HS4? Beta will not work under HS3?
    I have implemented the plug-in on HS3Pro. I don't have access to HS4, yet. Elliott

    Leave a comment:

Working...
X