Categories

  • Announcements regarding our community
    17 Topics
    164 Posts
    jkandasaJ
    MyController v2.0.0 released https://www.mycontroller.org/docs/
  • 41 Topics
    362 Posts
    jkandasaJ
    Are the mycontroller.yaml setting the same for the binary and the docker container? Yes, same file/schema used on binary as well as for container. @rayven you have to point to your influx db location, docker container always runs on it's own network space, if you specified http://localhost:8086, it tries inside container. Put your host ip address on it. also enable the metric database. installation with docker container: https://mycontroller.org/docs/installation/quick-installation/docker-container/ install influx database: https://mycontroller.org/docs/getting-started/install-influxdb/ backend configurations: https://mycontroller.org/docs/installation/advanced-installation/backend-configuration/
  • 8 Topics
    58 Posts
    J
    when the scheduleur is activated (in the On-Off time slot) the communication LED on the gateway (Uno-Usb) is flashing excessively. I looked at the Log file and msg_parser errors appear, what's that ??? how to find the origin ?? what tools ?? with Schedules active 2023-06-29T13:19:48.552+0200 warn gateway_service provider/service.go:199 error on sending {"gatewayId": "GwRS485", "message": {"id":"","gatewayId":"GwRS485","nodeId":"41","sourceId":"13","type":"set","payloads":[{"key":"V_STATUS","value":"on","metricType":"","unit":"","labels":{},"others":{}}],"labels":{"library_version":"2.4.0-alpha","ms_node_id":"41","ms_node_type":"repeater","ms_type":"21","parent_id":"0","version":"2.0"},"isAck":false,"isReceived":false,"isAckEnabled":false,"isSleepNode":false,"timestamp":"2023-06-29T13:19:47.018967163+02:00"}, "error": "no acknowledgement received, tried maximum retries. retryCount:3, timeTaken:1.532035247s"} 2023-06-29T13:19:50.551+0200 warn gateway_service provider/service.go:199 error on sending {"gatewayId": "GwRS485", "message": {"id":"","gatewayId":"GwRS485","nodeId":"41","sourceId":"13","type":"set","payloads" with Schedules not active 2023-06-29T13:09:22.475+0200 error gateway_mysensors_v2 mysensors_v2/msg_parser.go:295 invalid message format {"rawMessage": "1\r"} 2023-06-29T13:10:22.566+0200 error gateway_mysensors_v2 mysensors_v2/msg_parser.go:295 invalid message format {"rawMessage": "1\r"} 2023-06-29T13:11:22.658+0200 error gateway_mysensors_v2 mysensors_v2/msg_parser.go:295 invalid message format {"rawMessage": "1\r"} 2023-06-29T13:12:22.749+0200 error gateway_mysensors_v2 mysensors_v2/msg_parser.go:295 invalid message format {"rawMessage": "1\r"} 2023-06-29T13:13:22.841+0200 error gateway_mysensors_v2 mysensors_v2/msg_parser.go:295 invalid message format {"rawMessage": "1\r"} 2023-06-29T13:14:22.933+0200 error gateway_mysensors_v2 mysensors_v2/msg_parser.go:295 invalid message format {"rawMessage": "1\r"}
  • 0 Topics
    0 Posts
    No new posts.
  • 463 Topics
    3k 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.

2

Online

585

Users

529

Topics

3.4k

Posts