b3ta.com qotw
You are not logged in. Login or Signup
Home » Question of the Week » Off Topic » Post 2476397 | Search
This is a question Off Topic

Are you a QOTWer? Do you want to start a thread that isn't a direct answer to the current QOTW? Then this place, gentle poster, is your friend.

(, Sun 1 Apr 2001, 1:00)
Pages: Latest, 836, 835, 834, 833, 832, ... 1

« Go Back | See The Full Thread

aim high, double P

(, Fri 6 Mar 2015, 9:03, 1 reply, 10 years ago)
I'm reaching for the moon but gazing at stars.
Oh, because I didn't clock it 'till the next day when I came across an interesting blog, I worked out the calculatings behind that HSL issue.

Hue is done in degrees, 360, but there are 184.2 values on the PH per degree, so I just timesed the degree by 184.2 then toFIxed(0) because it can only take an int.

Sat is normally a %, but there are 255 possible values, so the maths was easy there.

Bri is irrelevant to colour, but again, it's 255 possible values.
=-=-=-=-
RGB/HEX to HSL is worked out via a jsLib I found called tinyColour, which converts anything to anything.
(, Fri 6 Mar 2015, 9:13, Reply)
I've got a switch where if you press the bottom the lights turn on and if you press the top the lights turn off.

(, Fri 6 Mar 2015, 9:15, Reply)
That's how all light switches work isn't it?

(, Fri 6 Mar 2015, 9:20, Reply)
Not in America

(, Fri 6 Mar 2015, 9:22, Reply)
in merica you have to shoot the bulb out with a shotgun

(, Fri 6 Mar 2015, 9:28, Reply)
Well duh

(, Fri 6 Mar 2015, 9:32, Reply)
Someone linked a vid on fb yesterday where some dozy yank had wired his house wrong
the light switches behaved oddly and he could turn a light on and off and alter the brightness of it by plugging a hairdryer in a nearby socket. Surprised the place didn't burn down.
(, Fri 6 Mar 2015, 9:33, Reply)
it's called FREEDOM you goshdarn COMMUNIST

(, Fri 6 Mar 2015, 9:37, Reply)
Lightly posted a really funny article about how this german bloke built a SmartHouse about 5 years ago...
... but naturally there was no Standards for it like they're building today (Zigbee/HomeKit/etc), and suddenly everything stopped working and going crazy.

In the end it turned out that a blown lightbulb was DoSing his whole house.
(, Fri 6 Mar 2015, 9:38, Reply)
I was just going to go look for that link
shan't bother now.
(, Fri 6 Mar 2015, 9:44, Reply)
I hacked my Tado system this week too.
They have a mobile-first website written AngularJS, so I Prettified it's JS which exposed all it's API calls.
(, Fri 6 Mar 2015, 9:50, Reply)
Filthy

(, Fri 6 Mar 2015, 9:51, Reply)
Only a bit,
When I told their Twitter, I was supprised they didn't react a bit stronger, because one of the params is a numerical "ClientID". I don't think that's entirely secure, I didn't test it against the cookie, but if they're accepting that, then the odds are I can change other people's heating.
(, Fri 6 Mar 2015, 9:55, Reply)
and this is why the "Internet of Things" is a dumb idea
By all means have stuff in your house talk to each other, but ffs air gap it from the Internet at all costs.
(, Fri 6 Mar 2015, 10:01, Reply)
If it's done right, then it's OK.
On the Philips Hue system, every time you use a new app, you have to phsyically press a button on the base-station.

This year at WWDC we'll see HomeKit implimented properly, now that manufacturers have had a year to get certifications from Apple - I think that'll do the job properly.

NFC on iOS is locked down due to ApplePay, but it can 'unlock doors' in hotels, so I have no idea how actually locked down it is.
(, Fri 6 Mar 2015, 10:20, Reply)
Not convinced by any means
Even smart TVs are phoning out unencrypted now, pisspoor security through cost-cutting doesn't make me want to touch any of it with a bargepole.
(, Fri 6 Mar 2015, 10:28, Reply)
5 years ago? maybe further back than 5 years.

(, Fri 6 Mar 2015, 9:48, Reply)
Can't remember exactly, but far back enough that he needed basiclly to build a server-farm in his basement.

(, Fri 6 Mar 2015, 9:51, Reply)
ha ha ha hardwired smart homes

(, Fri 6 Mar 2015, 10:00, Reply)
that was the joke

(, Fri 6 Mar 2015, 9:22, Reply)
Not in America

(, Fri 6 Mar 2015, 9:28, Reply)
Yeah', well, I fucking MADE that switch; that's gotta be worth some kudos.
Plus I have the Stickers version of these: estimote.com/ , that I've managed to get interacting with properly.... so I can just put my phone on the table and it'll pre-set a seqence or whatever.
(, Fri 6 Mar 2015, 9:20, Reply)
I fucking hate coding presentational stuff; all this dicking about to make something a bit more green.
Give me some tricky business logic any day of the week.
(, Fri 6 Mar 2015, 9:19, Reply)
I'm 60/40 towards the backend, I like both.
But we're talking about interacting with the API behind these: www2.meethue.com/en-gb/
(, Fri 6 Mar 2015, 9:21, Reply)
' I'm 60/40 towards the backend, I like both.'
Fnaaar
(, Fri 6 Mar 2015, 9:49, Reply)

« Go Back | See The Full Thread

Pages: Latest, 836, 835, 834, 833, 832, ... 1