Hello,
i am working on a module for FHEM. The module can show data like temperature from FHEM devices. It is working, but if i add two instances of the module to the config.js
it overwrites the dom values.
{
module: 'MMM-FHEM',
position: 'bottom_bar',
config: {
host: '192.168.178.28',
port: '8083',
deviceNames: [
'LaCr.Thermo01',
'LaCr.Thermo02',
'LaCr.Thermo03',
],
deviceReadings: [
{ name: 'temperature', icon: 'wi wi-thermometer', suffix: '°' },
{ name: 'humidity', icon: 'wi wi-humidity', suffix: '%' },
],
},
},
{
module: 'MMM-FHEM',
position: 'top_right',
header: 'top_right',
config: {
host: '192.168.178.28',
port: '8083',
deviceNames: [
'LaCr.Thermo03',
'LaCr.Thermo04',
'LaCr.Thermo05',
],
deviceReadings: [
{ name: 'temperature', icon: 'wi wi-thermometer', suffix: '°' },
{ name: 'humidity', icon: 'wi wi-humidity', suffix: '%' },
],
},
},
Right values should different from the bottom one.
Any idea why? You can find the code here https://github.com/BenRoe/MMM-FHEM