How to use two sevenseg HT16K33s to display two sensors (with C->F conversion)? #20202
-
I have two Adafruit HT16K33 I2C backpacks wired up to a HUZZAH ESP8266 dev board, successfully reading from two MAX6675 Thermocouple breakouts. I'd like to show one thermocouple's value on each 7-segment display (as well as sending the values to HA for logging). However, I'm having trouble:
One display has the default I2C address of 0x70, the other has A0 shorted so it uses 0x71. It's the second one with A0 shorted that is actually showing something. Some things that are working:
Some other resources I've looked at:
Here's how it looks: Thanks in advance for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
I don't think Tasmota can manage 2 displays simultaneously |
Beta Was this translation helpful? Give feedback.
-
Assuming that the Tasmota support for multiple HTK16K33 works as suggested, making suggestions for how to do things differently gets hard without any details of what you're actually trying, like how you tried addressing the 2nd display, and what you mean by opaque statements like "the For 7-segment displays, I do not think that you should even look in the direction of how it works for e-paper displays or using display descriptor files, as the simple segment displays do not provide such capabilities. When it comes to C/F, Tasmota does provide |
Beta Was this translation helpful? Give feedback.
-
This are my rules to display 2 termps on a single 8 digit display:
First keep value on var1 rounded up.
ON Tele-DS18B20-1#Temperature DO Backlog Var1 %value% ; Add1 0.5; ENDON
Then display secon temp with deg symbol and the first rounded value wit the
same symbol
ON Tele-DS18B20-2#Temperature DO Backlog DisplayText %value%^
;DisplayNumberNC %Var1%,4,0,3; Displaytextnc ^,7; ENDON
El El lun, 11 dic. 2023 a la(s) 12:08, sfromis ***@***.***>
escribió:
… In ON tele-BME280#Temperature DO DisplayText [....]Temp: %value% C ENDON
%value% is simply the value from the trigger, in this case the
temperature value, as mentioned here
<https://tasmota.github.io/docs/Rules/#rule-command>; scroll down for
more available variables.
What you can do in triggers is here
<https://tasmota.github.io/docs/Rules/#rule-trigger>; pay special
attention to the part about JSON-based triggers, where you have to match
the object levels in the JSON you already get for the sensors, similar to
the example with BME280.
When you create a rule set, you need to make sure to also enable the rule
set, both of this is using the Rule command
<https://tasmota.github.io/docs/Commands/#rules>.
More generally, it works better if you post exactly what/how you're trying
to make it work, as this makes it easier to spot details which were off.
And with rules, the thing is that you can expect nothing to work, and no
error messages, until you get every detail right.
—
Reply to this email directly, view it on GitHub
<#20202 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXBW4OWV7KXQSZNV2USQCTYI4OXXAVCNFSM6AAAAABAO54TC2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TQMRRGA3DE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
While I have no experience with this, the comments clearly suggest that up to 8 seven-segment displays are supported, with a command code in
DisplayText
to select which display is addressed.https://github.com/arendst/Tasmota/blob/development/tasmota/my_user_config.h#L742-L750