[Chat] Automate your home with MQTT (Workshop)

Alastair D'Silva alastair at d-silva.org
Fri Jan 13 13:36:11 AEDT 2017


On Thu, 2017-01-12 at 17:11 +1100, Alastair D'Silva via Chat wrote:

> Prerequisites
> =============
> 
> You can clone the following git repo, which has the workshop
> contents,
> prerequisites, and instructions (if you are the type who likes to
> read
> ahead). I updated the contents today to make things easier to follow,
> so please pull those changes.
> https://github.com/InfernoEmbedded/esp-workshop.git
> 
> The prerequisites are currently available for Windows x64 & Linux
> x64.
> If you have something else, I'm happy to accept a pull request with
> the
> alternate software & instructions.
> 
> I have added an "Installed Prerequisites" column to the reservation
> spreadsheet - please update that against your name once you installed
> the necessary software.
> 

I've simplified the prerequisites to remove the components that are
already available in the git repo.

Here is what you need to do:

All
===

- Download or clone a copy of the workshop repository to your home
  directory, from https://github.com/InfernoEmbedded/esp-workshop
	git clone https://github.com/InfernoEmbedded/crosstool-ng.git
		
- If you have a firewall enabled, allow traffic on port 1883 (MQTT)

- Install NodeJS 4 (not 3 or 5). A Windows installer is saved in
  esp-workshop/windows_x64
	https://nodejs.org/en/download/package-manager/
		
- Install NodeRed from
	http://nodered.org/docs/getting-started/installation.html
	
Windows
=======
	
- Install CH341 Windows Drivers from esp-workshop/windows_x64/drivers 	
	
- Install the Java Runtime Environment (JRE)
http://www.oracle.com/technetwork/java/javase/downloads/index.html



Linux
=====
- Install Mosquitto (Fedora: dnf install mosquitto,				
Debian/Ubuntu: apt-get install mosquitto)

- Install java (Fedora: dnf install java, Debian/Ubuntu:
			apt-get install default-jre)

- Add your user the the dialout group so you can access the serial port
	(edit /etc/group or
	sudo gpasswd -a ${USER} dialout && newgrp dialout)


Hopefully this makes life easier for those who are attending.		
	

A copy of these instructions, and the workshop instructions are
available in the git repo in the "tutorials" directory.


Happy hacking :)


-- 
Alastair D'Silva           mob: 0423 762 819
skype: alastair_dsilva    
Twitter: @EvilDeece
blog: http://alastair.d-silva.org



More information about the Chat mailing list