Downloads - Moody by Antima.it

Moody - Smart Gateway

You can download the current version of Moody from github.com/antimait/Moody. To install it and run it, you will need git, python3 and pip installed on your machine.

Clone the repository using:

git clone https://github.com/Antimait/Moody.git

Change into the Moody base directory (where the setup.py file is located) and install it via pip through:

pip3 install . --no-binary=Moody

In order for the application to run properly, you may need to install the following packages that support BLAS (Basic Linear Algebra Subprograms), which is needed to make the neural network libraries work.

sudo apt install libatlas-base-dev

You will also need the gfortran compiler, which is needed in the process of installing scipy:

sudo apt install gfortran

You can now use Moody freely by running the following command from a shell:

moody_server

Keep in mind that the application is written with platforms such as Raspberry Pi3 B+>= as targets, but it works on any computer that supports python3 and Moody's dependencies.

In the case in which you want to run Moody on a different machine or platform, consult the numpy github repository about installation and building, to check the particular installation process that you have to follow in order to get BLAS support.

 

MoodyMQTT - MQTT thin client for ESP8266 based Moody Nodes

Another piece of this project can be found in the MoodyMQTT library, that implements the Sensor and Actuator schemes on the ESP8266 platform using MQTT as the application level protocol for communicating with the gateway.

You can find the MoodyMQTT.h library for ESP8266 at github.com/antimait/MoodyMQTT, along with some sketch examples for well known sensors to give you an idea of how you can write an application with it.
You can use MoodyMQTT.h if you're working on your ESP trough the NodeMCU platform on the Arduino IDE; to install the library, clone the repository and zip it or click download zip from the upper right corner of the github page, then add it to your environment from the Sketch menu by clicking Sketch -> Include Library -> Add -> .ZIP Library... and selecting the zip file you just downloaded. 



Note that MoodyMQTT.h has the following non native libraries as dependencies: ESP8266WiFi.hPubSubClient.h, ArduinoJson.h. You will have to install them either by adding their zip libraries or searching them using the Manage Libraries tool before you start working on your node (remembering to add the Esp mirror to the additional board manager section).

After you include the library, you're good to go and you can start programming your own sensor/actuator node powered by Esp&MQTT: let us know what you're doing by writing to us through the contact form on the website or via email, to share your works and to help us improve!

By mar, last modified on 2020-02-25 15:32:27

Moody by Antima