Read the statement by Michael Teeuw here.
MMM-FHEM shows values from FHEM devices ...
-
-
so i can take every icon from here? http://erikflowers.github.io/weather-icons/
Edit: Yeah, works :D
-
hello @BenRoe , may you please adopt this module to read Domoticz values ?
I see that it is similar because we can read domoticz values by json https://www.domoticz.com/wiki/Domoticz_API/JSON_URL’s#Retrieve_status_of_specific_deviceFor example one of retrived data from BME280 sensor
{
“ActTime” : 1477914474,
“ServerTime” : “2016-10-31 12:47:54”,
“Sunrise” : “06:33”,
“Sunset” : “16:21”,
“result” : [
{
“AddjMulti” : 1.0,
“AddjMulti2” : 1.0,
“AddjValue” : 0.0,
“AddjValue2” : 0.0,
“Barometer” : 984,
“BatteryLevel” : 255,
“CustomImage” : 0,
“Data” : “20.6 C, 58 %, 984 hPa”,
“Description” : “”,
“DewPoint” : “12.05”,
“Favorite” : 1,
“Forecast” : 0,
“ForecastStr” : “No Info”,
“HardwareID” : 3,
“HardwareName” : “Virtual”,
“HardwareType” : “Dummy (Does nothing, use for virtual switches only)”,
“HardwareTypeVal” : 15,
“HaveTimeout” : false,
“Humidity” : 58,
“HumidityStatus” : “Normal”,
“ID” : “14056”,
“LastUpdate” : “2016-10-31 12:46:59”,
“Name” : “Łazienka”,
“Notifications” : “true”,
“PlanID” : “0”,
“PlanIDs” : [ 0 ],
“Protected” : false,
“ShowNotifications” : true,
“SignalLevel” : “-”,
“SubType” : “THB1 - BTHR918, BTHGN129”,
“Temp” : 20.60,
“Timers” : “false”,
“Type” : “Temp + Humidity + Baro”,
“TypeImg” : “temperature”,
“Unit” : 1,
“Used” : 1,
“XOffset” : “0”,
“YOffset” : “0”,
“idx” : “7”
}
],
“status” : “OK”,
“title” : “Devices”
}Interesting thing is Name of sensor (“Name”), Temperature ( “Temp”) , Humidity or Preassure etc…
I think that would be great extension of this module ;)Please ;]
-
Did you try to use some more modules of FHEM for different device types? It does not work correctly. The fading between the information is not working as i discovered.
-
Thanks for the amazing Module. Any news about the Overwriting Issue with two different Groups?
-
Hi, i have some trouble with this modul.
The Error is:21:11:17.224 TypeError: self.defaults.deviceReadings is undefined 1 MMM-FHEM.js:97:1
config.js:
{ module: 'MMM-FHEM', position: 'bottom_bar', header: 'FHEM', config: { deviceNames: [ 'BadNode' ], deviceReadings: [ { name: 'temperature3', icon: 'fa fa-lightbulb-o', suffix: '°' }, // { name: 'humidity2', icon: 'wi wi-humidity', suffix: '%' }, ], }, }
I hope you can help me.
Thanks
Bobby -
@DirkS yes you can use the weather icons from http://erikflowers.github.io/weather-icons/ and the font awesome icons http://fontawesome.io/icons/
@DazDavid here is the thread to this problem https://forum.magicmirror.builders/topic/697/multiple-module-instances-overwrites-itself-values/2
I will rewrite the module. Then every device can have different reading values.
@Bobby is FHEM running on the same machine as the MM2?
-
@BenRoe Thx for the fast answer. Yes, it is on the same Raspi. In the dev console of the browser, the correct value of the reading is displayed to me in the array as well.
-
@BenRoe cannot wait for the rewrite. Any idea how long it will take approximately and if you could add https Support?
-
@BenRoe Hi, i found the problem an it works fine now.
I changed following lineself.defaults.deviceReadings[index]
inself.config.deviceReadings[index]
There are no default values for deviceNames and deviceReadings. They are only in the config.jsThis helps for me.
Thanks
Bobby