What is the difference between the PIN and Access Token for the Nest module?
I am following the ReadMe here: https://github.com/mochman/MMM-Nest, and I got the PIN from the Nest developers page. Is the “token” this PIN that I received when I entered the product secret, or is the token the product secret itself?
Or, was I supposed to get a token after I ran the gettoken.sh? Once I entered the PIN, the terminal closed and nothing happened…
I’m supposed to insert the following into my config.js:
position: ‘bottom_right’, // This can be any of the regions.
// Best results in one of the side regions like: top_left
// See ‘Configuration options’ for more information.
token: ‘1234567890zbcdefghijkl’ //Nest Token - REQUIRED
Thanks for the clarification!
@maesterjay I am not saying I can explain what you found. Again, I experienced a similar thing, I had the 7 degrees on my mirror (and also checked the API output manually - which also said 7 degrees). At the same time I went on to the website (as you did) and there everything was ok. I do not know where this mismatch between API and website comes from.
But at the time I found the issues I described, I went through the code myself and had a detailed look into the API, the endpoints of the API are definitely the correct ones chosen, it is just, that they output different data, than the website does for whatever reason. Maybe they are calculated separately, or are refreshed at different times? It might be worth a shot, and ask the openweathermap guys.
I think the exact number matching is a coincidence, since the three hourly data is not even pulled from the API in the magic mirror source code, also there are different endpoints for the current weather, the daily forecast, and the three hourly forecast, they can not be mixed up, and the latter does not even appear in the source code.
Had some time work on this again and I’d like to follow up in case it can help someone else who is new to this as I have solved the problem.
Let it be known that the only experience I have with code is a little of each - Arduino, BASIC (From 15 years ago and it was ancient even then), and C+, so bear with me.
I was receiving a blank screen because I installed the Wunderlist module into the /Modules/default folder with the other modules as that was my intuition. So the config file couldn’t find the module when called. I simply cut and pasted the whole MMM-Wunderlist folder into /modules.
So that was just an installation (user) problem as the directions clearly state that it goes under /modules, not /modules/defaults.
At this point only the header would display- No list. I tried leaving it at the default of the “inbox” list, which never worked.
I tried another list and it finally showed up! The list name is case sensitive, which may be an added security feature for authentication.
I did not try testing the “inbox” using a capital “I”, so it may work, but regardless, these small changes fixed the issue.
Special thanks to @bobbob601 for taking the time to help diagnose and testing tokens and ID’s on his own MagicMirror.
I’ll post some pictures once I have it all configured the way I’d like.
@shashank said in Problem with install new modules:
since Raspi 3 has Wifi and Ethernet , is it possible to get both IP’s displayed with name as LAN and Wifi.
@strawberry-3-141 MMM-IP is a 3rd-party module. Please contact the module author or look at the GitHub for it.
I find the sound quality of my USB cam for voice recording quite usable. What’s more important for the snowboy recognition to be more accurate is to record your own voice for the model on the same device you will be using it after.
think i have found a bug in calender! (or is it a feature)
i have googlecalender. the most of my entry have a green color. for some special entrys i have another color. red and blue.
but the entrys in red and blue will not showing me in calender. now i have changed the color to green and now the entrys are avaible in calender!
Installed MM on an RPi3 and am using the default Current Weather module. Everything was good for a couple of days but after the latest reboot the Current Weather has switched to Kelvin and the sunset time is off.
I’ve tried adding units: ‘imperial’ to the current weather portion of config.js and it made no difference. If I switch config.units to metric it still displays Kelvin. Weather Forecast displays correctly.
For anyone that wonders across this, this ended up happening because I was using one of the family acconts for my nest developer account. Nest doesn’t consider this as having a device associated to it. Problem was solved by creating a developer account with the ‘main’ account.