7 digit display
Moderators: grovkillen, Stuntteam, TD-er
7 digit display
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
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.
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
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
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 (181 KiB) Viewed 227 times
-
- Schermafbeelding 2025-04-28 150237.png (189.95 KiB) Viewed 227 times
Re: 7 digit display
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)
Who is online
Users browsing this forum: No registered users and 13 guests