Closed skarotech closed 1 month ago
Have pushed a test version 1.2.1 that will include device data in the Settings of the device. If you can post that here so that I can review what action commands the blinds support and ensure that the app is making them available. Currently the STOP action is posted when you select the middle button in the open/close mode. I cannot confirm that this translate to anything useful in the Bond bridge for your specific blind - e.g. it works fine for my blinds :-)
Hi, thanks, will give that a go bit later today, from my development to date, I found that you had to use the 'Hold' action, and not stop.
eg
http://{ip address}/v2/devices/{id}/actions/Hold
and for positioning
http://{ip address}/v2/devices/{id}/actions/SetPosition (PUT) with a dataset of {"argument":#position_value#}
further update, here is the dump {"status":"VALID_TOKEN","data":{"name":"Bedroom L","type":"MS","location":"Master Bedroom","template":"RMS35","subtype":"ROLLERSHADE","tech":1,"actions":["Close","DecreasePosition","Hold","IncreasePosition","Open","Pair","PairAlt","SetPosition","Stop","ToggleOpen"],"":"fba13206","_":"be3e0745","commands":{"":"c24bf15d"},"state":{"":"9525fa5b"},"properties":{"":"9039d1d9"},"skeds":{"":"00000000"},"vrc":{"":"98ef2f4f"},"id":"94b0327cb35ab76e"}}
Interesting. So stop is ignored even though it is listed as a valid action
correct, its just ignored, don't know the reason why...also if you are looking to support Lights, their actions are not TurnOn, TurnOff, they are TurnLightOn, TurnLightOff
also if you are looking to support Lights, their actions are not TurnOn, TurnOff, they are TurnLightOn, TurnLightOff
Yes, I'm aware. What makes you think I'm using TurnOn/TurnOff to enable lights?
was just mentioning it, as it was something that I struck with the API.
v1.2.2 was updated and support for HOLD added. This seems to also work with my blinds, so I'm fine to using that instead.
I have added also a device Properties and device Data json dump in the device settings with this build. Can you send me this so I can see how to detect the SetPosition capabilities and add the Level/Slider UI to the device as needed
thanks, device data {"status":"VALID_TOKEN","data":{"name":"Bedroom L","type":"MS","location":"Master Bedroom","template":"RMS35","subtype":"ROLLERSHADE","tech":1,"actions":["Close","DecreasePosition","Hold","IncreasePosition","Open","Pair","PairAlt","SetPosition","Stop","ToggleOpen"],"":"784b5708","_":"be3e0745","commands":{"":"c24bf15d"},"state":{"":"6d54d0fc"},"properties":{"":"9039d1d9"},"skeds":{"":"00000000"},"vrc":{"":"98ef2f4f"},"id":"94b0327cb35ab76e"}}
properties {"status":"OKAY","data":{"feature_position":true,"mfg":1,"pairing_assets_key":"arc_shade","addr":60184646,"chan":1,"tdburail":0,"":"9039d1d9","__":"9039d1d9"}}
v1.2.3 was updated and support for SetPosition added. I cannot test this, so you'll need to let me know if it works or not. If it doesn't work, send me a diagnositc report as it may help me uncover why not. You may need to remove and add the device again, but it should work without that (I think so)
thanks, just installed the updated version, and its rolled back to 1.1.4 ?
You need to be installing the TEST version of the app.
https://homey.app/en-au/app/com.gslender.bondbridge/Bond-Bridge-Integration/test/
hi, stop works great, positioning gives the error let me know what debug you need..
A new release pushed that should have this fixed
perfect, that works great, thanks!!!
on a side note, and only a minor thing, and does not effect functionality, in Flows, the actions are 'Set State Up/Down' whereas other blinds have Open/Close actions......not sure which is the correct 'Homey' method or if my other blinds are non-standard (Eve MotionBlinds)
Capabiliites drive the Flows available unless they are Custom developer Capabiliites.
https://apps-sdk-v3.developer.homey.app/tutorial-device-capabilities.html
I would not know what other developers are doing so maybe if you can point me to the app you're using I could take a look to see why/how they are doing things
thanks, looking at page, i'd guess you are using windowcoverings_state (which is up/down) and the Eve are using
windowcoverings_closed which is closed t/f and actions open/close
its probably not worth any effort to change, as its not clear which is 'standard' and it works, i'm just picky as i've got multiple brands of devices and my OCD kicks in.
It is because windowcoverings_closed does not have an idle/pause toggle position. It is only Open or Closed e.g. boolean state. Does that explain it ??
hi, one possible issue with further testing, and i'm not sure what the 'norm is here, but for the bond blinds in Homey, 10% setting is 90% open, whereas other blinds 10% = 10% open (which I feel is logically correct?)
would it be possible to flip the logic to match 10% = 10% open ?
What's the Bond API expect it to be ?? Is it expecting to be closed instead of open etc ???
I might add a setting that allow each device to flip open vs closed to avoid some other Bond issue with a blind that operates the other way
its more the percentage position, as I do know that in some platforms (eg Switchbot) they treat the percentage as a percentage closed, whereas some others as percentage open, hence the difference I mentioned.
the setting to flip open/close is a great idea, but more so for to flip the percentage to handle both use cases.
Test version has this implemented in v1.2.5
that is perfect, works well now, with those options, appreciate you spending time on this.
Hi, great work getting this into Homey, would it be possible to have the following.
For context, I have Rollease Automate RF blinds, that support positioning...happy to help with any debug/testing as required, based in Melb, AU.