Subcategories

  • 210 Topics
    1k Posts
    J
    MyController can be installed anywhere, it is pure carbon, the hardest material
  • 9 Topics
    31 Posts
    J
    French version in service texte du lien words to be revised, 10 % of waste ? if a Frenchman passes by that he gives me a return for an improvement Thanks a lot Jkandasa [image: 200w.webp]
  • 54 Topics
    280 Posts
    jkandasaJ
    @row supported methods in http, https://github.com/mycontroller-org/mycontroller-v1-legacy/blob/8c540b61e56a694ec9a8c8ae21a107839091d3d0/modules/core/src/main/java/org/mycontroller/standalone/api/HttpApi.java#L31
  • 109 Topics
    897 Posts
    jkandasaJ
    @wint0178 Yes, 2.0.0 launched very recently
  • 81 Topics
    473 Posts
    F
    I could not manage to configure Mycontroller V.1 Email notification settings and make it working with the stringent requirements of Gmail. And since its development is frozen, but it is still my beloved solution, I worked on a solution with the help of node-red. I am on: [image: 1745502255295-f435ccce-ee27-4aad-a160-65dd6ee87565-image.png] running on a Windows 10 mini pc. In node-red, using https://flows.nodered.org/node/node-red-node-email I have first created a local SMTP server: [image: 1745502723677-76588854-7010-4a93-aba6-6e1ca17809a3-image.png] followed by a change node in order to extract the html portion of the message from the message object: [image: 1745503016277-3ffbfaac-e7d5-4ae1-8963-d2aeb16591f6-image.png] In order to avoid email clogging I inserted a [image: 1745503130957-84b68489-e44a-45da-9196-82908ee869e8-image.png] to limit the email send rate to 1 email per second. Finally, the message containing the html payload is sent to [image: 1745503324674-a0b8225c-b458-40d7-b044-102006cc4bbf-image.png] which connects nicely to t the Gmail SMTP server, using my camper email account. Gmail SMTP requires an App Password, which can be obtained following these instructions https://support.google.com/mail/answer/185833?hl=en This is how the flow looks like in node-red [image: 1745503645000-990f9c3e-f297-47ae-878f-5f5c3836b08a-image.png] This is how I set up the email notification in MyController [image: 1745503737690-56ccb619-c47a-4975-a7a0-89e5be4d26e3-image.png] As you can see the email and domain are fake, since this SMTP server is local. I just needed to define an SMTP user. The same user is added to the list of the allowed users in the Email MTA node. Hope it helps anyone who, like me, struggled with Gmail SMTP restrictions.

1

Online

585

Users

529

Topics

3.4k

Posts