NorthernMan54 / homebridge-acurite-temperature

Fridge and Freezer temperature sensor using a RTL-SDR and the Acurite 986 Fridge/Freezer temperature sensor
MIT License
5 stars 0 forks source link

sensor Mebus/433 #2

Closed OE5DRO closed 5 years ago

OE5DRO commented 5 years ago

if you add '-G' parameter in line 53 in sensor.js this and more sensors can be used. 53: var proc = child_process.spawn('/usr/local/bin/rtl_433', ['-q', '-F', 'json', '-C', 'si', '-G']);

NorthernMan54 commented 5 years ago

Tks for this tweak. Let me review it and add it.

Tks very much

OE5DRO commented 5 years ago

additionally i changed line 62: 62: var device = getDevice(data.channel); to
62: var device = getDevice(data.id); because most sensors are on same channel but have different IDs.

and it would be nice to change frquency in config.json, it could be done with '-f', '433xxxxxx' in line 53

NorthernMan54 commented 5 years ago

If you want to combine your tweaks into a pull request, I can merge it.

On Feb 17, 2019, at 4:17 PM, OE5DRO notifications@github.com wrote:

if you add '-G' parameter in line 53 in sensor.js this and more sensors can be used. 53: var proc = child_process.spawn('/usr/local/bin/rtl_433', ['-q', '-F', 'json', '-C', 'si', '-G']);

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NorthernMan54/homebridge-acurite-temperature/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AS5CmIwk9AuYw5CbG_2FcXCO5GrUxSKZks5vOcbkgaJpZM4a_zB2.

OE5DRO commented 5 years ago

ok i hope i have done it right :) first time

NorthernMan54 commented 5 years ago

Looked good, fingers crossed.

NorthernMan54 commented 5 years ago

Pull Request #3 and Version 0.0.8 includes this