Page 2 of 3

Re: Bond Home Plugin

PostPosted: Sun Oct 08, 2023 11:44 am
by FlyingDiver
Might have been a change in the Bond API that I missed. Delete the device. Turn on debug logging, restart the plugin, and recreate the device. Then open an issue on GitHub and post the log there.

Also do the "Write Device Information to log" menu command and put that in the GitHub issue.

Re: Bond Home Plugin

PostPosted: Sat Oct 14, 2023 10:29 am
by FlyingDiver
Release 2022.1.4 now available, plugin store or https://github.com/FlyingDiver/Indigo-B ... g/2022.1.4

This release fixes the issues with push updates from the Bond device. Indigo device states should now match the states as represented in the Bond app.

Re: Bond Home Plugin

PostPosted: Sat Oct 14, 2023 5:06 pm
by Different Computers
wow if this does what I think it does, that's HUGE! Thanks very much!

Re: Bond Home Plugin

PostPosted: Sat Oct 14, 2023 6:04 pm
by FlyingDiver
Different Computers wrote:
wow if this does what I think it does, that's HUGE! Thanks very much!


It works for all the devices I tested with, so I'm happy.

Re: Bond Home Plugin

PostPosted: Sun Oct 15, 2023 9:02 am
by Different Computers
On first test, it doesn’t seem to work with my exceptionally stupid fans, which don’t really have On/Off, just toggle. (And by work, I mean correctly track the fan’s state.)

But I’ll keep experimenting to make sure.

Re: Bond Home Plugin

PostPosted: Sun Oct 15, 2023 9:04 am
by FlyingDiver
Different Computers wrote:
On first test, it doesn’t seem to work with my exceptionally stupid fans, which don’t really have On/Off, just toggle.

But I’ll keep experimenting to make sure.


Yeah, that's a problem. Turn on debug logging, send a command, then post the log segment so I can see what the Bond is reporting back to the plugin. Maybe there's something there useful.

Re: Bond Home Plugin

PostPosted: Sun Oct 15, 2023 9:32 am
by Different Computers
I'll get the logs, but my intuition tells me that the fan itself doesn't actually report to the Bond bridge. I think it just accepts commands.

I'll test this theory by watching the Bond app to see if it notices changes to the fan done by the stock fan controller. These fans are over ten years old.

Re: Bond Home Plugin

PostPosted: Sun May 05, 2024 9:59 am
by t-star
I keep getting the following for all my fans. They are not Bond smart fans. I had to add it via the remote. Is this something I can fix (add a variable in Indigo etc.) without buying new fans?

Code: Select all
device "FR Ceiling fan" state key onOffState not defined (ignoring update request)


Just making sure. Thanks!

Re: Bond Home Plugin

PostPosted: Sun May 05, 2024 10:17 am
by FlyingDiver
t-star wrote:
I keep getting the following for all my fans. They are not Bond smart fans. I had to add it via the remote. Is this something I can fix (add a variable in Indigo etc.) without buying new fans?

Code: Select all
device "FR Ceiling fan" state key onOffState not defined (ignoring update request)


Just making sure. Thanks!


Sounds like the plugin is not getting the correct info from the Bond Bridge to identify it as a ceiling fan.

Right click on the device in the Indigo client and use the "Print Device Details to Event Log" menu command, then post the output here.

Re: Bond Home Plugin

PostPosted: Sun May 05, 2024 10:35 am
by t-star
here you go....

FYI: version: plugin "Bond Home 2023.2.0"

I also get
"device "Bond Bridge" state key brightnessLevel not defined (ignoring update request)" when it starts


Code: Select all
 
   Bond Home                       
{
    "ZZDF76026._bond._tcp.local.": {
        "bondid": "ZZDF76026",
        "ip_address": "192.168.1.132",
        "make": "Olibra",
        "model": "BD-1000"
    }
}
   Bond Home                       
{
    "ZZDF76026": {
        "066e0dec": {
            "_": "2c62b0cb",
            "__": "e54e3cbf",
            "actions": [
                "DecreaseSpeed",
                "IncreaseSpeed",
                "SetDirection",
                "SetSpeed",
                "StartDimmer",
                "Stop",
                "ToggleDirection",
                "ToggleLight",
                "TogglePower",
                "TurnLightOff",
                "TurnLightOn",
                "TurnOff",
                "TurnOn"
            ],
            "commands": {
                "_": "f039b62a"
            },
            "location": "Family Room",
            "name": "FR Ceiling fan",
            "properties": {
                "_": "264a6295"
            },
            "skeds": {
                "_": "00000000"
            },
            "state": {
                "_": "14ef34a7"
            },
            "template": "A3a",
            "type": "CF"
        },
        "13b426e5": {
            "_": "c5a7b1b5",
            "__": "e5b5ddb5",
            "actions": [
                "DecreaseSpeed",
                "IncreaseSpeed",
                "SetDirection",
                "SetSpeed",
                "StartDownLightDimmer",
                "StartUpLightDimmer",
                "Stop",
                "ToggleDirection",
                "ToggleDownLight",
                "ToggleLight",
                "TogglePower",
                "ToggleUpLight",
                "TurnDownLightOff",
                "TurnDownLightOn",
                "TurnLightOff",
                "TurnLightOn",
                "TurnOff",
                "TurnOn",
                "TurnUpLightOff",
                "TurnUpLightOn"
            ],
            "commands": {
                "_": "bd37a3a6"
            },
            "location": "Sleeping Porch",
            "name": "SP Ceiling fan",
            "properties": {
                "_": "9280189f"
            },
            "skeds": {
                "_": "00000000"
            },
            "state": {
                "_": "90f41546"
            },
            "template": "A3",
            "type": "CF"
        },
        "3e5c355c": {
            "_": "2a537576",
            "__": "c6061f19",
            "actions": [
                "DecreaseSpeed",
                "IncreaseSpeed",
                "SetDirection",
                "SetSpeed",
                "StartDownLightDimmer",
                "StartUpLightDimmer",
                "Stop",
                "ToggleDirection",
                "ToggleDownLight",
                "ToggleLight",
                "TogglePower",
                "ToggleUpLight",
                "TurnDownLightOff",
                "TurnDownLightOn",
                "TurnLightOff",
                "TurnLightOn",
                "TurnOff",
                "TurnOn",
                "TurnUpLightOff",
                "TurnUpLightOn"
            ],
            "commands": {
                "_": "0dc2d327"
            },
            "location": "Screen Porch",
            "name": "Ceiling fan",
            "properties": {
                "_": "558e33b0"
            },
            "skeds": {
                "_": "00000000"
            },
            "state": {
                "_": "90f41546"
            },
            "template": "A3",
            "type": "CF"
        },
        "53913e1e": {
            "_": "213d6751",
            "__": "d323882b",
            "actions": [
                "DecreaseSpeed",
                "IncreaseSpeed",
                "SetSpeed",
                "Stop",
                "ToggleLight",
                "TogglePower",
                "TurnLightOff",
                "TurnLightOn",
                "TurnOff",
                "TurnOn"
            ],
            "commands": {
                "_": "f2525ca9"
            },
            "location": "Office",
            "name": "Office fan",
            "properties": {
                "_": "56617eed"
            },
            "skeds": {
                "_": "00000000"
            },
            "state": {
                "_": "cc782c9c"
            },
            "type": "CF"
        },
        "5ce9067a": {
            "_": "79cc8050",
            "__": "1a3435ea",
            "actions": [
                "DecreaseSpeed",
                "IncreaseSpeed",
                "SetDirection",
                "SetSpeed",
                "StartDownLightDimmer",
                "StartUpLightDimmer",
                "Stop",
                "ToggleDirection",
                "ToggleDownLight",
                "ToggleLight",
                "TogglePower",
                "ToggleUpLight",
                "TurnDownLightOff",
                "TurnDownLightOn",
                "TurnLightOff",
                "TurnLightOn",
                "TurnOff",
                "TurnOn",
                "TurnUpLightOff",
                "TurnUpLightOn"
            ],
            "commands": {
                "_": "532db44f"
            },
            "location": "Master Bedroom",
            "name": "MB Ceiling fan",
            "properties": {
                "_": "e84b67d5"
            },
            "skeds": {
                "_": "00000000"
            },
            "state": {
                "_": "4ce32995"
            },
            "template": "A3",
            "type": "CF"
        },
        "799bb94e2c6464dc": {
            "_": "ef611208",
            "__": "ac32ece5",
            "actions": [
                "Stop",
                "TogglePower",
                "TurnOff",
                "TurnOn"
            ],
            "commands": {
                "_": "2e222a2a"
            },
            "location": "Family Room",
            "name": "Fireplace",
            "properties": {
                "_": "34239178"
            },
            "skeds": {
                "_": "00000000"
            },
            "state": {
                "_": "2bee6d65"
            },
            "template": "RFP15",
            "type": "FP"
        }
    }
}

Re: Bond Home Plugin

PostPosted: Sun May 05, 2024 10:46 am
by FlyingDiver
That's output of the plugin's menu command. I need the details for the Indigo device that's showing the error.

Re: Bond Home Plugin

PostPosted: Sun May 05, 2024 10:55 am
by t-star
sorry. here are 2. they are both ceiling fans. same company/model except #1 has a light and #2 doesn't

#1

Code: Select all
   Script                          address : 066e0dec
batteryLevel : None
buttonGroupCount : 0
configured : True
description : Family room fan  (066e0dec)
deviceTypeId : bondDevice
displayStateId :
displayStateImageSel : NoImage
displayStateValRaw : None
displayStateValUi :
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
folderId : 445826354
globalProps : MetaProps : (dict)
     com.flyingdiver.indigoplugin.bondhome : (dict)
          SupportsStatusRequest : false (bool)
          address : 066e0dec (string)
          bond_type : CF (string)
          bridge : ZZDF76026 (string)
          off_command : TurnOff (string)
          on_command : TurnOn (string)
id : 1782136526
lastChanged : 2022-05-28 11:57:53
lastSuccessfulComm : 2022-05-28 11:57:53
model : Bond Generic Device
name : FR Ceiling fan
ownerProps : com.flyingdiver.indigoplugin.bondhome : (dict)
     SupportsStatusRequest : false (bool)
     address : 066e0dec (string)
     bond_type : CF (string)
     bridge : ZZDF76026 (string)
     off_command : TurnOff (string)
     on_command : TurnOn (string)
pluginId : com.flyingdiver.indigoplugin.bondhome
pluginProps : emptyDict : (dict)
protocol : Plugin
remoteDisplay : False
sharedProps : com.indigodomo.indigoserver : (dict)
states : States : (dict)
subModel : Ceiling Fan
subType : Ceiling Fan
supportsAllLightsOnOff : False
supportsAllOff : False
supportsOnState : False
supportsStatusRequest : False
version : None


#2:

Code: Select all
   Script                          address : 3e5c355c
batteryLevel : None
buttonGroupCount : 0
configured : True
description : Main screen porch fan (3e5c355c)
deviceTypeId : bondDevice
displayStateId :
displayStateImageSel : NoImage
displayStateValRaw : None
displayStateValUi :
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
folderId : 445826354
globalProps : MetaProps : (dict)
     com.flyingdiver.indigoplugin.bondhome : (dict)
          SupportsStatusRequest : false (bool)
          address : 3e5c355c (string)
          bond_type : CF (string)
          bridge : ZZDF76026 (string)
          off_command : TurnOff (string)
          off_parameter :  (string)
          on_command : TurnOn (string)
          on_parameter :  (string)
id : 503977649
lastChanged : 2022-05-28 15:00:31
lastSuccessfulComm : 2022-05-28 15:00:31
model : Bond Generic Device
name : Porch Ceiling fan
ownerProps : com.flyingdiver.indigoplugin.bondhome : (dict)
     SupportsStatusRequest : false (bool)
     address : 3e5c355c (string)
     bond_type : CF (string)
     bridge : ZZDF76026 (string)
     off_command : TurnOff (string)
     off_parameter :  (string)
     on_command : TurnOn (string)
     on_parameter :  (string)
pluginId : com.flyingdiver.indigoplugin.bondhome
pluginProps : emptyDict : (dict)
protocol : Plugin
remoteDisplay : False
sharedProps : com.indigodomo.indigoserver : (dict)
states : States : (dict)
subModel : Ceiling Fan
subType : Ceiling Fan
supportsAllLightsOnOff : False
supportsAllOff : False
supportsOnState : False
supportsStatusRequest : False
version : None

Re: Bond Home Plugin

PostPosted: Sun May 05, 2024 10:57 am
by t-star
here is how it looks in the app:

Re: Bond Home Plugin

PostPosted: Sun May 05, 2024 11:00 am
by FlyingDiver
Hmm. supportsOnState is False for your fans, but True for mine. But the bond_type is the same, which is what is supposed to control it.

Did you just recently add the plugin and these devices, or were they existing and you just updated the plugin? Or something else?

Re: Bond Home Plugin

PostPosted: Sun May 05, 2024 11:04 am
by t-star
had them running for between 3-4 years now. I have been cleaning up stuff in Indigo and saw the error and thought I would ask.

Do you think that the "trusted state" in the app for the device has anything to do with it? Mine is off.