cancel
Showing results for 
Search instead for 
Did you mean: 

Are there more recent samples of SmartHome programs?

Goro
Community Member

Is there any sample below that is compatible with Node.js 18 or later (ES Module)?

https://github.com/google-home/smarthome-washer/blob/master/washer-done/functions/index.js

(My apologies, I had the wrong link at first.)

1 Recommended Answer

sipriyadarshi
Solutions Expert
Solutions Expert
  • The link that you have posted belongs to our Connect smart home devices to the Google Assistant codelab. This codelab uses firebase which the cloud function deploy depending on a nodejs version. You can try to update the nodejs version to see if the deployment of the cloud function still works.
  • We also have a dedicated nodejs server that is meant to run as a standalone smart home server. You can find the code on github and try to see if this works with node 18 as well.

View Recommended Answer in original post

1 REPLY 1

sipriyadarshi
Solutions Expert
Solutions Expert
  • The link that you have posted belongs to our Connect smart home devices to the Google Assistant codelab. This codelab uses firebase which the cloud function deploy depending on a nodejs version. You can try to update the nodejs version to see if the deployment of the cloud function still works.
  • We also have a dedicated nodejs server that is meant to run as a standalone smart home server. You can find the code on github and try to see if this works with node 18 as well.