[Chat] Automate your home with MQTT (Workshop)
Jan Schmidt
jan at centricular.com
Fri Jan 13 21:39:39 AEDT 2017
On 13/01/17 13:36, Alastair D'Silva via Chat wrote:
> 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
I assume that should read:
git clone https://github.com/InfernoEmbedded/esp-workshop.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/
On Fedora 25, I have NodeJS 6.9.2. I can't see any sensible way to
install NodeJS 4.
http://nodered.org/docs/getting-started/installation.html says 4.x or
6.x are recommended, and node-red seems to run OK.
Cheers,
Jan.
> - 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 :)
>
>
--
Jan Schmidt, Centricular Ltd - http://centricular.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.lca2017.linux.org.au/pipermail/chat/attachments/20170113/13d34550/attachment.sig>
More information about the Chat
mailing list