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. Home Assistant
  4. Problem with sketch IRSender/Receiver (A/C control)

Problem with sketch IRSender/Receiver (A/C control)

Scheduled Pinned Locked Moved Home Assistant
6 Posts 3 Posters 1.6k Views 3 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.
  • luglioL Offline
    luglioL Offline
    luglio
    wrote on last edited by luglio
    #1

    Hello everyone,

    I'm trying to control with HA my A / C just to turn on and off. For this I am using the sketch of mysensors about IRSender / Receiver.

    I'm starting in this wonderful world, but I've been stuck with this error for several days: Not a valid message: value must be either 0 or 1 for dictionary value @ data ['payload']

    I show you an image where it is collected:
      - on the screen top left, mysgwd
      - on the screen at the top right, IDE Arduino
      - on the screen below to the left, HA log
      - on the screen below to the right, serial monitor

    0_1531321340503_IR.PNG

    The code is exactly the same as the sketch. I hope to receive your advice and be able to realize this objective.

    Greetings and thank you!

    Y martinhjelmareM 2 Replies Last reply
    0
    • luglioL luglio

      Hello everyone,

      I'm trying to control with HA my A / C just to turn on and off. For this I am using the sketch of mysensors about IRSender / Receiver.

      I'm starting in this wonderful world, but I've been stuck with this error for several days: Not a valid message: value must be either 0 or 1 for dictionary value @ data ['payload']

      I show you an image where it is collected:
        - on the screen top left, mysgwd
        - on the screen at the top right, IDE Arduino
        - on the screen below to the left, HA log
        - on the screen below to the right, serial monitor

      0_1531321340503_IR.PNG

      The code is exactly the same as the sketch. I hope to receive your advice and be able to realize this objective.

      Greetings and thank you!

      Y Offline
      Y Offline
      Yveaux
      Mod
      wrote on last edited by
      #2

      @luglio judging from your screenshot you seem to be using home assistant?
      If correct, then I'll move this topic to the home assistant subtopic.

      http://yveaux.blogspot.nl

      1 Reply Last reply
      0
      • luglioL Offline
        luglioL Offline
        luglio
        wrote on last edited by
        #3

        Yes it is, you can move it to the home assistant subtopic

        Y 1 Reply Last reply
        0
        • luglioL luglio

          Yes it is, you can move it to the home assistant subtopic

          Y Offline
          Y Offline
          Yveaux
          Mod
          wrote on last edited by
          #4

          @luglio done

          http://yveaux.blogspot.nl

          1 Reply Last reply
          0
          • luglioL luglio

            Hello everyone,

            I'm trying to control with HA my A / C just to turn on and off. For this I am using the sketch of mysensors about IRSender / Receiver.

            I'm starting in this wonderful world, but I've been stuck with this error for several days: Not a valid message: value must be either 0 or 1 for dictionary value @ data ['payload']

            I show you an image where it is collected:
              - on the screen top left, mysgwd
              - on the screen at the top right, IDE Arduino
              - on the screen below to the left, HA log
              - on the screen below to the right, serial monitor

            0_1531321340503_IR.PNG

            The code is exactly the same as the sketch. I hope to receive your advice and be able to realize this objective.

            Greetings and thank you!

            martinhjelmareM Offline
            martinhjelmareM Offline
            martinhjelmare
            Plugin Developer
            wrote on last edited by
            #5

            @luglio

            V_IR_RECORD isn't yet supported by home assistant.

            luglioL 1 Reply Last reply
            0
            • martinhjelmareM martinhjelmare

              @luglio

              V_IR_RECORD isn't yet supported by home assistant.

              luglioL Offline
              luglioL Offline
              luglio
              wrote on last edited by
              #6

              @martinhjelmare Oh it's true, I've tried it with V_IR_SEND and it worked. Thank you.

              1 Reply Last reply
              1

              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


              15

              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