Salut Yves,
thats a limitation from the awtrix-developer, you can drive two or more displays but all with the same content. To display different content on each display you need one awtrix-server per display. This is mainly because the “brain” is in the server. german forum
There is a similar aproach named pixelt there it is easier to drive multiple independent displays.
I only made the “bridge” between HA and the display-software. So i can’t change the overall design.
If you are french, i am desperatly looking forward to visit france again. Corona sucks.
Well, i like awtrix very much for its functionality. But the software design is a little to much hobby-style. There a some things implemented “funny”. But i use it very much.
Thanks for sharing the script.
Is awtrix-beta-server from your repository the preferred one to use? Currently using awtrix-server.
I have added this under light: to turn the Awtrix on and off. Would like to add the brightness as well but for that the MQTT topics of Awtrix are working a bit strange, so I will leave that for now.
I tried to install the beta but it is not: “This add-on is not compatible with the processor of your device or the operating system you have installed on your device.”
I assume you are not using an x86 as plattform.
I “only” have a PC to test. There were some issues with the openjdk11-jre.apk on a raspberry so i had to disable the raspberry platform for this addon.
I have built 2 AWTRIX, one big size and one midi. Here are my findings so far:
You have to use separate AWTRIX host for each matrix you have. In theory, you can connect 2 awtrix matrixes to a single host, it sorta works. But if you have LDR on each, then the brightness changes every time an update comes from the matrix; so the brightness jumps… So what i did is to use docker instance of the host to another machine. I haven’t tested to use more than one docker container on the same host; you have to change the ports. You can change the port 7000 but as i see it also uses 7001 and a UDP port; so basically i haven’t tried it yet. I would be mnore than happy id someone can share their findings about this.
You can use 2 different methods of information to AWTRIX:
a. Instant info: REST or MQTT command to set for instant feedback; like brightness, on/off, instant notification etc. You can find this info on AWTRIX api pages. Just a simple example on mqtt:
The problem with this is that you have to send info every time; even if the info doesn’t change, otherwise the info will show up only once.
b. Using customapp for permanent info: Here you have to install “Customapp” from the AWTRIX appstore. When you go to “My Apps” page on AWTRIX web page and press the “Sort apps” icon, you can see the ID number of the customapp. If you need to send more than one type of info; you can “Clone” the customapp and have more than one instance. Please note that each clone will have a different ID. Make note of these IDs and use it to send info according to the example below:
You can update and send the changed value anytime. But the difference of using customapp instead of mqtt or restful notification is that, the info you send will remain to show in app cycles. You can still use “repeat” but it still is not very efficient.
So in summary, if i use config, power, basic info and one time notifications (like doorbell etc) i use mqtt/restful message, but if the notifşcation is permanent like air temperature or any other useful information to be existing in the app loop, i use customapp.
Hi ho,
I’m not able to get this working. I hope someone of you can help here.
I run the standard awtrix-server (on raspy) with 3 customapps. The publishing works in principle using my FHEM automation.
Here in HA I prepared the following automation:
Hi, thanks for posting this info. It’s been a challenge finding documentation on CustomApps. I totally missed the fact that we have to download an accessory install (“Customapp”) I’m going to check that out now. I’m currently trying to figure out what the CUSTOMAPPS folder is for and what exact settings can be sent to custom apps vs all apps through the /settings topic. How /where did you learn about about all this? I’m impressed! I can’t find this info on GitHub or the new Awtrix 3 page. lol
You can find the details of AWTRIX 2 on this page. However, the new AWTRIX 3 is much easier and i am also using this one now. Also, for AWTRIX 3, you do not need a server component or any other accessory install like customapp anymore…