Getting started
Before you can start using this website controlling your micro controllers you need to have the following:
Requirements
- Microprocessor board (aka 'Microboard') which is able to run Micropython. Click here for a list of supported devices
- Computer or laptop Supported operating systems: Windows, Linux and iOS. Python3 must be installed.
- USB cable To install the client software to the microprocessor board
- The MHAClient installation program Click here to download
Add new 'Microboard'
To add a new device, the following 3 steps needs to be executed:
At the website (https://myhomeautomation.eu)
- Register a new Microboard on the myhomeautomation.eu website (menu: "Microboards")
- Select the type/model and select the wifi network for the device
- After creation, download the configuration file (button: "Download config")
- Copy the downloaded configuration file to the subdirectory "configs" in the MHAClient installation program directory
On the pc/laptop
- Connect the device to the pc/laptop, using an USB cable
- Determin which communication port is used (i.e. COM3)
- Start the MHAClient installation program. It will ask for two things:
- The communication port to be used
- The filename of the configuration file
Click here for an instruction to check which port is used
The installation program will now automatically install all software to the device. This can take a few minutes.
When done, the device is ready. Whenever the device is booted (powered), it will automatically connect with the server. Further setup can be done using the website
Update Microboard settings
Most changes made on in the setup / configuration on this website, will be send to the Microboard automatically, using the periodically communication between the device and the central server.
There are situations were this is not possible (i.e. when the Microboard is offline). Therefore an alternative method is available in the MHAClient installation program to update an existing device offline (usb cable)
Just download the configuration file from the website and copy this file to the 'configs' directory of the MHAClient program and run the "update" command.
Click here for more information on this option
Python (version 3.xx)
The MHAClient installation software needs Python3. You can check if your machine has Python 3 installed by typing: "python --version" in a command prompt
If Python is not installed, you can get it here: https://www.python.org/downloads/