-
I've noticed vcc is now missing in mqtt tele/state messages. Is there any way to enable this behaviour from the console? There's the "#define USE_ADC_VCC" in my_user_config.h, but I don't want to really go through the trouble of flashing them all (approx 20) again manually. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
Hi So if you need IMHO, this feature is more or less useless as you are measuring the VCC which is after the voltage regulator so supposed to be always 3.3V. For battery operated device, it is much more useful to get the battery voltage before the regulator using a voltage divider. |
Beta Was this translation helpful? Give feedback.
-
@barbudor It would be nice to add USE_ADC_VCC to the 'option' list, much easier to be able to toggle it rather than doing a full build and flash routine. For a start it means taking the device apart to wire it up to a serial TTL adapter before you even consider the building and flashing. A laborious approach to simply change a single option, especially when many devices are involved. |
Beta Was this translation helpful? Give feedback.
-
Oh well, that's it I suppose, I'm definitely not going through all that again for 20 odd devices, I'll just stick with ENERGY.Factor instead. I'll close this in 24hrs, just in case any further responses come in, global timezones and all that. |
Beta Was this translation helpful? Give feedback.
Hi
This is a build only option. As of today you can't change it without using a binary that has this option.
From BUILDs.md, this is by not enabled by default except for
tasmota-lite.bin
andtasmota-ir.bin
(andtasmota-minimal
but I don't count it as a normal binary)So if you need
tasmota.bin
ortasmota-sensors.bin
, you need to recompile and upgrade.Alternatively, you can connect A0 to VCC with a voltage divider but I would expect hardware change to be more annoying than recompiling.
IMHO, this feature is more or less useless as you are measuring the VCC which is after the voltage regulator so supposed to be always 3.3V. For battery operated device, it is much more useful to get the bat…