@bazil1000 said in AVStock not responding to Hello-Lucy commands/notifications:
Would you mind helping me with it?
Wow. I didn’t think anyone was using Lucy these days. Yes, I’ll do what I can to help you. I took a look at the AVStock.js file. I see the getDom function closes at line 47. I assume you made your modification at line 48
getDom: function() { var wrapper = document.createElement("div") wrapper.id = "AVSTOCK" return wrapper }, notificationReceived: function(notification, payload) { if (notification === 'HIDE_STOCK') { this.hide(); } else if (notification === 'SHOW_STOCK') { this.show(1000); } },It can be tedious but you’ll have to check and recheck your other modifications. Check that you’ve changed the command words and that they all match in each modification.
This one
One in the new node_helper
Two in the new MMM-voice.js file
I don’t use AVStock but Lucy should work. Any time Lucy failed to work it was always an oversight on my part. Please do this first. If it still doesn’t work we may have to move the notificationReceived function or add the modification to the existing notificationReceived function that is already present in MMM-AVStock.js file. Keep me posted. Sorry for the delay in response