Page 1 of 1

7 digit display

Posted: 28 Apr 2025, 12:56
by coenen
Ik heb een 7 digit display aangesloten. In de opties kan ik manueel kiezen. Als ik via rules aangeef wat er getoond moet worden, in mijn geval temperatuur, geeft het display niets aan. Als ik echter via command line ingeeft werkt het wel, word echter niet bijgewerkt. Doe ik iets verkeerd in de code. Svp voorbeeld van code, ben beginner. Dank je wel

Re: 7 digit display

Posted: 28 Apr 2025, 13:58
by TD-er
In principe is de voertaal hier op 't forum Engels, zodat anderen ook mee kunnen lezen die het Nederlands niet machtig zijn.

Ik zal dus ook in het Engels verder antwoorden.

When sending the command via the command line, you know the display is connected correctly.
So no need to look in there.

Can you show what you used as rules?

As a common advice for debugging rules, I advice you to also add some "logEntry" commands so you can see in the logs what is happening.

Also if you like to act on events generated from a task, please make sure you are trying to act on the correct event.
For example if you have checked the checkbox to generate a single event, the event will end with "#All".

So please show the rules and the configuration of your temperature sensor task.

Re: 7 digit display

Posted: 28 Apr 2025, 15:04
by coenen
ok, i will try to write in english.

in the command line I enter the following: 7dt,[temp#Temperature]

I tried something but I don't really know what I'm doing
i dont know how to make a rule, like i said im a beginner

I have added 2 screenshots.

Thanks in advance

Re: 7 digit display

Posted: 28 Apr 2025, 16:28
by Ath
In Rules you can put something like this:

Code: Select all

On temp#All do
  7dt,%eventvalue1% // First argument is the first temperature from the task, because 'Single event with all values' is enabled.
Endon

Re: 7 digit display

Posted: 28 Apr 2025, 16:49
by coenen
it works.
Thank you

Re: 7 digit display

Posted: 28 Apr 2025, 20:08
by Ath
coenen wrote: 28 Apr 2025, 16:49 it works.
Thank you
Great, thanks for the feedback :D