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. Problem with IRSensor and Domoticz

Problem with IRSensor and Domoticz

Scheduled Pinned Locked Moved Domoticz
4 Posts 3 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.
  • M Offline
    M Offline
    Mash
    wrote on last edited by
    #1

    I am having trouble doing IRSensor with domoticz.
    After pouring the scketch into the arduino, saved my codes and
    to check that it worked well with MYSController, here's what
    I obey when I activate the device under Domoticz:

    "error sending command to the switch, please verify device/hardware"

    My material in place:
    Domoticz V. 3.8153 sur Raspberry PI 3
    Gateway USB MySensor V. 2.1.1 on Arduino Nano
    IRSensor V. 2.0.0 on Arduino Nano

    For information in the domoticz log:

    -The node is well detected

    2017-12-28 09:07:12.553 MySensors: Node: 7, Sketch Name: IR Rec/Playback
    2017-12-28 09:07:12.554 MySensors: Node: 7, Sketch Version: 2.0

    -When I send a pre-recorded order with the remote control

    2017-12-28 09:07:59.346 (MySensor) Light/Switch (IR Command)

    -When I activate the device in Domoticz

    2017-12-28 09:08:29.835 User: Admin initiated a switch command (149/IR Command/Off)
    2017-12-28 09:08:29.836 Error: MySensors: Light command received for unknown node_id: 6

    Someone would have any idea?

    Thanks for your help.

    Mash

    sorry for my English :confused:

    1 Reply Last reply
    0
    • D Offline
      D Offline
      derrij
      wrote on last edited by
      #2

      MDRemote Unsolved
      MDRemote Problem
      please someone look for the problem.
      thank you.

      1 Reply Last reply
      0
      • nagelcN Offline
        nagelcN Offline
        nagelc
        wrote on last edited by
        #3

        Your sensor presents itself as node 7, but the error message says it is getting a light command from node 6 (assuming it is coming from the same node), which is unknown. I'm don't know why the node numbers would be different. Check the Presentation and MyMessage code to see why they send different node numbers.
        Hope that helps.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Mash
          wrote on last edited by
          #4

          Since my last message here is the result of my last tests:

          Test 1
          upload of the scketch without any modification from the site "MYSensor".
          In Domoticz's log:

          -discover the node:
          2018-01-06 11:25:42.251 MySensors: Node: 5, Sketch Name: IR Rec/Playback
          2018-01-06 11:25:42.252 MySensors: Node: 5, Sketch Version: 2.0

          -at the touch of the "1" key of the remote control registered in 20:
          018-01-06 11:25:49.388 (Mysensor) Light/Switch (IR Command)

          -appearance of a new device MYSensor

          -and in serial monitor of the Arduino IDE:
          Received : 1 RC5 801 (12 bits)
          Found code for preset #20
          TSP:MSG:SEND 5-5-0-0 s=2,c=1,t=33,pt=1,l=1,sg=0,ft=0,st=ok:20

          When I activate the device
          -in Domoticz's log:
          2018-01-06 11:26:55.759 User: Admin initiated a switch command (157/IR Command/Off)
          2018-01-06 11:26:55.760 Error: MySensors: Light command received for unknown node_id: 20
          and
          "error sending command to the switch, please verify device/hardware"

          -No events in serial monitor of the Arduino IDE.

          Test 2
          I made a new installation of Domoticz with the image "domoticz-raspberrypi-sdcard-4834.img".
          Domoticz faith configured, I added my MySensor gateway alone without any other hardware,
          after discovering the node and adding the device to the switches, an action on this device
          and there oh miracle, it works!:+1:

          Then I updated Domoticz to version 3.8153 and after that the device does not work anymore!:white_frowning_face:
          and "error sending command to the switch, please verify device/hardware"

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


          18

          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