Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Domoticz
  4. Messages received by gateway in strange format

Messages received by gateway in strange format

Scheduled Pinned Locked Moved Domoticz
5 Posts 2 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sebas
    wrote on last edited by
    #1

    I'm having trouble with sending commands from Domoticz to the gateway. From the gateway to Domoticz works fine. Sensors are detected and reporting data just fine. Now I added a relay and the relay is detected and shown under devices. Now when I click the switch to activate the relay nothing happens.

    To debug that I added a line of code to the ethernet gateway from the tutorials section of this website to print the incoming message to the serial monitor. The message that is printed in the monitor is this:

    00;0;3;0;14;Gateway startup complete.
    Incoming message
    §Ñ©
    

    I added the "Incoming message" part. It seems that the message send by Domoticz is in the wrong character encoding, or that's my best guess.

    Haven't received a response on the Domoticz forum yet so I thought to give it a try here.

    I'm using an ethernet gateway on a Arduino Mega 2560 with an ethernet shield.

    1 Reply Last reply
    0
    • BulldogLowellB Offline
      BulldogLowellB Offline
      BulldogLowell
      Contest Winner
      wrote on last edited by
      #2

      baud rate mismatch?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sebas
        wrote on last edited by
        #3

        In the serial monitor or in Domoticz? Is it possible to set that somewhere in MySensors?
        The monitor is set to 115600 en that works as all the output is fine, just not the message send by Domoticz.

        BulldogLowellB 1 Reply Last reply
        0
        • S sebas

          In the serial monitor or in Domoticz? Is it possible to set that somewhere in MySensors?
          The monitor is set to 115600 en that works as all the output is fine, just not the message send by Domoticz.

          BulldogLowellB Offline
          BulldogLowellB Offline
          BulldogLowell
          Contest Winner
          wrote on last edited by
          #4

          @sebas

          Im certain that you meant 115200bps,

          IDK domoticz, but have you verified to make sure that your Data/Stop bits and parity are correct as well?

          It just looks like a serial mismatch, but there could be other factors, just spitballing here

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sebas
            wrote on last edited by
            #5

            Yes, sorry. Baud rate is indeed 115200 and not 115600. I'll have to check Domoticz to see if I can change those values. I would expect others to have the same problem if those were set incorrectly. I seem to be the only one.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            17

            Online

            11.7k

            Users

            11.2k

            Topics

            113.1k

            Posts


            Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • MySensors
            • OpenHardware.io
            • Categories
            • Recent
            • Tags
            • Popular