Read the statement by Michael Teeuw here.
Problem with MMM-LocalTemperature using MMM-Lucy
-
Your entry looks good
Check that your entry in the MMM-voice node_helper has
else if (/(SHOW)/g.test(data) && /(INDOOR)/g.test(data)) { this.sendSocketNotification('SHOW_INDOOR'); } else if (/(HIDE)/g.test(data) && /(INDOOR)/g.test(data)) { this.sendSocketNotification('HIDE_INDOOR'); }
and that your entry into the MMM-voice.js file sentences array has
'HIDE INDOOR', 'SHOW INDOOR',
and further down in the same file
// MMM-voice sends notification to MMM-LocalTemperature to HIDE else if (notification === 'HIDE_INDDOR') { this.sendNotification('HIDE_INDOOR'); } // MMM-voice sends notification to MMM-LocalTemperature to SHOW else if (notification === 'SHOW_INDOOR') { this.sendNotification('SHOW_INDOOR'); }
-
@mykle1
Thanks for the information, but every bit of code is exactly as you wrote. So I really can’t understand why all other modules are working fine, except this one.
First I thought it was because of the word wasn’t recognized.
So I used words like TEMPERATURE, TEMP, HUMIDITY, en last one INDOOR. All have the same behaviour.
Module hides, but voice command can’t bring it back on screen. So there must be something in this MMM-LocalTemperature.js file that is blocking it from coming back on screen. -
I’ve only seen that behavior when I made errors in my changes to the files described above. I can’t test it with that module because I don’t have the sensors necessary to run the module.
-
@mykle1
I understand that you need the proper sensor for making a test. Anyhow for now, I disabled the SHOW & HIDE for this module so it will remain always on screen.
It isn’t realy a breaking problem. I was just wondering why all other modules are doing fine except this one’s not.
Thanks man, for your the help & support. -
If, as you say, you’ve made all the edits correctly, then it is still possible that the temperature module is conflicting in some way. I would try to troubleshoot if I could run that module. Try some things on your own if you feel comfortable doing so.