Skip to content

elkjaerit/sh-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gcloud functions deploy sensor-consumer --region=europe-west1 --entry-point dk.elkjaerit.smartheating.functions.Consumer --runtime java11 --trigger-topic=my-topic --allow-unauthenticated
gcloud functions deploy power-unit-scheduling --region=europe-west1 --entry-point dk.elkjaerit.smartheating.functions.PowerUnitUpdateFunction --runtime java11 --trigger-topic=power-unit-scheduler
gcloud functions deploy weather-scheduling --region=europe-west1 --entry-point dk.elkjaerit.smartheating.functions.WeatherUpdaterFunction --runtime java11 --trigger-topic=weather-scheduler
gcloud functions deploy power-unit-trigger --region=europe-west1 --entry-point dk.elkjaerit.smartheating.functions.PowerUnitTaskFunction --runtime java11 --trigger-http --allow-unauthenticated

gcloud functions deploy roomStatFunctionUs --region=us-central1 --entry-point dk.elkjaerit.smartheating.functions.RoomStatFunction --runtime java11 --trigger-http --allow-unauthenticated

gcloud tasks queues create [QUEUE_ID]

curl -X POST "https://europe-west1-smart-heating-1.cloudfunctions.net/power-unit-trigger" -H "Content-Type:application/json" --data '{"name":"Keyboard Cat"}'

SQL til moving average:

https://stackoverflow.com/questions/49883311/bigquery-moving-average-with-missing-values

Sensors:

IDA:        58:2D:34:35:DB:12
Mathilde:   58:2D:34:35:DB:07 *
Alrum:      58:2D:34:35:D8:73
Lille bad:  58:2D:34:35:CC:C4
Kontor:     58:2D:34:35:CB:89
Stue:       58:2D:34:35:D5:A0
Bad:        58:2D:34:35:AE:31
Bryggers:   

https://medium.com/google-developers/building-a-smart-home-cloud-service-with-google-1ee436ac5a03

Gode eksempler https://codinginflow.com/tutorials/android/cloud-firestore/part-17-nested-objects

ML Learnings https://towardsdatascience.com/machine-learning-for-data-analysts-bigquery-ml-b60ef05e43c2 https://developers.google.com/machine-learning/crash-course/classification/video-lecture

2021-01-03: https://towardsdatascience.com/how-to-tune-a-bigquery-ml-classification-model-to-achieve-a-desired-precision-or-recall-e4d40b93016a

Udeståender

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages