@jalibu Hi, danke für das Update. Klappt bei mir super.
Kleine Anmerkung: In der Readme ist ein Tippfehler: “downgradeLhpServerity” muss “downgradeLhpSeverity” sein.
Read the statement by Michael Teeuw here.

Posts
-
RE: MMM-NINA
-
RE: MagicMirror Version
@kusselin
Hi,you can jump to your MagicMirror directory and run:
git log | head -n 10 | grep Release
-
RE: Online Radio
@tanvir586 Hi, just checked the website and found the “real” url of the radio.
The url “http://95.154.250.9:9980” works fine with my vlc. As long as they do not change their ip it will be functional.If it stops working you can go to https://almubarakradio.com/ hit the “Tune in live” button and copy the url of the browser window.
Edit:
Found a better way. You can use the url “https://relay.emasjidlive.uk/almubarakradio” which is the url used by the player on page “https://emasjidlive.co.uk/listen/almubarakradio” -
RE: BME280 sensor with esp 8266
Hi,
i integrated some examples into my MMM-Temperature module (GitHub). There are serveral ones using an BME280 sensor connected to an ESP8266 or ESP32 sending the data either via plain TCP or MQTT.
-
RE: MMM-OpenWeatherForecast
@sdetweil In default the module calls the Api every 10 minutes.
-
RE: MMM-Fritz-Box-Callmonitor: Notification formatting
Additional to the wrong rename the
fritz_access.py
had the mentioned wrong urllib2 imports. I fixed the python script and the import of thePythonShell
module in node_helper.js.I created a pull request a few seconds ago.
-
RE: Online Radio
@tanvir586
I release a new version of MMM-MplayerRadio (0.0.10) a few minutes ago which contains a new script called “streamlinkWrapper.bash” script. This script uses the streamlink tool to wrap the stream and restarts it if the connection gets lost.
You will find a example configuration in the examples directory for streamlinkWrapper which contains the configuration needed for your case.Make sure to install streamlink:
sudo apt -y update && sudo apt -y install streamlink
-
RE: [MMM-ValuesByNotification] Display the payloads of notifications with titles and icons
@Cr4z33
Should be no problem:MMM-MQTTbridge/dict/mqttDictionary.js:
var mqttHook = [ { mqttTopic: "zigbee2mqtt/BTicino F20T60A", mqttPayload: [ { payloadValue: "", mqttNotiCmd: ["POWERMETER"], mqttPayload: "" }, ], }, ]; var mqttNotiCommands = [ { commandId: "POWERMETER", notiID: "POWERMETER_VALUES", }, ]; module.exports = { mqttHook, mqttNotiCommands};
config.js:
{ module: "MMM-ValuesByNotification", position: "top_left", config: { updateInterval: 60, reuseCount: 5, groups: [ { items: [ { notification: "POWERMETER_VALUES", itemTitle: "Power", values: [ { valueUnit: "W", jsonpath: "power", }, ] }, ] }, ] }, },
Will look like:
You may want to configure the updateInterval and/or reuseCount to your needs.
-
RE: Display different Roomtemperature on MagicMirror
@Xilef
Hi,
thats great news.
The screenshot shows that you setup the ESP32 and the sensor correctly.
The main problem is that the ESP now displays a webpage.
There are two possible ways now. Either you embed the webpage (as it is) into the mirror with a module like MMM-EmbedURL or to get the ESP to display the data machine readable.
Maybe the sketch you flashed to the ESP already contains a way to read the data in a different format? Which one did you use?Edit: I think it is this one, am i right? Then there is no easy way.
I think i can provide a sketch that is more “mirror friendly” but you will need to set a static IP for the ESP. Is this ok for you?You will need to change to your needs:
- ##ADD_WIFI_SSID_HERE
- ##ADD_WIFI_PASSWORD_HERE
- IPAddress local_IP(192, 168, 0, 2);
- IPAddress gateway(192, 168, 0, 1);
- IPAddress subnet(255, 255, 255, 0);
- IPAddress primaryDNS(192, 168, 0, 1);
#include <WiFi.h> #include <Wire.h> #include <Adafruit_Sensor.h> #include <Adafruit_BME280.h> const char* ssid = "##ADD_WIFI_SSID_HERE"; const char* password = "##ADD_WIFI_PASSWORD_HERE"; //ENTER STATIC IP OF THE ESP32 BOARD HERE IPAddress local_IP(192, 168, 0, 2); IPAddress gateway(192, 168, 0, 1); IPAddress subnet(255, 255, 255, 0); IPAddress primaryDNS(192, 168, 0, 1); IPAddress secondaryDNS(8, 8, 8, 8); Adafruit_BME280 bme; WiFiServer server(80); void setup() { Wire.begin(); Serial.begin(115200); if (!WiFi.config(local_IP, gateway, subnet, primaryDNS, secondaryDNS)) { Serial.println("STA Failed to configure"); } Serial.print("Connecting to "); Serial.println(ssid); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println(""); Serial.println("WiFi connected!"); Serial.print("IP address: "); Serial.println(WiFi.localIP()); Serial.print("ESP Mac Address: "); Serial.println(WiFi.macAddress()); Serial.print("Subnet Mask: "); Serial.println(WiFi.subnetMask()); Serial.print("Gateway IP: "); Serial.println(WiFi.gatewayIP()); Serial.print("DNS: "); Serial.println(WiFi.dnsIP()); if (!bme.begin(0x76);) { Serial.println("Couldn't find sensor!"); while (1); } server.begin(); } void loop() { float temp = bme.readTemperature(); float tempf = temp * 1.8 + 32; float rel_hum = bme.readHumidity(); WiFiClient client = server.available(); if (client) { Serial.println("New Client."); client.println("{"); client.print(" \"temperature_c\": "); client.print(temp); client.println(","); client.print(" \"temperature_f\": "); client.print(tempf); client.println(","); client.print(" \"humidity\": "); client.print(rel_hum); client.println(","); client.println(" \"error\": false"); client.println("}"); client.stop(); Serial.println("Client disconnected."); Serial.println(""); } delay(100); }
You can use netcat to fetch the data:
/bin/nc -w3 THE_IP_OF_THE_ESP 80
And the result will be something like:
{ "humidity": 32.61236572265625, "temperature_c": 25.50150878906249, "temperature_f": 77.9027158203125, "error": false }
This kind of JSON object then can be read by my MMM-Temperature module.