Iām not sure if Iām talking in the right direction here⦠Iām putting the info in the module but getting nothing back at allā¦
I have a feeling I"m missing something here⦠once I can get it talking that would be great but if anyone can give me a clue what Iām doing wrong here that would be great!
From the documentation of the link you sent I see these actions needed:
Configuration:
Need to set āmqttServerā to the HestiaPi IP
Set ātopicā to one or (if supported) many topics published by HestiaPi. Find the topics list here
Leave HestiaPi authentication params as is because the MagicMirror module says it does not support authenticated messages.
For troubleshooting use your laptop and do that:
Confirm by subscribing from another laptop to all (#) MQTT IDs and listen for published messages while you play with your HestiaPi:
Yeah tried that⦠nothing reports back except this:
*** MQTT Client Offline ***
Basically what was supposed to happen here was there was myself and another guy he was the programmer⦠i have only been learning js for about 5 months now⦠so I have no clue about mqtt and guessing in this case just isnāt going to cut it⦠at any rate he bailed out and Iām on my own trying to figure this all out⦠and honestly I feel a bit overwhelmed by this. I hear āitās not that hardā but when you have no idea what youāre doing it is that hardā¦
I do appreciate your input.
Well it would appear as though I have it showing the humidity⦠and temp but I have to run the module twice in the config to do it⦠Iām going to try to see if I can perhaps do it as an array so I can enter more than one topic at a time so I donāt have to run the module more than once to get the dataā¦
What you describe is not standard MQTT method. MQTT has single topics for each variable you want to get. Not multiple values squeezed in one topic. So the Magic Mirror (if it wants to get more than 1 parameter like temp and humidity) should be able to support a list of topics that you want to display. So is the screenshot you attached data that you actually got off HestiaPi and displayed on the MM?
Once its done, a proper picture with the installation and the frame on the wall is a must!
Well done
Yes I have to run the module instance twice to get that data⦠I tried to run others but no data appeared so I"m getting thereā¦
Iām building a touch screen mirror so I guess you know where Iām trying to head LOL
Yes duplicating the abilities from the therm to the mirror so that I can change the temp using the mirror
Once I get all done I will be happy to give a proper picture and how I did it of course.
[Of course I did a little math.round to get the numbers but I donāt like the 30.3 kinda numbers ;)]
In openHAB you get the value with all the decimal points but decide how to display in the items file like this
%.1f
this means show the dot and 1 floating point, as in 1 decimal point. Does MM support the āmoduloā operator to get rid even of the .0 shown in your image?
I will ask about modulo⦠that just makes MUCH more sense!!
Hereās another thought I hadā¦
Running it in an iFrame containerā¦since my āmirrorā is touch I can manipulate the controls
I would have to create a new sitemap as Iād only want certain elements ⦠I tested it and it works actually great!!
Itās taking a big shortcut but it does work⦠My thought was until I can find a better way to manipulate the data [better js skills ;)] then this would give me what I want and Iād have time to write my own thing.
If you go into the trouble into creating an additional sitemap you will get the data yo want but you also get the colours and style (look and feel) of HABPanel from OpenHAB and not MM so the aesthetics will not match on your mirror⦠Just saying
I couldnāt agree with you more!! The more I really thought about it today the more I came to that conclusion because I cannot change the colors etcā¦
So now I have to figure out how to make a clickable event for the mirror For changing the temperature.
Tried to use the # as the wildcard for topic but it wonāt return anything because for some reason itās not returning the in/out stuffā¦just the out stuff.
Iād like to Thank you for all your help but I just do not have enough skills to get what I want out of this so it will have to be boxed back up and Iām going to have to buy a therm that has an API that I can use⦠itās about 3 weeks to winter and I cannot wait any longerā¦
Thanks again for all the help and I really wanted to bring this to MM but Iām not the person that has the ability to do thatā¦hopefully someone will.
If there is another member of the MM community that could get in contact with us we would be glad to assist. Unfortunately we donāt have the capacity to implement this customisation due to limited time this busy period of the year but also due to lacking a Magic Mirror hardware installation in our lab.
If time permits we will try to help ASAP in the future.
Well MM really isnāt that difficult⦠I would suggest that you do your homeworkā¦
Piās are nice but are limited and some of the things that are asked of it are starting to be out of itās rangeā¦
The idea was to create things like the thermostat but MM is asking it to do much more so at times itās buggy and gets bogged downā¦
I do have one built with a PI and while itās okay I needed more sooooooooo I also built a 32" version with a mini-ITX and a real SSD⦠MUCH faster and that is more inline and gives the power really needed.
Right now I have put the therm aside⦠Iām waiting on temp/humid sensors that I ordered because that is a project with an api that I can tackle rather quicklyā¦
MY one last hope happened yesterday⦠I finally found someone who was interested in helping push this along⦠sooo my hope is I have a legit programmer working on this⦠to me at this point itās like Spanish⦠I can see, read and understand it but know very little about it LOL
To me Iām a few months into learning js and honestly PHP is much better for me⦠but⦠everyone kept saying JS is easier⦠well okay then⦠My education is in education, not programming. In hindsight I wish I had followed my heart because it was in programming⦠but I was āpushedā in another direction⦠and as it is there are NO local classes I can take so this has been a self taught thingā¦painful as itās been.
SO as far as the mirror I wouldnāt be in a big rush for that⦠the longer the wait the better it will become⦠so we can find the bugs and endure the growing pains
Right now where I was stuck was I could only see temp and humidity and I couldnāt get anything else to report back⦠like changing the temp.
I thought I had it moving along then the NEW 3d printer I JUST got went up in flames⦠literally⦠[still waiting on RMA for that]⦠I was printing the case and POOF⦠flames⦠soooooooooooooā¦
The reason why you only see Temp and Humidity returning is because MQTT is like a radio tuned to a station. You only listen to people talking. While you are subscribed to a topic (or all topics /#) only Temp and Humidity changes occur and get broadcast. I guess if you select any button like Increase Setpoint you will see it arriving at hestia/local/#.
Makes sense ⦠I have to go back and ask in their forum because this is where I"m really stuck and have no clue how to do⦠so I will let you know⦠Iām feeling like a yo-yo LOL I get stuck and think Iām at the end and itās over then something happens that pushes me forwardā¦