Time travelling from June, 2022: My friend - you saved me a TON of research. I'm working on controlling the vents in my upstairs/downstairs. I have HUE motion sensors in every room. What most folks don't know is that the motion sensors also contain TEMPERATURE sensors. So I should be able to sense the temperature in every room and adjust the A/C accordingly. Thanks much, I'm subscribing!
@@tommyxd11 I ALMOST did it. I got everything working - but the sensors don't register F or C, it's some sort of other number that looks like about 10x of C, plus some offset. I guessed at a linear interpolation formula (even taking measurements against a thermometer), but it didn't seem to be the same for each sensor. The project is on the back burner, but I'll resurrect it soon.
This was mind-blowing. I'm still learning quite a bit about the nuances of node, and watching how your brain works really helped me gather a bit more of the logical mindset I should be using in future projects. Thank you for putting this together.
Wowwww!It is your first time to update a video since last week I followed you. what a surprise!!! Hopefully, you can update more frequently. It is really nice to see you. This lights up my day.
Excellent video Jake, thanks - as feedback, I found both the content on the specific project and the underlying technology useful - in particular where you explained what you were doing in the wider context of Javascript programming was great for me as a relative JS newbie... I am interested in the actual home automation project you are working on so would like to see more on that, but if you could continue to expand on what you are doing as you did in this video (and maybe more deeply), so that those who are not specifically following along in the context of a home automation project can still gleen useful insights related to more general JS/Node topics - which is what I took away from this video and I'd like to see more along the same or similar lines in future...
Keep videos like this coming. I like your way of giving enough info to follow allong, but at the same time getting straight to the point and comunicating clearly what level of knowledge you expect from your audience in a nice way. I took away something usefull. Cheers for that👍🏻
I really like this video format and seeing how you plan out your projects. If I could recommend anything I would say to spend more time demonstrating the results of code rather than typing and then perhaps link to a github so we can browse around ourselves. Love what you're doing though keep it up.
I wish you went into more detail about connecting together the services (when you called "axios.get("service.config/read/service.controller.hue") I thought I missed something. ) But this format was great. This is amazing, and hopefully inspired me to build something similar (and if I do, I'll deploy it to kubernetes! this is beggggging to be deployed to kubernetes) Thank you for this! I could literally watch this entire thing without the fast forwards (but I'm a Sys admin, normal people would probably get bored...) Stay golden.
You have helped me loads with html and css, please make more videos on divs, go slower though and make them longer than 12 min lol keep it up your great. cheers geoff
these kind of videos are excellent one observation only if you could break it even down to people who are not that experienced in software development that would be great !
Hi jack, i like the video about philips hue and the possibility to send Http request to differnt devices. i have a question. is it possible to send trigger time in the request so the lights go off after (for example) 10 sec. or 10 min i hope you can give me a answer. thanks Ron
Damn, this is so addictive and nice to watch, thanks for your videos, especially on this interesting topic! Would love to work with you in a company or on projects
First of all very clear and useful (not just for hue lights) vlog, just two questions as you mentioned promises around ~7 minutes, is there a specific reason you didn't go for async/await? And why are you using node 8, not 10?
Good questions. Later in the video I used async/await for some of the code. I just wanted to demonstrate both and make the point that they're the same. I don't write much JavaScript in real life but tend to prefer async/await (it just looks neater?). The choice seems arbitrary and down to personal preference largely though -- not sure what any normal conventions are, but I imagine in a company writing JavaScript there'd be some kind of style guide that restricts you to one or the other. Why did I use Node 8? Because I didn't properly research what the latest version of Node was and misread the list of versions of the Docker image on Docker Hub 😂 (tbf they're ordered 8, 6, 11, 10). But yeah I should've used a newer version.
Jake very interesting in getting the lighting setup. However, a good portion of it is beyond what I am self-teaching myself. BTW, when are you going to do your exertion s in your beautiful country again?
can you go deeper or link me some resources for communicating between services? Also where does the service get "hosted"? Is it like a central web server where you will host it using AWS or some other provider?
He'll most likely host everything on his home server. He said each service would run in a docker container. Docker can create a virtual network so that each service can communicate between each other.
Hey Jake! Nice, relaxing and enjoyable video, you inspired me to try to do something similar myself! I strongly agree on the Promises/async-await stuff you said. I'd say it's my area of expertise and I'd definitely recommend any aspiring JS developers try to impress employers with strong asyncronous-handling skills. I've got a question for you, if you don't mind. How do you deal or cope with the stress and intensity of work at Monzo? I just joined what is now my the first start-up in my career (also in London) and I feel the late hours can sometimes get overwhelming. Do you have any tips?
Nice video, but can you make it again for beginner? Im really confused and don't know how it works. I would like to control my light at home from school or work. Is that possible true with this?
username is a weird name for the access token in the hue bridge api :) Also why are you building different backend services in different languages? Why not just build all of them in python or go or node.js ?
I know but it's what the docs call it ¯\_(ツ)_/¯ I'm building them in different languages mostly just for the opportunity to learn and work with other languages. At work I basically exclusively write Go so it's a good chance to refresh my knowledge of other languages. If this was a "real" project, I'd do them all in one language (probably Go).
Please tell me you are part of home assistant community .. if not you should really look at making part of the team !!! Check GitHub home assistant ... I'm sure you could make a drastic improvement for that community !
Cost of those Philips Hue lightbulbs are way too high. I wanted to do something similar, but come on, it would cost me fortune. And it probably doesn't cooperate with IoT devices from other manufacturers, isn't it?
@@jakewrightnet Ah. Thanks. Thats an old video, didn't watch it. Mic is working still though :) Baby Jake was hiding behind the frame somewhere and roughly recognizable by voice.
It seems a bit abstract to me what you're doing here. If you're trying to teach us something, you might be going too fast. If you're trying to show it off, it's fine. I can definitely learn general things out of this but I'd still not be able to implement this myself right now (after watching once). Hope you appreciate the feedback, keep it up.
module.exports is an object that gets returned by Node when you do require(), but exports is an alias to it for convenience, so you can write less code. So if you do module.exports.foo = "bar"; then I think you'd find that exports.foo also equals "bar". However, if you replace the entire object (by doing module.exports = myNewThing) then exports and module.exports become "out of sync", so it's good practice to assign to both at the same time. There are better articles on this if you Google, it's hard to explain in a comment :D
Time travelling from June, 2022: My friend - you saved me a TON of research. I'm working on controlling the vents in my upstairs/downstairs. I have HUE motion sensors in every room. What most folks don't know is that the motion sensors also contain TEMPERATURE sensors. So I should be able to sense the temperature in every room and adjust the A/C accordingly. Thanks much, I'm subscribing!
That’s a really cool idea did you manage to do it at the end?
@@tommyxd11 I ALMOST did it. I got everything working - but the sensors don't register F or C, it's some sort of other number that looks like about 10x of C, plus some offset. I guessed at a linear interpolation formula (even taking measurements against a thermometer), but it didn't seem to be the same for each sensor. The project is on the back burner, but I'll resurrect it soon.
This was mind-blowing. I'm still learning quite a bit about the nuances of node, and watching how your brain works really helped me gather a bit more of the logical mindset I should be using in future projects. Thank you for putting this together.
Wowwww!It is your first time to update a video since last week I followed you. what a surprise!!! Hopefully, you can update more frequently. It is really nice to see you. This lights up my day.
Excellent video Jake, thanks - as feedback, I found both the content on the specific project and the underlying technology useful - in particular where you explained what you were doing in the wider context of Javascript programming was great for me as a relative JS newbie... I am interested in the actual home automation project you are working on so would like to see more on that, but if you could continue to expand on what you are doing as you did in this video (and maybe more deeply), so that those who are not specifically following along in the context of a home automation project can still gleen useful insights related to more general JS/Node topics - which is what I took away from this video and I'd like to see more along the same or similar lines in future...
This is useful feedback, thank you!
Hey Jake! I really enjoyed this format. I'd love if you could put some resources into the description, so that we could try this ourselves :)
The format was great, subbing to see you continue this
Keep videos like this coming. I like your way of giving enough info to follow allong, but at the same time getting straight to the point and comunicating clearly what level of knowledge you expect from your audience in a nice way. I took away something usefull. Cheers for that👍🏻
Please be consistent while uploading cause your videos are informative and entertaining as well
Keep going bro
I really like this video format and seeing how you plan out your projects. If I could recommend anything I would say to spend more time demonstrating the results of code rather than typing and then perhaps link to a github so we can browse around ourselves. Love what you're doing though keep it up.
Welcome back. Please post more often.
Ohhhh ! He's Alive 😄😄😄
Although I know nothing about java and stuff like that, I am still would like to see more about you and your life. Have a good day!
Nice video Good to see you...
Make some more vlogs...Like Cooking travelling..
I wish you went into more detail about connecting together the services (when you called "axios.get("service.config/read/service.controller.hue") I thought I missed something. )
But this format was great.
This is amazing, and hopefully inspired me to build something similar (and if I do, I'll deploy it to kubernetes! this is beggggging to be deployed to kubernetes)
Thank you for this!
I could literally watch this entire thing without the fast forwards (but I'm a Sys admin, normal people would probably get bored...)
Stay golden.
This format works for me. Although I do not own any smart appliances and watch only because of you. Just film more!
I'm about a year late, but I would love to see more of these!
You have helped me loads with html and css, please make more videos on divs, go slower though and make them longer than 12 min lol
keep it up your great. cheers geoff
Good to see you back!
Not sure why you blurred you LAN IPs, can’t really do anything without knowing your WAN IP 👍
Thanks Jake. Good to see you again.
these kind of videos are excellent one observation only if you could break it even down to people who are not that experienced in software development that would be great !
Hi jack, i like the video about philips hue and the possibility to send Http request to differnt devices.
i have a question. is it possible to send trigger time in the request so the lights go off after (for example) 10 sec. or 10 min
i hope you can give me a answer.
thanks
Ron
I am so happy to see you back on the vlogs. I have a question. How much did Cambridge help you learn basics and moderate level of programming?
Jake uploading is becoming a meme now 😂
Brilliant video, very useful and a big thank u!! BTW you don't need to make each video so high-quality, but do keep vlogging Jake!
Damn, this is so addictive and nice to watch, thanks for your videos, especially on this interesting topic! Would love to work with you in a company or on projects
This was awesome, well done! Thank you for the upload and thorough (yet concise) explanations :)
Very cool. I have a hue, and had no idea there was such a simple API.
So interesting. Really enjoyed watching this - please make more of these!
please upload more tutorial, i really have learnt a lot more than attending to class.
First of all very clear and useful (not just for hue lights) vlog, just two questions as you mentioned promises around ~7 minutes, is there a specific reason you didn't go for async/await? And why are you using node 8, not 10?
Good questions. Later in the video I used async/await for some of the code. I just wanted to demonstrate both and make the point that they're the same. I don't write much JavaScript in real life but tend to prefer async/await (it just looks neater?). The choice seems arbitrary and down to personal preference largely though -- not sure what any normal conventions are, but I imagine in a company writing JavaScript there'd be some kind of style guide that restricts you to one or the other.
Why did I use Node 8? Because I didn't properly research what the latest version of Node was and misread the list of versions of the Docker image on Docker Hub 😂 (tbf they're ordered 8, 6, 11, 10). But yeah I should've used a newer version.
Was great to see the creation and refactoring process - cheers! :-)
Bro you got yourself a subscriber from Singapore :D
Amazing tutorial, thanks. Can you maybe do a tutorial on something about the Google Home, or Google Chromecast? :) Could be nice.
Wow it looks interesting.
Jake very interesting in getting the lighting setup. However, a good portion of it is beyond what I am self-teaching myself. BTW, when are you going to do your exertion s in your beautiful country again?
Hello Jake ! , may i integrate HUE with React JS :) ?? , this video is amazing, i wanna do it in my home :)
keep killing it
Love it, would love it even more if you upload more!:)
I will be back in september to watch new episode!
Great video! Glad I youtube recommended this video :)
Jake please explain more about javascript, react and angular.. I am waiting 😊
can you go deeper or link me some resources for communicating between services? Also where does the service get "hosted"? Is it like a central web server where you will host it using AWS or some other provider?
He'll most likely host everything on his home server. He said each service would run in a docker container. Docker can create a virtual network so that each service can communicate between each other.
Nice one Jake:) i am your new fan here in Philippines:) more more video
See if you can make a videos on your master cooking😂😂
+1, we need Jake's cooking vlogs to make a comeback!
@@jakieboiZ94 you are right bro
Hey Jake!
Nice, relaxing and enjoyable video, you inspired me to try to do something similar myself!
I strongly agree on the Promises/async-await stuff you said. I'd say it's my area of expertise and I'd definitely recommend any aspiring JS developers try to impress employers with strong asyncronous-handling skills.
I've got a question for you, if you don't mind. How do you deal or cope with the stress and intensity of work at Monzo? I just joined what is now my the first start-up in my career (also in London) and I feel the late hours can sometimes get overwhelming. Do you have any tips?
Nice ! Good job
Jake, how this project will work with the python, that you had started. I need to see, how we can control the light with python
If you just Google "Philips hue python" there are literally dozens of results of libraries doing exactly what you asked for
Wanna use this for my pad and make it awesome looking. So sick what you can do with JS 🔥
Nice video, but can you make it again for beginner? Im really confused and don't know how it works. I would like to control my light at home from school or work. Is that possible true with this?
Good job
can this code be coverted to an application
do i need the huge bridge?... for ordering hue light.
what program are you using for javascript and html and other stuff like that?
if you mean the text editor, he uses visual studio code
I really do love your accent, very coooool
How do you get intelisense from vscode without running npm install locally?
USR !== User. It means Universal System Resources. 😀
Damn really perfect video here
finaly tutorial thnx dude
username is a weird name for the access token in the hue bridge api :) Also why are you building different backend services in different languages? Why not just build all of them in python or go or node.js ?
I know but it's what the docs call it ¯\_(ツ)_/¯ I'm building them in different languages mostly just for the opportunity to learn and work with other languages. At work I basically exclusively write Go so it's a good chance to refresh my knowledge of other languages. If this was a "real" project, I'd do them all in one language (probably Go).
Please tell me you are part of home assistant community .. if not you should really look at making part of the team !!! Check GitHub home assistant ... I'm sure you could make a drastic improvement for that community !
you from liverpool?
wish you could upload at least one video a month
are we getting any new vlogs?
Jake how is your work? How have you been😙give us an update xoxo
It's great - I'm gonna make a couple of vlogs about working at Monzo soon(ish).
@@jakewrightnet ugh hopefully your "soon" is in 2019 😛we can wait though. Put yourself and your life first xx
@@jakewrightnet And I am excited now! Really looking forward to it
where were u?
Wondefull project
1:00 🌞 ---> 16:36 🌜
Developers life...
Cost of those Philips Hue lightbulbs are way too high. I wanted to do something similar, but come on, it would cost me fortune. And it probably doesn't cooperate with IoT devices from other manufacturers, isn't it?
New mic?
I refer you to baby Jake unboxing this mic in 2012 th-cam.com/video/VDVOIK3FsvQ/w-d-xo.html
@@jakewrightnet Ah. Thanks. Thats an old video, didn't watch it. Mic is working still though :) Baby Jake was hiding behind the frame somewhere and roughly recognizable by voice.
wowww
Meh. I was hoping for one of your excellent videos on Jake the Person.
hey this is kinda personal but I have to ask
what do you do for a living???
raj chavan He works for Monzo.
Yep, like Simon said, backend engineer at Monzo
Jake Wright cool
@@jakewrightnet This is really cool!
:nice
It seems a bit abstract to me what you're doing here. If you're trying to teach us something, you might be going too fast. If you're trying to show it off, it's fine. I can definitely learn general things out of this but I'd still not be able to implement this myself right now (after watching once). Hope you appreciate the feedback, keep it up.
GCSE results? x
@First Name GCSE results x
@First Name Jake's
you cut the most important parts of the video to test it out
exports = module.exports = foo; ?! double assignment? what?
i am confused too :D
module.exports is an object that gets returned by Node when you do require(), but exports is an alias to it for convenience, so you can write less code. So if you do module.exports.foo = "bar"; then I think you'd find that exports.foo also equals "bar". However, if you replace the entire object (by doing module.exports = myNewThing) then exports and module.exports become "out of sync", so it's good practice to assign to both at the same time. There are better articles on this if you Google, it's hard to explain in a comment :D
@@jakewrightnet so its the same as writing
module.exports = foo;
exports = foo;
?
@@k1ngjulien_ Yes, exactly!
More more more more
I like you :).
Anime is best
this is not devin, who is this ?
Reading tutorials and then making a video to teach people something.....
He knows there is already apps for this.... right?
your patch endpoint should be a put :-p
put is for files, we shouldn't use anything but get and post :p
blurring local ips lol
Jake, You not answering my questions which I asked in Twitter.
return `$this.
Lol
Marry me 😍
You’re not dead?
Is it just me or is Jake looking really old(eyes) and unhealthy(lack of sleep)?