-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Somfy RFY Domoticz blinds #23
Comments
Overwrite the index.js file installed via npm (presuming that’s how you installed it) with the one from the GitHub repo, and this should enable blind support. |
Thank you! I did an update via NPM (sudo npm update homebridge-edomoticz -g) yesterdy, not being familiar with NPM, I'm wondering if that should have pulled the updated file? |
Nope... I haven’t published the change to NPM, only GitHub, as it’s still experimental. Should be a case of (assuming edomoticz is at /usr/local/lib/node_modules/homebridge-edomoticz): cd /usr/local/lib/node_modules/homebridge-edomoticz |
great. will do that and give you you feedback. |
Tried the suggestion which unfortunately failed details below. My install from the most recent domoticz SD image, had the node_modules directory is under use/lib so I made that change. Also the wget did.NTSC overwrite the index.J's file but rather added a new index.js .1. Which I renamed and did a chown pi:pi index.js to reflect ownership of the original file. Despite that, there seems to be an issue with the file and my install: Revering to the old index.js does work. Do I need to replace other files to newer versions? Thanks for your help! |
Nope, it'll just be a mistake in code somewhere. Will have a look shortly... M
|
K - wget the file again... have just fixed the coding errors I’d made...! |
Thanks for the changes. The blinds do now appear in eve as window coverings. One issue, and perhaps this is an eve app limitation, is that the blinds are listed as % open devices while they are only open close stop devices and to open or close via app one needs to tap the % open or closed button 100 times to reduce or increase to 0% (100%) to initiate the open or close. Also with the old index file, a custom cistern water level device which I've put together using mysensors, which is listed in domoticz as a general distance device, and which previously correctly showed a value in cm in eve, is now seen as a power usage device. Thanks for your support! |
Additional info, domoticz presents these somfy blinds as follows: |
HomeKit only supports blinds as a percentage value. There is simply no 'fully close' or 'fully open' functionality. I'm afraid we cannot do anything. |
Aye - only 'solution' would be to revert them back to a power switch... but to implement adds a level of complexity to config.json that needs some planning & documentation, and would be part of a larger rewrite. @xTheRamon - eg: ability to arrays of IDX values to override from one switchtypeval to another, and ability to 'merge' two IDX outputs into one HomeKit device (merge a domoticz setpoint and a domoticz temp sensor to make a complete HomeKit thermostat). |
Hi there! got edomoticz/Homebridge working. Many thanks for your great work!
One issue that I have is that all of my Somfy RFY domoitcz blinds (shutters) are being loading into eve as power switches.
Are you able to change this?
By the way in the eve accessory info they are listed as Manufacturer: edomoitcz, Model:RFY
If I can be of any assitance with please let me know.
Thanks in advance!
The text was updated successfully, but these errors were encountered: