Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Feature/typescript #78

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

vitramir
Copy link

All files translated to Typescript. This is first iteration and some types declared as any.

@Faisalthe01
Copy link

Are you updating the Plug in?

@vitramir
Copy link
Author

Yes, I have added some new features, but in another branch.

@Faisalthe01
Copy link

How can i install that other branch?

@vitramir
Copy link
Author

vitramir commented Mar 31, 2020

You can check my repo:
3-way switch for window covering
https://github.com/vitramir/homebridge-tuya-web/tree/feature/window-covering

extend dimmer configuration to support custom transformation to and from Apple Home App percent value and Tuya state. There was default transformation x/255*100. But I need x/10 and 10+x*0.9. So, this transformations may be configured via defaults section of the device config.
https://github.com/vitramir/homebridge-tuya-web/tree/feature/extend-dimmer-configuration

I will send this PRs too if this one will be approved.

@Faisalthe01
Copy link

Great. How can i install your updated repo?

And any way you can fix the color/hue issue with this plug in and add garage door support please?

@vitramir
Copy link
Author

vitramir commented Apr 1, 2020

My version published as @vitramir/homebridge-tuya-web
Open new issue this description of your bug and I will try to help you. Also I need more information about your garage door accessory. Open separate issue for it, please.

@Faisalthe01
Copy link

Thanks, will raise new issues for them.

I tried to install your @vitramir one but couldn’t. It says it needs npm fund.

@vitramir
Copy link
Author

vitramir commented Apr 1, 2020

I don’t know what is npm fund. Here is the link.
https://www.npmjs.com/package/@vitramir/homebridge-tuya-web

@Faisalthe01
Copy link

this is what I get when I install your plug in and the version stays the same 0.1.7 in homebrige

npm WARN saveError ENOENT: no such file or directory, open 'C:\Windows\System32\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Windows\System32\package.json'
npm WARN System32 No description
npm WARN System32 No repository field.
npm WARN System32 No README data
npm WARN System32 No license field.

17 packages are looking for funding
run npm fund for details

found 0 vulnerabilities

@vitramir
Copy link
Author

vitramir commented Apr 1, 2020

PM me on spectrum, please. @vitramir

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants