Read the statement by Michael Teeuw here.
MMM-temp-ds18b20 disable second sensor
-
I am using MMM-temp-ds18b20, but would like to disable the second sensor. I am also trying to get rid of any headers, so only the temperature from the ds18b20 is showing. I’ve looked around the Developers window, hoping to find a way to hide everything but the one temp, and couldn’t find anything there. I’ve adjusted the config.js entry to show this;
{ module: 'MMM-temp-ds18b20', position: 'top_right', config: { refreshInterval: 10, // in seconds displayMode: 'x-stack', sensors:[ { id: "28-021502d77aff", }, { } ] } },Any suggestions?
Thanks,
Brian -
-
Thanks Sam, that did remove the second sensor, but there is still undefined section above the temp to get rid of, as shown in the attachment. Any suggestions on that?

-
@briantogo i think that is the header or label option

-
Thanks Sam, I had already changed “headers” field to ‘inside’, and I like it’s size and placement. I had removed the field “label” under the sensor field hoping to remove it from the config. Now I have re-added the label field, but left it blank. Now the config.js looks like this;
sensors:[
{
id: “28-xxxxxxxxxxxx”,
label: “”
},Now, it just displays an extra line above the temp reading. Is there a way to, let’s say, zero out or cancel that field altogether? Is there perhaps a word I could type in between the quotes like Null or Void?
Here is a screen grab from my mirror;

Thanks again,
Brian -
@briantogo i dont know the exact answer, but using the developers window elements tab you can find the element
and set it todisplay:none;in css/custom.css
see the second link in my signature below for a quick guide on the dev window
-
@briantogo or move the header to label with no header
-
@briantogo did you get it fixed?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login