Still waiting for athom, when you are waiting for 1.2.5 to be marked as stable, you cant create another test version, and with all that changes i do not want to push this version out too quick still can have some major issues im not aware of…
Hi @Bckp, thanks for creating this app! I have just started learning to use it.
Looking at your screenshot, it seems that you are able to set JSON options for notifications.
For custom apps I can specify JSON options, but the flow card for notifications does not seem to provide an option to set the JSON options (only message, icon and text color). At least in my case. I am using test version 1.3.2 of your app. The available notification card looks like this:
Hello im happy you like it for notification there is new flow card, send notification with json options… there you can set any options you like (i should specify them somewhere i guess)
Becouse 1.3.1 was test too, but homey platform show only current version as test, but so far i did not get any errors from test version so i guess i will move it to stable soon
I tried to use this property in the flow card for creating a new page. However it does not seem to do anything (I can set other properties). I also tried removing all custom pages and then adding them one by one. However the pos property is ignored. The pages are always ordered in the sequence of adding them.
Any tips on how to make this property work? Or is this a bug in the AWTRIX 3 firmware itself? I am using v0.98.
Thanks for you swift response. Then I suggest to wait with adding support until the implementation is final in the AWTRIX firmware. No need to add it if it is not yet working as expected .
It was earlier FW where the problems occur, i can try to test it on weekend, but no promises… Last time i promised i will look at something, it took me 3 months
// Edit:
Well, it looks like it works, but only first time you publish app, if app exists, this field is ignored. It can be pretty hard to explain to users, why it behaves this way
Haha thanks. Please don’t feel pressured by my question .
My use case is the following: I have number of custom apps that are always displayed (like the ones that show the living room temp & humidity, energy usage and weather).
I also have some pages that are only displayed when relevant. Like the currently playing track info. This page is only visible when I am actually playing a track. I remove these pages (automatically via a flow) when those conditions are not met, and create them again when relevant.
The latter pages are always added to the end of the carousel, while I would like to order them differently and ‘reserve’ certain positions in the carousel for those pages. Each page would have a predefined position via the pos parameter.
Custom apps created using the Homey Awtrix app flows sounds very interesting. Can you share a simple example, it’s a little bit difficult to learn without much documentation although there are plenty examples for HA.
@SunBeech: I will try to publish 1.3.3 with pos support today feel free to test and report @eovermeer: Apps are like notifications, but they remain in cycle, so if you send outside temperature with value 10, you will see it every few seconds/minutes depends on how many apps you have, value will remain same until you update it
Example 1: Living room temperature
This flow creates and updates a custom app that displays the temperature in my living room. The temperature is provided by a Netatmo weather module. Whenever the temperature changes, the flow updates the custom app.
In principle you would only need a trigger card (WHEN) and the ALTRIX card (THEN) to create the custom app. I also included the option to start this flow manually (start button) and a check that prevents the flow from running when I set a ‘hold’ variable (‘Blokkade Triggers AWTRIX Apps’). You can disregard these two extra items.
The AWTRIX card on the righthand side of the screenshot creates the custom app. In this case I only provided the mandatory parameters, not any additional configuration/JSON parameters:
Temp Woonkamer: the name of the custom app;
Temperature (2355): the name of the icon to be displayed. Note that I downloaded the icon upfront via the download function in the AWTRIX 3 web interface;
‘# Temperatuur’ °C: the value/text to be displayed. The temperature tag is the one provided by my Netatmo module;
White circle: represents the color of the text;
7 seconds: the during of the custom app/info being displayed, before the next app is displayed;
{}: Between these brackets you can provide additional JSON properties to further configure the custom app (see link in my prior post).
Example 2: Power usage
This is basically the same flow as the previous one, except that the data comes from my BeeClear Energy P1 meter, the trigger is whenever there is a change in power consumption and the icon is different.
Example 3: Currently playing track
This flow creates a custom app that displays the currently playing track (artist and track name).
The track information is provided by my Sonos device.
I did not include the triggers, because there are a lot and the principle stays the same.
In this case depending on the situation the flow creates the custom app (when something is actually playing) or removes the app (when nothing is playing). In the latter case there is nothing to display, so it does not make sense to activate that app.
Next to the required options I also provided some additional JSON parameters:
pushIcon: 2. This indicates that the icon should not be fixed in the display, but scrolls out of view when the track text is scrolling
repeat: 1. This overrides the 7 second period the app is displayed. Instead the track title is displayed and scrolled exactly once, after which the following app is displayed.
If I create all custom apps after each other, then they are placed in the order I specify. The only app for which I cannot specify its position in the loop is the standard (clock) app. I assumed it would be placed at the first position, but that is not the case. It is placed somewhere in the loop (e.g. position 2 or 3). I would like it to be the first on in the loop. I assume this is possible, as I can manually reorder all pages in the AWTRIX app on my iPad.
If I don’t create all custom apps at once (and leave some reserved positions unused) then the specified position is not always applied. For example if I only create the custom apps that have been assigned positions 1, 2, 3, 4, 6 and 8 (so skipping the apps at positions 5 and 7) then the order of the first four apps are ok, but the pages at position 6 and 8 are put in a different order (probably whichever is created first/the same behavior like if you don’t specify a positon at all). So the fact that an app with an in between position is missing seems to result in the subsequent page not being ordered as expected.
I am not sure how the position mechanism is supposed to work. So maybe I am trying to achieve something that is not possible.