Nafaya / esphome-native-api

MIT License
13 stars 15 forks source link

Does it still work #23

Open guyluz11 opened 1 year ago

guyluz11 commented 1 year ago

I saw that the last commit to this repo was in 2021.

I tried to run the discovery and list entities code examples but didn't get any results.

Can someone confirm that this code works for the last version of ESPhome?

RoadXY commented 1 year ago

I use it for my driver for a Homey domotica controller. I don't use discovery though

guyluz11 commented 1 year ago

I use it for my driver for a Homey domotica controller. I don't use discovery though

Thanks Tested again, discovery works and getting Device info and list entities was missing part in readme in order to work. Created a pr for that from one of the more updated forks, will link it now

guyluz11 commented 1 year ago

Found one fork that decided to continue working on this package and improve it

https://github.com/twocolors/esphome-native-api

He improved the code, accepted my pr, and made the discovery actually usable (before it took about 2 hours to find a device).

I have asked him to upload a version to npm https://www.npmjs.com/package/node-red-contrib-esphome

And he even uploaded a version of it to Node-RED https://flows.nodered.org/node/node-red-contrib-esphome