@Gelomidor ah great! You’re welcome and enjoy it :D
Read the statement by Michael Teeuw here.
Posts
-
RE: ESP8266 + DHT22 + Thingspeak in magic mirror
-
RE: ESP8266 + DHT22 + Thingspeak in magic mirror
Thank you so much for your help!
You’re welcome :D
What i dont get it is why are there so many links and why dont all links have a description above it?
There are so many links because you have to retrieve every field by itself. They don’t have a description because just defining a field to retrieve doesn’t display it yet, this is done in the output section.
Should i only use celsius and humidity?
You can use anything you want.
Could you also explain what mapping means?
Using mapping is a way to translate one value into another. For example you retrieve the state of your lamps and it returns a boolean. Just displaying
trueorfalsedoesn’t look so nice.onoroffwould be better and make more sense in a human way. So you could use a mapping to translate that. For the example above the mapping would be:mappings: { on_off: { true: 'on', false: 'off', }, },The urls i replace with my urls: https://api.thingspeak.com/channels/xxxxx/fields/2/last.txt
Don’t forget to make an url for each field.
With configure output you mean: if i have multiple fields i have to change that number.
No,
outputconfigures the way you display your sections (after mapping and formatting) on your mirror.
So for example you have defined 3 urls in thesectionsvalue. The first url is the state of your lamps (with a mapping), the second is the humidity in your living room and the third the temperature in your living room. And you want to display it like:Lamps on Livingroom 21 degrees 52%Then your output would look like:
output: [ ['Lamps','@1'], // use number 1 here because you defined that first in sections ['Livingroom','@3','@2'] // you defined temperature as third, but we want to display it first,?so we use @3 first and @2 second ],Does this explain everything? :)
-
RE: ESP8266 + DHT22 + Thingspeak in magic mirror
Alright so I read it partially and as I understand it you have to do it in a few steps:
First you have to create a channel and configure it(don’t forget to set it to public). Important: don’t set it to public as this is not secure! Use the api key you have from the channel instead! You can use the api key by adding&api_key=YOUR_KEYat the end of the url you would use when the channel is public!The REST module accepts only single values from the URL. So you cannot get the whole feed at once. What you will have to do instead is retrieve only one field as text. How to do that can be found here under
Get Last Entry in a Field Feedand thenText.
So having configured a channel, having the right URL for the field you want with the api key in it (you can test if it’s correct by going to the URL yourself and you should see only a single value) the last thing for you to do is configure the module.
How to do that can be found it the module’s README.md. Don’t forget to configureoutputaswell, else you won’t see anything on screen. Hope this is what you are looking for, if it still doesn’t work or you have any other questions don’t hesitate to ask/let me know! -
RE: MMM-TouchNavigation, A Touch Activated Profile/Layout Changer
-
RE: MMM-TouchNavigation, A Touch Activated Profile/Layout Changer
@shashank it’s not able to find the images. Try changing the path. For me (on Windows) images only worked when I placed them in a sub folder in MM and used as path
foldername/imagename. So try changing the way you write the path or try placing them in a sub folder -
RE: MagicMirror v2.1.0 Update error
@poutr alright good to hear that’s the problem is solved!
-
RE: Wider Veriety of Modules For Different Kinds of People
@AAPS only one would be enough, however the airbars are available in a few fixed sizes, so your mirror can’t be that big
-
RE: PICamera Gesture Recognition
@M0ritzWeide yes that’s very likely. Then you would either have to ask or hope for a module developer to make it for you :) unfortunately I currently don’t have time to go into this since I have some other projects running
-
RE: PICamera Gesture Recognition
@M0ritzWeide by just searching on the forum I found this maybe you could use that?
-
RE: Wider Veriety of Modules For Different Kinds of People
@AAPS since the airbar is USB based I don’t think you would need to make a module for it and it should work by itself