DheerajKhajuria / pimatic-mysensors

mysensors
http://forum.mysensors.org/topic/797/pimatic-mysensors-controller-plugin
GNU General Public License v2.0
23 stars 24 forks source link

Addition of IR (receiver) sensor. #82

Closed ChiefZ closed 7 years ago

ChiefZ commented 8 years ago

This sensor can be used to transmit raw received IR codes (in hex) via mysensor S_IR sensor, using V_IR_RECEIVE.

Pimatic rule example (for device id ir-sensor): $ir-sensor.code gets updated and if code of ir-sensor is equal to "00ff30cf"

mwittig commented 7 years ago

Thank you very much for your contribution! I am sorry for the delay. I'll take care of this asap.

mwittig commented 7 years ago

Can you please provide me with an example device config for the README? Thanks!

ChiefZ commented 7 years ago

Sure:

{
    "id": "ir-sensor",
    "name": "IR Sensor",
    "class": "MySensorsIR",
    "nodeid": 10,
    "sensorid": 1
}