MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. wishmaster270
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 6
    • Topics 16
    • Posts 329
    • Groups 2

    wishmaster270

    @wishmaster270

    Module Developer
    80
    Reputation
    780
    Profile views
    329
    Posts
    6
    Followers
    0
    Following
    Joined
    Last Online
    Location Geretsried - Germany

    wishmaster270 Unfollow Follow
    Project Sponsor Module Developer

    Best posts made by wishmaster270

    • [MMM-GPIO-Notifications] Sends notifications based on GPIO events on multiple pins

      Description:

      This module monitores multiple configurable GPIO pins for state changes; if one of the pins changes to the configured state the notifcations which are specified will be send.
      I wrote this module to send “USER_PRESENCE” notifications based on PIR Sensors.

      Download:

      MMM-GPIO-Notifications
      [card:Tom-Hirschberger/MMM-GPIO-Notifications]

      Example:

      I recently added an example on how to connect a HC-SR501 PIR sensor to GPIO4 and send a SCREEN_ON notification to the MMM-Screen-Powersave-Notification module.


      Version 0.2.9

      • fixed a bug to support string only pin names (thanks to @n00b42)

      Version 0.2.8

      • changed from console.log to logger in node_helper (thanks to @gonzonia)

      Version 0.2.7

      • Introducing the new option forceInfoFileUsage. If this option is set to true the build in device information will be skipped the usage of the gpioinfo.json is forced.

      Version 0.2.6

      • fixed a issue which caused the converter script to not be called correctly by the preinstall script in some container setups
      • fixed bloated output introduced with version 0.2.5

      Version 0.2.5

      ** rolled back**

      Version 0.2.4

      • fixed another issue in the stop function which de-registers all pins during shutdown

      Version 0.2.3

      • fixed a bug which caused the stop function of node_helper.js to throw an error

      Version 0.2.2

      • As the new version of the opengpio library contains the GPIO information of most of the Raspberry devices now, the module tries to use the information of the library in a first mannwe. Only if no information is available for the used model the information generated during installation in gpioinfo.json is used.
      • added exception handling. Now console messages are printed instead of killing the whole application if a pin is already used or no information about the chip and lane to use are available.
      • the module releases all registered pins during shutdown now.

      Version 0.2.1

      • Now not only GPIOs which are named “GPIOX” (where X is the number of the GPIO) in the output of gpioinfo can be used but also named GPIOs.
      • added more output to log to show if a GPIO could be registered or not.

      Version 0.2.0

      • changed the “under the hood” library from onoff to opengpio to make it possible to use GPIO with kernels >= 6.6
      • totally rewrite of the GPIO handling
      • totally rewrite of the installation process
        • the required library gets installed with apt
        • the required toolset gets installed with apt
        • a python script automatically creates a configuration file with your GPIO info inside. The file will be used by the module to determine which GPIO chipset and GPIO line needs to be used for a specific GPIO number
      • removed the test scripts in the example folder and added some new one to either monitor GPIO ports or test a rotary encoder

      BREAKING CHANGES

      • dropped “gpio_debounce” option as the new library does not support debounce (at the moment). Please use delays as an alternative.

      Version 0.1.0

      • it is possible to use rotary encoders with this module now
      • added a hint about how to use the module in a container setup to the readme

      Version 0.0.9

      • it is possible to set different delays for high and low state now
      • the default value of gpio_debounce is now set to 0
      • the old syntax using gpio_state and notifications options is deprecated now. Use notifications_low and notifications_high instead.
      • add examples and a own section about the difference between gpio_debounce and the options delay, delay_low and delay_high to the README

      Version 0.0.8

      • It is possible to send notifications for both states of a watched pin now

      Version 0.0.7

      • Changed the way the necessary re-compile is handled during the installation (electron-rebuild problem). Removed the magicmirror-rebuild dependency and changed back to offical @electron/rebuild. Instead of installing electron-rebuild in the module directory it will be installed to the main MagicMirror project now and will be called from there.

      Version 0.0.6

      • changed the way electron-rebuild is called in the post-installation step to avoid problems if the electron version of the mirror changes

      Version 0.0.3

      • it is now possible to send different notifications based on profiles

      Version 0.0.2

      • introduced an delay option which can be used to suppress notifications if they happen to quick after another (PIR-Sensor without option to configure a hold time)

      Version 0.0.1

      • A first version of the module which montiores different GPIO pins and sends notifications based on the events
      posted in Utilities
      wishmaster270W
      wishmaster270
    • MMM-SynologySurveillance

      Description:

      This module querys the mjpeg streams of cams connected to Synology Diskstations with the syno api and displays the cams in an column based grid.
      One cam can be displayed in a bigger view. This cam can either be changed by notification or click/touch.

      I use the mjpeg streams because i do not need any other tools to render/display them. The quality is not that good as with RTSP streams but for need the quality is good enough.

      Download:

      MMM-SynologySurveillance
      [card:Tom-Hirschberger/MMM-SynologySurveillance]

      Screenshots

      Vertical

      Horizontal


      Version 0.2.5

      • fixed not working alias for mjpeg cams
      • if a mjpeg cam is configured with a alias but without a name the alias is used as name now
      • updated the mjpeg example in the readme to use name instead of alias

      Version 0.2.4

      • fixed the replacement of the host and port parts in the URLs
      • if debug is enabled the clean URLs of the cams will be logged now. They can be directly entered to a browser to check the validity

      Version 0.2.3

      • fixed the module being crashed cause of the changes in 0.2.2
      • fixed the wrong camera being displayed in big profiles had been visited in the meantime where the whole module was hidden
      • introducing a new option moduleIsDisplayedInEveryProfile which needs to be set to true if MMM-ProfileSwitcher is used but the module is set to the ignore list and is displayed on all profiles

      Version 0.2.2

      • fixed current big camera and displayed cameras did not match the current used profile in some rare cases

      Version 0.2.1

      • increased the compatibility to older DSM versions. The paths of the web apis now will be queried with api versions instead of using a fixed one.
      • if the debug flag is set to true the MySynoSSClient prints more information, too.

      Version 0.2.0

      • instead of the syno library a custom implementation is used now. The custom implementation is compatible with newer releases of Surveillance Station (> 9.1) now
      • support of the skipOnPrivilegeError config option is dropped with the new implementation. If configured it will be ignored now.
      • cause the new implementation is able to fetch all information at once the refreshes of the gui could been reduced. Now all information of all DiskStations is fetched and the gui is refreshed once.
      • introducing a new config option changedPositionAnimationSpeed with this release. If the position of one cam changes and the gui needs to be refreshed this animation speed is used instead of the “usual” one. The option is set to 0 as default to reduce flickering.
      • if a position update fails for a cam the position indicator will now be reset to the previous position
      • reduced the console output of the module but introducing the debug config option to re-enable more output

      Version 0.1.4

      • introducing the new option imgDecodeCheckInterval which can either be set for all or for single cams. If the option is set to a value higher than 0 the module periodically (unit is seconds) checks if the displayed cam image is still decodeable. If not the URL gets reset and a refresh of all URLs is triggered. This is to avoid freezed cam images.
      • introducing minimumTimeBetweenRefreshs which prevents to refresh the URLs to often (i.e. cause of the new imgDecodeCheckInterval). The unit is milliseconds!
      • the module now tries to restore the old big cam setting if profiles get changed. So the last selected cam is displayed in big before the profile changed. To disable the new feature the new config option restoreBigAfterProfileChange can be set to false.
      • fixed all issues reported by the new automatic module scanning script developed by @KristjanESPERANTO

      Version 0.1.3

      • fixed a rare issue which caused position changes to not work with some nodejs versions (i.e. 16.3.1)

      Version 0.1.2

      • fixed host part not being replaced properly

      Version 0.1.1

      • Did a total refactoring of the code that creates the HTML elements
      • Did a refactoring of the code that fetches the URLs of the cameras from the NAS to increase the error handling
      • Added a option to add a timestamp to MJPEG URLs to avoid caching issues
      • Added the possibility to invalidate the cam URLs with a notification to force a refresh
      • Fixed animationSpeed being ignored if module is shown after it was hidden
      • Fixed profiles not working properly in all cases

      Version 0.1.0

      • It is now possible to display any mjpeg stream by adding dummy diskstations with cams that have a url configured

      Version 0.10.0

      • introducing the replacePortPart option which is need to use encrypted connections (https). The api returns the http port even if the information is fetched via an encrypted connection.

      Version 0.0.9

      • fixed timestamps being added to cam urls although the option disabled in the configuration
      • fixed timestamps only being added to the big cam in vertical view. Now the timestamps get added to all cam urls (if the option is enabled)

      Version 0.0.8

      • Catching errors of the Synology API in more scenarios now and keep the old url in these cases
      • added an option to force a update of the dom objects of this module if it gets shown after it was hidden (to avoid caching issues with the new electron version of MagicMirror 2.18 and above)
      • added an option to add an timestamp to the cam urls (to avoid caching issues with the new electron version of MagicMirror 2.18 and above)
      • added an option to specify the apiVersion in the configuration (only the versions supported by syno library can be used)

      Version 0.0.7

      • the Synology Diskstations throw privilege errors randomly; this is a known bug and caused some cams to disappear although an valid url had been provided at the last refresh; the default behavior now is to ignore this errors and keep the last url or position information; this can be changed with an new config option (skipOnPrivilegeError)
      • if an error occurs during the fetch of the position information of a camera the cam will be displayed without the information; next time the information is provided it will be updated

      Version 0.0.6

      • fixed an issue which caused position (ptz) changes to not work correctly if the internal position index differed to the ones used in the SynologyStation (i.e. because stations got deleted)
      • the view now only will be refreshed if either the cam stream or the ptz information changed after a fetch
      • it is now possible to force a refresh of the cam information by clicking on the dummy icon if no information had been provided previously
      • the PTZ information now only will be fetched if either showPositions or showBigPositions is active

      Version 0.0.5

      • fixed cam streams not updating after connection is to ds or cam is lost
      • fixed update issues of cam positions
      • fixed styles issues if cams with and without positions are mixed

      Version 0.0.4

      • it is now possible to move the cam to positions stored in the ds either by notification or by click/touch
      • the positions can be displayed as squares either only for the big and/or for the small cams
      • if next or prev position notification is called without specifying a cam the big one is used automatically

      Version 0.0.3

      • fixed a bug which caused wrong media URLs if multiple Diskstations are used
      • it is now possible to replace the protocol and host part of the media URLs (http://XXX.XXX.XXX.XXX) with the values configured. The Diskstation returns private IPs although the access is through a public IP otherwise.

      Version 0.0.2

      • Layouting is now organized with flex box layout instead of tables
      • Added two layouts (horizontal, vertical) which can be choosen by configuration
      • Column count of vertical layout now needs to be configured via css

      Version 0.0.1

      • query the urls of cams of Synology Diskstations with the syno api
      • display the cams in an grid based on columns
      • show one cam in a bigger view
      • change the bigger view cam by notification or click/touch
      • display different cams in different profiles
      posted in Utilities
      wishmaster270W
      wishmaster270
    • RE: MMM-GrafanaChart doesn't display my Grafana Dashboard

      @alphanet
      Hi, you can use my MMM-EmbedURL module for this job.
      I wrote a tutorial of how to do it.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: how alert trigger

      @fischi87 Hi, you could i.e. connect the mirror to iobroker with my MMM-MQTTbridge module and send a notification to the alert module depending of the state change.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • MMM-MplayerRadio

      Description:

      I use an HifiBerry DAC+ on my mirror to play Spotify and Radio.
      The aim of this module is to provide a simple mechanism to play online radios on the mirror and switch between different stations.
      Because my wife and i like different stations i added profile support as well.
      The module can be controlled either by notifications or touch.
      It uses the Raspian “mplayer” to play “m3u” playlist files my favorite webpage of online radios (http://www.surfmusik.de/) provides. But you can use any m3u file you like.

      Download:

      MMM-MplayerRadio
      [card:Tom-Hirschberger/MMM-MplayerRadio]


      Version 0.1.3

      • the vlcWrapper.bash and vlcPaWrapper.bash scripts now stop vlc with a kill followed by a kill -9 after one second delay. The processes did not stop with the current versions of vlc otherwise.

      Version 0.1.2

      • the streamlink wrapper supports additional custom arguments like the vlc wrappers now

      Version 0.1.1

      • the vlcWrapper.bash and vlcPaWrapper.bash now support a variable count of custom options that can be added after the stream url. The options will be added directly to the vlc command line i.e. to disable certificate verification.

      Version 0.1.0

      • it is possible to display the current stream information if vlc is used now. Use the provided vlcWrapper.bash script to start vlc with the options needed.
      • modified the vlcPaWrapper.bash script to use the additional options needed to start vlc with enabled stream information support.
      • updated the options and URLs in the readme

      Version 0.0.14

      • added a new wrapper called vlcPaWrapper.bash which uses vlc to play a stream but sets the audio of vlc with pa_volume to a configurable value before

      Version 0.0.13

      • The module now waits for the old process to stop before it starts the new one during station changes which is essential for the xmms2 and HiFiBerryOS wrapper.
      • During a station change the module does not signal a stop of the old station and the start of the new station but only the station change to the frontend now. This is to reduce flickering.
      • The wrapper of HiFiBerryOS is now more robust if the station gets changed or if the playback gets stopped at the HiFiBerryOS interface

      Version 0.0.12

      • fixed wrong state (playing/stopped) if customCommand is used and the wrapper/program stops

      Version 0.0.11

      • All CSS classes are prefixed with the module name now
      • A new wrapper script is included to control a remote HiFiBerryOS instance via ssh

      Version 0.0.10

      • added a new wrapper script (streamlinkWrapper.bash) which can be used to play streams that do not send continuously

      Version 0.0.9

      This now Version 0.0.9 provides:

      • fixed the stations not being stopped if the module gets stopped (i.e. if the mirror gets stopped)

      Version 0.0.8

      This new Version 0.0.8 provides:

      • Fixed a bug which caused the module to ignore the initStation parameter at the first RADIO_PLAY notification

      Version 0.0.7

      This new Version 0.0.7 provides:

      • Fixed a bug which caused the module to be not loaded if only one station is used

      Version 0.0.6

      This new Version 0.0.6 provides:

      • the stations now get displayed correctly if scroll is disabled and there are less stations than needed (count of stations before the current station, the current station and the count of stations to display after)

      Version 0.0.5

      This new Version 0.0.5 provides:

      • The module got a total redesign. Instead of old styling with a table a new flexbox layout is used which makes it possible to do a lot more customization via css.
      • There is a new option which can be used to display more than one station before and after the currently active one.
      • There is a new option to enable scrolling (if active all stations will be displayed in a scrollable container).
      • If scrolling is active a new option can be enabled to focus the currently active station even if it has been changed by notification.
      • The streamInfo line can be hidden with a config option new.
      • The initial state feature (yellow radio instead of stations) has been removed.

      As there are a lot of problems with mplayer at the moment i strongly suggest to use the customCommand feature to play the stations with vlc. See the readme for details!

      Version 0.0.4

      • The flickering has been reduced massively.

      Version 0.0.3

      • it is possible to configure a custom script to play the stations. This way it is possible to use in example xmms2 instead of mplayer
      • added an autoplay feature. Simply add the index of the station you want to start automatically after the module started to the new config option “autoplay”. The index starts with 0.
      • reduced the flickering caused by station and profile changes

      Version 0.0.2

      • added buttons to increase/decrease the volume (send notification to MMM-Volume)

      Version 0.0.1

      The initial release provides the following features

      • Using multiple stations and add an logo for each one
      • The stations can be switched by notification or touch
      • Stations either can have no profile (valid for all profiles) or an profile string

      Screenshots

      posted in Entertainment
      wishmaster270W
      wishmaster270
    • [MMM-CommandToNotification] Run scripts and send the outputs as configurable notifications peridocally

      Description:

      Ever wanted to run scripts periodically and provide their output as notifications?
      Want to run the scripts within different time periods?

      Then MMM-CommandToNotification is your module!

      You can define a base rhythm the module iterates all scripts.
      You can specify skips per script to run scripts only each (skips+1) iterations.
      You can send the output as payload of one or multiple notifications.

      You may want to use my MMM-ValuesByNotification to display the payload.

      Download:

      Download
      [card: Tom-Hirschberger/MMM-CommandToNotification]


      Version 0.0.8

      • added a script called venvWrapper.py which can be used to create a virtual Python environment, install the dependencies of Python scripts to it and call the scripts with the wrapper in the virtual environment
      • the htu21 script now uses the CircuitPython libraries of Adafruit now

      Version 0.0.7

      • scripts in the scripts directory now can be called without adding a additional ./ as prefix, now
      • the module first checks if scripts do exist and if they are executable before trying to call them. If the file is missing or permissions are not set correctly the module prints a log message and skips the command now
      • reduced the console output drastically. Use debug: true config option to re-enable the console output. Errors are printed to console without the debug flag as before

      Version 0.0.6

      • add a debug flag to configuration which enables/disables some console messages
      • added a new dummy example script which simply outputs the content of a text file
      • fixed all issues reported by the new automatic module scanning script developed by @KristjanESPERANTO

      Version 0.0.5

      • Fixed a bug which caused the module to not return output for any command if one of the scripts closes with no output

      Version 0.0.4

      • added sync option to make it possible to configure if the commands should be run one after another or if they should be started as fast as possible
      • added delayNext option which makes it possible to wait a configurable amount of milliseconds before the next command is processed (i.e. if you want to make 10 API calls but the API only supports one connection each second)

      Version 0.0.3

      • fixed the additional parameters like “timeout” being ignored
      • the scripts now will be called with working directory set to “scripts” directory
      • added a new option to send the notifications with custom payloads instead of the output of the script

      Version 0.0.2

      • Added new “conditions” option which causes notifications only be send if the scripts exits with a specified return code and/or the output contains a specified string
      • The flowercare-mm.bash script now returns a JSON instead of JSON5 object
      • Added a script to watch files for changes
      • Added more documentation of the scripts

      Version 0.0.1

      • Specify a period in which the module calls all scripts
      • Configure scripts (with their arguments) to be called and the notifications which the outputs of the scripts should be send to
      • Configure a skip count per script if you do not want the script to be called each iteration
      • Configure a timeout to stop the call of a script if it does not respond within a given time
      • Scripts to query the temperature and humidity information of BME280, DHT11, DHT22, DS18B20 and HTU21 are included
      • A script to query the temperature, moisture, light, conductivity and battery level of Miflora flowercare sensors is included
      • Two scripts to generate either a single random integer or a JSON object which contains a integer and float value are included (for debugging purpose)
      posted in Utilities
      wishmaster270W
      wishmaster270
    • RE: MMM-OpenWeatherForecast

      @megagprime You will need to update to the new fork of the module.
      It does not matter if the old settings worked for years as the provider shut down the old api and you need to use the new api if you want some information to be displayed again.
      The original module did not provide a way to change the url the information is fetched of. Even if you add the apiBaseUrl to the settings the old module will ignore it.
      I released a new version IN MY FORK yesterday which uses the new URL in default. So no need to set the base URL in the settings anymore. The version in my fork before yesterday needed the parameter in the config to work with the new api.

      So either change to my fork and update with:

      cd ~/MagicMirror/modules/MMM-OpenWeatherForecast
      
      git remote set-url origin https://github.com/Tom-Hirschberger/MMM-OpenWeatherForecast.git
      
      git pull
      
      rm -rf node_modules package-lock.json
      
      npm install
      

      Or remove the old module folder and reinstall from this Url:

      My Fork

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: MMM-MQTTbridge

      @Cr4z33 Hi, I am working on a module which will be called MMM-ValuesByNotification (https://github.com/Tom-Hirschberger/MMM-ValuesByNotification) and will perfectly fit your needs.
      If the payload of the notification is a valid json string the values can be selected with the JsonPath syntax.

      If needed the values can be reformatted.

      I am using it to display the temperature and humidity of different sensors in my house and the level of my watertank.

      Screenshot

      The module is functional already but not documented yet. The configuration can be a little bit tricky but I am planning to add a lot of examples to the readme in the next weeks.

      posted in System
      wishmaster270W
      wishmaster270
    • [MMM-EmbedURL] Embed one or multiple websites to the mirror

      Description:

      There are already a lot of modules out there that provide support to embed different other websites like MMM-EmbedYoutube or MMM-GrafanaChart. Most of them simply rebuild the URL they should display by some information the users configure and embed the content with i a IFrame.
      If the pages do not support embedding and the build in electron browser is used modules like MMM-WebView can be used to embed the content.

      BUT:
      I needed a module that allows me to embed multiple panels of my Grafana installation, maybe a Webcam that is visible on a webpage and my NodeRED dashboard at different positions and/or pages of my mirrors.
      Wherever possible i wanted to use IFrame but needed Webview for NodeRED.

      As there was module that supports embedding different sites with different parameters i created this one.

      The module supports multiple instances and is able to add css classes to the different instances. This way different styling for the instances is possible.
      As the module it self uses Flexbox-Layout styling is highly possible without fix tables.

      If you can not use webview (cause you do not use the electron browser) the Readme contains some information about extensions for Firefox and Chrome Browser that will remove the headers preventing the websites to be embedded and do an automatic cookie consent.

      Screenshots:

      SomeGrafanaPanels.png

      webcam.png

      Download:

      Download
      [card:Tom-Hirschberger/MMM-EmbedURL]


      Version 0.0.9

      • removed unused node_helper.js (thanks to @sdetweil)
      • added configs to make it possible to configure the module with MMM-Config (thanks to @sdetweil)

      Version 0.0.8

      • introducing the updateDomOnResume option. If you do not want the html elements to be recreated when the module is shown after it was hidden you can set this option to false now.

      Version 0.0.7

      • changed the way attributes get handled
      • introducing a new code style (thanks to @KristjanESPERANTO) and fixed all ESLint issues

      Version 0.0.6

      • add a new function to the module which periodically checks if the content of embedded img elements is decodeable. If not the src URL is removed and set again to reload the image. The feature can be activated by setting a interval in seconds in the configuration with the new option imgDecodeCheckInterval.
      • fixed all issues reported by the new automatic module scanning script developed by @KristjanESPERANTO

      Version 0.0.5

      • Added new option appendTimestamp which controls if a current timestamp is added to each URL. This is to avoid caching issues.

      Version 0.0.4

      • automatic refresh now can be disabled by setting updateInterval to 0 or lower
      • the default basicElementType changed from “span” to “div” as i.e. “webview” does not work properly with “span”

      Version 0.0.3

      • added support of Iconify icons
      • All CSS definitions are now prefixed with the main class of the module (MMM-EmbedURL)

      Version 0.0.2

      • Fixed attributes with value “0” being added without value in some cases

      Version 0.0.1

      • embed one or multiple other websites
      • choose how often the websites should be refreshed (all at once)
      • choose which websites should be displayed if different profiles are active
      • set custom attributes to the elements that include the websites
      • choose which HTML element should be used to embed the websites (normally iframe or webview)
      • add icons and/or titles before or after the embedded websites
      • icons can be either images or Font Awesome 4.7 icons
      • the order the icons/titles/elements will be added can be configured
      • different options can be configured for different websites by nesting embed elements
      posted in Utilities
      wishmaster270W
      wishmaster270
    • [MMM-TouchButton] A module to add clickable buttons to send notifications or run commands

      Description:

      If you control your mirror by mouse or with a touch panel and want to add buttons to send notifications or run commands this is your module.
      The module can be added at different locations with different configurations and supports to change the classes and/or change the icons based on the output/return code of the called commands since version 0.0.2.

      Screenshots:

      threeColoredButtons.png

      twoModules.png

      Download:

      Download
      [card:Tom-Hirschberger/MMM-TouchButton]


      Version 0.0.9

      • bumped version of jsonpath-plus library to 10.1.0

      Version 0.0.8

      • bumped version of jsonpath-plus library to 10.1.0

      Version 0.0.7

      • bumped jsonpath-plus library to version 10.0.1

      Version 0.0.6

      • classes now will be added to the title element, too
      • fixed string handling in conditions
      • it is possible to send notifications without payload now

      Version 0.0.5

      • fixed not running actions of Iconify icons
      • added support to validate the payload of notifications as condition
      • added support to parse the value of conditions with jsonpath-plus

      Version 0.0.4

      • added support of Iconify icons

      Version 0.0.3

      • fixed a bug which caused a black screen if no additional classes had been set
      • prefixed all CSS configuration with the modules main class

      Version 0.0.2

      • configure multiple instances of the module at different positions with different configuration
      • add additional classes to the elements
      • hide/show buttons based on the current active profile
      • change the icon or/and classes the the buttons based on the output and/or return code of the called commands

      Version 0.0.1

      • Add as much buttons as you like. Each with a unique css class and an Font Awesome (The build in version of MagicMirror, currently 4.7) icon assigned.
      • If a button gets pressed either a command (with arguments) can be executed on the command line or an notification (with payload) can be send.
      posted in Utilities
      wishmaster270W
      wishmaster270

    Latest posts made by wishmaster270

    • RE: MMM-SynologySurveillance can get enumerate camera info, but on MM page just shows UNDEFINED

      @Madeline

      Hi and sorry for my late replay.

      First of all… Please take care that the answer of @sophiasteck contains some misleading information as the array is called cams and not cameras and the module only supports referencing the cameras by their name and Not their ids. Additionall there exists no flag showStream.

      The cams array contains objects which need at least the name defined.
      According to the logs you posted your config should look something like…

      {
              module: "MMM-SynologySurveillance",
              position: "middle_center",
              config: {
                  debug: true,
                  ds: [
                        {
                          protocol: "https",
                          host: "x.x.x.x",
                          port: "xxxx",
                          user: "xxxx",
                          password: "xxxxxx",
                          cams: [
                              { name: "Back Doors" }, 
                              { name: "Pool Cam"},
                              { name: "Indoor Kitchen"}
                            ], 
                         },                
                      ],
                   },
              },
      
      
      posted in Utilities
      wishmaster270W
      wishmaster270
    • RE: MMM-config with modules that have sub-configs (MMM-TouchButton)

      @joey Great you like the module.
      Just to clear out some things.

      Most of the work did Sam not me. I only hit the merge button. So big thank you to him.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @Cr4z33
      Hi and sorry fir the late reply…
      Your config of the MQTT module is still missing a “debug: true”. The messages only get logged if debugging is enabled.

      	{
      		module: 'MMM-MQTTbridge',
      		disabled: false,
      		config: {
                              debug: true, 
      			mqttServer: "mqtt://:@ipaddress:port",
      			mqttConfig:
      			{
      				listenMqtt: true,
      				interval: 500,
      			},
      			notiConfig:
      			{
      				listenNoti: true,
      				ignoreNotiId: ["CLOCK_MINUTE", "NEWS_FEED"],
      				ignoreNotiSender: ["system", "NEWS_FEED"],
      			},
      			// set "NOTIFICATIONS -> MQTT" dictionary at /dict/notiDictionary.js
      			// set "MQTT -> NOTIFICATIONS" dictionary at /dict/mqttDictionary.js
      			},
      	}
      
      
      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: [MMM-MQTTbridge] A module to publish and receive MQTT messages

      @Cr4z33 Sorry, but I am very busy at the moment.
      Did you find any response of the MQTT module in your logs of MagicMirror if you enable the debug option of it?

      posted in Utilities
      wishmaster270W
      wishmaster270
    • RE: Screen saver module that displays photos

      @cpcode Hi, I use a similar thing in my mirror.

      I use MMM-ProfileSwitcher with MMM-ProfileControl to realise pages.

      My MMM-Screen-Powersave-Notification supports switching to a specific profile instead of turning the screen off.

      I my case I display MMM-BackgroundSlideshow of one of my pages (one profile) and switch to this page during Screensave.

      I installed MMM-Touch and send a USER_PRESENCE notification if the screen gets touched.

      posted in Development
      wishmaster270W
      wishmaster270
    • RE: MMM-OpenWeatherForecast deactivate Alerts or change to german

      @com1cedric

      Hi,

      as I wrote in the issue you opened the module also calls the api with the correct language settings.
      I the description of the language setting of OpenWeather there is a hint that some alert providers do not provide translations.

      posted in Utilities
      wishmaster270W
      wishmaster270
    • RE: Synology Docker Tutorial?

      @techeros Sorry. But you can use the container manager gui in the Web interface for most of the job. No need to pull or remove any images on the shell manually.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: Cannot get MMM-EmbedURL to show any sites

      @unaccomplished
      Hi,

      just tried your config in my setup and everything worked as expected.

      The question is…where are the differences in your and mine setup.

      As a first try you can replace embedElementType: "webview," with embedElementType: "iframe,".

      If the embeded pages does not block embedding iframe should work and you do not weaken any security settings of the electron browser.

      Additionally you can replace "frameborder=0", with "frameborder=1",. You should see two boxes at least then. Even if the sites could not be embedded.

      @sdetweil Are you sure you set the security settings of electron? Without them electron will not support webview and will not display anything.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: MMM-EmbedURL with MMM-Pages - Website reload....

      @BKeyport Sorry, to one I’m the documentation is the correct one.

      Great to hear it is working.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: MMM-EmbedURL with MMM-Pages - Website reload....

      @sdetweil
      Hi Sam,

      you are right. But i do not want the content to be fixed as some users want the content to be recreated after the configured interval.

      I just released a new version 0.0.8 of the module which introduces a updateDomOnShow option. If the option is set to false the module uses the old html elements after a resume. Maybe this fixes the issue.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270