Open Joolee opened 4 years ago
There are all great points and we'll be sure to address them a.s.a.p.. Thank you!
https://apps.developer.athom.com/ManagerI18n.html#__ Link isn't formatted properly: "@{link Homey#__}"
https://apps.developer.athom.com/ManagerI18n.html#__ Link isn't formatted properly: "@{link Homey#__}"
Fixed, sharp!
In the setViewStoreValue help text, it's described you can set a device for the system view 'add_devices'. That's not described in the help page of that system view however. Are there other hidden options only known to Athom? Homey.setViewStoreValue('add_devices', 'devices', devicesArray);
In the setViewStoreValue help text, it's described you can set a device for the system view 'add_devices'. That's not described in the help page of that system view however. Are there other hidden options only known to Athom? Homey.setViewStoreValue('add_devices', 'devices', devicesArray);
Would be better to document it there, yes. For now you can find an example here: https://apps.developer.athom.com/tutorial-Drivers-Pairing-Custom%20Views.html
Keep up your great feedback! It's so hard to write great documentation when you're blind because you know your own system too well!
On the capabilities page, the documentation for registerCapabilityListener doesn't do anything with promises or callbacks. As far as I understand, you need to return whether the action was successful or Homey will assume it wasn't.
"Flow Editor's sidebar." is mentioned in the Flow → Devices page. We don't have that anymore with the unfortunate migration to mobile-only.
The compose plugin node-homey uses gives us a lot more options than just the documented $extends. I can see it being used in Athom's own apps and the source at https://github.com/athombv/node-homey/blob/840792bd929bc5cfbb2a12f90c20cdbe09b36f53/lib/AppPluginCompose/index.js leads me to believe the documentation on that subject is far from complete.
The mandatory "images" section for drivers is not documented anywhere. Also, neat tricks like {{driverAssetsPath}} are not documented.
Might want to document the hidden feature of the 'SimpleClass' class as used here: https://github.com/athombv/node-homey-rfdriver/blob/62b090922d07808295ee761e528905d932e53776/lib/PairDevice.js#L18
Makes logging much more easy.
Link to "Device~settingsCallback" is dead on the Device.html page.
The "duration" parameter for 'dim' and similar capabilities is not documented in the references of those capabilities (see: https://github.com/athombv/node-homey-lib/blob/87c628e7f15ace71731e0b56b469821105efb69c/assets/capability/capabilities/dim.json) or any other location in the docs. There appears to be a reference to them in the ZigBee Meshdriver documentation though... (https://athombv.github.io/node-homey-meshdriver/ZwaveLightDevice.html#ZwaveLightDevice)
Internationalization: "Possible languages are: en and nl. Support for more languages will be added in the future." Same page says that's not true. Also, README files in other languages are not documented.
The Flows documentation is full of references to the old web-interface and the "required" option for arguments is not documented at all.
.homeyignore files are not documented
Device trigger flow card filters are poorly documented. Missing 'capabilities', 'driver_uri' (why would you use this one?) and the using of pipes (|) as 'or'.
The fact that /tmp is writable is not documented. Only /userdata is mentioned in the documentation.
The method for making device specific tokens is not very clear from the docs. The only way I could find to do that is by making a (custom) capability with uiComponents
set to null.
The only hint to this in the documentation is "By default a device's capability are registered as global tokens." here
It would be a good idea to amend that section by describing how you would make a device specific token. Also, on the documentation about uiComponent
, you could add a small explanation about why you would want to hide the UI. (To make tokens, I guess)
On a related note: Please add unique ID's to all the header elements in the docs to allow making direct links to specific sections :)