Skip to content
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

Bulbs are not identified #1

Closed
Mobidick1112 opened this issue Jan 8, 2023 · 5 comments
Closed

Bulbs are not identified #1

Mobidick1112 opened this issue Jan 8, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@Mobidick1112
Copy link

Wiz bulbs are not identified, when with the version "Wiz Lan" from "kpsuperplane" they are. The plugs ESP25 are well identified with your version, but that is not the cas for version "Wiz Lan". A mix of both would be great, but I don't know how to do it.

@nischcodes
Copy link
Owner

Sorry @Mobidick1112 for your inconveniences. This project isn‘t a real fork of the „kpsuperplane“ version, so there is no back porting of any modifications by me. This project was a weekend hack without any intentions to really work on this project actively.

If you only want to use my version in conjunction to the „kpsuperplane“ version comment out the hole line 3 of the file /accessories/index.ts and delete the „socket“ variable in line 6 of the same file. Than my code only supports the „ESP_25“ sockets.

Oh and don’t forget to change the default port in the configurations. Both plugins uses the same port for communication. And so you have to make sure that both have a dedicated port.

Hope that helps you a bit.

@Mobidick1112
Copy link
Author

Mobidick1112 commented Jan 8, 2023 via email

@nischcodes
Copy link
Owner

If you have modified the files on you computer, you have to run the build command specified in the package.json because node can’t run typescript files. In order to run the build command you must have node.js installed and also the development dependencies (use the npm -i command). This will install esbuild and all the other libraries. After you have successfully run the build command you can replace the js file in the dist folder of your homebridge plugin.

if you have trouble or you are new to this kind of development, with your request I had the idea to add configuration fields for plug und socket, so that you can enable and disable them without any modifications on my code. Today I am busy with some other projects, but I am planing to add this new feature next week. If you want to wait.

Another open Task is an update of the plug-in in general, because the current implementation isn’t best practice recommended by the homebridge project.

@nischcodes nischcodes self-assigned this Jan 8, 2023
@nischcodes nischcodes added enhancement New feature or request question Further information is requested labels Jan 8, 2023
@Mobidick1112
Copy link
Author

Mobidick1112 commented Jan 9, 2023 via email

@Mobidick1112
Copy link
Author

Mobidick1112 commented Jan 10, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants