Well, but thats not accurate. You want the devices to be updated when you push the button of the AVD or set it’s value through a flowcard. You want it, to React then.
You only do not want to React, when the trigger for the React was an updated from a Reflected device.
So, i don’t agree to your suggestion, but i fully agree that my current definitions are also not clear and am thus open to suggestions.
Well, just for Yes/No right now:
You have it Shown as Sensor, which cannot be selected as Status Indicator:
For yes/no, to display the field as status indicator, it needs to be some kind of alarm type:
Device Indicators and Custom Capabilities The Homey web app and mobile app can display indicators next to the device icons. This gives users the ability to view a specific capability, such as a temperature value or battery status, at a glance. Custom boolean and number capabilities can also be shown as indicators as device indicators. Boolean Capabilities Boolean capabilities, also called Alarms in Homey, are displayed in two different ways if they start with the prefix alarm_. By default all capabilities with this prefix are grouped, and a warning icon is shown if the value of any of the boolean capabilities is true. Alternatively users can choose to show the indicator value of a single specific Alarm capability. The alarm_battery capabilities will show an “empty battery” icon instead of an exclamation mark. Number Capabilities Number capabilities, are displayed as a numeric value together with the unit of the capability. Users are able to select capabilities that start with either the prefix measure_ or meter_. The measure_battery capability will always be displayed with a custom battery icon instead of a number.
So, choose any other Show As for yes/no, and you can than choose it.
Also, but, the issue right now is using Show As Sensor, which cannot be selected.
Using Alarm (custom) or any other alarm will work (when device is other).
Yeah I was also thinking maybe it is possible to use string values Yes/No or True/False or even 1/0 as status indicator
I think it can be realized when the BLL expression is optional, Arie?
Just a brainfart
Simple yes no is not possible yet for status indicator. @Emile has responded to the status indicator petition and had a nice idea.
Unfortuantly, the next day i had a very bad moment and reaction, so, im not sure if that idea is still planned.
If so (text fields as status indicator), than the options for Yes/no aswell as text indicators, will be implemented asap.
Please note tho, like Peter said.
You can add an onoff button, create flowcards to true, and now set the device class to something.
This will create an unique mandatory status indicator per class type.
Yes, this kinda stuff is indeed why the BLL expressions exists. However, the currently only way to show text on the device tile, is the “units” i use for the special first status indicator. But currently, the reflection for that only works for the number part of the status indicator.
I can add support for the text part, or better yet, change the status indicator to target the text part instead of the number it now does.
But to be honest, if Emile still plans to allow text fields to be chosen as Status Indicator, than the best thing would be to support that, and drop (or hide with new AVDs to keep existing AVDs working ofc.) the Status indicator from the AVD settings).
Hi @Arie_J_Godschalk ,
I’m trying to figure out why my HP2023 is constantly crashing (not blaming your app), going trough all the containers logs and I found these… anything you can address or it was due to eventually Homey not ready ? It appears in logs hundret times possibly… thank you.
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: 2023-03-23T23:05:54.466Z Homey [err][ManagerFlow] HomeyErrorNotFound: Not Found: FlowCardTrigger with ID homey:app:nl.qluster-it.DeviceCapabilities:trigger_app_device_available
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: at ManagerDatabase.findEntry (file:///app/lib/ManagerDatabase.mjs:56:15)
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: at processTicksAndRejections (node:internal/process/task_queues:95:5)
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: at Function.findEntry (/node_modules/@athombv/homey-core/lib/DatabaseEntry.js:198:19)
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: at AdvancedFlow.runTriggers (/node_modules/@athombv/homey-core/lib/AdvancedFlow.js:643:28)
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: at AdvancedFlow.run (/node_modules/@athombv/homey-core/lib/AdvancedFlow.js:363:61)
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: at /node_modules/@athombv/homey-core/lib/ManagerFlow.js:847:9
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: at async Promise.all (index 1)
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: at ManagerFlow.triggerFlows (/node_modules/@athombv/homey-core/lib/ManagerFlow.js:839:5) {
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: statusCode: 404
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: }
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: 2023-03-23T23:05:54.468Z Homey [err][ManagerFlow] HomeyErrorNotFound: Not Found: FlowCardTrigger with ID homey:app:nl.qluster-it.DeviceCapabilities:trigger_app_device_available
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: at ManagerDatabase.findEntry (file:///app/lib/ManagerDatabase.mjs:56:15)
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: at processTicksAndRejections (node:internal/process/task_queues:95:5)
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: at Function.findEntry (/node_modules/@athombv/homey-core/lib/DatabaseEntry.js:198:19)
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: at AdvancedFlow.runTriggers (/node_modules/@athombv/homey-core/lib/AdvancedFlow.js:643:28)
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: at AdvancedFlow.run (/node_modules/@athombv/homey-core/lib/AdvancedFlow.js:363:61)
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: at /node_modules/@athombv/homey-core/lib/ManagerFlow.js:847:9
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: at async Promise.all (index 2)
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: at ManagerFlow.triggerFlows (/node_modules/@athombv/homey-core/lib/ManagerFlow.js:839:5) {
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: statusCode: 404
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: }
Mar 23 23:05:54 homey-6405cb261f19900b82ed4326 homey-pro[1165]: 2023-03-23T23:05:54.482Z Homey [err][ManagerFlow] HomeyErrorNotFound: Not Found: FlowCardTrigger with ID homey:app:nl.qluster-it.DeviceCapabilities:trigger_app_device_available
And also…
Memory cgroup out of memory: Killed process 3209 (node:nl.qlust) total-vm:376660kB, anon-rss:97148kB, file-rss:8676kB, shmem-rss:0kB, UID:0 pgtables:400kB oom_score_adj:0
Yeah, this seems to be outside of the scope of the app itself. This is not my coding, but Homeys, and it cannot serieously be broken, thus, i would personally put this under random and not even report it unless it happens again with sufficient power.
Im pretty sure the flowcard exists