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

Feature/typescript#78

Open
vitramir wants to merge 6 commits intobasdelfos:masterfrom
vitramir:feature/typescript
Open

Feature/typescript#78
vitramir wants to merge 6 commits intobasdelfos:masterfrom
vitramir:feature/typescript

Conversation

@vitramir
Copy link
Copy Markdown

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

@Faisalthe01
Copy link
Copy Markdown

Are you updating the Plug in?

@vitramir
Copy link
Copy Markdown
Author

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

@Faisalthe01
Copy link
Copy Markdown

How can i install that other branch?

@vitramir
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
Copy Markdown

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.

  • @vitramir/homebridge-tuya-web@0.1.9
    updated 1 package and audited 993 packages in 4.516s

17 packages are looking for funding
run npm fund for details

found 0 vulnerabilities

@vitramir
Copy link
Copy Markdown
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