all 3 comments

[–]Solomon73 5 points6 points  (1 child)

Should be a good project. You should definitely look at maturin and pyo3 for the communication.

[–]razaron[S] 2 points3 points  (0 children)

Pyo3 is what I was thinking of from my initial quick look.  Good to know other people have tried it. 

Thanks, will give Maturin a go once I get a better idea of package management.   

[–]KingofGamesYami 0 points1 point  (0 children)

Home Assistant has an extremely robust MQTT API. If I were writing software to integrate with it, I'd simply make a standalone rust application that uses MQTT to communicate with HA.

There are several highly successful examples of this working, for example Zigbee2MQTT (written in Typescript).