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. Development
  3. [mysensors] Not a valid message: invalid literal for int() with base 10: '\x00\x000'

[mysensors] Not a valid message: invalid literal for int() with base 10: '\x00\x000'

Scheduled Pinned Locked Moved Development
3 Posts 2 Posters 18 Views 2 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.
  • K Offline
    K Offline
    kiesel
    wrote on last edited by
    #1

    Hi,

    I have been using my gateway (arduino pro mini/rfm69) for a few years now, but it suddenly stopped working, or at the very least home assistant can't read the output anymore. I am getting this:

    2024-09-18 22:28:07.973 WARNING (MainThread) [mysensors.message] Error decoding message from gateway, bad data received: 0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RPNGA---,FQ=8,REL=0,VER=2.4.0-alpha
    2024-09-18 22:28:07.973 WARNING (MainThread) [mysensors] Not a valid message: invalid literal for int() with base 10: '\x00\x000'
    

    I am not sure why this is. A recent home assistant update? I touched the gateway and some of the connections came lose? Did the gateway just partially die?

    If anybody has troubleshooting tips for me I'd be very happy!

    Thanks!!

    OldSurferDudeO 1 Reply Last reply
    0
    • K kiesel

      Hi,

      I have been using my gateway (arduino pro mini/rfm69) for a few years now, but it suddenly stopped working, or at the very least home assistant can't read the output anymore. I am getting this:

      2024-09-18 22:28:07.973 WARNING (MainThread) [mysensors.message] Error decoding message from gateway, bad data received: 0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RPNGA---,FQ=8,REL=0,VER=2.4.0-alpha
      2024-09-18 22:28:07.973 WARNING (MainThread) [mysensors] Not a valid message: invalid literal for int() with base 10: '\x00\x000'
      

      I am not sure why this is. A recent home assistant update? I touched the gateway and some of the connections came lose? Did the gateway just partially die?

      If anybody has troubleshooting tips for me I'd be very happy!

      Thanks!!

      OldSurferDudeO Offline
      OldSurferDudeO Offline
      OldSurferDude
      wrote on last edited by
      #2

      @kiesel
      The first thing I would try is to plug the Arduino into a serial port and see if there is output. This would have to be on a different port from the one the HA expects. You can use the Arduino IDE to view the out put. It probably will appear to be gibberish, as the BAUD rate must be right. And it will probably be gibberish anyway because it is probably binary. What you will know, though, is that your Arduino isn't bad.

      You may have to reprogram your Arduino.

      Good Luck

      OSD

      1 Reply Last reply
      1
      • K Offline
        K Offline
        kiesel
        wrote on last edited by
        #3

        Thanks, I'll keep this in mind if I decide to debug it. I realized that I am also tired of patching the gateway through to the doctor container inside an LXC so now I am looking at creating an esp gateway.

        Just need to check if I can find a pcb on here.

        Thanks again!

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


        9

        Online

        11.7k

        Users

        11.2k

        Topics

        113.0k

        Posts


        Copyright 2019 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