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

Adding ESPhome support for snap #284

Closed
guyluz11 opened this issue Jan 16, 2023 · 4 comments · Fixed by #297
Closed

Adding ESPhome support for snap #284

guyluz11 opened this issue Jan 16, 2023 · 4 comments · Fixed by #297
Assignees
Labels
JavaScript knowledge JavaScript knowledge may help new vendor support Request for adding support to a specific Vendor

Comments

@guyluz11
Copy link
Member

Currently there is an ESPhome support, it use the python package to control the devices.
Unfortunately we are not able to make this package work under snap installation.

A new solution could be to use a JavaScript package to control the devices.
For example ioBroker.esphome package.

@guyluz11 guyluz11 added JavaScript knowledge JavaScript knowledge may help new vendor support Request for adding support to a specific Vendor labels Jan 16, 2023
@guyluz11
Copy link
Member Author

Found out that ioBroker.esphome is only an adapter for esphome-native-api.
This package didn't get updated in a long time so we may use one of the updated forks instead like nicerloop/esphome-native-api

@guyluz11
Copy link
Member Author

guyluz11 commented Jan 18, 2023

The package didn't find my ESPhome device even though I saw it broadcasting mDNS in my local network.
Tried also the fork from nicerloop but it didn't work, maybe this code is not compatible with the current ESPhome version.

Opened an issue about that just in case.
Nafaya/esphome-native-api#23

@guyluz11
Copy link
Member Author

So there is a new fork that got maintained
https://github.com/twocolors/esphome-native-api

here is the npm version of the package
https://www.npmjs.com/package/node-red-contrib-esphome

Here is the Node-RED package that he created with it
https://flows.nodered.org/node/node-red-contrib-esphome

Let's use the Node-RED integration as we did before with the Chromecast node-RED package.

@guyluz11
Copy link
Member Author

Marged the pr, not tested in a snap but in contrast to the previous (python) implementation this does not use anything new that didn't get tested before under snap.

So I am closing the issue.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JavaScript knowledge JavaScript knowledge may help new vendor support Request for adding support to a specific Vendor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant