MacWyznawca / homebridge-mqtt-switch-tasmota

Plugin to HomeBridge optimized to work with firmware Sonoff-Tasmota, MQTT.
MIT License
57 stars 18 forks source link

Sonoff RF Bridge 433 Support #13

Closed deon-wentzel closed 6 years ago

deon-wentzel commented 6 years ago

Hi

Will this plugin support the Sonoff RF Bridge 433?

miskui commented 6 years ago

Please try this: https://www.npmjs.com/package/homebridge-mqtt-sonoffrf-receiver I will create RF sender as well.

deon-wentzel commented 6 years ago

Thanks

kodibrain commented 6 years ago

hi @miskui i have a motion sensor with on/off rf code. Can I remove the delay and add an offcode? Thanks

miskui commented 6 years ago

I will update the code to be able to handle this.

kodibrain commented 6 years ago

That would be great. Thank you!

miskui commented 6 years ago

please check new version you can contribute and merge code

kodibrain commented 6 years ago

Hi @miskui thank you!!! I have installed 3 motion detectors. All work fine, but when all motion detected and then one of it send off, all go off :(

miskui commented 6 years ago

you need to insert 3 entries into config.json, name them differently, with their unique on-off RF codes

kodibrain commented 6 years ago

that's how I did it. I do not know how to explain this on my bad english... in the config all 3 motiondetectors have different names, an different on/off codes.

problem example: motion1-on motion2-on motion3-switch from on to off

then goes all motion to "OFF" although motion1 and motion2 would be on

miskui commented 6 years ago

please send config.json

kodibrain commented 6 years ago
{
  "accessory": "mqtt-sonoffrf-receiver",
  "name": "Terrasse",
  "url": "mqtt://192.168.2.5",
  "topic": "tele/sonoff_rf/RESULT",
  "username": "",
  "password": "",
  "rfcodeon": "68F70A",
  "rfcodeoff": "68F70E",
  "rfcode": "",
  "rfkey":"",
  "ondelay":"",
  "accessoryservicetype": "MotionSensor"
},
{
  "accessory": "mqtt-sonoffrf-receiver",
  "name": "Wohnzimmer",
  "url": "mqtt://192.168.2.5",
  "topic": "tele/sonoff_rf/RESULT",
  "username": "",
  "password": "",
  "rfcodeon": "68FF0A",
  "rfcodeoff": "68FF0E",
  "rfcode": "",
  "rfkey":"",
  "ondelay":"",
  "accessoryservicetype": "MotionSensor"
},
{
  "accessory": "mqtt-sonoffrf-receiver",
  "name": "Fenster",
  "url": "mqtt://192.168.2.5",
  "topic": "tele/sonoff_rf/RESULT",
  "username": "",
  "password": "",
  "rfcodeon": "76950A",
  "rfcodeoff": "76950E",
  "rfcode": "",
  "rfkey":"",
  "ondelay":"",
  "accessoryservicetype": "MotionSensor"
},
miskui commented 6 years ago

I could reproduce this kind of misbehaviour. Trying to resolve.

kodibrain notifications@github.com ezt írta (időpont: 2018. júl. 5., Cs, 20:59):

Hi @miskui https://github.com/miskui thank you!!! I have installed 3 motion detectors. All work fine, but when all motion detected and then one of it send off, all go off :(

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MacWyznawca/homebridge-mqtt-switch-tasmota/issues/13#issuecomment-402820946, or mute the thread https://github.com/notifications/unsubscribe-auth/Af6wDma7j3MIKvYNkld53DRBgCjc_24Uks5uDmH-gaJpZM4PXFnV .

kodibrain commented 6 years ago

great thank you!

miskui commented 6 years ago

fixed

kodibrain notifications@github.com ezt írta (időpont: 2018. júl. 10., K, 13:35):

great thank you!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MacWyznawca/homebridge-mqtt-switch-tasmota/issues/13#issuecomment-403791790, or mute the thread https://github.com/notifications/unsubscribe-auth/Af6wDnhDnL-cJ9rmamuUFyrATe1Os2ZQks5uFJF7gaJpZM4PXFnV .

jvarneyau commented 5 years ago

Hi Miskui. I see the link above for the Sonoff RF Bridge 433, but will this work with the standard firmware as opposed to the Tasmota firmware? Thanks.

kodibrain commented 5 years ago

It only works with tasmota. The Standart Firmware has no mqtt broker.