In the MQTT software for the ESP8266 (ESP-01 etc), specifically the MAKE file, there is this line.. $(PYTHON) $(ESPTOOL) -p $(ESPPORT) write_flash 0x00000 firmware/0x00000.bin 0x3C000 $(BLANKER) 0x40000 firmware/0x40000.bin It’s pretty obvious what it does, it blows the two BIN files you’ve just created. By what I don’t understand is why…
MQTT SPY Graphing
If you’re using MQTT-Spy – you HAVE to check out the latest beta – I asked Kamil to introduce graphing and he’s made a start, so now straight from the PC desktop you can graph your MQTT – marvellous… check the latest BETA – http://kamilfb.github.io/mqtt-spy/
Domoticz
Ideas anyone? Installed Domoticz just to see how well it might work… needs an add-on for MQTT here https://github.com/sschimmel/DomoticzMQTT – grabbed that, put the files in nodejs\node_modules\domo and ran node server.js as per the recommendation.. and.. it threw an error “Cannot find module “mqtt” Update September 2015: MQTT is now…
Landing on two Feet
Sometimes I really do land on 2 feet. So the ESP/MQTT rig now appears bulletproof and in a timely fashion the Raspberry Pi appears just in the nick of time. All I need is an easy to use Mosquitto/Node-Red setup and …. what should appear but a link to this…
ESP12 and More Pins
I’m just about to have a go at one of the larger boards – the ESP12 (or 201)… so can someone save me (and others) re-inventing the wheel. Here’s what I do to initialise an ESP-01 port bit GPIO0 as an output. Firstly the setup.. // For GPIO2 just change…
Rubbish plug-ins
Another rubbish spam plug-in – apologies to anyone who’s been trying to comment this morning – I really do not understand some of the people that give stars to WordPress plug-ins. I used an anti-spam system that got high ratings – and it would not let people comment – when…
ESP8266 and MQTT Exciting Times
I don’t want to jump in prematurely here but those of you who have been reading the blog will know that I’ve had no end of problems with the MQTT stand-alone software on the ESP8266, but as each problem has emerged, the author (Minh Tuan) has been keeping in touch…
Raspberry Pi 2 Fast Enough?
The Raspberry Pi is a nice, cheap little computer but for me it has never been fast enough – I’m not interested in making another media server (I have a DISKSTATION which does that just fine) but as I’ve recently been working with MQTT in my home control setup, I…
MQTT SPY
There’s a new MQTT-SPY out – here http://kamilfb.github.io/mqtt-spy/ This program has been invaluable to me throughout all the time I’ve been testing and learning about MQTT. It sits on my desk running constantly and never falls over. Properly set up it can send timed messages out and coming soon –…
Memory use ESP8266
Can someone explain this to me.. I’m using the ECLIPSE environment in a PC and only starting to get to grips with the MAKE files – I really still don’t understand most of what’s in there. I’m looking at the MQTT installation which is one of the easier ones (I…
Slight hitch
Apologies to anyone looking in this morning. I tried to get just a little too clever with the blog and it fell over – so anyone looking in while I was asleep (British time) would have seen a dead site – all working. As this blog is new could you…
ESP8266 MQTT and LOSS OF WIFI
Update at 13:22:00 on 02/02/2015 This morning I had an email to say the WIFI loss was fixed in the MQTT code. I downloaded the latest MQTT software and put my code back into it. I turned the WIFI off for a few seconds then back on – that worked,…
The New ESP201 and Dev Board
All I have time for right now, here’s the new board, the ESP-01 (left) next to it should give you an idea of the size of both the development board and the ESP8266 board that goes into it – NOT SMALL. And yes, those are 0.1” centres. No points for…
The ESP8266 Grand Master Plan
So… here’s where I’m up to with my little project… currently stalled until we can figure out why the ESP8266 is not recovering from loss of WIFI. This is “the plan. Using the basic MQTT code, I’ve added the ability to control GPIO0 and take input from say a Dallas…
A Brave New World… no just a new blog
Good morning/afternoon/evening wherever you are! You may notice that you’re looking at a different site – i.e. NOT scargill.wordpress.com but tech.scargill.net – and for good reason. The blog has proven popular and I want more control over the site – in terms of plug-ins to offer code highlighting and a…
Solid State Relays
Yesterday I published a blog about some little DIP solid state relays – and was reminded by a friend that these… http://www.ebay.co.uk/itm/351198840167?_trksid=p2059210.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT are cheaper and higher power if not so tiny – and he’s right – I have some and they work a treat. If you try them from GPIO0…
ESP8266 and Lost WIFI Connection
Something those of you planning to use your ESP8266 units in remote installations might want to be aware of. I’ve been working with TUAN who developed the MQTT software – now, I’m sure it has nothing to do with his code… but essentially, I’m using his latest software as the…
ESP8266 and JSON
Has anyone using the ESP8266 with the SDK had a go at using the JSON routines yet? I ask because I need to pass several MQTT messages to the board in a string. I can of course do this the hard way, comma delimiter or similar, but it would be…
SOLID STATE MINI-RELAY FOR ESP8266
The PR26MF22NSZ and it’s larger cousin the PR39MF22NSZ are miniature 8-pin devices which look for all the world like any other 8-pin chip – but are able to switch mains power at up to 0.9amps – i.e. up to 200w. Seems unbelievable but that’s the claim – sensible you could…
ESP8266 GPIO
Has anyone had a go at making a set of macros or defines in C to make the programming of the GPIO pins easier? For people used to: setMode(1,OUTPUT); a cold sweat appears when confronted with PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTDI_U, FUNC_GPIO12); And if you’re only dealing with GPIO0 and GPIO2 then that’s not…