@ianperrin i use Strava module for my mirror but recently Strava update api and now I have the message : 429 limits exceed. I changed reloadinterval to 15601000 and updateinterval to 60*1000 but still the same message.
Have you an idea ?
Thx for next answer
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-Strava
-
MMM-Soccer & MM-SoccerV2 don't work
Hi everybody
I use MMM-Soccer since a long time but the soccer season have begin and nothing on the screen (no results, only the name of the module or name of teams).
I have no errors in log file (ctrl + maj + i). I changed nothing.
I tested MMM-Soccer and MMM-soccer V2 and it’s the same thing. No scores are availables
am i the only guy with these problems ?Thanks for next answers
-
Cors policy Domoticz
Hi everybody
I have a problem with the latest version of MM and my Domoticz module.
I use this Domoticz module (link below) and when i start MM, i have a error message on console likeDomoticz could not load data
Access to XMLHttpRequest at… from origine http://0.0.0.0:8080 has been block by CORS policy. the request client is not a secure context and…[link text](https://forum.magicmirror.builders/topic/11123/mmm-domoticz-cannot-read-property-0-of-undefined/14?page=2link url)
I try different things but still not working:
i try this link but nothing : usecoreproxy
[link text]https://github.com/MichMich/MagicMirror/issues/2714#issuecomment-1024627426(link url)i try this link but nothing: websecurity = false
[link text]https://forum.magicmirror.builders/topic/16131/mmm-hue-cors-policy-issue/2(link url)Can you help me please ?
-
RE: Rotate screen problem when MM starts
@sdetweil thx for your support. i found the guilty module after 2 hours. it’s MMM-PIR-Sensor-Lite. There is an hidden rotate parameter and the default parameter is normal rotate. that’s why when MM starts there was a rotate screen on normal position.
So for people with rotate problem when MM Starts and if you have MMM-PIR-Sensor-Lite, add this parameter in your config.js:
rotation Direction of content rotation.
Possible values: ‘normal’, ‘left’, ‘right’ or ‘inverted’
Default value: ‘normal’ -
RE: Rotate screen problem when MM starts
@sdetweil if i turn on left right or inverted, when i start MM screen rotate on normal position
-
RE: Rotate screen problem when MM starts
@sdetweil thx for your fast answer
release isNo LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseyeimage below is my orientation screen. how i turn the black slash screen ?
![alt text]https://ibb.co/bK1s7Gc(image url)
-
Rotate screen problem when MM starts
Hi everybody
i need help about rotate screen when MM starts. I use a screen on vertical position for my MM.
When i start my raspberry (pi3 b+ on bulleye and i used @sdetweil link to install MM) the boot logo is on horizontal position and when the graphical interface is shown, it’s on vertical position. (everything is ok, i used preference rotation to rotate the screen on right).
After that, i start my MM with PM2 and MM starts vertically. But after 2 sec, the screen rotate on horizontal position and when i quit MM with Ctrl + Q, the graphical interface is also on horizontal position.Have you an idea ? (CSS on MM is blank)
thx for next answers
-
RE: MMM-Fuel
Hi @strawberry-3-141 i’m french and the data for the price of fuel is “opensource”. That’s why you can obtain informations about fuel, price fuel and type of fuel, fuel location, etc…
these informations are update every day
If you follow these links below, you can find exemple to use data :https://www.data.economie.gouv.fr/explore/dataset/prix-carburants-fichier-quotidien-test-ods/api/(link url)
there are different tabs to navigate between graph, informations and locationshttps://www.data.economie.gouv.fr/api/v2/console(link url)
this is the API (i think) to use dataI don’t know if it’s possible to integrate french fuel data in your module or it’s too complicated because i’m a noob in programmation/coding.
Maybe you can check these informations and tell me if possible?
and sorry for my english :-)
Thx
-
RE: MMM-Domoticz Cannot read property '0' of undefined
Hi, everybody
I used this old thread because i have a other problem with this module. I update my magic mirror to 2.8 and now this module doesn’t work properly. the error is:Domoticz.js:260 GET http://1xx.1xx1.3x:xxxx/json.htm?username=RmFiaWVu&password=ZmwwNjA2ODVEb21vdGljeg==&type=devices&rid=334 net::ERR_FAILED updateDomo @ domoticz.js:260 (anonymous) @ domoticz.js:299 0.0.0.0/:1 Access to XMLHttpRequest at 'http://1xx.1xx1.3x:xxxx/json.htm?username=RmFiaWVu&password=ZmwwNjA2ODVEb21vdGljeg==&type=devices&rid=336' from origin 'http://0.0.0.0:8080' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space `private`. domoticz.js:249 domoticz: Could not load data. domoRequest.onreadystatechange @ domoticz.js:249 XMLHttpRequest.send (async) updateDomo @ domoticz.js:260 (anonymous) @ domoticz.js:299 domoticz.js:250 Did not load data domoticz.js:271 data=[object Object] domoticz.js:276 ****Parsing data: 0 test1 domoticz.js:276 ****Parsing data: 1 test1 domoticz.js:276 ****Parsing data: 2 test1 domoticz.js:276 ****Parsing data: 3 test1 domoticz.js:276 ****Parsing data: 4 test1 domoticz.js:276 ****Parsing data: 5 test1 domoticz.js:276 ****Parsing data: 6 test1 domoticz.js:260 GET http://1xx.1xx1.3x:xxxx/json.htm?username=RmFiaWVu&password=ZmwwNjA2ODVEb21vdGljeg==&type=devices&rid=336 net::ERR_FAILED
I think the json request doesn’t match with the good domoticz request
http://1xx.1xx1.3x:xxxx/json.htm?username=RmFiaWVu&password=ZmwwNjA2ODVEb21vdGljeg==&type=devices&rid=336
ip and port are good but all these after are bad.
@sdetweil is the most contributor of this code. have you an idea?
i use the same code that the code is above this postthanks for your help
-
MMM-assistant2display spotify error
Hi everybody and @bugsounet
I just updated MMM-google assistant and MMM-assistant2display an now i have an error with spotify. I can’t see on the bottom of my screen the listening music. In console i have these errors:
spotify.js:1 Uncaught TypeError: Cannot read property 'src' of null at Spotify.updateSongInfo (spotify.js:1) at Spotify.updateCurrentSpotify (spotify.js:1) at Class.socketNotificationReceived (MMM-Assistant2Display.js:1) at module.js:250 at Socket.<anonymous> (socketclient.js:39) at Socket../node_modules/component-emitter/index.js.Emitter.emit (index.js:145) at Socket.emitEvent (socket.js:253) at Socket.onevent (socket.js:240) at Socket.MMSocket.self.socket.onevent (socketclient.js:33) at Socket.onpacket (socket.js:204) updateSongInfo @ spotify.js:1 updateCurrentSpotify @ spotify.js:1 socketNotificationReceived @ MMM-Assistant2Display.js:1 (anonymous) @ module.js:250 (anonymous) @ socketclient.js:39 ./node_modules/component-emitter/index.js.Emitter.emit @ index.js:145 emitEvent @ socket.js:253 onevent @ socket.js:240 MMSocket.self.socket.onevent @ socketclient.js:33 onpacket @ socket.js:204 (anonymous) @ index.js:21 ./node_modules/component-emitter/index.js.Emitter.emit @ index.js:145 ondecoded @ manager.js:207 (anonymous) @ index.js:21 ./node_modules/component-emitter/index.js.Emitter.emit @ index.js:145 add @ index.js:117 ondata @ manager.js:199 (anonymous) @ index.js:21 ./node_modules/component-emitter/index.js.Emitter.emit @ index.js:145 onPacket @ socket.js:387 (anonymous) @ socket.js:196 ./node_modules/component-emitter/index.js.Emitter.emit @ index.js:145 onPacket @ transport.js:103 onData @ transport.js:96 ws.onmessage @ websocket.js:108
My config.js is the same before and after the update. and token on spotify is ok
Do you have a solution ?
thx