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. Troubleshooting
  3. The problem with spam, is necessary the help

The problem with spam, is necessary the help

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 1.5k 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.
  • R Offline
    R Offline
    Roman
    wrote on last edited by
    #1

    I assembled the stand:

    1. A sensor - Arduino Pro Mini, the sketch DimmableLEDActuator
    2. Gateway - Arduino Pro Mini + CP2104 Serial Converter
    3. the controler - Raspberry Pi + the scripts on Python and PHP

    Library of version 1.4

    During tests from a Sensor data come to a Gateway without problems.
    But when I send a request of data from the controler for a sensor, spam starts pouring continuously, I won't reboot a sensor or a Gateway yet.

    When I change a line in MyConfig.h on:

    //#define DEBUG

    After the first sending data from a Sensor in a Gateway spam begins.

    LOG:
    0;0;3;0;9;read: 15-15-0 s=2,c=1,t=2,pt=2,l=2:0 - Sensor: send data
    15;2;1;0;2;0
    0;0;3;0;9;send: 0-0-15-15 s=2,c=1,t=3,pt=0,l=1,st=ok:0 - Gateway: send 15;2;1;0;3;0\n
    0;0;3;0;9;read: 0-1-15 s=2,c=1,t=3,pt=0,l=1:0
    0;0;3;0;9;read: 15-15-0 s=2,c=1,t=3,pt=2,l=2:17
    15;2;1;0;3;17 - Gateway: received data OK
    0;0;3;0;9;read: 15-15-0 s=2,c=1,t=2,pt=2,l=2:1 - Sensor: send data
    15;2;1;0;2;1
    0;0;3;0;9;read: 15-15-0 s=2,c=1,t=3,pt=2,l=2:17 - SPAM!!!!
    15;2;1;0;3;17
    0;0;3;0;9;read: 15-15-0 s=2,c=1,t=3,pt=2,l=2:17
    15;2;1;0;3;17
    0;0;3;0;9;read: 15-15-0 s=2,c=1,t=3,pt=2,l=2:17
    15;2;1;0;3;17
    0;0;3;0;9;read: 15-15-0 s=2,c=1,t=3,pt=2,l=2:17
    15;2;1;0;3;17
    ....

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Roman
      wrote on last edited by
      #2

      void incomingMessage(const MyMessage &message) {
      if (message.type==V_LIGHT) {
      // hek comment: Is this really nessesary?
      gw.send( lightMsg.set(oldValue) );
      }
      if (message.type==V_DIMMER) {
      // hek comment: Is this really nessesary?
      gw.send( dimmerMsg.set(17) );
      }
      }

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hek
        Admin
        wrote on last edited by
        #3

        What happens if you update to the version I pushed yesterday to Github/master?

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Roman
          wrote on last edited by
          #4

          Thanks! With new version library such problem isn't present.
          Spam isn't present :)

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          19

          Online

          12.0k

          Users

          11.2k

          Topics

          113.4k

          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