Ok, then I will watch the memory usage.
This is the behavior of the last 14 days:
Is there something I have to translate?
Ok, then I will watch the memory usage.
This is the behavior of the last 14 days:
Is there something I have to translate?
No, thanks, i have used Google translate for this single word: Kumulativ.
Hey @Jacques_Derks, @Peter_Kawa and @Sebby5 (and @Anders_Gregow),
Weâll continue here.
Please remove your posts from the The Flow Exchange(r) - Exchange Your Flows with Others! - Flows - Homey Community Forum.
@Jacques_Derks it should be resolved in 2.8.14.
Itâs Live now!
What is resolved:
Importing TEFâs with Chronograph wouldnât create the Chronograph correct (timer/etc) when creating a new one or changing the name during import.
Both issues have been resolved, you can create the new Chronograph object with the Template name or adjust the name.
QlusterIT / nl.qluster-it.DeviceCapabilities / issues / #21 - TEF: changing the name of a chronograph stopwatch stops/breaks the import script â Bitbucket
(Both issues had the same source)
In Test Now (2.9.0):
Added an API call to set the value of AVD fields:
await dcApp.apiPost('setvalue', {device:'Day-Amount', field:'number1', value:21});
await dcApp.apiPost('setvalue', {device:'Day-Amount', field:'measure_devicecapabilities_number-custom_1.number1', value:22});
await dcApp.apiPost('setvalue', {device:'c34dc5b4-3c30-48a9-8a4e-014aea93d00d', field:'measure_power', value:501});
Hello,
First - thanks for an excellent app!
I am using the âdevice capability cardâ in my advanced flow to retrieve a capability value from the insight log from x minutes ago. It works really well but I am not able to find my âbetter logicâ values. I can find the âstandard logicâ values in the device âManager - logicâ but not the âbetter logic valuesâ. I am doing something wrong or is this not working yet?
Thanks!
Mats
Awesome!
Hey, better logicâs variables are not capabilities.
I donât think you can see them with that card.
Ill have a look to see.
But what you can do: create an AVD and use those capabilities as variables.
Now you have them grouped and you can also manage insights yourself.
Hey all! Someone that knows why I see no devices to select?
It is the same behaviour for all Device Capabilities flow cards.
Thanks!
Send me a diag?
This is a know issue, but havent seen any usefull info in a diag yet.
Thanks for sharing another device with flow.
I installed âChronograph - Get current duration of a running Timerâ but Iâm getting an error âConvert duration into HH:MM:SS right awayâ
The error is âInvalid type for token âstringâ expected âstringâ but got âbooleanâ.â
Aby ideas?
Thanks.
YW!
You could have entered a non-existing timer name:
With an existing timer name, it should return the timestamp:
I canât figure yet out how to check on a valid timer name.
I did not enter a timer name anywhere. I just copied the code and replaced it with the right homey script card.
You replaced it with the wrong HS card, you need the one with a text(?) argument.
Youâll need the THEN âRun code with argument and return Text-tagâ card, like Arie stated alr.
When you edit the card (select the code),
youâll see a text bar at the top, there you should enter a timer name.
In my screenshots, my used timer name is cv_monitor
so you can see where that should go.
Okay, I got the wrong card, you are right.
Replaced it with the right card and changed the timer name. That I had already tried but with the wrong card it did nothing off course.
Thanks, it is working now.
Here is a diag: 976f324d-8758-48e8-93ea-77f428734eb1
Thx!
Hi @Peter_Kawa , just testing your TEF - (Updated) Sensors Connection Check. - The Flow Exchange(r) - Exchange Your Flows with Others! - #13 by Peter_Kawa - are you sure you did include HomeyScript, which checks actually against last updated argument ? Somehow that check is missing it seems. Do I miss something here please ?
Hi Sharkys,
I donât fully get what youâre missing.
You seem to have the scripts in place.
If all went well you copy/pasted them all 3 from the 3 dummy DC âHomeyscriptâ cards.
HI Peter, I donât see in imported HomeyScript any check for that argument⌠basically running that flow gives me all sensors sorted by last updated time without taking into consideration Inactive time
Iâm sure Iâm missing something.
// Sensor.Contact_Check, to check contact sensors connection by comparing last update times
let array = [];
const devices = await Homey.devices.getDevices({ filter: {class: 'sensor', capabilities: 'alarm_contact'} });
_.forEach(devices, device => {
array.push( device.capabilitiesObj.alarm_contact.lastUpdated?.substring(0,16) + " - " + device.name );
});
//oldest date on top sort array = ["time_stamp device", "time_stamp device", "time_stamp device" ]
const array_sorted = array.slice().sort(function(time_stamp, device) {
const firsttime_stamp = time_stamp.split(" ")[0];
const secondtime_stamp = device.split(" ")[0];
if(firsttime_stamp < secondtime_stamp) return -1;
if(firsttime_stamp > secondtime_stamp) return 1;
return 0;
});
console.log("Contact sensors:\n" + array_sorted.join('\n') + "\n\nSensor.Contact_Check.js");
Homey.flow.runFlowCardAction({
uri: 'homey:manager:notifications',
id: 'create_notification',
args: {
text: "Contact sensors:\n" + array_sorted.join('\n') + "\n\nSensor.Contact_Check.js"
},
});
return array_sorted.join('\n');