Iām working on a project to track the contents of my freezer using Homey Pro and the Better Logic Library (BLL). (together with chatgpt and WE canāt get it to work hahah)
The contents are stored in a single text variable vriezer_inhoud in JSON format.
Ah yes, that app is a great tool to interact with flows.
So I asked Homey bot:
āHow do I store AND edit JSON data in Better Logic Library string variables?ā
The response seems pretty usable (assuming youāll get the same reply ).
In the meantime, check out the app āJSON Handlerā also built by Arie .
For most of you, itās probably a piece of cake, but I simply lack the knowledge:
A card in the Tesla app generates a time (ātime to destinationā) as output (HH:mm). But, I donāt want the ātime to destinationā, I want the āarrival timeā. So, somehow, I need to add the ātime to destinationā to the now() time.
I checked all posts here (and to be honest, most look like food for programmers, which Iām not, so most I donāt understand and lots of respect for all Homey users knowing all this stuff) and hoped to find something similar to used. I found, but still after trying two evenings, I didnāt get it work.
So, does somebody know how to make a calculation with times and add the output (e.g. 18:45) of the Tesla app card to the actual time to generate the ātime of arrivalā?
This example adds the variable āTesla Timeā, that contains the time to destination in HH:mm format, to the current date/time stamp (which is in milliseconds) and formats the result again as HH:mm. That is the output of the last card, which you can then use in your flow.