Because we store our motor home under our master bedroom as shown, we are very concerned of RV sewer gas.

We don't poop in our toilet to avoid the challenge of removing stuck-on waste. We only urinate in the toilet.
For off season storage, I clean our tanks squeaky clean. This is how I do it. I've been doing it this way for 12 years now with no ill effects. Through all the years, our waste tank sensors work properly.
At home at the end of the RV season, I fill each waste tank with warm water and 1/3 gallon of household bleach. I fill the waste tanks to the tippy-top for maximum bleach solution contact. The gray tank I fill to the point where water starts to back up into the shower pan. The black tank, I fill to the toilet valve. The treatment is done with both waste valves open and the 3" waste end cap installed. We also have a macerator so I run it a bit to get the bleach solution throughout that system too. I also fill the sinks and toilet with water and bleach solution and let some into the traps to clean them too. One gallon of household bleach treats everything.
I let the bleach do it's job for 2 to 3 hours, then drain everything with a rush out onto the driveway. I then repeat the entire process with only fresh water to remove bleach residue because I understand that long term exposure to bleach is hard on some of the RV components and seals.
The bleach solution neutralizes any concern of residual waste to the environment and it makes the rig smell fresh and new inside with no sewer gas emitted into the garage below our bedroom.
Since 2007 when we bought our rig new, all our tank sensors continue to work right.