Skip to content

Instantly share code, notes, and snippets.

@Theo-denBlanken
Created January 21, 2021 07:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Theo-denBlanken/1493b067a87db6709dbc20b49b99378a to your computer and use it in GitHub Desktop.
Save Theo-denBlanken/1493b067a87db6709dbc20b49b99378a to your computer and use it in GitHub Desktop.
Een array van objecten van een huis voor de training FRO bij de module Duurzaam Huis
// Een JS-object dat alle energie-data van het huis bevat
const energieData = [
{
tijd: Date.parse('13 Jan 2021 15:30'),
tempBuiten: 5,
tempBinnen: 19,
tempGewenst: 19,
lichtKamer: false,
lichtBuiten: false
},
{
tijd: Date.parse('13 Jan 2021 15:40'),
tempBuiten: 5,
tempBinnen: 19,
tempGewenst: 19,
lichtKamer: false,
lichtBuiten: false
}, {
tijd: Date.parse('13 Jan 2021 15:50'),
tempBuiten: 5,
tempBinnen: 18,
tempGewenst: 19,
lichtKamer: false,
lichtBuiten: false
}, {
tijd: Date.parse('13 Jan 2021 16:00'),
tempBuiten: 5,
tempBinnen: 18,
tempGewenst: 19,
lichtKamer: false,
lichtBuiten: false
}, {
tijd: Date.parse('13 Jan 2021 16:10'),
tempBuiten: 5,
tempBinnen: 19,
tempGewenst: 19,
lichtKamer: false,
lichtBuiten: false
}, {
tijd: Date.parse('13 Jan 2021 16:20'),
tempBuiten: 4,
tempBinnen: 19,
tempGewenst: 19,
lichtKamer: false,
lichtBuiten: false
}, {
tijd: Date.parse('13 Jan 2021 16:30'),
tempBuiten: 4,
tempBinnen: 18,
tempGewenst: 19,
lichtKamer: false,
lichtBuiten: false
}, {
tijd: Date.parse('13 Jan 2021 16:40'),
tempBuiten: 4,
tempBinnen: 18,
tempGewenst: 19,
lichtKamer: false,
lichtBuiten: true
}, {
tijd: Date.parse('13 Jan 2021 16:50'),
tempBuiten: 4,
tempBinnen: 18,
tempGewenst: 19,
lichtKamer: true,
lichtBuiten: true
}, {
tijd: Date.parse('13 Jan 2021 17:00'),
tempBuiten: 4,
tempBinnen: 19,
tempGewenst: 19,
lichtKamer: true,
lichtBuiten: false
}, {
tijd: Date.parse('13 Jan 2021 17:10'),
tempBuiten: 3,
tempBinnen: 19,
tempGewenst: 19,
lichtKamer: true,
lichtBuiten: false
}, {
tijd: Date.parse('13 Jan 2021 17:10'),
tempBuiten: 3,
tempBinnen: 18,
tempGewenst: 19,
lichtKamer: true,
lichtBuiten: false
}, {
tijd: Date.parse('13 Jan 2021 17:20'),
tempBuiten: 3,
tempBinnen: 18,
tempGewenst: 19,
lichtKamer: true,
lichtBuiten: false
}, {
tijd: Date.parse('13 Jan 2021 17:30'),
tempBuiten: 3,
tempBinnen: 19,
tempGewenst: 19,
lichtKamer: true,
lichtBuiten: false
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment