7 digit display

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
coenen
New user
Posts: 3
Joined: 28 Apr 2025, 12:50

7 digit display

#1 Post by coenen » 28 Apr 2025, 12:56

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

TD-er
Core team member
Posts: 9882
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: 7 digit display

#2 Post by TD-er » 28 Apr 2025, 13:58

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.

coenen
New user
Posts: 3
Joined: 28 Apr 2025, 12:50

Re: 7 digit display

#3 Post by coenen » 28 Apr 2025, 15:04

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
Attachments
Schermafbeelding 2025-04-28 150259.png
Schermafbeelding 2025-04-28 150259.png (181 KiB) Viewed 230 times
Schermafbeelding 2025-04-28 150237.png
Schermafbeelding 2025-04-28 150237.png (189.95 KiB) Viewed 230 times

User avatar
Ath
Normal user
Posts: 4330
Joined: 10 Jun 2018, 12:06
Location: NL

Re: 7 digit display

#4 Post by Ath » 28 Apr 2025, 16:28

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
/Ton (PayPal.me)

coenen
New user
Posts: 3
Joined: 28 Apr 2025, 12:50

Re: 7 digit display

#5 Post by coenen » 28 Apr 2025, 16:49

it works.
Thank you

User avatar
Ath
Normal user
Posts: 4330
Joined: 10 Jun 2018, 12:06
Location: NL

Re: 7 digit display

#6 Post by Ath » 28 Apr 2025, 20:08

coenen wrote: 28 Apr 2025, 16:49 it works.
Thank you
Great, thanks for the feedback :D
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests