hopefully this works for @cowboysdude as well
Read the statement by Michael Teeuw here.
Posts made by strawberry 3.141
-
RE: Motion Detector
then it’s really strange that you can’t find the driver, did you wrote v412 or v4l2 ?
looks like you typed 1 but it should be a lowercase L
-
RE: Motion Detector
strange this is the driver for the camera module
do you have enabled the camera module?
-
RE: Motion Detector
can you guys try
sudo modprobe bcm2835-v4l2
in the console before starting the mirror -
RE: Motion Detector
this sounds that your cam is not getting recognized as a valid webcam
-
RE: MMM-TTS
voice recognition and installer are finished, but need to build the module itself
-
RE: MMM-TTS
@alexyak still in development was working most of the time on different modules
[card:fewieden/MMM-voice]
-
RE: .txt file include
@dominic this should give you an idea how to solve your problem, I just wrote it down maybe you have to adjust something a little bit and it’s not a finished solution
- nodehelper:
const fs = require('fs'); ... socketNotificationReceived: function(notification, payload) { if(notification === 'START'){ this.config = payload; this.readData(); setInterval(() => { this.readData(); }, this.config.updateInterval); } }, readData: function(){ //to read a file to do the following fs.readFile('YOUR FILE PATH', (err, data) => { if (err) throw err; this.sendSocketNotification('DATA', data); }); }
- module:
defaults: { updateInterval: 30*60*1000 //reads the file every 30 mins }, start: function(){ this.sendSocketNotification('START', this.config); }, socketNotificationReceived: function(notification, payload) { if(notification === 'DATA'){ this.dataFile = payload; this.updateDom(); } }, getDom: function(){ var wrapper = document.createElement('div'); if(this.dataFile){ wrapper.innerHTML = this.dataFile; } else { wrapper.innerHTML = 'No data'; } return wrapper; }
-
RE: Motion Detector
@alexyak the logs from @trividar show only state hdmi on never hdmi off, so maybe the check for on off is not correct in the module, as an idea create a dev branch where you don’t check with tvservice -s, just set a variable hdmi true/false after you running a command and starting with true in the start method of the nodehelper and let them checkout this branch
-
RE: NFL Score Module
I will create a module next week, just tell me in a personal message what should be displayed in the module (have no clue about baseball and what data can be interesting) as its not related to the nfl module