• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. prysme01
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
P
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 1
  • Posts 7
  • Groups 0

prysme01

@prysme01

2
Reputation
498
Profile views
7
Posts
0
Followers
0
Following
Joined Nov 11, 2017, 8:36 AM
Last Online Feb 7, 2021, 11:00 AM

prysme01 Unfollow Follow

Best posts made by prysme01

  • RE: Black screen after some hours

    Same behavior on RPI3, black screen after few hours, I’ve tried almost all version of electron described on the linked thread, no workaround found.

    posted in Troubleshooting
    P
    prysme01
    Jun 25, 2018, 9:00 AM
  • RE: Background image affected by Margins

    thanks It helps me !

    posted in Development
    P
    prysme01
    Jan 15, 2018, 11:32 AM

Latest posts made by prysme01

  • RE: Black screen after some hours

    I’ve already disabled the update notification module, nothing has changed.

    posted in Troubleshooting
    P
    prysme01
    Jul 2, 2018, 7:38 AM
  • RE: Black screen after some hours

    Same behavior on RPI3, black screen after few hours, I’ve tried almost all version of electron described on the linked thread, no workaround found.

    posted in Troubleshooting
    P
    prysme01
    Jun 25, 2018, 9:00 AM
  • RE: Mirror in france

    @P1 I live in france, have you check “miroiterie” in your area, they are a lot of artisan who can do it

    posted in Hardware
    P
    prysme01
    Jan 31, 2018, 9:43 AM
  • RE: In what way is DAKboard related to MagicMirror

    I would be interrested also to know if they are using MM behind the scene ?

    posted in General Discussion
    P
    prysme01
    Jan 31, 2018, 9:39 AM
  • RE: Mirror turning black after a while

    Hello, After upgrading MM to 2.2.0 and also upgrading my debian, I am also facing this issue of random black screen. PI is still up and I can log in and restart mm. Really annoying issue.

    posted in Troubleshooting
    P
    prysme01
    Jan 22, 2018, 8:43 AM
  • RE: Background image affected by Margins

    thanks It helps me !

    posted in Development
    P
    prysme01
    Jan 15, 2018, 11:32 AM
  • How to pass extra variable to a Https Get Request

    Hello everyone,

    I’m pretty new to NodeJS, but I’m working on a module for the Home automation JEEDOM.
    I’m stuck at being able to do a simple GET and having the context during async GET response in order to know from where my request came from

    var req = https.get("https://JEEDOMURL/core/api/jeeApi.php?apikey=...&type=cmd&id=127");
    req.idx = "127";
    req.on("response", function(res){
    	res.on('data', (d) => {		
    	console.log("DEBUG : " + req.idx +" / "+ typeof (d));
    	console.log("DEBUG : " + req.idx +" / "+ d);
    	})
    });
    
    var req = https.get("https://JEEDOMURL/core/api/jeeApi.php?apikey=...&type=cmd&id=695");
    req.idx = "695";
    req.on("response", function(res){
    	res.on('data', (d) => {		
    	console.log("DEBUG : " + req.idx +" / "+ typeof (d));
    	console.log("DEBUG : " + req.idx +" / "+ d);
    	})
    });
    

    With no surprise I’m getting
    DEBUG : 695 / object
    DEBUG : 695 / 5515
    DEBUG : 695 / object
    DEBUG : 695 / 19.8

    instead of getting
    DEBUG : 695 / object
    DEBUG : 127 / 5515
    DEBUG : 695 / object
    DEBUG : 695 / 19.8

    I know that is expected by JS async guru, but How can I explicitly pass a variable and getting my http get DATA synchronize.

    I’ve read a lot of module code, and unfortunately for me JEEDOM is not giving me any context information in the GET answer
    https://JEEDOMURL/core/api/jeeApi.php?apikey=...&type=cmd&id=127" is only responding 5515
    and https://JEEDOMURL/core/api/jeeApi.php?apikey=...&type=cmd&id=695" is responding 19.8

    Any help would be appreciate ?

    Thanks in advance for your time.
    I’m really stuck, and I don’t want to parse the URL to get back my ID.

    posted in Development
    P
    prysme01
    Nov 11, 2017, 8:44 AM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy