MagicMirror² v2.4.1 is available! For more information about this release, check out this topic.
Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!

MMM-SmokedMirror



  • Description:

    MMM-SmokedMirror allows you to monitor air pollution in Polish cities.
    It’s only for Poland because of specific data source - there’s no api, only html table from GIOŚ

    I saw AirQuality by CFenner but it uses aqicn which don’t have current data for Poland.

    Screenshot:

    Download:



  • it’s my first module, so i’m open for suggestions


  • Moderator

    @Santanachia
    Could you add a screenshot to your first post? That would be great 🙂



  • @Santanachia
    Hi,
    Thank you for this module. I’ve been using it for a while now. I have two questions and one suggestion.

    Let’s start with questions first - is it possible to have two invocations of the module from the config.js file? One for one location and second for second? I tried it but in both cases I receive data for the first station. Do you have any idea why?

    The second question is how to change the size of the font saying e.g. “PM10 Dobra” - in my opinion it is too large.

    And the suggestion is the following - you have this option in the config syntax to show the value. For me the value is more informative than the text description, so I would like to hide the text description, but as fas as I know, it is not possible, is it? So the suggestion is to make another option in the config file to hide the text description and use only values.

    Anyway, great work! Thank you once again.
    Cheers!
    Michal



  • @Sajk said in MMM-SmokedMirror:

    is it possible to have two invocations of the module from the config.js file? One for one location and second for second?

    I didn’t try to use it in such way. I’ll try to add this functionality.

    how to change the size of the font saying e.g. “PM10 Dobra”

    It’s not possible yet.

    the suggestion is to make another option in the config file to hide the text description and use only values.

    I’ll add this functionality.

    @Sajk, thank you for your feedback. I’ll try to add those changes ASAP 😉


  • Moderator

    @Santanachia said in MMM-SmokedMirror:

    is it possible to have two invocations of the module from the config.js file? One for one location and second for second?

    I didn’t try to use it in such way. I’ll try to add this functionality.

    Try to look around in this forum. Problem is your node_helper and the way notifications are sent from module to node_helper. There needs to be a unique identifier added.



  • @Sajk font sizes and description hiding are ready



  • @Santanachia Cool! I will check it out. Thanks!



  • This post is deleted!