Javascript woes

Someone put me out of my misery… why doesn’t this work…   var x=[];x[0]=255;x[1]=255;x[2]=0;var t=x[0].toString(16)+x[1].toString(16)+x[2].toString(16);alert(t);$(‘div’).attr(‘style’, ‘background:#’+t+’ !important’); I’m changing the colour of some panels…   THIS works.. $(‘div’).attr(‘style’, ‘background:#ffff00 !important’); but THIS doesn’t $(‘div’).attr(‘style’, ‘background:#’+t+’ !important’); even though t=’ffff00’

RGB versus HSV

In implementing my own home control solution which you’ll find in this blog “home control 2015” the software has been and remains a work in progress – mainly because I keep finding bugs and adding new features.  I’m fairly confident that most of the bugs that have plagued me over…

Read More→

Driving me NUTS

This has been driving me mad and I’ve only just found the answer – thanks to some clues people have given me – but as many of the responses were wrong – you might well find this interesting. I have a an array of 180 bytes – for 60 serial…

Read More→

EasyTransfer for ESP8266

I’m going to describe here the transmitting side of the EasyTransfer system as used in Arduino – the reason I did this was because I wanted to ship a bunch of binary data from the ESP8266 to the Arduino where I have a nice little wall mounted LCD display –…

Read More→

ESP8266 Mesh

Here it is – the ESP8266 Mesh English doc – who will be first to get this going? http://bbs.espressif.com/viewtopic.php?f=51&t=929   The Chinese docs have been out for some time as has the mesh SDK but the English docs just came out today – have fun.

ESP8266 Arduino NetIO Server Demo

This week as regular readers know I was far away from our little home in Spain – in fact I was at MIT (Massachusetts Institute of Technology)  in Boston, helping promote ESP8266 technology (why? because I could). Along the way I met up with Ivan Grokhotkov who as some of…

Read More→

FAB11 – Boston

This coming Monday/Tuesday/Wednesday I’ll be working with Espressif CEO Swee-Ann Teo,  Jeroen Domburg, Ivan Grokkhotkov and others at FAB11 in Boston – demonstrating how to use the ESP8266 chips in home control and other applications. Heading off from Alicante (Spain) first thing in the morning tomorrow (Sunday) and arriving late…

Read More→

ESP8266 Reliability and ID

Questions for you C programming ESP8266 guys re: the ESP SDK (1.2.0) and some possibly important info on WIFI and MQTT reliability. In the SDK: wifi_station_set_hostname wifi_station_get_hostname HOST ID….  If you do an IP scan on a windows network – ESP units will coming up as IP addresses – and…

Read More→