@evroom I never heard of footballleagues.
When I’m correct then soccerlivescroe display the matches and this module display the standings so the modules follow different approaches.
@evroom I never heard of footballleagues.
When I’m correct then soccerlivescroe display the matches and this module display the standings so the modules follow different approaches.
@evroom I would be more than happy, if you could try to investigate your parsing issues. In case I will find some time before my longer holidays in the states, I will try to change the api myself.
@conkhidot I just saw that there is now a new api version and the current implementation will not work with the new season :/
@trmst the way I’m calling the turn off monitor cmd in my voice module you can execute your shell script.
https://github.com/fewieden/MMM-voice/blob/master/node_helper.js#L348
official documentation https://nodejs.org/dist/latest-v8.x/docs/api/child_process.html#child_process_child_process_exec_command_options_callback
@killing-joke you wrote postion instead of position
@bjoern which provider (tankerkoenig or spritpreisrechner) just checked it and I’m getting results
@cowboysdude 5000 per month or total? with 5000 per month you could update every 10m for free.
every 10m
6 per hour
144 per day
4.320 per 30 days
@xray2607 you need to specify provider: 'spritpreisrechner', also spritpreisrechner changed the api, so you might want to use the develop branch git checkout develop
@chef you might want to try the develop branch or wait for the next release, which should be tomorrow :D there were multiple feels like temperture fixes in pull requests
@autonomus the problem with the helloworld module is, that is only running in the browser environment, so it doesn’t have access to linux in that sense. What you need is a node_helper which has access to your machine.
A good example is the pir sensor module https://github.com/paviro/MMM-PIR-Sensor/blob/master/node_helper.js#L59 In this line it executes a linux command as a child process.
If you check the documentation you can get the response of it in a callback https://nodejs.org/dist/latest-v10.x/docs/api/child_process.html#child_process_child_process_exec_command_options_callback
If you need more information about node helpers you can check the docs here https://github.com/MichMich/MagicMirror/tree/master/modules#the-node-helper-node_helperjs
there should be the possibility to set the lat and lon yourself, maybe someone is also interested in a weather at a different location. Only if no lat lon was provided you should try to get it via this ip api provider
@tnp0327 it needs to be in the config section
@tnp0327 can you show me the mmm-voice part of your config js
@tnp0327 the file that gets generated is located at modules/MMM-voice/debug.log
@yawns the article on t3n is mentioning that they use magicmirror, but their own website doesn’t
@toktias you are running node v4.2.6 the current version is v10.4.1 https://nodejs.org/en/
@saschasp your regular expressens are different from the one i posted, use them and I’m sure it will work
@jeffers1984 you have two issues:
label: "Sarah Work",
mode: "driving",
},
}
destination: "...",
label: "Nursery",
mode: "driving",
},
{
destination: "...",
label: "... Community",
you start the block with label nursery with a closing instead of an opening bracket.
second issue is in the newsfeed you have duplicated feeds, because you created one object for all instead of one for each feed. Therefore you will only get the last newsfeed, if you want all you have to do:
feeds: [
{
title: "Everton FC",
url: "feeds.evertonfc.com/everton-news?format=xml",
},{
title: "BBC Headline",
url: "http://feeds.bbci.co.uk/news/rss.xml",
},{
title: "BBC Technology",
url: "http://feeds.bbci.co.uk/news/technology/rss.xml",
},{
title: "BBC Science",
url: "http://feeds.bbci.co.uk/news/science_and_environment/rss.xml",
}
]
I doubt that those issues are coming from the node 10 upgrade and it worked before :face_with_stuck-out_tongue_winking_eye:
@saschasp you can change your regular expressions to the following:
/Meldung (.*)/ig;, /Zone (.*)/ig; and /Zeit (.*)/ig;. This should help you displaying the data. For the problem with the newest file you need to do the following steps: Scan the directory, sort file list by highest number, read the first file.
Scan the directory https://nodejs.org/api/fs.html#fs_fs_readdir_path_options_callback
Sort the file names https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort
Read the file https://nodejs.org/api/fs.html#fs_fs_readfile_path_options_callback
@mrmidi I’m pretty sure the problem is, that the config file gets loaded in the browser. The browser doesn’t have require, it’s a nodejs feature.
https://github.com/MichMich/MagicMirror/search?q=CONFIG_FILE&unscoped_q=CONFIG_FILE
@jiggly the picture of your file tree shows that your module folder is called MMM-Coinmarketcap instead of MMM-CoinMarketCap. You should change that otherwise magicmirror can’t find the module